Skip to content

Releases: box/brainy

More PHP 8 support

23 Aug 02:16
97d3b89
Compare
Choose a tag to compare
Merge pull request #33 from DavidSchnepper/updateBrainy

Update brainy

Patch for PHP 8.0 support

15 Jun 22:54
c60ba6c
Compare
Choose a tag to compare

Minor patch for PHP 8.0

3.2.0

19 Mar 01:03
Compare
Choose a tag to compare

Fixed an issue where if changes were made to a source template, making its timestamp out of sync with the timestamp stored as its dependency, the compiled template would fail to decode properly and throw an exception.

3.1.1

18 Feb 19:26
Compare
Choose a tag to compare

Move tests to autoload-dev for composer

3.1.0

17 Feb 18:13
Compare
Choose a tag to compare

Changed usage of the constants SMARTY_DIR and SMARTY_PLUGINS_DIR to BRAINY_DIR and BRAINY_PLUGINS_DIR.
This should be a minor change, since these constants should not be used by anyone else.

Also fixed a warning on Windows caused by unlinking a file that did not exist.

3.0.0

17 Dec 01:13
Compare
Choose a tag to compare

The final 3.0.0 release! See the changelog for full information on what's changed.

Notable Changes

  • Fully namespaced under \Box\Brainy
  • Substantially faster performance than Brainy 2 and Smarty 3.1 (tested with brain-bench). Oodles of performance optimizations.
  • Better error messages
  • Removed lots of cruft
  • Fixed weird syntax, like using negative numbers in modifiers: {$foo|bar:(-1)} -> {$foo|bar:-1}
  • More concise generated code
  • Support for dynamic values passed to {extends}

2.1.3

09 Nov 23:23
Compare
Choose a tag to compare

Fix an issue where {for} loops using a certain syntax were being spuriously marked as violating strict mode.

2.1.2

02 Nov 22:56
Compare
Choose a tag to compare

Minor patch build to remove build/ and test/ from the archive

2.1.1 Release

12 Aug 23:30
Compare
Choose a tag to compare

This release rolls up the changes from 2.0.2 onto 2.1.

  • Fix for strict mode being too strict
  • Changes to whitespace rules to be more aggressive

2.0.2 Release

12 Aug 23:24
Compare
Choose a tag to compare

This release fixes a number of problems with 2.0.

  • Fixes issues with strict mode being too strict
  • Changes whitespace rules to avoid removing too much whitespace
  • Fixes double backslash bug inside {literal}