Skip to content

v0.6.1

Choose a tag to compare

@github-actions github-actions released this 08 Nov 18:01
· 197 commits to main since this release
Immutable release. Only release title and notes can be modified.
a88aecc

Souin's shared cache no longer leaks one client's Set-Cookie to the next. The Caddy cache plugin moves from v1.7.9 to v1.7.10, and cmd/motel/souin_test.go holds nine of its fixes in motel's own configuration. This release is the commit that ran as v0.6.1-rc1 on a real box: upgraded from v0.6.0, serving, an hourly backup and a restore drill, then upgraded to this release with docs/upgrading.md as written.

Upgrading:

  • On the box, follow docs/upgrading.md. Nothing is renamed or moved; the package keeps your Caddyfile.
  • If a box repository's MOTEL_VERSION variable pinned the candidate, delete it, so its checks use this release.

Behaviour changes since v0.6.0

Responses that set a cookie are not cached. With cache in front of an app, a response carrying Set-Cookie was stored and replayed to the next visitor, cookie and all (darkweak/souin#805). It is no longer stored unless the origin sends Cache-Control: no-cache="Set-Cookie", in which case the copy is stored without the cookie. Apps behind cache that set a session cookie on every response will see their hit rate fall; that traffic was never safe to cache.

cache_keys in a handler block start applying, and stale-while-revalidate refreshes in the background. On v1.7.9 the first cache_keys rule was dropped and a backslash in a rule's regexp silently disabled the cache (darkweak/souin#688); stale-while-revalidate never refreshed behind reverse_proxy (#699). Both now work as the Souin docs describe, so origins see the background revalidation requests. Two Souin bugs remain and are skipped in the suite with the condition that lifts each: otter keeps no stale copy for stale-if-error, and cache_keys in the global block never reach a bare cache directive.

motel-backup setup --existing <url> opens a rebuilt box's repository without making a new password: it asks for the existing one and sets the box up on the snapshots already there (#389). On a rebuilt box, run it where the guide says setup.

A {$NAME:default} directive no longer refuses the push. The backups check read a defaulted placeholder as an unset variable (#394); it now checks the directive by form.

The upgrade's Backups: line says what is so. On a set-up box it reported the backups as not set up and told you to run setup on every upgrade (#403). It now reports each timer's state and whether the backups are set up, and points at motel-backup status.

Security sweep (#407). Six findings of the 2026-11-06 sweep fixed across backups, box proof and liveswap; none was reachable from outside the box. go-jose/v3 (three unfixed denial-of-service advisories) leaves the build (#405).

What's Changed

  • build(deps): bump the dockerfiles group across 2 directories with 1 update by @dependabot[bot] in #398
  • fix(packaging): postinstall says the backups are set up when they are by @earthlingdavey in #404
  • deps: drop go-jose/v3 (smallstep/certificates master + go.step.sm/crypto 0.92.0); x/net 0.62.0; pin-watch comment and stale checks by @earthlingdavey in #405
  • build(deps): bump github.com/spf13/pflag from 1.0.10 to 1.1.0 in the go-deps group across 1 directory by @dependabot[bot] in #408
  • build(deps): bump curlimages/curl from 8.22.0 to 8.23.0 in the compose-images group by @dependabot[bot] in #409
  • ci(pin-watch): the header says what the workflow watches since #405 by @earthlingdavey in #410
  • test(liveswap): date deploy records in the tests that read their order (#376) by @earthlingdavey in #411
  • feat(backups): setup --existing opens a rebuilt box's repository and makes no password (#389) by @earthlingdavey in #413
  • security: fix six findings of the 2026-11-06 sweep by @earthlingdavey in #407
  • fix(backups): a {$NAME:default} a directive checks by form no longer refuses the push (#394) by @earthlingdavey in #412
  • liveswap: replace known values before the caps cut; a length-aware entropy bar by @earthlingdavey in #414
  • fix(usage): one ledger file per machine, summed on the page; --match takes several names by @earthlingdavey in #406
  • chore(usage): this VM's ledger file is lima64; sessions to 2026-11-07 by @earthlingdavey in #415
  • deps(souin): bump the Caddy plugin to v1.7.10 by @earthlingdavey in #416

Full Changelog: v0.6.0...v0.6.1