Skip to content

Latest commit

 

History

History
134 lines (84 loc) · 9.62 KB

CHANGELOG.md

File metadata and controls

134 lines (84 loc) · 9.62 KB

Changelog

0.12.1 (2025-01-10)

Bug Fixes

  • store: ignore own mutations as they arrive from the listener (#46) (b5ac022)

0.12.0 (2025-01-09)

⚠ BREAKING CHANGES

  • listeners:
  • createDocumentLoader is renamed to createDocumentLoaderFromClient
  • createSharedListener is renamed to createDocumentLoaderFromClient

Features

  • add converter for form patches to mutate patches (#44) (5f48b6a)

Code Refactoring

  • listeners: support custom fetch and listen functions (#43) (521e850)

0.11.1 (2024-11-28)

Bug Fixes

0.11.0 (2024-11-28)

Features

  • add readonly document store (8b4d306)

Bug Fixes

  • add rxjs based dataloader (871738d)
  • applyMutation did not write back to documentMap entry (37de8eb)
  • improve error handling (5a5fea9)
  • make document listener resilient of mutation event loss (cb99758)
  • remove transactionId on sync event (e5eb127)
  • store: add documentId to update event, make update.event non-optional in types (66a21b6)

0.10.2 (2024-11-07)

Bug Fixes

0.10.1 (2024-10-22)

Bug Fixes

  • return correct value on applyInArray assumed noop (#21) (0735ca2)
  • stop inlining lodash (#24) (3009e84)

0.10.0 (2024-09-02)

Features

  • add support for array remove operation (#19) (17e7a3c)

0.9.0 (2024-08-30)

Features

  • throw if attempting to apply mendoza patch on invalid revision (#17) (ef38ec2)

Bug Fixes

0.8.0 (2024-08-07)

Features

  • add compact formatter (04f5ee1)
  • add low level store implementation (01ee65e)
  • export unstable store (c2310ef)
  • improve type system for patching values, use stricter types when possible (61a8134)
  • path: export getAtPath w/types (3197968)
  • store: export unstable_store (d2245ee)
  • store: expose meta streams (63bcaac)
  • store: start implementation of cl-store (02d7e48)

Bug Fixes

  • add missing exports (555e238)
  • add missing exports (c36c6cb)
  • add missing mutations to decoders/encoders (4456797)
  • add typesversions workaround for unstable store export (5b12b06)
  • apply: add type support for inc operation (7a6b814)
  • cleanup main exports (a25b833)
  • deps: add missing dependencies (587582f)
  • deps: add required dependencies (8b6c650)
  • deps: replace nanoid with ulid (b7f73fa)
  • deps: upgrade dependencies (cc7fe9d)
  • deps: upgrade dependencies (8488bd9)
  • docs: fix readme syntax error (4cdcf13)
  • docs: fix tsdoc formatting (a261922)
  • docs: improve section about differences from sanity mutations (96c4547)
  • example: load api config from .env (42eb4dc)
  • fix broken export (a6800f2)
  • improve error messages (87b2890)
  • inline mutation event (8eb49f2)
  • issue a warning on event.mutation access if listener event didn't include them (024a4af)
  • package: fix broken package exports (60dbc5d)
  • pass ifRevisionID when encoding for Sanity mutation API (6e7b490)
  • path: fix broken overload for getAtPath() (3d0b12f)
  • path: reexport path index (28d9da2)
  • pkg: add sideEffects: false to package.json (f2ec4ca)
  • revert back to nanoid for array key generator (40b7193)
  • store: export api types (717229b)
  • store: send intention-based mutations along with the mutation event (7aeb7af)
  • tests: add tests for array utils (e8aee45)
  • test: update snapshots (05b739f)
  • test: use expectTypeOf instead of ts-expect (00ce33d)
  • types: add SafePath excluding path parse errors (f9cc3c1)
  • types: fix typing issue when applying a patch in non-tuple arrays (24eba69)