techne-sdk 0.4.0 → 0.5.0

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 CHANGED
@@ -3,6 +3,44 @@
3
3
  `techne-sdk` on npm and the `techne-sdk` crate share a version. Each entry names what changes for an app or
4
4
  a crate user.
5
5
 
6
+ ## 0.5.0 (2026-11-17)
7
+
8
+ npm 0.5.0 and crate 0.5.0 are built from the same commit. Lexicons `v0.1.22-techne.85` (commit `06a30bd7`) with
9
+ `techne-lexicon-check` `=0.3.23` from crates.io, and the platform's published API from platform `main` `6b8466292`.
10
+ Codegen, the catalog and the WebAssembly are regenerated. A generated field is removed (below), so this is a major
11
+ version (RELEASING.md). What changes for an app:
12
+
13
+ ### Removed (breaking)
14
+
15
+ - `primary` from the generated `identity.defs#linkView` (`identity.listMethods` `links[]`): linked accounts have no
16
+ primary (Linking v2). `mutual` is retired and always `true`; `since` is new.
17
+
18
+ ### Added
19
+
20
+ - `RecordsAnswer.linked` (`getRecordsAnswer`, `answerOf`, a composed get step's `answer`): asked with
21
+ `handles`, the other accounts of each named repo's person, by DID, as `LinkedAccount` (`{did, handle?,
22
+ displayName?}`, the generated `getRecords#linkedHandle`), from each `getRecords#handle` entry's `linked`. Only
23
+ DIDs that have some; empty from a platform that does not send the field yet. `handle` is never `handle.invalid`.
24
+ - Lexicons techne.81 to .85 (Linking v2): `getRecords#handle.linked`; `identity.manageMethods` gains the
25
+ `moveMethod` (links two accounts) and `unlink` ops, `list`'s `person`, addChannel's `otherPerson` and `other`, and
26
+ the `FromStepUpRequired`, `Frozen`, `PendingChange`, `TooMany`, `Same`, `NoKey`, `NeedsMethod` and `NotLinked`
27
+ errors; new `identity.defs#personMember`; `defs#pendingChange` gains `moveMethod` and `other`; `defs#methodView`
28
+ gains `value` (manageMethods `list` only); `attest` gains `termsShown`.
29
+
30
+ ### Changed
31
+
32
+ - Retired (Linking v2): `identity.link` and `identity.unlinkAccount` (the platform no longer serves them; use
33
+ `identity.manageMethods` `moveMethod` and `unlink`), and the `link` op of `identity.manageMethods` (400
34
+ `InvalidRequest`). Its `notices` list is unused and always empty: the platform emails every notice itself.
35
+
36
+ ### Fixed
37
+
38
+ - `useEvent`'s `reload()` no longer drops the read still in flight for the same uri. An app that reloaded
39
+ faster than `getVersions` answered (a change stream nudging every 200 ms against 300 ms reads) never saw an
40
+ answer, so a record `put` answered pending never flipped to its curated version. A read in flight now lands
41
+ unless a newer read of the same uri landed first, so the newest answer wins. Changing the uri still discards
42
+ the previous uri's read. 0.4.0 has the same bug.
43
+
6
44
  ## 0.4.0 (2026-11-14)
7
45
 
8
46
  npm 0.4.0 and crate 0.4.0 are built from the same commit. Lexicons `v0.1.22-techne.69` to `v0.1.22-techne.80`