-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #74 from bumble-tech/2.x
v2.0
- Loading branch information
Showing
595 changed files
with
68,663 additions
and
64,217 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Upgrade Documentation | ||
|
||
This document serves as a reference for updating your current version of the BumbleDocGen library regarding deprecation or backward compatibility issues. | ||
|
||
## Upgrading from BumbleDocGen 1.6.0 to 2.0.0 | ||
|
||
* Updating the minimum PHP version to 8.1 | ||
* Changes when working with templates: variable `phpClassEntityCollection` renamed to `phpEntities` | ||
* Now, instead of variables in the template with title and previous page, the Front Matter block is used | ||
* The BetterReflection library and classes that depend on it in the code have been removed: | ||
* `\BumbleDocGen\Core\Cache\SourceLocatorCacheItemPool` | ||
* `\BumbleDocGen\Core\Plugin\Event\Parser\OnLoadSourceLocatorsCollection` | ||
* `\BumbleDocGen\LanguageHandler\Php\Parser\Entity\Exception\ReflectionException` | ||
* `\BumbleDocGen\LanguageHandler\Php\Parser\Entity\Reflection\ReflectorWrapper` | ||
* `\BumbleDocGen\LanguageHandler\Php\Parser\SourceLocator\AsyncSourceLocator` | ||
* `\BumbleDocGen\LanguageHandler\Php\Parser\SourceLocator\CustomSourceLocatorInterface` | ||
* `\BumbleDocGen\LanguageHandler\Php\Parser\SourceLocator\Internal\CachedSourceLocator` | ||
* `\BumbleDocGen\LanguageHandler\Php\Parser\SourceLocator\Internal\SystemAsyncSourceLocator` | ||
* Class `\BumbleDocGen\LanguageHandler\Php\Parser\ComposerParser` renamed to `\BumbleDocGen\LanguageHandler\Php\Parser\ComposerHelper` | ||
* Doc block parsing has been removed: | ||
* `\Roave\BetterReflection\Reflection\ReflectionMethod::getDocBlockReturnTypes()` | ||
* `\Roave\BetterReflection\Reflection\ReflectionFunction::getDocBlockReturnTypes()` | ||
* `\Roave\BetterReflection\Reflection\ReflectionParameter::getDocBlockTypes()` | ||
* `\Roave\BetterReflection\Reflection\ReflectionParameter::getDocBlockTypeStrings()` | ||
* `\Roave\BetterReflection\Reflection\ReflectionProperty::getDocBlockTypes()` | ||
* `\Roave\BetterReflection\Reflection\ReflectionProperty::getDocBlockTypeStrings()` | ||
* Method `\BumbleDocGen\LanguageHandler\Php\Parser\Entity\ClassEntity::hasAnnotationKey()` has been removed. | ||
* Method `\BumbleDocGen\LanguageHandler\Php\Parser\Entity\ClassEntity::getExtends()` has been removed. | ||
* Method `\BumbleDocGen\LanguageHandler\Php\Parser\Entity\ClassEntity::getInterfacesString()` has been removed. | ||
* Now documentation for built classes does not load automatically | ||
* Removed the `async_source_loading_enabled` configuration option (Method `\BumbleDocGen\LanguageHandler\Php\PhpHandlerSettings::asyncSourceLoadingEnabled()`) | ||
* Class `\BumbleDocGen\LanguageHandler\Php\Plugin\Event\Entity\AfterLoadingClassEntityCollection` has been removed. Use `\BumbleDocGen\LanguageHandler\Php\Plugin\Event\Entity\AfterLoadingPhpEntitiesCollection` | ||
* Class `\BumbleDocGen\LanguageHandler\Php\Plugin\Event\Entity\OnCheckIsClassEntityCanBeLoad` has been removed. Use `\BumbleDocGen\LanguageHandler\Php\Plugin\Event\Entity\OnCheckIsEntityCanBeLoaded` | ||
* ⚠️**PHP ReflectionAPI has been completely changed. See information about the current version here:** [ReflectionAPI](https://github.com/bumble-tech/bumble-doc-gen/tree/master/docs/tech/2.parser/reflectionApi) | ||
* Method `\BumbleDocGen\LanguageHandler\Php\PhpHandlerSettings::getComposerInstalledFile()` renamed to `\BumbleDocGen\LanguageHandler\Php\PhpHandlerSettings::getComposerVendorDir()` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.