Skip to content

Releases: php-type-language/parser

1.0.0-beta7

07 Apr 16:37
Compare
Choose a tag to compare
  • Remove json serialization support and simplify code.

Note: Use external serializers instead.

Full Changelog: 1.0.0-beta6...1.0.0-beta7

1.0.0-beta6

06 Apr 10:17
Compare
Choose a tag to compare
  • Improve description docblocks.
  • Remove Parser::$lexer from public scope.
  • Allow negative offset/limit for Name::slice() method.
  • Remove array AST normalization and simplify nodes.
  • Add MOAR unit tests.

Full Changelog: 1.0.0-beta5...1.0.0-beta6

1.0.0-beta5

03 Apr 01:23
Compare
Choose a tag to compare
  • Add generics parser configuration option to enable or disable generic types (T<X>).
  • Add union parser configuration option to enable or disable union types (T | Y).
  • Add intersection parser configuration option to enable or disable intersection types (T & Y).
  • Add list parser configuration option to enable or disable square bracket list types (T[]).
  • Fix TypeVisitor behaviour for ClassConstMaskNode.

Full Changelog: 1.0.0-beta4...1.0.0-beta5

1.0.0-beta4

02 Apr 20:40
Compare
Choose a tag to compare
  • Parser no longer returns null

Full Changelog: 1.0.0-beta3...1.0.0-beta4

1.0.0-beta3

02 Apr 18:06
Compare
Choose a tag to compare
  • Optimized AST serialization

Full Changelog: 1.0.0-beta2...1.0.0-beta3

1.0.0-beta2

27 Mar 20:26
Compare
Choose a tag to compare
  • Fix psalm errors

Full Changelog: 1.0.0-beta1...1.0.0-beta2

1.0.0-beta1

18 Feb 18:38
Compare
Choose a tag to compare
Fix unrecognized token errors