• v0.3.1 5cf5c4f0dc

    summercms v0.3.1: one-time cache values and branded error pages for browsers

    jakub released this 2026-10-20 22:00:28 +00:00 | 669 commits to master since this release

    • cooler: Cache.Pull(ctx, key) returns a value and removes it in one atomic
      step (Laravel's Cache::pull); of two concurrent callers at most one gets
      it. The Redis driver uses GETDEL (Redis 6.2 or newer); the memory driver
      runs under the per-key lock.
    • surf: a browser navigation that hits a framework-generated 404, 405 or
      500 gets a self-contained SummerCMS error page; API, JSON and XHR
      requests keep their exact bodies. Applications replace the page with a
      published surf.ErrorPageRenderer; http.error_pages.enabled false turns
      it off.

    Upgrade note: cooler.Cache gained Pull, so a custom Cache implementation
    (for example a test fake) must add it.

    Downloads