Skip to content

1.16.0

Choose a tag to compare

@koriym koriym released this 16 May 08:19
· 143 commits to 1.x since this release

Fixed

  • Resolve embed cache dependencies before HAL rendering: child resources' ETag headers are now collected before HalRenderer strips Request instances from the body, so the parent's Surrogate-Key reliably includes all embedded children (#174)
  • Include async embed children in dependency resolution: walk by AbstractRequest instead of the concrete Request, so AsyncRequest (and other AbstractRequest subclasses) are no longer silently skipped

Changed

  • Cache dependency resolution moved from EtagSetter / DevEtagSetter into QueryRepository::put() (runs on HTTP 200 only, before persistence)
  • QueryRepository::__construct() now requires CacheDependencyInterface
  • EtagSetter::__construct() and DevEtagSetter::__construct() no longer accept CacheDependencyInterface
  • DI users via QueryRepositoryModule are unaffected; only callers that directly new these classes need to update their constructor calls

Added

  • HAL embed cache dependency test (tests/CacheDependencyTest.php)
  • Non-Cacheable embed child test fixtures and continue path coverage