From 6829171d677b2dfd02671805c0ad7e1f3c4b0d72 Mon Sep 17 00:00:00 2001 From: Akihito Koriyama Date: Tue, 24 Nov 2026 06:09:09 +0900 Subject: [PATCH 1/3] 1.21.0 --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 73ed07db..5fc02233 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ 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). -## [Unreleased] +## [1.21.0] - 2026-11-24 ### Added - `#[Link(rel: 'collection', href: ...)]` on a row's `onGet()` names the list it belongs to: a write to the row purges the list's URI and the variants that differ only in default-valued parameters, so the list needs no `#[DependsOn]` for its rows. From c9b499d27da53401a93387521905874e8d0da85f Mon Sep 17 00:00:00 2001 From: Akihito Koriyama Date: Fri, 27 Nov 2026 15:05:07 +0900 Subject: [PATCH 2/3] Put the entries merged from 1.x under the 1.21.0 heading 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. --- CHANGELOG.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 76d860f1..f40a2a45 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,12 +7,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [1.21.0] - 2026-11-24 -### Changed -- **Behaviour change**: `StorageRedisDsnModule` compresses stored values with deflate when `$marshallingOptions` is empty; pass `['enabled' => false]` to store them uncompressed. The package now requires `ext-zlib`. -- **Behaviour change**: `StorageRedisDsnModule` connects to Redis on first use, so building the application, as a compile does, needs no Redis, and a store that is down is logged as `pool_error` per request instead of failing the boot. Pass `['lazy' => false]` to connect when the pool is built. The package now requires `symfony/cache` 6.4.12 or later: earlier lazy connections fail to load with ext-redis 6.3. - -## [Unreleased] - ### Added - `#[Link(rel: 'collection', href: ...)]` on a row's `onGet()` names the list it belongs to: a write to the row purges the list's URI and the variants that differ only in default-valued parameters, so the list needs no `#[DependsOn]` for its rows. A path-only href (`/posts`) takes the context scheme (`#[ContextScheme]`). - The `purge_skipped` log entry (fields `uri`, the write's URI without its query, and `reason`, `unmatched_query`), recorded when a write on a resource without a cache attribute cannot address its own key because its query lacks a required `onGet()` parameter. @@ -35,6 +29,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - **Behaviour change**: when the GET that rebuilds a stored write's entry makes a write whose query cannot address its own key, a POST logs `cache_error` and answers, and a PUT, PATCH or DELETE throws `UnmatchedQuery` after every purge has run. - **Behaviour change**: a write opens one `command` log scope, whose entry carries `method` and `annotations` only; a reader of the log that reads `source` has to drop it. - **Behaviour change**: `#[NoHttpCache]` sets `Cache-Control: private, no-store, no-cache, must-revalidate` on a response of any status, so a CDN does not store a redirect or a 404 it answers; it was set on a 200 only. `#[HttpCache]` still sets a 200 only. +- **Behaviour change**: `StorageRedisDsnModule` compresses stored values with deflate when `$marshallingOptions` is empty; pass `['enabled' => false]` to store them uncompressed. The package now requires `ext-zlib`. +- **Behaviour change**: `StorageRedisDsnModule` connects to Redis on first use, so building the application, as a compile does, needs no Redis, and a store that is down is logged as `pool_error` per request instead of failing the boot. Pass `['lazy' => false]` to connect when the pool is built. The package now requires `symfony/cache` 6.4.12 or later: earlier lazy connections fail to load with ext-redis 6.3. ### Removed - The deprecated `HttpCacheInject`, `RepositoryLoggerInterface` and `RepositoryLogger`, `StorageMemcachedEtagModule`, the qualifiers `#[CacheEngine]`, `#[Memcache]` and `#[Redis]`, and the exceptions `RedisConnectionException` and `ResourceStorageUnserializeException`. Use constructor injection, `SemanticLoggerInterface` with `#[CacheLog]` and `StorageMemcachedModule`. From 26de1068c0cf025535d57394fa89d42b8bba948e Mon Sep 17 00:00:00 2001 From: Akihito Koriyama Date: Wed, 2 Dec 2026 09:10:29 +0900 Subject: [PATCH 3/3] Date 1.21.0 as 2026-12-02 --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5b356cfd..598e2bdb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ 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). -## [1.21.0] - 2026-11-24 +## [1.21.0] - 2026-12-02 ### Added - `#[Link(rel: 'collection', href: ...)]` on a row's `onGet()` names the list it belongs to: a write to the row purges the list's URI and the variants that differ only in default-valued parameters, so the list needs no `#[DependsOn]` for its rows. A path-only href (`/posts`) takes the context scheme (`#[ContextScheme]`).