Releases: gacela-project/gacela
Releases Β· gacela-project/gacela
0.18.0
What's Changed
- gacela.php using callable with GacelaConfig as arg by @Chemaclass in #146
- Remove deprecated globalServices() from Setup by @JesusValera in #149
- Deprecate SetupGacelaInterface from outside by @Chemaclass in #148
- Change PhpDoc from $externalServices by @JesusValera in #150
Full Changelog: 0.17.2...0.18.0
0.17.2
What's Changed
- Ensure GLOB_BRACE constant is defined for Alpine and Solaris OS
Full Changelog: 0.17.1...0.17.2
0.17.1
0.17.0
What's Changed
- Remove $setup as array in Gacela::bootstrap by @JesusValera in #129
- DocBlockResolverAware feature by @Chemaclass in #142
- Add addFacade to SuffixTypesBuilder class by @JesusValera in #143
Full Changelog: 0.16.0...0.17.0
0.16.0
What's Changed
- Combine gacela file and bootstrap setup by @Chemaclass in #130
- Split in methods the AnonymousGlobalsBench class by @JesusValera in #133
- Rename the concept of GlobalServices to ExternalServices by @JesusValera in #132
- Improve mapping interfaces by @Chemaclass in #134
- Split resolveDependenciesRecursively() into multiple methods by @JesusValera in #135
- Make the Facade accessible from module-internal sub-folders by @Chemaclass in #137
- Improve phpmetrics usage by @Chemaclass in #139
- Allow to return an instance of SetupGacela on gacela.php by @JesusValera in #140
Full Changelog: 0.15.0...0.16.0
0.15.0
What's Changed
- Add cache to ClassInfo by @Chemaclass in #121
- Add support for dark mode logo by @Tito-Kati in #125
- Encapsulate global services inside setup by @Chemaclass in #123
- Create constants for Gacela::bootstrap() setup by @JesusValera in #126
- Create SetupGacela to replace AbstractConfigGacela by @Chemaclass in #127
- Update php cs rules by @Chemaclass in #128
Full Changelog: 0.14.0...0.15.0
0.14.0
What's Changed
- AbstractConfigGacela uses builders instead of arrays by @Chemaclass in #111
- Allow multiple overriding resolvable types by @Chemaclass in #106
- Separate the anonymous logic from the AbstractClassResolver by @Chemaclass in #108
- Create ResolvableTypesConfig by @Chemaclass in #109
- Create MappingInterfacesResolver by @Chemaclass in #110
- Create ConfigResolver by @Chemaclass in #112
- Use builder instead of resolve prefix by @Chemaclass in #113
- Move reader as last argument in ConfigBuilder->add() method by @Chemaclass in #117
- Make GacelaConfigFileFactory testable by @Chemaclass in #107
- Make public getAppRootDir() by @webcraftniray in #116
- Add more php cs fixer rules by @Chemaclass in #118
- Create a InstanceCreator class by @Chemaclass in #114
New Contributors
- @webcraftniray made their first contribution in #116
Full Changelog: 0.13.0...0.14.0
Notes for upgrade
The gacela.php
signature changed and it is not compatible with previous versions.
Check now the new methods in the official documentation website: https://gacela-project.com/docs/gacela-php/
0.13.0
What's Changed
- Remove CustomService feature by @Chemaclass in #97
- Remove deprecated appRootDir methods from Config by @JesusValera in #98
- Move ConfigReader next to the config path by @Chemaclass in #102
- Allow customizing gacela files naming by @Chemaclass in #103
- Allow define reader as class-string or instance of ConfigReaderInterface by @JesusValera in #104
Full Changelog: 0.12.0...0.13.0
Notes for upgrade
- If you have defined
configReaders()
in yourgacela.php
, move them next to theconfig()
. - If you have defined
'config-readers'
in yourGacela::bootstrap()
, move them next to the config item.
0.12.0
Changelog
- Added
getAppRootDir()
to AbstractConfig. - Added
APP_ENV
environment key, to define different config files on different environments. - Added
'config-readers'
key in the globalServices andgacela.php
. - Deprecated
getApplicationRootDir()
from Config. UsegetAppRootDir()
instead. - Deprecated
'custom-services-location'
key in the globalServices andgacela.php
. - Removed
EnvConfigReader
fromgacela-project/gacela
.- If you want to read
.env
values, you should requiregacela-project/gacela-env-config-reader
.
- If you want to read
0.11.0
Changelog
- Deleted deprecated array config in
gacela.php
- Allow null as default config value
- The
globalServices
are passed intomappingInterfaces()
and not as constructor argument in thegacela.php