Skip to content

Release v1.2.0 - #238

Merged
Ashex merged 1 commit into
mainfrom
changeset-release/main
Aug 3, 2026
Merged

Release v1.2.0#238
Ashex merged 1 commit into
mainfrom
changeset-release/main

Conversation

@hypercerts-release-bot

Copy link
Copy Markdown

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@hypercerts-org/lexicon@1.2.0

Minor Changes

  • #236 5439b36 Thanks @Ashex! - Add app.certified.graph.entityFollow, a follow record for non-account entities. subject is an open union currently offering only app.certified.defs#recordSubject (a record referenced by AT-URI without a CID, so the follow survives updates to the referenced record); account follows remain in app.certified.graph.follow. The new collection is also added to the app.certified.authWrite permission set so it is grantable alongside the other Certified records.

  • #222 fa1c29a Thanks @aspiers! - Add three permission-set lexicons — org.hypercerts.authWrite, org.hyperboards.authWrite, and app.certified.authWrite — each granting create/update/delete over every record collection in its namespace.

    A permission set lets any AT Protocol app request a whole bundle of repo: scopes with a single include:<nsid> OAuth scope, instead of enumerating each collection by hand. The user's PDS resolves and expands the set during the OAuth grant; the same published set can also be consumed by services (e.g. the Certified group service) when expanding API-key scopes.

    There are three sets rather than one because the spec requires it: a permission set "is limited to expressing permissions that reference resources under the same NSID namespace as the set itself" and "can not address 'sibling groups' or 'parents'". org.hypercerts, org.hyperboards, and app.certified are separate namespace authorities, so they cannot be combined in a single set — an app needing more than one requests each include: scope.

    Permission sets are published as-is (they are the source of truth for what gets published to AT Protocol) but have no TypeScript shape — lex gen-api cannot generate code for permission-set defs. They are therefore excluded from the codegen globs (gen-api/gen-md/gen-ts) and from generated/exports.ts, while still shipping as raw lexicon JSON.

    Collection lists are enumerated explicitly because the spec forbids wildcards inside a permission set; they must be kept in sync as record types are added. See docs/design/permission-sets.md.

    The generated SCHEMAS.md reference now renders permission-set entries (title, detail, and the resource/collections/actions each set grants) instead of leaving them as empty sections.

@hypercerts-release-bot hypercerts-release-bot Bot changed the title Release Release v1.2.0 Aug 3, 2026
@Ashex
Ashex merged commit 58db04c into main Aug 3, 2026
8 checks passed
@Ashex
Ashex deleted the changeset-release/main branch August 3, 2026 11:44
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