From 71359345f4b6213479f3c0f38b6e00ebad29957f Mon Sep 17 00:00:00 2001 From: kzoeps Date: Thu, 26 Nov 2026 23:10:47 +0600 Subject: [PATCH 1/4] api release: revert accidental 1.0.0 so the next release is 0.6.0 --- .changeset/undo-accidental-1-0.md | 5 +++++ packages/api/CHANGELOG.md | 4 ++-- packages/api/package.json | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 .changeset/undo-accidental-1-0.md diff --git a/.changeset/undo-accidental-1-0.md b/.changeset/undo-accidental-1-0.md new file mode 100644 index 00000000..0c797d90 --- /dev/null +++ b/.changeset/undo-accidental-1-0.md @@ -0,0 +1,5 @@ +--- +"@hypercerts-org/api": minor +--- + +Version 1.0.0 was published by mistake. This release replaces it and continues from 0.5.0. Use 0.6.0 and do not use 1.0.0. It contains every change listed under 1.0.0 in this changelog, including the breaking `ActorView` rename: replace `app.certified.actor.getOrganization.OrganizationActorView` with `org.hypercerts.api.defs.ActorView`. diff --git a/packages/api/CHANGELOG.md b/packages/api/CHANGELOG.md index 6f797755..904c7405 100644 --- a/packages/api/CHANGELOG.md +++ b/packages/api/CHANGELOG.md @@ -1,8 +1,8 @@ # @hypercerts-org/api -## 1.0.0 +## 1.0.0 (published by mistake; superseded by 0.6.0) -### Major Changes +### Major Changes (breaking, but released as part of 0.6.0) - [#103](https://github.com/hypercerts-org/api/pull/103) [`f1cf4ab`](https://github.com/hypercerts-org/api/commit/f1cf4abf4853d3a12862c3c1cfaf05fded7df375) Thanks [@Kzoeps](https://github.com/Kzoeps)! - Added DID-only `app.certified.actor.getActor` and `getActors` queries. diff --git a/packages/api/package.json b/packages/api/package.json index 5996c2f1..13844dde 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -1,6 +1,6 @@ { "name": "@hypercerts-org/api", - "version": "1.0.0", + "version": "0.5.0", "description": "TypeScript query definitions and types for the Hypercerts API, for use with @atproto/lex", "license": "MIT OR Apache-2.0", "repository": { From fdc56d76c6abb03c8c1888cdff63778fbb39947c Mon Sep 17 00:00:00 2001 From: kzoeps Date: Thu, 26 Nov 2026 23:20:39 +0600 Subject: [PATCH 2/4] changeset: list all 1.0.0 changes in the 0.6.0 entry --- .changeset/undo-accidental-1-0.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.changeset/undo-accidental-1-0.md b/.changeset/undo-accidental-1-0.md index 0c797d90..8293d090 100644 --- a/.changeset/undo-accidental-1-0.md +++ b/.changeset/undo-accidental-1-0.md @@ -2,4 +2,9 @@ "@hypercerts-org/api": minor --- -Version 1.0.0 was published by mistake. This release replaces it and continues from 0.5.0. Use 0.6.0 and do not use 1.0.0. It contains every change listed under 1.0.0 in this changelog, including the breaking `ActorView` rename: replace `app.certified.actor.getOrganization.OrganizationActorView` with `org.hypercerts.api.defs.ActorView`. +Version 1.0.0 was published by mistake. This release replaces it and continues from 0.5.0. Use 0.6.0 and do not use 1.0.0. It includes everything 1.0.0 contained: + +- [#103](https://github.com/hypercerts-org/api/pull/103): Added DID-only `app.certified.actor.getActor` and `getActors` queries. **Breaking:** replace `app.certified.actor.getOrganization.OrganizationActorView` with `org.hypercerts.api.defs.ActorView`, and import `LocationRecordView` from the same shared namespace. Narrow `actor.organization` before accessing it: the shared TypeScript type allows null even though existing organization queries keep their response shapes. +- [#98](https://github.com/hypercerts-org/api/pull/98): Activity and collection lists can optionally return an exact total for records matching the supplied filters. Set `includeTotal=true` to receive `totalCount`, counted before cursor and page limit, including on empty pages. +- [#101](https://github.com/hypercerts-org/api/pull/101): Set `includeTotal=true` on `org.hypercerts.funding.listReceipts` to get `totalCount`: the number of matching indexed receipts before pagination, even on an empty page. Omit the flag or set it to `false` to skip counting. +- [#106](https://github.com/hypercerts-org/api/pull/106): `app.certified.actor.getProfile` now resolves handles through `https://slingshot.microcosm.blue` when the HappyView script variable `HYPERCERTS_HANDLE_RESOLVER_URL` is unset. A valid value still overrides it; an invalid value still fails with `HandleResolverConfigError`. `pnpm install:api` no longer prompts for, reads or creates that variable, so it does not need `script-variables:*` permissions; existing values are kept. Operators who relied on the installer to set it must set it in HappyView directly. From 0827f9ff154aa420206d015d74debc21fc173d72 Mon Sep 17 00:00:00 2001 From: kzoeps Date: Fri, 27 Nov 2026 09:46:32 +0600 Subject: [PATCH 3/4] changesets: mark breaking changes minor while below 1.0.0 --- .agents/skills/writing-changesets/SKILL.md | 1 + .changeset/README.md | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.agents/skills/writing-changesets/SKILL.md b/.agents/skills/writing-changesets/SKILL.md index bcc9f8d5..b887da45 100644 --- a/.agents/skills/writing-changesets/SKILL.md +++ b/.agents/skills/writing-changesets/SKILL.md @@ -32,6 +32,7 @@ Choose the bump using this repo's release guidance: - `patch` for compatible fixes. - `minor` for new, additive API capabilities. - `major` for incompatible API changes. +- While `@hypercerts-org/api` and `happyview-modules` are below 1.0.0, mark breaking changes `minor`, not `major` (`major` would release 1.0.0). Describe the breaking change in the entry. Do not target the endpoint-explorer package or invent additional package entries. Use a descriptive kebab-case filename in `.changeset/`. diff --git a/.changeset/README.md b/.changeset/README.md index 2d83b0ab..0e19be8b 100644 --- a/.changeset/README.md +++ b/.changeset/README.md @@ -11,7 +11,7 @@ Add a Changeset when a pull request changes what either package ships. Run: pnpm changeset ``` -and select each package the pull request changes. Use `patch` for compatible fixes, `minor` for additive capabilities, and `major` for incompatible changes. +and select each package the pull request changes. Use `patch` for compatible fixes, `minor` for additive capabilities, and `major` for incompatible changes. While `@hypercerts-org/api` and `happyview-modules` are below 1.0.0, mark breaking changes `minor`, not `major` (`major` would release 1.0.0), and describe the breaking change in the entry. - For `@hypercerts-org/happyview-modules`, write release notes for endpoint or schema additions, compatible behavior changes, fixes, breaking changes, and installer or configuration changes that operators need to know about. - For `@hypercerts-org/api`, write release notes for client-visible changes: new or changed queries, parameters and types, and the `@hypercerts-org/lexicon` version it builds on. An API change that touches both the modules and the generated client gets an entry for each package. From 9ffc04b4bd760c6c37166030f35347568d86eeec Mon Sep 17 00:00:00 2001 From: kzoeps Date: Fri, 27 Nov 2026 12:15:48 +0600 Subject: [PATCH 4/4] changesets: apply pre-1.0 bump rule per package --- .agents/skills/writing-changesets/SKILL.md | 3 ++- .changeset/README.md | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.agents/skills/writing-changesets/SKILL.md b/.agents/skills/writing-changesets/SKILL.md index b887da45..b804ee00 100644 --- a/.agents/skills/writing-changesets/SKILL.md +++ b/.agents/skills/writing-changesets/SKILL.md @@ -32,7 +32,8 @@ Choose the bump using this repo's release guidance: - `patch` for compatible fixes. - `minor` for new, additive API capabilities. - `major` for incompatible API changes. -- While `@hypercerts-org/api` and `happyview-modules` are below 1.0.0, mark breaking changes `minor`, not `major` (`major` would release 1.0.0). Describe the breaking change in the entry. +- Apply the pre-1.0 rule to each package on its own: if that package is below 1.0.0, mark its breaking changes `minor`, not `major` (`major` would release 1.0.0). Describe the breaking change in the entry. +- When `@hypercerts-org/happyview-modules` reaches 1.0.0, release `@hypercerts-org/api` as 1.0.0 too. Do not target the endpoint-explorer package or invent additional package entries. Use a descriptive kebab-case filename in `.changeset/`. diff --git a/.changeset/README.md b/.changeset/README.md index 0e19be8b..29d3727d 100644 --- a/.changeset/README.md +++ b/.changeset/README.md @@ -11,7 +11,7 @@ Add a Changeset when a pull request changes what either package ships. Run: pnpm changeset ``` -and select each package the pull request changes. Use `patch` for compatible fixes, `minor` for additive capabilities, and `major` for incompatible changes. While `@hypercerts-org/api` and `happyview-modules` are below 1.0.0, mark breaking changes `minor`, not `major` (`major` would release 1.0.0), and describe the breaking change in the entry. +and select each package the pull request changes. Use `patch` for compatible fixes, `minor` for additive capabilities, and `major` for incompatible changes. Apply the pre-1.0 rule to each package on its own: if that package is below 1.0.0, mark its breaking changes `minor`, not `major` (`major` would release 1.0.0), and describe the breaking change in the entry. When `@hypercerts-org/happyview-modules` reaches 1.0.0, release `@hypercerts-org/api` as 1.0.0 too. - For `@hypercerts-org/happyview-modules`, write release notes for endpoint or schema additions, compatible behavior changes, fixes, breaking changes, and installer or configuration changes that operators need to know about. - For `@hypercerts-org/api`, write release notes for client-visible changes: new or changed queries, parameters and types, and the `@hypercerts-org/lexicon` version it builds on. An API change that touches both the modules and the generated client gets an entry for each package.