Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .agents/skills/writing-changesets/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +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.
- 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/`.

Expand Down
2 changes: 1 addition & 1 deletion .changeset/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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. 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.
Expand Down
10 changes: 10 additions & 0 deletions .changeset/undo-accidental-1-0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
"@hypercerts-org/api": minor
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Resolved
---

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.
4 changes: 2 additions & 2 deletions packages/api/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# @hypercerts-org/api

## 1.0.0
## 1.0.0 (published by mistake; superseded by 0.6.0)
Comment thread
Kzoeps marked this conversation as resolved.
Resolved

### 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.

Expand Down
2 changes: 1 addition & 1 deletion packages/api/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
Loading