Skip to content

Releases: biig-io/DictionaryBundle

v2.1.5

27 Sep 12:13
ea5bb07
Compare
Choose a tag to compare

Changed

  • Allow to use the validator inside another annotation

[2.1.3] - 2018-09-25

25 Sep 10:34
Compare
Choose a tag to compare

Fixed

  • Dump dictionary command compatibility with Symfony 3.3

[3.0.0-alpha1] - 2018-07-06

06 Jul 12:30
Compare
Choose a tag to compare

Added

  • Add new method getOriginalDictionary on TraceableDictionary
  • New feature: if you use the CategoryDictionaryInterface you'll be able to sort dictionaries by using
    the registry.
  • The RegistryDictionary has now a new filter method.

Changed

  • Upgrade php-cs-fixer package from ^1.11 to ^2.11 && update .php_cs rules
  • PHP 7.1 is now the minimum version requirement
  • Add composer package in Dockerfile
  • Add support for arguments for the callable dictionary
  • Makes command output more readable than before:
    • Nicer tables
    • Avoid too long tables by showing only 15 keys

Fixed

  • Dictionary validator now accept arrays if you specify "multiple" option at true

[2.1.2] - 2018-02-16

16 Feb 09:18
Compare
Choose a tag to compare

Fixed

  • knp_dictionary.registry service declaration set public to true (Symfony 4 fix)

[2.1.1] - 2018-01-22

16 Feb 09:19
Compare
Choose a tag to compare

Changed

  • Improve the format when call dump command

[2.1.0] - 2017-12-22

22 Dec 14:39
e866416
Compare
Choose a tag to compare

Added

  • Add knp:dictionary:dump command for dictionary listing and preview
  • Add auto-registration of Dictionary implementations as actual dictionary for users of Sf >= 3.3

Fixed

  • Documentation formattage is now great again

v2.0.0

12 Dec 12:58
267bf6b
Compare
Choose a tag to compare

Added

  • Add tag knp_dictionary.factory for DI services so you can add dictionary factories
  • Add tag knp_dictionary.dictionary for DI services so you can add dictionary as service
  • Add knp_dictionary.data_collector.dictionary_data_collector service so you can trace what dictionnary is available
  • New factory interface Knp\DictionaryBundle\Dictionary\Factory
  • New interface Knp\DictionaryBundle\Dictionary
  • This changelog is also new :)

Changed

  • Some namespace changes for SimpleDictionary and ValueTransformer
  • Add add method on DictionaryRegistry
  • New view in the web profiler of Symfony

Removed

  • service and method nodes from configuration: dictionnaries are now loaded automatically by factories registered as it with the new tag