Skip to content

Commit

Permalink
Feature/allow implicit service delegate (#362)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
cspray authored May 22, 2024
1 parent 11277b3 commit 2defbc1
Show file tree
Hide file tree
Showing 32 changed files with 1,174 additions and 576 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,20 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [v2.3.0](https://github.com/cspray/annotated-container/tree/v2.3.0) - 2024-05-22

### Changed

- Changed static analysis step to no longer throw an error if a ServiceDelegate is encountered without an explicitly
defined Service. Now, a ServiceDefinition will be implicitly added as if the corresponding class was added with all
default parameters using the functional API.

### Deprecated

- All observers have been deprecated. They will be replaced in 3.0.0. Please see our ADR document for more details.
- All implementations in Cspray\AnnotatedContainer\Profiles have been deprecated. They will be replaced with a single
value object in 3.0.0. Please see our ADR document for more details.

## [v2.2.0](https://github.com/cspray/annotated-container/tree/v2.2.0) - 2023-05-29

### Added
Expand Down
219 changes: 178 additions & 41 deletions architectural-decisions.xml

Large diffs are not rendered by default.

12 changes: 7 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"ext-libxml": "*",
"composer-runtime-api": "^2",
"brick/varexporter": "^0.3.7",
"cspray/annotated-container-adr": "^2",
"cspray/annotated-container-attribute": "^1.1",
"cspray/annotated-container-adr": "^3",
"cspray/annotated-container-attribute": "^1.3",
"cspray/annotated-target": "^v0.3",
"cspray/precision-stopwatch": "^0.2.0",
"cspray/typiphy": "^0.3",
Expand All @@ -35,7 +35,8 @@
"rdlowrey/auryn": "^1.4",
"roave/security-advisories": "dev-latest",
"vimeo/psalm": "^4.24",
"illuminate/container": "^10.11"
"illuminate/container": "^10.11",
"jetbrains/phpstorm-attributes": "^1.1"
},
"bin": ["bin/annotated-container"],
"autoload": {
Expand Down Expand Up @@ -64,8 +65,9 @@
]
},
"suggest": {
"rdlowrey/auryn": "Install to use Auryn\\Injector as the backing container.",
"php-di/php-di": "Install 7.0+ to use DI\\Container as the backing container."
"illuminate/container": "Install to use Illuminate\\Container\\Container as the backing container.",
"php-di/php-di": "Install 7.0+ to use DI\\Container as the backing container.",
"rdlowrey/auryn": "Install to use Auryn\\Injector as the backing container."
},
"extra": {
"$architecturalDecision": {
Expand Down
Loading

0 comments on commit 2defbc1

Please sign in to comment.