Releases: gacela-project/gacela
Releases · gacela-project/gacela
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
0.10.0
Changelog
- Allow setup custom config from Gacela::bootstrap directly.
0.9.0
Changelog
- Allow return JsonSerializable objects in PHP config files.
0.8.0
Changelog
- Updated
gacela.php
config file:- returning a simple array has been deprecated,
- an anonymous function that creates an anonymous class that extends from
AbstractConfigGacela
should be used.
- Remove deprecated
gacela.json
config file.
0.7.0
Changelog
- Improve the flexibility from the ConfigReaders.
- Deprecated
gacela.json
config file, in favor ofgacela.php
. - Added
'mapping-interfaces'
key togacela.php
. - Added autowiring for Factory dependencies.
0.6.0
Changelog
- Added AbstractClassResolver::overrideExistingResolvedClass().
- Locator uses AbstractClassResolver::getGlobalInstance() before creating a new instance.
- Unify the cacheKey for ClasInfo using GlobalKey.
0.5.0
Changelog
- Config::setConfigReaders() creates a new config instance singleton.
- Added AbstractClassResolver::addAnonymousGlobal(); you can now use anonymous classes.
- Added matrix for the GitHub CI for diff PHP versions (7.4,8.0), and diff OS (mac,linux,windows).
0.4.0
Changelog
- Allow multiple (and different) config files defined in
gacela.json
. - Make extensible the config-readers for the config-singleton.
0.3.0
Changelog
- Allow using config
php
andenv
files defined ingacela.json
. - Use long name by default in the generator code commands. Optional short names.