Repository navigation
Conversation
|
Automatic approval withheld CodeRabbit could not verify the path filters used for the saved review. Run a full review using the repository's approval configuration. A reviewer can post Commit: No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
|
Not included in 1.21.0: the local branch |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## 1.x #318 +/- ##
===========================================
Coverage 100.00% 100.00%
Complexity 885 885
===========================================
Files 123 123
Lines 1965 1965
===========================================
Hits 1965 1965 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
@coderabbitai review |
Action performed
|
|
@coderabbitai Commit b668c83 (merged into 1.x through #319) never got a review from you: #319 was merged before you reached it, and you no longer act on #319 because it is closed. This release PR ships it, but it is not in this PR's diff. Please review that commit's changes here: |
|
Tip For best results, initiate chat on the files or code changes. Analysis chain
I inspected the source and existing tests. I did not run the repository tests in the sandbox. Would you like me to open a follow-up issue for these findings? Learnings used
You are interacting with an AI system. |
|
@coderabbitai Thanks, both findings reproduced locally and are fixed in #320 ( #320 ): a schemeless href without a leading slash is now skipped, and the docs no longer claim parity with the link crawl. No issue needed. |
|
Tip For best results, initiate chat on the files or code changes. @koriym Thanks for reproducing both findings and fixing them in Learnings added
If you found this review helpful, would you consider giving us a shout-out on X? Thank you for using CodeRabbit! You are interacting with an AI system. |
1.x carries the deflate and lazy Redis entries under a second Unreleased heading. They join the Changed list of 1.21.0, so the release has one section with every entry once.
|
@coderabbitai review |
Action not completed
|
|
Note for the next time
|
Release 1.21.0: CHANGELOG
[Unreleased]becomes[1.21.0] - 2026-12-02.Release notes
A child declared with
#[Embed]is a dependency of its parent whether or not the child is cached. A write to the child invalidates the parent, with no#[Cacheable], ETag orSurrogate-Keyneeded on the child.#[Link(rel: 'collection')]on a row'sonGet(): a write to the row purges its list.#[DependsOn(uri: ..., key: ...)]ties a list to the rows in its body;AppSurrogateKeyModuleadds one key to every entry for whole-app invalidation.Every write runs one interceptor in one order, and a write on a resource without a cache attribute invalidates its own key.
#[Cacheable]withprivate/no-storethrowsUnstorableDeclaration; a pastexpiryAtis not stored.Deprecated APIs from 1.20.x are removed (
src-deprecated/stays as in 1.20.2, unmaintained).AppSurrogateKeyModule's key comes first in theSurrogate-Keyof each response the package stores or writes as a donut, so a CDN that ignores keys past its header limit still purges by it.A write whose CDN purge fails runs its remaining purges and reads, then throws the first failure.
#[NoHttpCache]applies to a response of any status;#[HttpCache]still applies to a 200 only.StorageRedisDsnModulecompresses stored values with deflate and connects to Redis on first use by default, and requiresext-zlib.ServerContextInterfaceextends BEAR.Sunday'sServerContextInterface; requiresbear/sunday1.10 or later.ResourceStorageInterface::saveDonut()returnsbool; a custom implementation must returnbool.#[HttpCache]and#[NoHttpCache]on a class that inheritsonGet()from a parent now apply.UriTagand the other classes listed under Changed require their dependency: a test that builds one withnew UriTag()takesUriTagInterfacefrom the injector instead.Each behaviour change and removal is in CHANGELOG.md with what to do.
Why 1.21.0
New features plus behaviour changes in the cache's own invalidation. The removed APIs were deprecated in 1.20.x or were not meant to be built directly (now
@internal); the cases where application code has to change (such as#[DependsOn]on a row class, or#[Purge]on a method that is not a write) are each marked in CHANGELOG.md.Summary by CodeRabbit
ext-zlib.pool_errorlog entry for each request when Redis is unavailable. Connecting when the pool is created remains configurable.symfony/cacheversion: 6.4.12.