Releases: gramaziokohler/compas_pb_ts
Releases · gramaziokohler/compas_pb_ts
Release list
compas-pb-ts: v3.0.0
3.0.0 (2026-08-19)
⚠ BREAKING CHANGES
- wrapper constructors take field values rather than
{ data }or{ bytes }; useX.fromBytesorbytesToXfor bytes.bytesToXDataandxDataToBytesare renamed and now take and return wrappers. - generated types are protobuf-es.
X.encode(v).finish()andX.decode(b)becometoBinary(XSchema, v)andfromBinary(XSchema, b), message literals must be built withcreate(XSchema, {...}), and AnyData oneofs use{ data: { case, value } }. google.protobuf types now come from @bufbuild/protobuf/wkt instead of being generated.
Features
- add a type registry and the recursive serializer (d995217)
- consume generated bindings and move to protobuf-es (064e8ed)
- forward an already-encoded AnyData unchanged (5231e47)
- hide the generated types behind the wrappers (2a76524)
- let registered types supply their own codec functions (a196bae)
- ship the bindings fetcher as a reusable bin (88eea7b)
- ship the generated protobuf modules as subpath exports (a115109)
Bug Fixes
- unpack the bindings archive in Node (dd51ab5)
compas-pb-ts: v2.0.0
compas-pb-ts: v1.4.1
compas-pb-ts: v1.4.0
compas-pb-ts: v1.3.1
compas-pb-ts: v1.3.0
1.3.0 (2026-07-02)
Features
- expose top-level public API (2f635c0)
Bug Fixes
- adjust size limit for unminified build (3fe2386)
- ci: upgrade npm to 11.5.1+ for trusted publishing (61d26c2)
- correct lockfile YAML indentation (b93f554)
- geometry: add explicit return types for JSR slow-types checker (cc7738d)
- geometry: fix mesh return values for all geometry types (3c0a743)
- lint: ignore .claude/ in biome (78f3b68)
- satisfy JSR slow-types checker (e9f7956)