All Versions
19
Latest Version
Avg Release Cycle
56 days
Latest Release
1270 days ago

Changelog History
Page 1

  • v7.0.0-beta2 Changes

    October 05, 2020

    ๐Ÿš€ Beta release of future PHP-DI 7.0.

    Not ready for production , please test it out.

    • ๐Ÿ‘Œ support PHP 7.4 and up (yes, this is important for what's below)
    • ๐Ÿ‘ #738 support PHP 8 attributes for injections: welcome #[Inject] to replace @Inject!
    • โฌ‡๏ธ drop support for @Inject used with phpdoc annotations -> only native PHP types are supported now
      ๐Ÿ“ฆ That makes PHP-DI simpler, faster and lighter (no need for the PhpDocReader package)
    • typed everything that can be typed
  • v7.0.0-beta1 Changes

    October 05, 2020

    ๐Ÿš€ Beta release of future PHP-DI 7.0.

    Not ready for production , please test it out.

    • ๐Ÿ‘Œ support PHP 7.4 and up (yes, this is important for what's below)
    • ๐Ÿ‘ #738 support PHP 8 attributes for injections: welcome #[Inject] to replace @Inject!
    • โฌ‡๏ธ drop support for @Inject used with phpdoc annotations -> only native PHP types are supported now
      ๐Ÿ“ฆ That makes PHP-DI simpler, faster and lighter (no need for the PhpDocReader package)
    • typed everything that can be typed
  • v6.3.0 Changes

    October 12, 2020

    ๐Ÿš€ Thanks a lot to the InnoCraft team, the makers of Matomo, for sponsoring this release.

    ๐Ÿ‘ #727, #737 PHP 8 support

    ๐Ÿš€ As well as new releases in dependencies that bring PHP 8 support and these feature to PHP-DI 6:

    ๐Ÿ‘ #562, PHP-DI/Invoker#30 Support optional parameters before required ones
    ๐Ÿ‘ PHP-DI/Invoker#29 Support PHP 7.1 nullable parameters

  • v6.2.4 Changes

    October 01, 2020

    ๐Ÿ‘ #739 Suppress tempnam notice to support streams.

  • v6.2.3 Changes

    September 24, 2020
    • ๐Ÿ›  #735 #736 Bugfix when writing the compiled container
  • v6.2.2 Changes

    August 23, 2020

    #728 Make the compiler save files atomically.

  • v6.2.1 Changes

    June 18, 2020

    ๐Ÿ›  Fix #719: support for static closures inside closures when compiling the container.

  • v6.2.0 Changes

    June 10, 2020

    ๐Ÿ‘ #706 #711 #716 and #717: Support compiling short closures, by using the opis/closure library.

    ๐Ÿ“ฆ This also means that we don't require the deprecated jeremeamia/superclosure package anymore.

  • v6.1.0 Changes

    April 06, 2020

    ๐Ÿ‘ PHP-DI 6.1 supports PHP 7.2 and up. PHP 7.0 and 7.1 are no longer supported.

    ๐Ÿš€ This release also includes:

    • โž• Add autowiring-support for PHP 7.4 typed properties #708 by @bzikarsky
    • ๐Ÿ‘‰ Make injectOn use the definition cache #709 by @bzikarsky
    • โœ… PHP 7.4 is now fully supported and tested #699 by @jdreesen
  • v6.0.11 Changes

    December 12, 2019

    #698: Allows namespacing cache keys when using the APCu cache. That makes possible to run multiple applications sharing the same cache (e.g. on the same server) without conflicts.