Skip to content

Commit 1169503

Browse files
committed
Release v0.21.45
1 parent f405a86 commit 1169503

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,25 @@ The format is based on [Keep a Changelog][], and this project adheres to
1212
[Keep a Changelog]: https://keepachangelog.com/en/1.1.0/
1313
[Semantic Versioning]: https://semver.org/spec/v2.0.0.html
1414

15+
## [v0.21.45] - 2024-02-21
16+
17+
### Added
18+
19+
- Add `SyncEntityRecursionException`
20+
- Add `ISyncContext::pushWithRecursionCheck()`
21+
- Add `ISyncContext::maybeThrowRecursionException()`
22+
23+
### Changed
24+
25+
- Sync: prevent infinite recursion during entity hydration
26+
- Call `ISyncContext::pushWithRecursionCheck()` instead of `ISyncContext::push()` where necessary
27+
- Call `ISyncContext::maybeThrowRecursionException()` before requesting entities from providers
28+
- In `GetSyncEntities`, apply `DeferralPolicy::DO_NOT_RESOLVE` in addition to `HydrationPolicy::SUPPRESS` when `--shallow` is given
29+
30+
### Fixed
31+
32+
- Fix issue where deferred relationships are created to hydrate entities with no identifier
33+
1534
## [v0.21.44] - 2024-02-20
1635

1736
### Added
@@ -1798,6 +1817,7 @@ The format is based on [Keep a Changelog][], and this project adheres to
17981817

17991818
- Allow `CliOption` value names to contain arbitrary characters
18001819

1820+
[v0.21.45]: https://github.com/lkrms/php-util/compare/v0.21.44...v0.21.45
18011821
[v0.21.44]: https://github.com/lkrms/php-util/compare/v0.21.43...v0.21.44
18021822
[v0.21.43]: https://github.com/lkrms/php-util/compare/v0.21.42...v0.21.43
18031823
[v0.21.42]: https://github.com/lkrms/php-util/compare/v0.21.41...v0.21.42

0 commit comments

Comments
 (0)