Skip to content

Pad v0.23.1

Latest

Choose a tag to compare

@github-actions github-actions released this 06 Dec 16:16
· 8 commits to main since this release

Highlights

A patch release: fixes for agent signup and claiming, attachment labels, and two upgrade notes for OAuth clients and multi-instance Redis deployments.

Fixes

  • Claiming an agent workspace. A person whose email is not yet verified can now claim a workspace an agent created. The claim page shows the unverified notice, explains a replaced claim link, and retries once after a refused CSRF check.
  • Agent signup from the CLI. pad auth signup --agent saves its client config on a machine that has none, resolves its follow-up hint through .pad.toml, and no longer copies a .pad.toml server URL into the global config.
  • Attachment labels. A stray [ earlier in a paragraph, a blank line, or an escaped opener no longer becomes part of a later attachment link's label, in rendered pages and in the attachments a share link includes.

Upgrade notes

  • OAuth requests need resource. An authorization request that sends audience without resource is now refused with invalid_target. Clients send the RFC 8707 resource parameter.
  • Multi-instance Redis deployments. Event-stream and watch-stream IDs are now composed from a Redis-stored generation, so a client resuming across a Redis reset is told to resync instead of being served from the wrong position. IDs become 19-digit numbers; clients treat them as strings, as the CLI already does. During the upgrade each watch or event client resyncs once. A <namespace>event_seq or <namespace>watchevents_seq already at or above 2147483647 rotates once. Single-instance servers are unaffected (docs/deployment.md).

Install

brew install PerpetualSoftware/tap/pad
docker pull ghcr.io/perpetualsoftware/pad:0.23.1

Archives for Linux, macOS and Windows are attached below.

Verifying

cosign verify-blob \
  --certificate-identity-regexp "^https://github.com/PerpetualSoftware/pad/.github/workflows/release.yml@.*" \
  --certificate-oidc-issuer "https://token.actions.githubusercontent.com" \
  --bundle checksums.txt.sigstore.json checksums.txt

Changelog

Bug fixes

  • b385b82: fix(cli): never promote a .pad.toml URL to the global config; quote the suggested command (@xarmian)
  • 940b5b4: fix(cli): persist client config after agent signup on fresh machines (@xarmian)
  • 01364c7: fix(cli): resolve the signup hint through .pad.toml; never suggest --url for a .pad.toml server (@xarmian)
  • af5c4b6: fix(events): compose Redis resume IDs from the generation so an old-space cursor is refused (BUG-3762) (@xarmian)
  • bec6b82: fix(oauth): refuse audience-only authorization requests with invalid_target (TASK-4268) (@xarmian)
  • 59259d3: fix(render): a stray [ no longer reaches a later attachment's label (BUG-4452) (@xarmian)
  • 15f09be: fix(server): allow unverified accounts to claim agent workspaces (@xarmian)
  • 4d4c569: fix(web): show the unverified notice on the claim page, explain replaced links, retry one CSRF refusal (@xarmian)

Other changes

  • ff3685b: Merge remote-tracking branch 'origin/main' into release-0.23.x (@xarmian)
  • da7863b: Merge remote-tracking branch 'origin/main' into rook/BUG-5040 (@xarmian)
  • 1537d10: Merge remote-tracking branch 'origin/main' into rook/TASK-5043 (@xarmian)
  • c3aa074: docs, events: state the FLUSH caveat as a seed equal to the lost generation (@xarmian)
  • f0d8e9a: events: clock-seed Redis generation rotation and use shared idspace helpers (@xarmian)
  • 815238e: events: restore the generation script's rationale; docs: note the mixed-roll residual (@xarmian)
  • 112d9c8: idspace: add shared Redis ID-space constants and helpers (@xarmian)
  • 05c0256: watchevents: compose Redis notification IDs with clock-seeded generations (@xarmian)