Skip to content

Hosted: take pgstencil 0.4.3, which reads a portal cancellation as not renewing - #1587

Merged
nedtwigg merged 2 commits into
mainfrom
pgstencil-0.4.3
Nov 5, 2026
Merged

nedtwigg merged 2 commits into
mainfrom
pgstencil-0.4.3

Conversation

@nedtwigg

@nedtwigg nedtwigg commented Nov 5, 2026 •

Copy link
Copy Markdown
Member

Stripe's customer portal cancels by setting cancel_at to the period's end rather than cancel_at_period_end. @pgstencil/stripe 0.4.2 read that as still renewing, so /billing and the renewal notices said the plan renews (found in the sandbox, 2026-11-03; fixed in diffplug/pgstencil#87).

  • Bumps pgstencil, @pgstencil/auth, and @pgstencil/stripe to ^0.4.3.
  • @pgstencil/auth 0.4.3 brings Better Auth 1.7.12 to 1.7.16, with patch bumps to openid-client and a few other transitive packages; the dependency disclosure is regenerated.
  • The cancel runbook in hosted/README.md no longer tells support to avoid the Dashboard's cancel.

pnpm test:hosted: 372 passed. The real-Stripe check of a portal cancel is part of the integrated sandbox retest for #1074.

🤖 Generated with Claude Code

…t renewing

Stripe's portal cancels by setting `cancel_at` to the period's end, which 0.4.2 read as renewing. The cancel runbook no longer steers support off the Dashboard.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

Deploying mouseterm with  Cloudflare Pages  Cloudflare Pages

Latest commit: 7067056
Status: ✅  Deploy successful!
Preview URL: https://f89014f3.mouseterm.pages.dev
Branch Preview URL: https://pgstencil-0-4-3.mouseterm.pages.dev

View logs

@dormouse-bot dormouse-bot mentioned this pull request Nov 5, 2026
1 task

@dormouse-bot dormouse-bot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Build & Test fails at "Dependency disclosure is current" (run). The new @pgstencil/auth brings in better-auth 1.7.16 and its siblings (jose, openid-client, better-call), and website/src/data/dependencies-npm.json still lists the old versions. Running node website/scripts/generate-deps.js and committing the result should fix it. I can push that commit if you'd like.

@nedtwigg
nedtwigg merged commit cf9a7f8 into main Nov 5, 2026
14 checks passed
@nedtwigg
nedtwigg deleted the pgstencil-0.4.3 branch November 5, 2026 22:31
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.

2 participants