diff --git a/.changeset/drop-non-pds-endpoints.md b/.changeset/drop-non-pds-endpoints.md deleted file mode 100644 index cae6d6c6..00000000 --- a/.changeset/drop-non-pds-endpoints.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@getcirrus/pds": minor ---- - -Remove `com.atproto.identity.resolveDid`, `com.atproto.identity.resolveIdentity`, and `com.atproto.sync.listReposByCollection` handlers. These lexicons are implemented by the directory and relay layers, not the PDS — the reference @atproto PDS doesn't expose them either. Requests for these methods now fall through to the AppView proxy like any other unknown XRPC call. diff --git a/.changeset/fix-record-not-found-status.md b/.changeset/fix-record-not-found-status.md deleted file mode 100644 index 7a95978d..00000000 --- a/.changeset/fix-record-not-found-status.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@getcirrus/pds": patch ---- - -Align `com.atproto.repo.getRecord` and `com.atproto.repo.deleteRecord` error handling with the reference @atproto PDS: - -- `getRecord` now returns HTTP 400 (not 404) with `RecordNotFound` when the record is missing. The reference PDS raises `InvalidRequestError`, which maps to 400. -- `deleteRecord` on a missing record is now a 200 no-op (returning an empty body with no commit) instead of `RecordNotFound`, matching the reference PDS. diff --git a/packages/pds/CHANGELOG.md b/packages/pds/CHANGELOG.md index 34a65098..8b077a90 100644 --- a/packages/pds/CHANGELOG.md +++ b/packages/pds/CHANGELOG.md @@ -1,5 +1,17 @@ # @getcirrus/pds +## 0.17.0 + +### Minor Changes + +- [#187](https://github.com/ascorbic/cirrus/pull/187) [`838001e`](https://github.com/ascorbic/cirrus/commit/838001e84b50707958aac2c8383d5a22a13bb7d2) Thanks [@ascorbic](https://github.com/ascorbic)! - Remove `com.atproto.identity.resolveDid`, `com.atproto.identity.resolveIdentity`, and `com.atproto.sync.listReposByCollection` handlers. These lexicons are implemented by the directory and relay layers, not the PDS — the reference @atproto PDS doesn't expose them either. Requests for these methods now fall through to the AppView proxy like any other unknown XRPC call. + +### Patch Changes + +- [#189](https://github.com/ascorbic/cirrus/pull/189) [`5677603`](https://github.com/ascorbic/cirrus/commit/5677603c90a0e729c8b37b3391cb96239111ff93) Thanks [@ascorbic](https://github.com/ascorbic)! - Align `com.atproto.repo.getRecord` and `com.atproto.repo.deleteRecord` error handling with the reference @atproto PDS: + - `getRecord` now returns HTTP 400 (not 404) with `RecordNotFound` when the record is missing. The reference PDS raises `InvalidRequestError`, which maps to 400. + - `deleteRecord` on a missing record is now a 200 no-op (returning an empty body with no commit) instead of `RecordNotFound`, matching the reference PDS. + ## 0.16.0 ### Minor Changes diff --git a/packages/pds/package.json b/packages/pds/package.json index 685f93c7..81303b4c 100644 --- a/packages/pds/package.json +++ b/packages/pds/package.json @@ -1,6 +1,6 @@ { "name": "@getcirrus/pds", - "version": "0.16.0", + "version": "0.17.0", "description": "Cirrus – A single-user AT Protocol PDS on Cloudflare Workers", "type": "module", "main": "dist/index.js",