Skip to content

Releases: glayzzle/php-parser

3.0.0-prerelease.4

08 Sep 16:29
Compare
Choose a tag to compare
3.0.0-prerelease.4 Pre-release
Pre-release
bump prerelease version

3.0.0-alpha.3

15 Aug 17:24
Compare
Choose a tag to compare
3.0.0-alpha.3 Pre-release
Pre-release
  • fix #168 : End location of if without semicolon
  • impl #147 : Node informations about Binary and unicode strings
  • impl #83 : Adding full support for PHP 7.2
  • fix #122 : Detect foreach bad syntax
  • impl #152 : Improve tests with JEST
  • fix #164 : Fixing some location issues (partial)

3.0.0-alpha2

14 Apr 17:54
Compare
Choose a tag to compare
3.0.0-alpha2 Pre-release
Pre-release
  • fix #137 : Bug with parsing list
  • fix #149 : Binary cast: isDoubleQuote incorrect
  • fix #150 : strange ast with list
  • fix #151 : Declare inside if

Pre release / 3.0.0 - alpha1

11 Apr 12:50
Compare
Choose a tag to compare
Pre-release

2.2.0 - Lastest release on 2.x

28 Dec 11:05
Compare
Choose a tag to compare

This release will be the latest on 2.x series, the future releases on 2.2.x branch will be only bugfixes, if you are using a <2.1.x you should consider using this lastest version as it contains a lot of bugfixes.

NOTE : The next 3.0 will be released soon (few days).

  • Impl #108 : add an option to disable PHP7 support
  • Fix #107 : fix T_DOUBLE_COLON handler
  • Fix #106 : infinite loops from lexer (unput)
  • Fix #105 : T_DOLLAR_OPEN_CURLY_BRACES handles now expressions
  • PR #102 : Normalize the way type casts are defined
  • Fix #103 : Fix critical cast to null confusion

2.1.0

01 Nov 10:34
Compare
Choose a tag to compare
  • Impl #91 & #92 : Functions support reserved names (PHP7)
  • Fix #89 : parsing methods can use Buffers or Strings

Bug-fixes

03 Sep 13:21
Compare
Choose a tag to compare
  • Fix #86 : bug on Object properties usage in PHP like __proto__, or constructor
  • Fix #84 : remove null statements from bodies

Precedence fixes

16 Jul 17:58
Compare
Choose a tag to compare
Precedence fixes Pre-release
Pre-release
  • Fix precedence between bin, retif, unary
  • Fix precedence with assign

2.0.4 - Fixes

09 Jul 22:45
Compare
Choose a tag to compare
  • Fix AST errors on suppressErrors
  • Add curly boolean on variable node (for ${bar} syntax)
  • Implement the static closure flag, ex: $c = static function() {};

2.0.0

04 Mar 20:36
Compare
Choose a tag to compare
  • Update AST for operators, unify bin/bool/coalesce nodes
  • Fix nested block usage on function bodies
  • Avoid initial $ on variables
  • Shell nodes are now exposed by encapsed nodes only
  • Typescript definition file
  • Avoid identifier nodes on namespaces & use statements
  • Fix precedence on bin, unary, retif nodes
  • Fix ending position on functions/methods/closures
  • Fix lexer unput at the end of the file (infinite loops)
  • Add encapsed node (type=offset) on dynamic offsets
  • Implement annonymous class arguments
  • Fix missing first char on encapsed T_STRING_VARNAME