@curviate/sdk 0.20.1 → 0.20.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +40 -0
- package/dist/index.d.ts +222 -202
- package/package.json +1 -1
- package/src/generated/types.ts +222 -202
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,46 @@ Versioning: semantic. Minor for additive changes, patch for bug fixes; no stabil
|
|
|
9
9
|
|
|
10
10
|
## [Unreleased]
|
|
11
11
|
|
|
12
|
+
## [0.20.2] - 2026-08-10
|
|
13
|
+
|
|
14
|
+
Published as a patch, not a minor, for the same reason 0.20.1 was: it satisfies
|
|
15
|
+
the `^0.20.1` range already declared by installed consumers, including
|
|
16
|
+
`@curviate/cli`, so it reaches them on the next install with no consumer-side
|
|
17
|
+
version bump. A `0.21.0` would have reached nobody, because a caret on a `0.x`
|
|
18
|
+
version never resolves the next minor.
|
|
19
|
+
|
|
20
|
+
The generated types are a mirror of the served OpenAPI document. This release
|
|
21
|
+
is a regeneration against that document at server commit `686b70f4`; nothing
|
|
22
|
+
was hand-edited.
|
|
23
|
+
|
|
24
|
+
### Fixed
|
|
25
|
+
|
|
26
|
+
- **Typographic characters no longer ship in the published types.** The API
|
|
27
|
+
document was swept clean of ellipsis, arrow, comparison and multiplication
|
|
28
|
+
glyphs, but the SDK's generated mirror of it was not regenerated afterwards,
|
|
29
|
+
so `src/generated/types.ts` and `dist/index.d.ts` each still carried 195 of
|
|
30
|
+
them. They ship directly to consumers, where they surface in editor tooltips
|
|
31
|
+
and IntelliSense on every documented field. Both files are now free of them.
|
|
32
|
+
|
|
33
|
+
### Added
|
|
34
|
+
|
|
35
|
+
- **`urn` on posts.** A post's `id` is the identifier for the surface that
|
|
36
|
+
returned it and can differ between two responses describing the same post,
|
|
37
|
+
which made "have I already seen this one?" unanswerable from the types.
|
|
38
|
+
`urn` is stable however you reached the post, so two responses can be
|
|
39
|
+
compared directly. It is `null` when the post carries no resolvable
|
|
40
|
+
identity, and two nulls are never a match.
|
|
41
|
+
|
|
42
|
+
- **`urn` and `created_at` on a comment's `parent_post`**, so a comment can be
|
|
43
|
+
joined to the post it was made on without a second request.
|
|
44
|
+
|
|
45
|
+
- **A reaction's `parent_post` is now a described shape** rather than an opaque
|
|
46
|
+
empty object. It carries `object`, `id`, `urn` and `created_at`, which makes
|
|
47
|
+
"have I already reacted to this post?" answerable from the response.
|
|
48
|
+
|
|
49
|
+
All four are optional and nothing was removed, narrowed, or renamed, so a
|
|
50
|
+
consumer that compiled against 0.20.1 still compiles.
|
|
51
|
+
|
|
12
52
|
## [0.20.1] - 2026-08-10
|
|
13
53
|
|
|
14
54
|
Published as a patch, not a minor: it satisfies the `^0.20.0` range already
|