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
toroave/better-reflection
- Minimum PHP requirement was increased from
5.4
to7.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
andThemeBootstrap
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 toClass
,Trait
andInterface
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 (expectingUTF-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 (useFinderInterface
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
- ๐ฆ #863 Added