Skip to content
Open
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
10 changes: 0 additions & 10 deletions .changeset/lexicon-defaults-nullable-indexed-at.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/reject-year-zero-cursor.md

This file was deleted.

12 changes: 12 additions & 0 deletions happyview-modules/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @hypercerts-org/happyview-modules

## 0.7.2

### Patch Changes

- [#86](https://github.com/hypercerts-org/api/pull/86) [`7c0da77`](https://github.com/hypercerts-org/api/commit/7c0da77775c69c4285a92983c6a15cf66c4bff81) Thanks [@Kzoeps](https://github.com/Kzoeps)! - Query definitions now state what the API already does: `limit` defaults to 25 and `sortDirection` to `desc`, `getLocation` documents its `InvalidRequest` error, and `indexedAt` on location and evaluation results can be null.

Client type changes (no wire change):
- `indexedAt` on `locationView` and `evaluationView` is now `string | null`; handle null if you read it.
- On list endpoints with new defaults, `$Params` now describes parsed params, so `limit` and `sortDirection` are required there. `client.call(..., {})` still compiles. If you annotate request objects with `$Params` and omit those keys, use `l.InferInput<typeof $params>` instead.

- [#91](https://github.com/hypercerts-org/api/pull/91) [`99f4e8f`](https://github.com/hypercerts-org/api/commit/99f4e8f2646fc353163377692e5b7f4b286716cf) Thanks [@Kzoeps](https://github.com/Kzoeps)! - A list request whose `cursor` or `before` timestamp is in year 0000 now returns an `InvalidRequest` error. Several endpoints used to answer it with an HTTP 500. `listVocabTags` now reports this as "cursor is malformed".

## 0.7.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion happyview-modules/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hypercerts-org/happyview-modules",
"version": "0.7.1",
"version": "0.7.2",
"license": "MIT OR Apache-2.0",
"private": true,
"type": "module",
Expand Down
10 changes: 10 additions & 0 deletions packages/api/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @hypercerts-org/api

## 0.5.0

### Minor Changes

- [#86](https://github.com/hypercerts-org/api/pull/86) [`7c0da77`](https://github.com/hypercerts-org/api/commit/7c0da77775c69c4285a92983c6a15cf66c4bff81) Thanks [@Kzoeps](https://github.com/Kzoeps)! - Query definitions now state what the API already does: `limit` defaults to 25 and `sortDirection` to `desc`, `getLocation` documents its `InvalidRequest` error, and `indexedAt` on location and evaluation results can be null.

Client type changes (no wire change):
- `indexedAt` on `locationView` and `evaluationView` is now `string | null`; handle null if you read it.
- On list endpoints with new defaults, `$Params` now describes parsed params, so `limit` and `sortDirection` are required there. `client.call(..., {})` still compiles. If you annotate request objects with `$Params` and omit those keys, use `l.InferInput<typeof $params>` instead.

## 0.4.1

### Patch Changes
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": "0.4.1",
"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