Skip to content

Commit 82db923

Browse files
committed
Update changelog for 1.0.0 (unfinished)
1 parent 44ff50c commit 82db923

2 files changed

Lines changed: 19 additions & 8 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ All notable changes to this project will be documented in this file.
33

44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
55

6+
## [1.0.0] AST Compiler - 2026-02-25
7+
### Added
8+
- Replaced
9+
10+
611
## [0.9.9] Stringable Conditions - 2025-10-15
712
### Added
813
- Allow `Stringable` variables in `if` statements ([#8](https://github.com/devtheorem/php-handlebars/pull/8)).
@@ -96,6 +101,7 @@ Initial release after forking from LightnCandy 1.2.6.
96101
- HTML documentation.
97102
- Dozens of unnecessary feature flags.
98103

104+
[1.0.0]: https://github.com/devtheorem/php-handlebars/compare/v0.9.9...v1.0.0
99105
[0.9.9]: https://github.com/devtheorem/php-handlebars/compare/v0.9.8...v0.9.9
100106
[0.9.8]: https://github.com/devtheorem/php-handlebars/compare/v0.9.7...v0.9.8
101107
[0.9.7]: https://github.com/devtheorem/php-handlebars/compare/v0.9.6...v0.9.7

‎README.md‎

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
11
# PHP Handlebars
22

3-
A blazing fast, spec-compliant PHP implementation of [Handlebars](https://handlebarsjs.com/).
3+
A blazing fast, spec-compliant PHP implementation of [Handlebars](https://handlebarsjs.com).
44

5-
Originally based on [LightnCandy](https://github.com/zordius/lightncandy), but rewritten to focus on
6-
more robust Handlebars.js compatibility without the need for excessive feature flags.
5+
Originally based on [LightnCandy](https://github.com/zordius/lightncandy), but rewritten to enable
6+
full Handlebars.js compatibility without excessive feature flags or performance tradeoffs.
7+
8+
PHP Handlebars parses and compiles large templates up to 40% faster than LightnCandy,
9+
and produces ~35% smaller runtime code.
710

811
## Features
912

10-
* Compile templates to pure PHP code.
13+
* Supports all Handlebars syntax and language features, including expressions, subexpressions, helpers, partials, and hooks.
1114
* Templates are parsed using [PHP Handlebars Parser](https://github.com/devtheorem/php-handlebars-parser),
12-
which implements the same lexical analysis and grammar specification as Handlebars.js.
15+
which implements the same lexical analysis and AST grammar specification as Handlebars.js.
1316
* Tested against the [Handlebars.js spec](https://github.com/jbboehr/handlebars-spec).
1417

1518
## Installation
@@ -147,7 +150,9 @@ Helpers may return a `DevTheorem\Handlebars\SafeString` instance to prevent esca
147150
When constructing the string that will be marked as safe, any external content should be properly escaped
148151
using the `Handlebars::escapeExpression()` method to avoid potential security concerns.
149152

150-
## Missing features
153+
## Missing Features
154+
155+
All syntax and language features from Handlebars.js 4.7.8 should work the same in PHP Handlebars,
156+
with the following exception:
151157

152-
All syntax from Handlebars.js 4.7.8 should work the same in this implementation, with the following exception:
153-
* Decorators ([deprecated in Handlebars.js](https://github.com/handlebars-lang/handlebars.js/blob/master/docs/decorators-api.md)) have not been implemented.
158+
* Custom Decorators have not been implemented, as they are [deprecated in Handlebars.js](https://github.com/handlebars-lang/handlebars.js/blob/master/docs/decorators-api.md).

0 commit comments

Comments
 (0)