All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
- Add a
filesallowlist so the published package only includes what is needed: the builtdistoutput (including source maps for debuggable stacks, with test files excluded) plus the README and CHANGELOG.
- Upgrade the
@dittolive/dittopeer 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) anduseMutations. The underlying query-builder API was removed in Ditto v5; use theuseQueryanduseExecuteQueryDQL hooks instead. - Remove the identity hooks (
useOfflinePlaygroundIdentity,useOnlineIdentity,useOnlinePlaygroundIdentity). Ditto v5 removed theIdentitytypes; configure connectivity throughDittoConfigand authenticate viaditto.auth.
- Add the
useQueryhook for continuously observing a non-mutating DQL query (store observer + sync subscription). - Add the
useExecuteQueryhook for running mutating and on-demand DQL queries.
- The
DittoProvidersetupfunction should now return instances created withDitto.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)
- add support for async setup functions (78a7509)
- match supported browsers with the
@dittolive/dittopackage. see Ditto's documentation for details. (35c29d4), closes #48
- remove implicit dependency on
lodash(9b56f93) - throw when setup closure does not return a
Dittoinstance (36d7e58)
0.11.0 (2023-03-22)
- upgrade
@dittolive/dittopeer dependency to ^4.0.0
- upgrade
@dittolive/dittopeer dependency to ^4.0.0 (8dd7043)
0.11.0-alpha.0 (2023-01-23)
- upgrade
@dittolive/dittopeer dependency to ^4.0.0-alpha2
- upgrade
@dittolive/dittopeer dependency to ^4.0.0-alpha2 (184fb1c)
0.10.0 (2023-01-23)
- upgrade
@dittolive/dittopeer dependency to ^3.0.0
- upgrade
@dittolive/dittopeer dependency to ^3.0.0 (38ea43d)
0.9.3 (2022-11-23)
- added hook for creating onlinePlayground identities (2ae0aed)
0.9.2 (2022-11-10)
0.9.1 (2022-11-10)
- replace deprecated usages of
observewithsubscribeandobserveLocal(54b7dcf) - upgrade
@dittolive/dittoto v2.1.0 (4c16cf7)
0.9.0 (2022-08-04)
- upgrade
@dittolive/dittoto v2.0.0 (d87a378)
- use
DocumentIDas ID type instead ofDocumentIDValue(7748d45)
0.9.0-alpha.0 (2022-07-26)
- upgrade
@dittolive/dittoto v2.0.0-alpha1
- upgrade
@dittolive/dittoto v2.0.0-alpha1 (84962f6)
0.8.0 (2022-07-25)
- remove
insertin favor ofupsert
- remove
insertin favor ofupsert(7350f6a)