Skip to content

Latest commit

 

History

History
137 lines (74 loc) · 5.55 KB

CHANGELOG.md

File metadata and controls

137 lines (74 loc) · 5.55 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

Bug Fixes

  • Add a files allowlist so the published package only includes what is needed: the built dist output (including source maps for debuggable stacks, with test files excluded) plus the README and CHANGELOG.

⚠ BREAKING CHANGES

  • Upgrade the @dittolive/ditto peer dependency to ^5.0.0. This library now targets the Ditto v5 SDK and uses DQL exclusively.
  • Remove the query-builder hooks (usePendingCursorOperation, useLazyPendingCursorOperation, usePendingIDSpecificOperation, useLazyPendingIDSpecificOperation, useCollections) and useMutations. The underlying query-builder API was removed in Ditto v5; use the useQuery and useExecuteQuery DQL hooks instead.
  • Remove the identity hooks (useOfflinePlaygroundIdentity, useOnlineIdentity, useOnlinePlaygroundIdentity). Ditto v5 removed the Identity types; configure connectivity through DittoConfig and authenticate via ditto.auth.

Features

  • Add the useQuery hook for continuously observing a non-mutating DQL query (store observer + sync subscription).
  • Add the useExecuteQuery hook for running mutating and on-demand DQL queries.

Notes

  • The DittoProvider setup function should now return instances created with Ditto.open(new DittoConfig(...)). Instances are registered by their configured persistence directory (falling back to the resolved absolute directory).

0.11.2 (2024-12-02)

0.11.1 (2024-05-22)

Features

Bug Fixes

  • remove implicit dependency on lodash (9b56f93)
  • throw when setup closure does not return a Ditto instance (36d7e58)

0.11.0 (2023-03-22)

⚠ BREAKING CHANGES

  • upgrade @dittolive/ditto peer dependency to ^4.0.0

Features

  • upgrade @dittolive/ditto peer dependency to ^4.0.0 (8dd7043)

0.11.0-alpha.0 (2023-01-23)

⚠ BREAKING CHANGES

  • upgrade @dittolive/ditto peer dependency to ^4.0.0-alpha2

Features

  • upgrade @dittolive/ditto peer dependency to ^4.0.0-alpha2 (184fb1c)

0.10.0 (2023-01-23)

⚠ BREAKING CHANGES

  • upgrade @dittolive/ditto peer dependency to ^3.0.0

Features

  • upgrade @dittolive/ditto peer dependency to ^3.0.0 (38ea43d)

0.9.3 (2022-11-23)

Features

  • added hook for creating onlinePlayground identities (2ae0aed)

0.9.2 (2022-11-10)

0.9.1 (2022-11-10)

Features

  • replace deprecated usages of observe with subscribe and observeLocal (54b7dcf)
  • upgrade @dittolive/ditto to v2.1.0 (4c16cf7)

0.9.0 (2022-08-04)

Features

  • upgrade @dittolive/ditto to v2.0.0 (d87a378)

Bug Fixes

  • use DocumentID as ID type instead of DocumentIDValue (7748d45)

0.9.0-alpha.0 (2022-07-26)

⚠ BREAKING CHANGES

  • upgrade @dittolive/ditto to v2.0.0-alpha1

Features

  • upgrade @dittolive/ditto to v2.0.0-alpha1 (84962f6)

0.8.0 (2022-07-25)

⚠ BREAKING CHANGES

  • remove insert in favor of upsert

Features

  • remove insert in favor of upsert (7350f6a)