Skip to content

Releases: ApiGen/ApiGen

v7.0.0-alpha.6

07 Apr 12:25
9435f6c
Compare
Choose a tag to compare

Improved parallelization

  • supports parallel analysis in addition to parallel rendering
  • no longer requires pcntl extension
  • works on Windows as well

Other Improvements

Bugfixes

v7.0.0-alpha.5

18 Mar 15:36
279f680
Compare
Choose a tag to compare

v7.0.0-alpha.4

31 Jan 20:45
0f163d9
Compare
Choose a tag to compare

v7.0.0-alpha.3

v7.0.0-alpha.2

7.0.0-alpha

10 Jul 09:31
a57cf8d
Compare
Choose a tag to compare
7.0.0-alpha Pre-release
Pre-release

Rewritten to be based on nikic/php-parser and phpstan/phpdoc-parser with full support of PHP 8.1 features.

Features

Install

With Docker

ApiGen is available as apigen/apigen Docker image which you can directly use.

docker run --rm --interactive --tty --volume "$PWD:$PWD" --workdir "$PWD" \
  apigen/apigen \
  src --output docs

With Phar

This will install ApiGen phar binary to tools/apigen.

mkdir -p tools
curl -L https://github.com/ApiGen/ApiGen/releases/download/v7.0.0-alpha/apigen.phar -o tools/apigen
chmod +x tools/apigen
tools/apigen src --output docs

With Composer

This will install ApiGen to tools/apigen directory with executable entry point available in tools/apigen/bin/apigen.

composer create-project --no-dev apigen/apigen:^7.0@alpha tools/apigen
tools/apigen/bin/apigen src --output docs

Released version 5.0 RC5

31 Aug 15:18
Compare
Choose a tag to compare
Pre-release

If you are interested in ApiGen behind-scene @TomasVotruba wrote a post about ApiGen 5 revival process: https://www.tomasvotruba.cz/blog/2017/09/04/how-apigen-survived-its-own-death/

Added

  • @vlastavesely added as a co-maintainer, thanks to his great additions to the project 👏

  • #971 Added resolving parent classes, Thanks to @vlastavesely

  • #987 Improve parsing by BetterReflection by Caching, make use of Roave/BetterReflection#312; also decouple BetterReflection subpackage and turn static to DI

Changed

  • #977, #978 Updated to EasyCodingStandard 2.2.6 with new checkers
  • #990 Improve ProjectVendorSourceLocatorFactory readability, Thanks @simara-svatopluk

Fixed

Full diff: v5.0.0-RC4...v5.0.0-RC5

Released version 5.0 RC4 - DEMO is Back!

03 Aug 16:26
Compare
Choose a tag to compare

Added

Changed

  • #956 Reflection: allowed nullable filenames for internal reflections, Thanks @vlastavesely
  • #969 Upgraded to EasyCodingStandard 2.2

Fixed

  • #955 RelativePathResolver: fix for functions loaded from file source, Thanks @vlastavesely
  • #957 Parser: fixed file source loader, Thanks @vlastavesely
  • #954 Deprecated methods of deprecated interface, Thanks @vlastavesely
  • #969 Lock Roave\BetterReflection to specific commit to prevent breaking the code

Full diff: v5.0.0-RC3...v5.0.0-RC4

Released version 5.0 RC3

16 Jul 19:36
Compare
Choose a tag to compare
Pre-release

Huge thanks to @vlastavesely for dozens of PR to this release!
Your work is pushing this repository fast forward.

Added

  • #944 Added support for FileLocator; Thanks to @vlastavesely
    vendor/bin/apigen generate src/Directory src/SomeClass.php --destination /api
  • #940 Added support for traits with properties; Thanks to @vlastavesely
  • #916 Added support different vendor analysis by adding a ComposerSourceLocator; Thanks to @vlastavesely
  • #946 Added highlighting of method's param default value; Thanks to @vlastavesely
  • #932 Added autocomplete search; Thanks to @vlastavesely and also to @POPSuL

Changed

Fixed

Full diff: v5.0.0-RC2...v5.0.0-RC3

Released version 5.0 RC2

02 Jul 23:24
Compare
Choose a tag to compare
Pre-release

Added

  • #888 more informative information added on --version call in CLI; Thanks to @brunoaugusto
  • #895 implemented TraitMethodReflection::isDeprecated(); Thanks to @vlastavesely
  • #923 used local Bootstrap CSS for more flexible local development; Thanks to @vlastavesely
  • #919 added exception standalone page via ExceptionGenerator + separation from classes in NamespaceGenerator; Thanks to @vlastavesely

Changed

  • #918 use Coveralls for coverage over Scrutinizer

Fixed

Thank you all guys for great work. I'm very happy to see such activity around this project! ❤️

Full diff: v5.0.0-RC1...v5.0.0-RC2