Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump php-di/php-di from 5.4.6 to 6.0.5 #26

Closed

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps php-di/php-di from 5.4.6 to 6.0.5.

Release notes

Sourced from php-di/php-di's releases.

6.0.5

#618 & #627: Support for variadics to provide multiple definition files in one method call using ContainerBuilder::addDefinitions().

6.0.4

#614, #622 & #621: fix regression in Container::set()

6.0.3

#616: Bugfix when using autowiring with wildcards (by jasonrm)

6.0.2

Fix potential regression introduced in the previous release when fixing #582

6.0.1

  • Fix #526: Support optional parameters in factories
  • #585 Add support for PHP-Parser 4.0
  • #582 Register ContainerInterface to point to the wrapper container if it was defined

6.0.0

This is the complete change log. You can also read the migration guide for upgrading or the blog article to see what's new.

Improvements:

  • #494 The container can now be compiled for optimum performances in production
  • #294, #349, #449: DI\object() has been replaced by more specific and less ambiguous helpers:
    • DI\create() creates an object, overrides autowiring and previous definitions
    • DI\autowire() autowires an object and allows to override specific constructor and method parameters
  • The container can now be built without parameters: new Container()
  • Definitions can be nested:
  • #487 Closures in the config are now always interpreted as factories, even when nested inside other definitions
  • #242 Error in case a definition is not indexed by a string
  • #505 Debug container entries
  • #564 Caching was made almost entirely obsolete by the container compilation, however there is still a caching system entirely rebuilt over APCu for covering the last cases that compilation could not address (see php-di.org/doc/performances.html)

Fixes:

  • #499 & #488 Standardize resolution of nested definitions everywhere.
    In PHP-DI 5, definitions could be nested in some places (e.g. use a get() in an object definition, etc.). However it did not behave everywhere the same, for example it didn't work for sub-definitions in arrays.
    Now in PHP-DI 6 all nested definitions will all be recognized and resolved correctly everywhere. Since #494 (compiled container) performance will not be affected so we can implement a more robust behavior.
  • #343 Autowiring and Annotations do not work for object() inside arrays: it now works with the new create() and autowire() helpers

BC breaks:

  • PHP 7 or greater is required and HHVM is no longer supported
  • DI\object() has been removed, use DI\create() or DI\autowire() instead
  • #409: Scopes are removed, read more in the scopes documentation.
  • Caching was replaced by compiling the container: ContainerBuilder::setDefinitionCache() was removed, use ContainerBuilder::enableCompilation() instead.
  • #463 & #485: Container-interop support was removed, PSR-11 is used instead (by [juliangut](https://github.com/juliangut))
... (truncated)
Commits
  • 5e8b809 Merge pull request #627 from juliangut/variadic-add-definitions
  • c898d59 dockblock variadic syntax tamed
  • fef2714 revert dockblock
  • ca31d34 Merge branch 'variadic-add-definitions' of github.com:juliangut/PHP-DI into v...
  • 1be8604 support variadic parameter on addDefinitions
  • a989248 Update php-cs-fixer rules after the latest version
  • 687c5e8 support variadic parameter on addDefinitions
  • ef261dc Add PrettyCI badge
  • 2c7a3a6 Merge pull request #622 from PHP-DI/v6_di_get_autowire_interface
  • c15dea7 Fix #614: regression in Container::set()
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

If all status checks pass Dependabot will automatically merge this pull request.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

Bumps [php-di/php-di](https://github.com/PHP-DI/PHP-DI) from 5.4.6 to 6.0.5.
- [Release notes](https://github.com/PHP-DI/PHP-DI/releases)
- [Commits](PHP-DI/PHP-DI@5.4.6...6.0.5)

Signed-off-by: dependabot[bot] <support@dependabot.com>
@dependabot-preview
Copy link
Contributor Author

Superseded by #41.

@dependabot-preview dependabot-preview bot deleted the dependabot/composer/php-di/php-di-6.0.5 branch February 28, 2019 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant