Releases: tinyplex/tinybase
v4.6.8
This fixes tests that fail if you've also installed the ElectricSQL starter template (due to schema pollution)
v4.6.7
v4.6.6
This release updates the support (and test suite) for automerge-repo v1.1
v4.6.5
This release updates most peer dependencies.
v4.6.4
This updates dependencies, including a TinyDocs feature that improves internal linking within the docs.
v4.6.3
This release updates the automerge-repo peer dependency to v1.0 and makes changes to the API and test suite to accommodate it.
Other peer dependencies are also updated, with no changes.
v4.6.2
v4.6.1
v4.6.0
This release includes the new persister-electric-sql module, which provides a Persister for ElectricSQL client databases.
Use this Persister by passing in a reference to the Electric client; something like:
const electric = await electrify(connection, schema, config);
const persister = createElectricSqlPersister(store, electric, {
mode: 'tabular',
tables: {
load: {items: {tableId: 'items', rowIdColumnName: 'id'}},
save: {items: {tableName: 'items', rowIdColumnName: 'id'}},
},
});This release is accompanied by a template project to get started quickly with this integration. Enjoy!
v4.5.11
This release updates a few peer dependencies.