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.6 #41

Merged
merged 1 commit into from Mar 3, 2019

Conversation

dependabot-preview[bot]
Copy link
Contributor

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

Release notes

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

6.0.6

#645: Performance improvement: proxy classes are now generated when the container is compiled. That means less overhead at runtime.

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:
    • #490 Definitions can be nested in arrays (by @​yuloh)
    • #501 & #540 Autowire definitions can be nested in other definitions
    • #487 & #540 Closures are now handled as factories when they are nested in other definitions
  • #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
... (truncated)
Commits
  • f16f27b Merge pull request #645 from bbaga/master
  • ee0a72d Merge pull request #1 from PHP-DI/improve-645
  • e459f0a Simplify #645
  • b15f8e7 Formatting issues fixed
  • 4d8d114 Changes proposed on the pull request
  • 0e8ed40 Formatting issues fixed
  • e0296eb Adding support for proxy class generation on container compilations
  • 516caff Merge pull request #636 from holtkamp/patch-3
  • b60815e Prevent use of strings to refer to class names
  • 66ecb4f Merge pull request #630 from omarkdev/early-return
  • 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 recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @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.6.
- [Release notes](https://github.com/PHP-DI/PHP-DI/releases)
- [Commits](PHP-DI/PHP-DI@5.4.6...6.0.6)

Signed-off-by: dependabot[bot] <support@dependabot.com>
@WyriHaximus WyriHaximus merged commit c0c872d into master Mar 3, 2019
@dependabot-preview dependabot-preview bot deleted the dependabot/composer/php-di/php-di-6.0.6 branch March 3, 2019 00:06
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

2 participants