Skip to content

Releases: sanity-io/mutate

mutate: v0.11.1

28 Nov 13:02
00b5de1
Compare
Choose a tag to compare

0.11.1 (2024-11-28)

Bug Fixes

mutate: v0.11.0

28 Nov 10:14
7bcfc90
Compare
Choose a tag to compare

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)

mutate: v0.10.2

07 Nov 20:10
254962c
Compare
Choose a tag to compare

0.10.2 (2024-11-07)

Bug Fixes

mutate: v0.10.1

22 Oct 10:13
c40668e
Compare
Choose a tag to compare

0.10.1 (2024-10-22)

Bug Fixes

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

mutate: v0.10.0

02 Sep 14:00
b00dc64
Compare
Choose a tag to compare

0.10.0 (2024-09-02)

Features

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

mutate: v0.9.0

30 Aug 14:53
48a6b55
Compare
Choose a tag to compare

0.9.0 (2024-08-30)

Features

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

Bug Fixes

mutate: v0.8.0

07 Aug 11:39
bdd65e2
Compare
Choose a tag to compare

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)

mutate: v0.7.1

06 Aug 16:25
0b5e418
Compare
Choose a tag to compare

0.7.1 (2024-08-06)

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)
  • replace mutiny references, add README disclaimer (d3f6f65)
  • revert back to nanoid for array key generator (40b7193)
  • set repository metadata (80fa132)
  • 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)

v0.7.1

01 Aug 19:42
395f22a
Compare
Choose a tag to compare
  • fix(package): fix broken package exports 60dbc5d

v0.7.0...v0.7.1

v0.7.0

01 Aug 19:34
b6dad5d
Compare
Choose a tag to compare
  • chore(test): use tsconfig.dist.json for vitest typecheck c18d643
  • chore: fix linter errors 5423cb3
  • chore(lint): improve linter config acadab6
  • fix(deps): add missing dependencies 587582f
  • chore(ci): enable ci d256220
  • chore(tsconfig): enable incremental compilation b574fe8
  • chore(tsconfig): enable noUncheckedIndexAccess 11d105e
  • chore(deps): upgrade deps da92378
  • chore(deps): add missing dev dependency 602061f
  • refactor(example): improve listener connection handling 3fccb47
  • refactor(example): refactor web example 4e47c7b
  • refactor(store): rename function b6e3195
  • fix: issue a warning on event.mutation access if listener event didn't include them 024a4af
  • chore(examples): add missing dependency d937f29
  • chore: use pnpm catalogs for shared dev deps d09d5b6
  • chore(examples): extend eslint react hooks + jsx runtime a447501
  • fix(example): load api config from .env 42eb4dc

v0.6.0...v0.7.0