Skip to content

Releases: phpDocumentor/Reflection

5.3.0

14 Oct 12:43
9887ef9

Choose a tag to compare

Added

Fixed

New Contributors

Full Changelog: 5.2.0...5.3.0

5.2.0

02 Apr 20:01
936e4dd

Choose a tag to compare

Fixed

  • Error with define if it uses variable in name. #237

Added

  • #241 Add start and end file positions to method locations by @LeoVie in #243
  • Add expression evaluation for define names. by @jaapio in #245

CI

New Contributors

Full Changelog: 5.1.1...5.2.0

5.1.1

29 Mar 12:55
accb6fe

Choose a tag to compare

Fixes

  • Detect file-level docblocks when the file is flowing PSR-12. by @jaapio

CI

  • Bump phpdocumentor/type-resolver from 1.5.1 to 1.6.0 by @dependabot in #235
  • GH Actions: version update for various predefined actions by @jrfnl in #238

Full Changelog: 5.1.0...5.1.1

5.1.0

04 Jan 21:13
d0fcff5

Choose a tag to compare

Added

Fixed

  • PHPUnit: update configuration by @jrfnl in #214
  • GH Actions: version update for ramsey/composer-install by @jrfnl in #229
  • CS update after upstream changes by @jrfnl in #209

New Contributors

Full Changelog: 5.0.0...5.1.0

v5.0.1

08 Aug 10:15
140db68

Choose a tag to compare

This patch version is addressing a regression on v5 in functionality regarding v4.

Fixed

  • Fixes regression of missing used traits in classes, #208.

v5.0.0

01 Jul 18:12
1b70ad9

Choose a tag to compare

This version contains a full rewrite of the way we construct elements. To support features like constructor property promotion we had to redesign the way methods are processed, but also allow factories to produce multiple elements. Which was impossible with the original design.

As a library consumer, this change should not affect your code, unless you were overwriting or extending some of the internal factory classes. To prevent issues for users of this library, we started a new version.

Added

  • Constructor promoted properties
  • php8 union types
  • php8 static type
  • php8 mixed type support

4.0.1

19 Jun 18:31
447928a

Choose a tag to compare

Fixes

Fix namespace handling for defines and namespaced constants #157, thanks to @dirx

4.0.0

09 Feb 09:48
509e84c

Choose a tag to compare

Version 4 is a full redesign of this library. There haven't been any changes since the latest beta release.

4.0.0-beta4

07 Feb 16:03
eec8173

Choose a tag to compare

4.0.0-beta4 Pre-release
Pre-release

Improvents

  • Ignore certain start nodes in a file which allows a declare before a file docblock and processing of files containing a shebang.
  • Top level if statements are now processed so conditional defined elements can be documented.

Fixes

  • Fixed FQSEN generation for defines in global namespace

4.0.0-beta3: Remove custom PrettyPrinter

27 Jan 09:44
ad8b5b1

Choose a tag to compare

Improvements

  • Strings in default values or constant values are no longer stripped of their quotes and match the pretty-printing rules of PHP Parser. This will allow consumers to more accurately represent values
  • Parsing a DocBlock with an invalid tag will no longer result in an exception but instead, generate an object of type InvalidTag containing the exception causing the reason why this could not be properly parsed.