Login  |  Packages  |  Support  |  Bugs

Return

Changelog for handlebars
Release What has changed?
1.0.0 - PHP 8.1 and 8.2 compat
- Target handlebars.js v4.7.7
- Target handlebars.c v1.0.0
- Objects can now be iterated with `#each`
- `known_helpers` is now passed properly to the compiler in `render`
0.9.2 - Fixes for PHP 8
0.9.1 - Fixed test failure on PHP 8 (@remicollet)
- Fixed test failure on 32bit
- The compiled template produced by `Handlebars\VM::compile()` should now be deterministic, if using handlebars.c >= 0.7.1.
0.9.0 - Preliminary PHP 8 support
- Support for precompiling templates
- Mustache-style lambda support
- Drop max PHP version constraint
- Selective helper options omission
- Improved typehints
See CHANGELOG.md for full details
0.8.3 - Allow installation on PHP 7.3
- Removed class aliases `Handlebars\Registry\Registry` for `Handlebars\Registry` and `Handlebars\Registry\DefaultRegistry` for `Handlebars\DefaultRegistry`
0.8.2 - Mustache delimiter preprocessing support behind the compat flag
- Property lookup now generates a closure from a method if the value of the property is null or does not exist to emulate the behaviour of javascript where functions and properties share a symbol table - only supported for PHP 7 or greater
- Changed target handlebars.c version to 0.6.4
0.8.2RC2 - Mustache delimiter preprocessing support behind the compat flag
- Property lookup now generates a closure from a method if the value of the property is null or does not exist to emulate the behaviour of javascript where functions and properties share a symbol table - only supported for PHP 7 or greater
- Changed target handlebars.c version to 0.6.4
0.8.2RC1 Initial PECL release

Return

PRIVACY POLICY  |  CREDITS
Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 21 17:05:02 2024 UTC
Bandwidth and hardware provided by: pair Networks