Releases: powersync-ja/sqlite_async.dart
Releases · powersync-ja/sqlite_async.dart
sqlite_async-v0.14.3
Full Changelog: sqlite_async-v0.14.2...sqlite_async-v0.14.3
sqlite_async-v0.14.2
Update to sqlite3_web versions 0.8.x.
Full Changelog: sqlite_async-v0.14.1...sqlite_async-v0.14.2
sqlite_async-v0.14.1
- Fix update notifications firing before completed transactions in #140
Full Changelog: sqlite_async-v0.14.0...sqlite_async-v0.14.1
sqlite_async-v0.14.0
- Support versions 3.x of the
sqlite3package and 0.7.x ofsqlite3_web. - Remove the
sqlite3_open.dartlibrary, SQLite libraries are no longer loaded through Dart. - Breaking: Rewrite the native connection pool implementation.
- Remove isolate connection factories. Simply open the same database on another isolate, it's safe to do so now.
- It is no longer possible to register user-defined functions in Dart. Extensions providing functions in native code can still be used.
- Breaking: Remove
AbstractDefaultSqliteOpenFactoryandDefaultSqliteOpenFactory. UseSqliteOpenFactoryinstead. To provide a custom open factory, importNativeSqliteOpenFactoryorWebSqliteOpenFactorywith a platform-specific import and extend those classes. - Breaking: Remove the
maxReadersparameter onSqliteDatabase. Set that parameter onSqliteOptionsinstead. - Breaking: Remove libraries exporting the
sqlite3package:- Instead of
package:sqlite_async/sqlite3.dart, importpackage:sqlite3/sqlite3.dart. - Instead of
package:sqlite_async/sqlite3_common.dart, importpackage:sqlite3/common.dart. - Instead of
package:sqlite_async/sqlite3_wasm.dart, importpackage:sqlite3/wasm.dart. - Instead of
package:sqlite_async/sqlite3_web.dart, importpackage:sqlite3_web/sqlite3_web.dart.
- Instead of
- Breaking: Remove
SqliteDatabaseMixinandSqliteQueries. ExtendSqliteConnectioninstead. - Breaking: Calls locking the database that fail with a timeout now throw an
AbortExceptioninstead of aTimeoutException. - The
throttleparameter onwatchandonChangecan now be set tonull. This also introduceswatchUnthrottledandonChangeUnthrottled, which only buffer on paused subscriptions instead of applying a static timeout. - Add
abortableReadLockandabortableWriteLock. The methods can be used to acquire a read/write context with a flexible abort signal instead of a static timeout.
sqlite_async-v0.14.0-wip.0
Note: This version of sqlite_async is still in development and there might be additional API changes between this release and the final 0.14.0 version. This release is mostly meant for internal testing.
- Support versions 3.x of the
sqlite3package and 0.6.x ofsqlite3_web. - Remove the
sqlite3_open.dartlibrary, SQLite libraries are no longer loaded through Dart. - Breaking: Rewrite the native connection pool implementation.
- Remove isolate connection factories. Simply open the same database on another isolate, it's safe to do so now.
- It is no longer possible to register user-defined functions in Dart. Extensions providing functions in native code can still be used.
- Breaking: Remove
AbstractDefaultSqliteOpenFactoryandDefaultSqliteOpenFactory. UseSqliteOpenFactoryinstead. To provide a custom open factory, importNativeSqliteOpenFactoryorWebSqliteOpenFactorywith a platform-specific import and extend those classes. - Breaking: Remove the
maxReadersparameter onSqliteDatabase. Set that parameter onSqliteOptionsinstead. - Breaking: Remove libraries exporting the
sqlite3package:- Instead of
package:sqlite_async/sqlite3.dart, importpackage:sqlite3/sqlite3.dart. - Instead of
package:sqlite_async/sqlite3_common.dart, importpackage:sqlite3/common.dart. - Instead of
package:sqlite_async/sqlite3_wasm.dart, importpackage:sqlite3/wasm.dart. - Instead of
package:sqlite_async/sqlite3_web.dart, importpackage:sqlite3_web/sqlite3_web.dart.
- Instead of
- Breaking: Remove
SqliteDatabaseMixinandSqliteQueries. ExtendSqliteConnectioninstead. - Breaking: Calls locking the database that fail with a timeout now throw an
AbortExceptioninstead of aTimeoutException. - The
throttleparameter onwatchandonChangecan now be set tonull. This also introduceswatchUnthrottledandonChangeUnthrottled, which only buffer on paused subscriptions instead of applying a static timeout. - Add
abortableReadLockandabortableWriteLock. The methods can be used to acquire a read/write context with a flexible abort signal instead of a static timeout.
sqlite_async-v0.13.1
- Add
executeMultipleto run multiple statements not using parameters.
sqlite_async-v0.13.0
Release sqlite_async-v0.13.0
sqlite_async-v0.12.0
- Avoid large transactions creating a large internal update queue.
sqlite_async-v0.11.8
- Support nested transactions (emulated with
SAVEPOINTstatements). - Fix web compilation issues with version
2.8.0ofpackage:sqlite3.
sqlite_async-v0.11.7
- Shared worker: Release locks owned by connected client tab when it closes.
- Fix web concurrency issues: Consistently apply a shared mutex or let a shared worker coordinate access.