Skip to content

Commit 7b48ad2

Browse files
committed
1.1.0
1 parent 4a2d263 commit 7b48ad2

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,19 @@ 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.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [1.1.0] - 2026-06-25
9+
10+
### Added
11+
- Map web API responses to typed domain objects (BDR read pattern). `#[WebQuery]` gains `type` (`'row'` | `'row_list'`) and `factory` parameters, mirroring `#[DbQuery]` (#5)
12+
- `WebResponseMapper` hydrates a decoded JSON response into objects via a DI-resolved factory (static or instance) or the return-type entity constructor, binding response keys to parameter names (#5)
13+
- `PostFetchInterface` / `PostFetchContext` to compose the mapped result into an aggregate return type through a static `fromContext()` named constructor (#5)
14+
- Dedicated exceptions `InvalidWebEntityException`, `InvalidWebFactoryException`, `EntityWithoutConstructorException`, and `MissingResponseKeyException` (#5)
15+
16+
### Changed
17+
- Add `phpdocumentor/reflection-docblock` (`^5.3 || ^6.0`) as a runtime dependency, used to resolve entity types from `@return` docblocks (#5)
18+
19+
The raw `array` / `string` / PSR-7 `MessageInterface` return paths are unchanged, so this release is backward compatible.
20+
821
## [1.0.1] - 2026-06-25
922

1023
### Changed

0 commit comments

Comments
 (0)