- For database setups not using a shared worker, use a
BroadcastChannel
to share updates across different tabs.
- Add the
exposeEndpoint()
method available on web databases. It returns a serializable description of the database endpoint that can be sent across workers. This allows sharing an opened database connection across workers.
- Support version ^0.2.0 of package:sqlite3_web
- Fix update notifications to only fire outside transactions
- Fix update notifications to be debounced on web
-
Support the latest version of package:web and package:sqlite3_web
-
Export sqlite3
open
for packages that depend onsqlite_async
- Updated web database implementation for get and getOptional. Fixed refreshSchema not working in web.
- FEAT: Added
refreshSchema()
, allowing queries and watch calls to work against updated schemas.
- Added Navigator locks for web
Mutex
s.
- Added web support (web functionality is in beta)
- BREAKING CHANGE: Update all Database types to use a
CommonDatabase
interface. - Update
openDB
andopen
methods to be synchronous. - Fix
ArgumentError (Invalid argument(s): argument value for 'return_value' is null)
in sqlite3 when closing the database connection by upgrading to version 2.4.4.
- The dependency for the
Drift
package is now removed in favour of using the newsqlite3_web
package. - A new implementation for WebDatabase is used for SQL database connections on web.
- New exports are added for downstream consumers of this package to extended custom workers with custom SQLite function capabilities.
- Update minimum Dart SDK to 3.4.0
- Add latest changes from master
- Add latest changes from master
- Fix re-using a shared Mutex from #31
- Added initial support for web platform.
- Fix errors when closing a
SqliteDatabase
. - Configure SQLite
busy_timeout
(30s default). This fixes "database is locked (code 5)" error when using multipleSqliteDatabase
instances for the same database. - Fix errors when opening multiple connections at the same time, e.g. when running multiple read queries concurrently right after opening the dtaabase.
- Improved error handling when an Isolate crashes with an uncaught error.
- Rewrite connection pool logic to fix performance issues when multiple read connections are open.
- Fix using
SqliteDatabase.isolateConnectionFactory()
in multiple isolates.
- Allow catching errors and continuing the transaction. This is technically a breaking change, although it should not be an issue in most cases.
- Add
tx.closed
anddb/tx.getAutoCommit()
to check whether transactions are active. - Requires sqlite3 ^2.3.0 and Dart ^3.2.0.
- Fix releasing of locks when closing `SharedMutex``.
- Fix
watch
when called with query parameters. - Clean up
-wal
and-shm
files on close.
- No code changes.
- Updated dependencies to support sqlite3 2.x.
- Ensure database connections are cleaned up on unhandled Isolate errors.
- Minor performance improvements.
- Better error messages for recursive transactions.
- Breaking change: Error by default when starting a read transaction within a write transaction.
- Fix update notifications missing the first update.
- Initial version.