php-parser/CHANGELOG.md
2021-08-01 16:44:50 +03:00

2.4 KiB

Changelog

All notable changes to this project will be documented in this file, in reverse chronological order by release.

Unreleased

Added

  • #6: php8.1: added readonly modifier
  • #8: php8.1: added never type
  • #10: php8.1: added new octal numbers syntax
  • #12: php8.1: added enums
  • #15: php8.1: added final modifier for constants in class
  • #18: php8.1: added first class callable syntax

Changed

  • 4cd50d: cmd: added file path output before errors

v0.8.0-rc.2 2021-30-07

Added

  • #10: php8: nullsafe operator (?->)
  • #13: php8: named arguments
  • #19: php8: match expression
  • #21: php8: union types in type hints and static typehint
  • #23: php8: block catch without variable
  • #25: php8: trailing comma in parameter lists
  • #27: php8: throw can be used as an expression
  • #32: php8: declaring properties in the constructor
  • #34: php8: attributes
  • #38: php8: trailing comma in closure use list

Changed

  • #30: php8: concatenation precedence
  • #36: php8: names in the namespace are treated as a single token
  • #42: php8: deferencable changes and arbitrary expressions in new/instanceof

Removed

  • #11: php8: removed (real) cast
  • #15: php8: removed (unset) cast
  • #17: php8: removed {} access

Versions prior to 0.8.0 were not included in this changelog.