Skip to content

Commit 2defbc1

Browse files
authored
Feature/allow implicit service delegate (#362)
* Sort constraint output violations alphabetically * Update ADR, allow for implicit ServiceDelegate * Put correct date on 2.3.0 release * Add Jetbrains attributes composer package to dev for psalm analysis
1 parent 11277b3 commit 2defbc1

32 files changed

+1174
-576
lines changed

CHANGELOG.md

+14
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,20 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [v2.3.0](https://github.com/cspray/annotated-container/tree/v2.3.0) - 2024-05-22
9+
10+
### Changed
11+
12+
- Changed static analysis step to no longer throw an error if a ServiceDelegate is encountered without an explicitly
13+
defined Service. Now, a ServiceDefinition will be implicitly added as if the corresponding class was added with all
14+
default parameters using the functional API.
15+
16+
### Deprecated
17+
18+
- All observers have been deprecated. They will be replaced in 3.0.0. Please see our ADR document for more details.
19+
- All implementations in Cspray\AnnotatedContainer\Profiles have been deprecated. They will be replaced with a single
20+
value object in 3.0.0. Please see our ADR document for more details.
21+
822
## [v2.2.0](https://github.com/cspray/annotated-container/tree/v2.2.0) - 2023-05-29
923

1024
### Added

architectural-decisions.xml

+178-41
Large diffs are not rendered by default.

composer.json

+7-5
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
"ext-libxml": "*",
1818
"composer-runtime-api": "^2",
1919
"brick/varexporter": "^0.3.7",
20-
"cspray/annotated-container-adr": "^2",
21-
"cspray/annotated-container-attribute": "^1.1",
20+
"cspray/annotated-container-adr": "^3",
21+
"cspray/annotated-container-attribute": "^1.3",
2222
"cspray/annotated-target": "^v0.3",
2323
"cspray/precision-stopwatch": "^0.2.0",
2424
"cspray/typiphy": "^0.3",
@@ -35,7 +35,8 @@
3535
"rdlowrey/auryn": "^1.4",
3636
"roave/security-advisories": "dev-latest",
3737
"vimeo/psalm": "^4.24",
38-
"illuminate/container": "^10.11"
38+
"illuminate/container": "^10.11",
39+
"jetbrains/phpstorm-attributes": "^1.1"
3940
},
4041
"bin": ["bin/annotated-container"],
4142
"autoload": {
@@ -64,8 +65,9 @@
6465
]
6566
},
6667
"suggest": {
67-
"rdlowrey/auryn": "Install to use Auryn\\Injector as the backing container.",
68-
"php-di/php-di": "Install 7.0+ to use DI\\Container as the backing container."
68+
"illuminate/container": "Install to use Illuminate\\Container\\Container as the backing container.",
69+
"php-di/php-di": "Install 7.0+ to use DI\\Container as the backing container.",
70+
"rdlowrey/auryn": "Install to use Auryn\\Injector as the backing container."
6971
},
7072
"extra": {
7173
"$architecturalDecision": {

0 commit comments

Comments
 (0)