Skip to content

0.9.0-beta.4: kit/speed social cards take an optional page address - #35

Merged
jgb-solutions merged 1 commit into
mainfrom
feat/speed-address
Dec 6, 2026
Merged

jgb-solutions merged 1 commit into
mainfrom
feat/speed-address

Conversation

@jgb-solutions

Copy link
Copy Markdown
Owner

Speed's social cards can now show the page's own address in their footer, in place of the app's domain (Speed's proto change, merged at dbcbe91). This brings it to kit and bumps the version for the next beta.

  • Proto: proto/speed/socialcards/v1/social_cards.proto is copied unchanged from Speed's main at dbcbe91 (EmojiCard.address = 5, PageCard.address = 4); proto/README.md names the commit. Regenerated with bun run generate (buf 1.76, protoc-gen-es 2.17).
  • Client: EmojiCardInput and PageCardInput take an optional address: host and path without a scheme, such as example.com/fr/emoji/chien, up to 80 characters. It is sent as given (empty when left out), and Speed validates it. Both getCard and getCardOr pass it through. It is part of the card's identity, so the docs' cache-key example (which hashes the template) already keeps separate cards apart.
  • Test: the address is sent on both templates, through both calls, and empty when left out.
  • Docs and release: docs/speed.md and the CHANGELOG, and the version moves to 0.9.0-beta.4. A pre-release goes to npm's next tag; latest stays 0.8.1.

Checks: bun install --frozen-lockfile, bun fmt --check, bun check, bun run test (342 pass), bunx buf lint with regenerated code, bun run build, check:package, check:size (kit/speed 35.91 of 40 kB), bun audit (no vulnerabilities).

Publishing: once this is on main, a GitHub pre-release v0.9.0-beta.4.

🤖 Generated with Claude Code

Proto copied from Speed's main at dbcbe91 (EmojiCard.address = 5, PageCard.address = 4) and
regenerated. Both templates take an optional address, sent as is (empty when left out); it is
part of the card's identity. Test, docs and CHANGELOG; version 0.9.0-beta.4.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
kit-showcase 463a258 Commit Preview URL

Branch Preview URL
Dec 06 2026, 08:44 AM

@jgb-solutions
jgb-solutions merged commit 96195a5 into main Dec 6, 2026
3 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