Use a Git-pinned Atomic lib fix for optional field removal #56
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "codex/use-fixed-tomic-lib"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Clearing an optional date or text field in
/atomic-reusefails with published@tomic/lib@0.40.0because datatype validation rejects undefined before the documented removal path. Pin the compatible upstream backport at1f330960d70898200d69c8a7834da93e0aa60ed5and exercise removal and failed-save retry without an adapter workaround.The main upstream fix is ontola/atomic-server#2317, targeting current develop. This temporary dependency comes from a narrow branch based on upstream
v0.40.0, retaining the existing API rather than migrating to the newer 0.41 beta. It contains the removal fix, regression tests and package preparation.The Git dependency selects
browser/liband builds its JavaScript/declarations during installation. Require pnpm 12.5.1, allow preparation for that exact Git source, and use a version-scoped metadata hook to make the published@tomic/react@0.40.0consume the application's library as a peer. This avoids a second registry copy while keeping pnpm's exotic-transitive-dependency protection enabled. The lockfile records the immutable commit and hook checksum; the documentation explains how to return to a compatible registry release.Validation:
Broker-backed native synchronization tests were not rerun. The separate upstream PR records its library checks and CI status.
Closes #53.