php-api-clients / foundation

:construction:
MIT License
5 stars 2 forks source link

Bump php-di/php-di from 5.4.6 to 6.0.2 #19

Closed dependabot-preview[bot] closed 6 years ago

dependabot-preview[bot] commented 6 years ago

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

Release notes *Sourced from [php-di/php-di's releases](https://github.com/PHP-DI/PHP-DI/releases).* > ## 6.0.2 > Fix potential regression introduced in the previous release when fixing [#582](https://github-redirect.dependabot.com/PHP-DI/PHP-DI/issues/582) > > ## 6.0.1 > - Fix [#526](https://github-redirect.dependabot.com/PHP-DI/PHP-DI/issues/526): Support optional parameters in factories > - [#585](https://github-redirect.dependabot.com/PHP-DI/PHP-DI/issues/585) Add support for PHP-Parser 4.0 > - [#582](https://github-redirect.dependabot.com/PHP-DI/PHP-DI/issues/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](doc/migration/6.0.md) for upgrading or the [blog article](news/22-php-di-6-0-released.md) to see what's new. > > Improvements: > > - [#494](https://github-redirect.dependabot.com/PHP-DI/PHP-DI/pull/494) The container can now be compiled for optimum performances in production > - [#294](https://github-redirect.dependabot.com/PHP-DI/PHP-DI/issues/294), [#349](https://github-redirect.dependabot.com/PHP-DI/PHP-DI/issues/349), [#449](https://github-redirect.dependabot.com/PHP-DI/PHP-DI/pull/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](https://github-redirect.dependabot.com/PHP-DI/PHP-DI/issues/490) Definitions can be nested in arrays (by [[**yuloh**](https://github.com/yuloh)](https://github.com/yuloh)) > - [#501](https://github-redirect.dependabot.com/PHP-DI/PHP-DI/issues/501) & [#540](https://github-redirect.dependabot.com/PHP-DI/PHP-DI/issues/540) Autowire definitions can be nested in other definitions > - [#487](https://github-redirect.dependabot.com/PHP-DI/PHP-DI/issues/487) & [#540](https://github-redirect.dependabot.com/PHP-DI/PHP-DI/issues/540) Closures are now handled as factories when they are nested in other definitions > - [#487](https://github-redirect.dependabot.com/PHP-DI/PHP-DI/issues/487) Closures in the config are now always interpreted as factories, even when nested inside other definitions > - [#242](https://github-redirect.dependabot.com/PHP-DI/PHP-DI/issues/242) Error in case a definition is not indexed by a string > - [#505](https://github-redirect.dependabot.com/PHP-DI/PHP-DI/pull/505) Debug container entries > - [#564](https://github-redirect.dependabot.com/PHP-DI/PHP-DI/pull/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](http://php-di.org/doc/performances.html)) > > Fixes: > > - [#499](https://github-redirect.dependabot.com/PHP-DI/PHP-DI/issues/499) & [#488](https://github-redirect.dependabot.com/PHP-DI/PHP-DI/issues/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](https://github-redirect.dependabot.com/PHP-DI/PHP-DI/issues/494) (compiled container) performance will not be affected so we can implement a more robust behavior. > - [#343](https://github-redirect.dependabot.com/PHP-DI/PHP-DI/issues/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](https://github-redirect.dependabot.com/PHP-DI/PHP-DI/issues/409): Scopes are removed, read more in the [scopes](doc/scopes.md) documentation. > - Caching was replaced by compiling the container: `ContainerBuilder::setDefinitionCache()` was removed, use `ContainerBuilder::enableCompilation()` instead. > - [#463](https://github-redirect.dependabot.com/PHP-DI/PHP-DI/issues/463) & [#485](https://github-redirect.dependabot.com/PHP-DI/PHP-DI/issues/485): Container-interop support was removed, PSR-11 is used instead (by [[**juliangut**](https://github.com/juliangut)](https://github.com/juliangut)) > - The deprecated `DI\link()` helper was removed, used `DI\get()` instead > - [#484](https://github-redirect.dependabot.com/PHP-DI/PHP-DI/pull/484) The deprecated `\DI\Debug` class has been removed. Definitions can be cast to string directly > - The exception `DI\Definition\Exception\DefinitionException` was renamed to `DI\Definition\Exception\InvalidDefinition` > - The exception `DI\Definition\Exception\AnnotationException` was renamed to `DI\Definition\Exception\InvalidAnnotation` > - [#516](https://github-redirect.dependabot.com/PHP-DI/PHP-DI/issues/516) `DI\InvokerInterface` was removed in favor of `Invoker\InvokerInterface`. > > Be also aware that internal classes or interfaces may have changed. > > ## 6.0.0-beta3 > ... (truncated)
Commits - [`71a7f2e`](https://github.com/PHP-DI/PHP-DI/commit/71a7f2ed1e728138060ea159cbb1a92dc8620bd2) Fix potential regression introduced when fixing [#582](https://github-redirect.dependabot.com/PHP-DI/PHP-DI/issues/582) - [`b632aef`](https://github.com/PHP-DI/PHP-DI/commit/b632aef4b45af94571a9f4b0e4544ae69dc8eb13) Update the README image to high resolution - [`1a46970`](https://github.com/PHP-DI/PHP-DI/commit/1a46970583b61645c02626f5e79106272a8bb7ee) Fix [#582](https://github-redirect.dependabot.com/PHP-DI/PHP-DI/issues/582) Register `ContainerInterface` to point to the wrapper container if i... - [`dfad09b`](https://github.com/PHP-DI/PHP-DI/commit/dfad09b607183117c6cb7aa3216d559afb1842c8) Update changelog - [`d538302`](https://github.com/PHP-DI/PHP-DI/commit/d538302231c8de86c3509eac4a8ba463d7e33005) Fix [#585](https://github-redirect.dependabot.com/PHP-DI/PHP-DI/issues/585) Add support PHP-Parser 4.0 - [`9653e90`](https://github.com/PHP-DI/PHP-DI/commit/9653e90532b2859e701b197f5ddaccfda61958d6) Changelog update - [`7d0112f`](https://github.com/PHP-DI/PHP-DI/commit/7d0112fb222bb07405abcc15d49f37163d9742b8) Merge pull request [#597](https://github-redirect.dependabot.com/PHP-DI/PHP-DI/issues/597) from PHP-DI/fix-526 - [`05aab9c`](https://github.com/PHP-DI/PHP-DI/commit/05aab9cafe2c94ca3d12815e34465bafea7c8502) Fix [#526](https://github-redirect.dependabot.com/PHP-DI/PHP-DI/issues/526) Support optional parameters in factories - [`03c0460`](https://github.com/PHP-DI/PHP-DI/commit/03c046070333ef451579a1a5654ff93dfa33ed3a) Merge pull request [#595](https://github-redirect.dependabot.com/PHP-DI/PHP-DI/issues/595) from alexecus/patch-1 - [`495ed1a`](https://github.com/PHP-DI/PHP-DI/commit/495ed1ac6966390eaf753bcbbd5c151c18000585) Added correct class path for Container - Additional commits viewable in [compare view](https://github.com/PHP-DI/PHP-DI/compare/5.4.6...6.0.2)


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.


Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking Bump now in your Dependabot dashboard.

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 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 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](https://app.dependabot.com): - 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.
dependabot-preview[bot] commented 6 years ago

Superseded by #24.