Skip to content

Releases: phplrt/phplrt

3.7.5

23 Jan 21:58

Choose a tag to compare

  • Use tokens list in ArrayBuffer instead of array<array-key, T> (fix possible keys duplications)

3.7.4

23 Jan 21:47

Choose a tag to compare

  • Fix ArrayBuffer token keys

3.7.3

06 Nov 20:42

Choose a tag to compare

  • Minor codestyle and other internal fixes

3.7.2

11 Sep 14:24

Choose a tag to compare

  • Fix Builder's BC compat with phplrt 3.6
  • Minor codestyle fixes

3.7.1

11 Sep 02:09

Choose a tag to compare

  • Add %pragma check_tokens 0 or %pragma check_tokens 1 (by default) definition to manage token names validation in grammar files.
  • Fixed allowed composer plugins in package's composer.json files

3.7.0

11 Sep 00:51

Choose a tag to compare

High Impact Changes

  • Bump minimal PHP version from 7.4 to 8.1

Medium Impact Changes

  • All methods, fields and functions are now fully typed
  • All properties with @readonly and @psalm-readonly-xxx annotations have been replaced with PHP readonly attributes
    • In addition, readonly attributes have been added for some other class fields
  • Added "promoted properties" for all classes where required

...in short, the entire code has been brought to all the functionality available in PHP 8.1 without breaking BC (I hope)

Low Impact Changes

  • Added various new dockblock types and comments
  • The symfony/polyfill-php80 dependency has been removed

Full Changelog: 3.6.6...3.7.0

3.6.6

01 Aug 16:31

Choose a tag to compare

  • Added PHP 8.4 support
    • Replace non-compatible (with PHP 8.4) composer packages
    • Fix PHP 8.4 deprecations
  • Replace psalm to phpstan

3.6.5

15 Apr 01:08

Choose a tag to compare

  • Actualize dev dependecies.
  • Apply new PER-2.0 ruleset.
  • Remove deprecated possibleTokensSearching parser's option.

3.6.4

21 Feb 00:53

Choose a tag to compare

  • Add simple array_is_list function polyfill in phplrt/compiler package for old PHP versions.

Full Changelog: 3.6.3...3.6.4

3.6.3

18 Feb 16:24

Choose a tag to compare

  • Improve grammar code generation formatting.

Full Changelog: 3.6.2...3.6.3