APIGen v5.0.0-RC1 Release Notes

Release Date: 2017-07-02 // almost 7 years ago
  • โž• Added

    • ๐Ÿ“ฆ #863 Added Annotation package
    • โž• Added Element package
    • โž• Added ModularConfiguration package
    • โž• Added Reflection package
    • ๐Ÿ“ฆ #858 Added StringRouting package
    • โž• Added .editorconfig to the project
    • ๐Ÿ‘ #704 Added support for static type
    • ๐Ÿ‘ #731 Added bitcoin link support via @link bitcoin:address
    • โž• Added theme option to load theme from directory
    • โž• Added phpDocumentor/TypeResolver for type resolving
    • โž• Added phpDocumentor/ReflectionDocBlock for annotation parsing
    • โž• Added Symplify/EasyCodingStandard to make coding standard powerful
    • โž• Added phpstan for static analysis checks

    ๐Ÿ”„ Changed

    • ๐Ÿ”„ #827 Changed PHP Token Reflection library from andrewsville/php-token-reflection to roave/better-reflection
    • Minimum PHP requirement was increased from 5.4 to 7.1
    • ๐Ÿ”ง #880 Change DI library from Nette\DI to Symfony\DependencyInjection due to Symfony 3.3 new features and PSR-11
    • Project is now PSR-2 compatible
    • 0๏ธโƒฃ #64 UTF-8 is now a standard/default charset. [ApiGen] will expect UTF-8 encoded files by default
    • #771 Only relevant classes are generated in sidebar and source code pages
    • Enabled autocomplete for methods and properties
    • ๐Ÿ”€ #814 #862 ThemeDefault and ThemeBootstrap merged to one local theme, with support of Bootstrap 3
      and mobile-friendly design
    • #823 @internal annotation cannot be ignored now
    • ๐Ÿ”€ #826 Long and short description merged to one, since there was thin and not clear line between them
    • #818 #827 Class<Generator,Reflection> split to Class, Trait and Interface with own type-specific methods
    • ๐Ÿšš #845 #845 SourceCodeGenerator dropped and moved to particular reflection generators (ClassGenerator...)
    • ๐Ÿ”€ #855 Indirect and direct users/implementers/inheritors merged to one group
    • #858 Tree and Namespace filters simplified
    • #862 Standardize use of annotations
    • ๐Ÿšš #860 Left sidebar removed, it duplicated main content and had complicated tree structures
    • #749 Don't fully qualify local members

    ๐Ÿ›  Fixed

    • ๐Ÿšš #520 Fixed an issue with temporary files not being removed upon exit (in cases where failure happens)
    • ๐Ÿ›  #631 Fixed an issue with generate command throwing an error
    • ๐Ÿ #804 Fixed tests (and hopefully compatibility) on Windows OS
    • ๐Ÿ›  Fixed deprecation checks when generating docs
    • ๐Ÿ›  Fixed issues with exception handling in low-level parser
    • ๐Ÿ›  Fixed an error on generating docs for non-existent traits
    • ๐Ÿ #668 Fixed an issue with handling paths on different OS. The paths should now be normalized and work on Windows
    • ๐Ÿ›  #740 Fixed an issue where ApiGen sometimes would incorrectly resolve return typehints for functions
    • ๐Ÿ›  #734 Fixed an issue when docblocks marked with @internal would be documented
    • ๐Ÿ›  #750 Fixed support of $this as return type hint
    • ๐Ÿ›  #848 Fixed missing methods in class
    • ๐Ÿ›  #717 Fixed duplicated function source code

    ๐Ÿ“œ PHP 5.5, 5.6 and 7 and parsing related Fixes

    • ๐Ÿ›  #620 Fixed composed trait methods
    • #774 Fixed default constant value and __DIR__ constant parsing
    • ๐Ÿ›  #751 Fixed broken function definition
    • ๐Ÿ“œ #680 Fixed ::class parsing

    โœ‚ Removed

    • #826 --main option dropped
    • #813 Magic elements dropped
    • 0๏ธโƒฃ --charset CLI option has been dropped (expecting UTF-8 now by default)
    • --skip-doc-path CLI option has ben dropped
    • #827 --template-config and --template-theme dropped
    • #853 --exclude and --extensions options dropped (use FinderInterface implementation instead)
    • โœ‚ Removed various deprecated generators (Robots, Sitemap) which weren't used
    • #809 Tree generator dropped
    • โฌ‡๏ธ Dropped Zip generator, internet is quite fast nowadays.
    • โฌ‡๏ธ Dropped PHAR support.
    • ๐Ÿ‘ป #827 Exception element dropped
    • โฌ‡๏ธ Dropped element js toggling in page, was bugged and was causing confused page jumps.
    • ๐Ÿ“š Dropped support for global constant documentation, as BetterReflection doesn't support it out of the box yet.

    Full diff: v4.1.2...v5.0.0-RC1