Skip to content

docs: protocol 2.0 release notes and lexicon 2.0 usage - #179

Merged
kristoferlund merged 1 commit into
mainfrom
docs/lexicon-2-0
Nov 3, 2026
Merged

kristoferlund merged 1 commit into
mainfrom
docs/lexicon-2-0

Conversation

@kristoferlund

Copy link
Copy Markdown
Contributor

Summary

Release notes and usage docs for @hypercerts-org/lexicon 2.0.0 (hypercerts-org/hypercerts-lexicon#270, released by hypercerts-org/hypercerts-lexicon#271). Protocol 2.0 tracks the Lexicon package's major version, as agreed: the package changed in a breaking way, but no lexicon changed and every existing record remains valid. The notes say so up front.

  • lib/protocol-releases.json: a 2.0 entry: schemas and types for the modern @atproto/lex client, $safeParse requiring $type, the 1.x API moving to /legacy, and what existing integrations need to change.
  • pages/releases/protocol.md: one sentence noting that a major version can come from a breaking package change alone, as in 2.0, and that each release's notes say whether records are affected.
  • pages/lexicons/introduction-to-lexicons.md: the "Validate records before writing" example used ACTIVITY_NSID and OrgHypercertsClaimActivity from the package root, which move to /legacy in 2.0. It now installs @atproto/lex, writes with client.create(…, { validateRequest: true }), checks other data with $safeParse, and points 1.x code to /legacy and the README's migration guide. The example typechecks against the 2.0 build, and its record validates.
  • test/releases.test.js: updated for the 2.0 line, as for 1.6.

/reference/releases needs no change: it renders the Lexicon changelog, which gets its 2.0.0 entry when #271 is merged. Nothing else in the docs imports the package API; the schema tables and example tests read the lexicon JSON files, which did not change.

Merge after the release

Merge this after @hypercerts-org/lexicon@2.0.0 is published. The notes link to the v2.0.0 tag and README, and the date (2026-11-03) is the planned release day; adjust it if the release slips. Dependabot bumps the site's pinned package version afterwards, as usual.

pnpm test passes (81 tests).

@vercel

vercel Bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
hypercerts-v0.2-documentation Ready Ready Preview Nov 3, 2026 7:53am UTC

Request Review

@coderabbitai

coderabbitai Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: a567255d-fd21-4341-8173-7813e9dd321b
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

CodeRabbit Verify

  • Run CodeRabbit Verify to test the changes in this pull request.

Protocol 2.0 tracks @hypercerts-org/lexicon 2.0.0, which changes the
TypeScript package but no lexicon. The introduction page's validation
example moves to the new @atproto/lex schemas.
@kristoferlund
kristoferlund merged commit 35726f6 into main Nov 3, 2026
6 checks passed
@kristoferlund
kristoferlund deleted the docs/lexicon-2-0 branch November 3, 2026 08:25

This branch was successfully deployed

1 active deployment
Preview — 9811f80c Deployed Nov 3, 2026 by vercel[bot]
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