Skip to content

chore(release): 13.45.2 - #753

Merged
ogorzalka merged 7 commits into
developfrom
release/13.45.2
Dec 4, 2026
Merged

ogorzalka merged 7 commits into
developfrom
release/13.45.2

Conversation

@ogorzalka

Copy link
Copy Markdown
Member

Security release, with the changes waiting under [Unreleased]. See the [v13.45.2] section of the CHANGELOG.

Security

  • Shared caches. Where the framework would have answered Cache-Control: public, it now answers private for a page bound to one visitor: a cookie set or queued, a Laravel session on the request, or a Cache-Control already sent that forbids shared storage.
  • Update check of modules. A request carrying a token has its redirects followed by the framework, within its origin only.

Upgrading: behaviour change

With wordpress.sessions enabled, which is the framework default when config/wordpress.php lacks the key, the Route::wp() routes of routes/web.php are no longer stored by shared caches. If the front end needs no session, set 'sessions' => false. A plugin that sets a cookie for every visitor keeps the pages concerned out of shared caches. Purge any shared cache after upgrading.

What was checked

On macOS, PHP 8.4 with pcov unless said otherwise:

  • full pollora-qa check (harness 0.1.41) with Semgrep 1.186.0, against develop: every gate passes; line coverage above the recorded floor, type coverage 98.19 %;
  • mutation of the two changed source files: 85.64 %, minimum 80 %;
  • pest on PHP 8.3 (lowest and stable) and PHP 8.4 (stable): 4237 passed, 1 skipped;
  • gitleaks 8.30.1 on the whole history: no finding;
  • the patch pins of composer.json;
  • the new cache headers, behind Apache mod_cache on a throwaway WordPress 7.1.5 site: a second visitor gets none of the first one's cookies, and a page with no cookie and no session is still stored.

What is not proved

  • The skeleton install and the browser tests (DDEV) were not run locally. A search of the browser test specs found no assertion on cache or cookie headers.
  • Only Apache mod_cache was tried: nginx, Varnish and CDNs were not.
  • PHP 8.4 with lowest dependencies: 38 tests fail on this machine, the same ones as on develop without this change, from deprecation notices of an old dependency printed into the output. With deprecations not displayed, none fails.
  • Mutation of the files new since main (src/Testing/, already on develop) cannot be scored on macOS: two tests fail under the unchanged mutant, on develop alone too. It passed on Linux in the pull requests that added them.
  • PHP API compatibility: roave-backward-compatibility-check stops on an invalid PSR mapping prefix, here and on develop. The CI job of an earlier pull request shows the same message and reports success, so it compares nothing at the moment. The public surface gate passes, and by reading the diff no public signature changes.

Pollora maintainer added 7 commits December 3, 2026 18:33
… its origin

WordPress sends the headers of a request again when it follows a redirect, whatever host it leads to. A request that carries headers beyond Accept now has its redirects followed by HttpGet, only under the same scheme, host and port, up to five.
A response that sets or queues a cookie, whose request has a session, or beside which a Cache-Control forbidding shared storage was already sent, is now answered private instead of public.
@ogorzalka
ogorzalka merged commit ffacce5 into develop Dec 4, 2026
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant