Skip to content

v5.4.0

Compare
Choose a tag to compare
@williamdes williamdes released this 10 Apr 01:22
· 249 commits to main since this release
v5.4.0
38c478f

Version 5.4.0

Project related

  • Add GitHub SECURITY and FUNDING configs (you can sponsor me 😉 )
  • Added methods for functions to the StoreInterface class
  • Changed return body of readProject method of StoreInterface to also return functions

Drop

  • Drop support for PHP 7.1
  • Require PHP 7.2.20
  • Enable support for PHP 8.0 on the PHAR
  • Drop support for phpdocumentor/reflection-docblock 4.3 series

Features

  • Added detection for duplicated @var and @return tags
  • Added a "version" command to avoid having users parsing unsafe output
  • Added support for @mixin annotations on classes
  • Added support for @property-write and @property-read annotations on classes
  • Added support for @readonly annotations on methods and classes
  • Added support for @internal annotations on methods and classes
  • Added support for @deprecated annotations on properties
  • Added support for @since annotations on classes, methods, properties
  • Better support for @method annotations on classes, added static keyword support
  • Add support for @internal, @deprecated, @since on constants
  • Add support for @example on methods
  • Add support for @public, @private, @protected, @final, @access annotations
  • Added access handling on constants
  • Add Stringable PHP 8.0 class to internal PHP class list
  • Add WeakReference PHP 7.4 class to internal PHP class list
  • Support UnionType of PHP 8
  • Support namespace {//code} syntax for namespaces without a name
  • Remove old lib michelf/php-markdown and use erusev/parsedown to fix an HTML parsing bug

Bug fixes

  • Fixed OpenSearch feature and documented the config
  • Fixed favicon config and documented the config
  • Resolve type aliases in docblocks (#23, PR: #24) thank you @CHItA for the fix
  • Fixed a bug that removed @return and @var descriptions since 5.3.0
  • Fixed invalid @see annotations parsing and rendering
  • Fixed global namespace handling
  • Fix some resume after parse step missing data
  • Add more tests on render, parse and update CLIs

Library upgrades

  • Upgrade Twig to ^3.0
  • Upgrade code-lts/cli-tools to ^1.4
  • Upgrade wdes/php-i18n-l10n to ^4.0