Skip to content

Commit

Permalink
Update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
philipobenito committed Jul 9, 2021
1 parent af338e9 commit 67cba1a
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 6 deletions.
43 changes: 43 additions & 0 deletions CHANGELOG.md
Expand Up @@ -2,6 +2,49 @@

All Notable changes to `League\Container` will be documented in this file

## 4.0.0

### Added
- New definition interface that extends psr/container
- Literal and resolvable argument wrappers for better explicitness in definitions

### Changed
- PHP requirement now `>=7.2`
- Updated `psr/container` to ^2.0.0
- `Container::shared` convenience method is now explicit `Container::addShared` method
- Removed third argument `$shared` from `Container::add`, use `Container::addShared`
- `ServiceProviderInterface` now defines return types
- Service providers now require implementation of a `provides` method rather than relying on a class property.

## 3.4.0

### Removed
- Support for `psr/container` ^2.0.0 as the interface cannot be reconciled between versions

## 3.3.5

### Added
- Support for `psr/container` ^2.0.0

## 3.3.4

### Fixed
- Fixed an issue that caused a recursive `register` call. @pcoutinho
- Fixed a return type declaration. @orbex

## 3.3.3

### Fixed
- Fixed bug relating to `ReflectionContainer::call` on arrow functions.

## 3.3.2

### Added
- Experimental support for PHP 8.

### Fixed
- Fix issue when preventing reflection from using default value for arguments.

## 3.3.1

### Fixed
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Expand Up @@ -21,16 +21,16 @@
],
"require": {
"php": "^7.2 || ^8.0",
"psr/container": "^1.0.0 || ^2.0.0"
"psr/container": "^2.0.0"
},
"require-dev": {
"nette/php-generator": "^3.4",
"nikic/php-parser": "^4.10",
"phpstan/phpstan": "^0.12.47",
"phpunit/phpunit": "^8.5.8",
"roave/security-advisories": "dev-master",
"phpunit/phpunit": "^8.5.17",
"roave/security-advisories": "dev-latest",
"scrutinizer/ocular": "^1.8",
"squizlabs/php_codesniffer": "^3.3"
"squizlabs/php_codesniffer": "^3.6"
},
"provide": {
"psr/container-implementation": "^1.0"
Expand Down
4 changes: 2 additions & 2 deletions docs/_data/releases.yml
Expand Up @@ -22,7 +22,7 @@
name: League\Container 4.x
type: Current
requires: PHP >= 7.2
release: 4.0.0 - 2021-02
release: 4.0.0 - 2021-07
support: Ongoing
url: /4.x/
menu:
Expand All @@ -40,7 +40,7 @@
name: League\Container 3.x
type: Old
requires: PHP >= 7.0
release: 3.3.4 - 2021-02
release: 3.4.0 - 2021-07
support: 2022-02
url: /3.x/
menu:
Expand Down

0 comments on commit 67cba1a

Please sign in to comment.