Skip to content

Releases: gacela-project/gacela

0.12.0

13 Feb 18:37
Compare
Choose a tag to compare

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 and gacela.php.
  • Deprecated getApplicationRootDir() from Config. Use getAppRootDir() instead.
  • Deprecated 'custom-services-location' key in the globalServices and gacela.php.
  • Removed EnvConfigReader from gacela-project/gacela.

0.11.0

18 Jan 21:17
Compare
Choose a tag to compare

Changelog

  • Deleted deprecated array config in gacela.php
  • Allow null as default config value
  • The globalServices are passed into mappingInterfaces() and not as constructor argument in the gacela.php

0.10.0

04 Oct 09:05
Compare
Choose a tag to compare

Changelog

  • Allow setup custom config from Gacela::bootstrap directly.

0.9.0

27 Aug 15:36
Compare
Choose a tag to compare

Changelog

  • Allow return JsonSerializable objects in PHP config files.

0.8.0

16 Aug 18:33
1148483
Compare
Choose a tag to compare

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

07 Aug 13:43
Compare
Choose a tag to compare

Changelog

  • Improve the flexibility from the ConfigReaders.
  • Deprecated gacela.json config file, in favor of gacela.php.
  • Added 'mapping-interfaces' key to gacela.php.
  • Added autowiring for Factory dependencies.

0.6.0

27 Jul 19:37
Compare
Choose a tag to compare

Changelog

  • Added AbstractClassResolver::overrideExistingResolvedClass().
  • Locator uses AbstractClassResolver::getGlobalInstance() before creating a new instance.
  • Unify the cacheKey for ClasInfo using GlobalKey.

0.5.0

19 Jul 07:15
Compare
Choose a tag to compare

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

10 Jul 12:42
Compare
Choose a tag to compare

Changelog

  • Allow multiple (and different) config files defined in gacela.json.
  • Make extensible the config-readers for the config-singleton.

0.3.0

04 Jul 14:11
Compare
Choose a tag to compare

Changelog

  • Allow using config php and env files defined in gacela.json.
  • Use long name by default in the generator code commands. Optional short names.