From 8b1a02e5e39e00ad2cabb0195960f415a5aa722c Mon Sep 17 00:00:00 2001 From: Mugi Khan Date: Tue, 3 Sep 2024 09:44:53 +0200 Subject: [PATCH 1/3] chore: Export sqlite3_open --- packages/sqlite_async/lib/sqlite3_open.dart | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 packages/sqlite_async/lib/sqlite3_open.dart diff --git a/packages/sqlite_async/lib/sqlite3_open.dart b/packages/sqlite_async/lib/sqlite3_open.dart new file mode 100644 index 0000000..b806b73 --- /dev/null +++ b/packages/sqlite_async/lib/sqlite3_open.dart @@ -0,0 +1,3 @@ +/// Re-exports [sqlite3 open](https://pub.dev/packages/sqlite3) to expose sqlite3 open without +/// adding it as a direct dependency. +export 'package:sqlite3/open.dart'; From c8db0ecbe94bbecefbd203cee0862f049b42b45b Mon Sep 17 00:00:00 2001 From: Mugi Khan Date: Tue, 3 Sep 2024 10:55:18 +0200 Subject: [PATCH 2/3] Update pana threshold --- melos.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/melos.yaml b/melos.yaml index 627a740..8de8bfe 100644 --- a/melos.yaml +++ b/melos.yaml @@ -32,10 +32,10 @@ scripts: description: Analyze Dart code in packages. run: dart analyze packages --fatal-infos - # TODO: Temporarily setting the exit-code-threshold to 10 until drift_sqlite_async dependencies are updated. + # TODO: Temporarily setting the exit-code-threshold to 20 until drift_sqlite_async dependencies are updated. analyze:packages:pana: description: Analyze Dart packages with Pana - exec: dart pub global run pana --no-warning --exit-code-threshold 10 + exec: dart pub global run pana --no-warning --exit-code-threshold 20 packageFilters: noPrivate: true From 1326f761f9f495e9116d4cdc8805cc8c03e42173 Mon Sep 17 00:00:00 2001 From: Mugi Khan Date: Tue, 3 Sep 2024 11:40:58 +0200 Subject: [PATCH 3/3] chore(release): publish packages - sqlite_async@0.9.0 - drift_sqlite_async@0.1.0-alpha.7 --- CHANGELOG.md | 30 +++++++++++++++++++++ packages/drift_sqlite_async/CHANGELOG.md | 4 +++ packages/drift_sqlite_async/pubspec.yaml | 4 +-- packages/sqlite_async/CHANGELOG.md | 6 +++++ packages/sqlite_async/lib/sqlite3_open.dart | 4 +-- packages/sqlite_async/pubspec.yaml | 2 +- 6 files changed, 45 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f11e596..19e76bf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,36 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## 2024-09-03 + +### Changes + +--- + +Packages with breaking changes: + + - There are no breaking changes in this release. + +Packages with other changes: + + - [`sqlite_async` - `v0.9.0`](#sqlite_async---v090) + - [`drift_sqlite_async` - `v0.1.0-alpha.7`](#drift_sqlite_async---v010-alpha7) + +Packages with dependency updates only: + +> Packages listed below depend on other packages in this workspace that have had changes. Their versions have been incremented to bump the minimum dependency versions of the packages they depend upon in this project. + + - `drift_sqlite_async` - `v0.1.0-alpha.7` + +--- + +#### `sqlite_async` - `v0.9.0` + + - Support the latest version of package:web and package:sqlite3_web + + - Export sqlite3 `open` for packages that depend on `sqlite_async` + + ## 2024-08-21 ### Changes diff --git a/packages/drift_sqlite_async/CHANGELOG.md b/packages/drift_sqlite_async/CHANGELOG.md index 6f377c2..455f9bd 100644 --- a/packages/drift_sqlite_async/CHANGELOG.md +++ b/packages/drift_sqlite_async/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.1.0-alpha.7 + + - Update a dependency to the latest release. + ## 0.1.0-alpha.6 - Update a dependency to the latest release. diff --git a/packages/drift_sqlite_async/pubspec.yaml b/packages/drift_sqlite_async/pubspec.yaml index ca5550d..1f38930 100644 --- a/packages/drift_sqlite_async/pubspec.yaml +++ b/packages/drift_sqlite_async/pubspec.yaml @@ -1,5 +1,5 @@ name: drift_sqlite_async -version: 0.1.0-alpha.6 +version: 0.1.0-alpha.7 homepage: https://github.com/powersync-ja/sqlite_async.dart repository: https://github.com/powersync-ja/sqlite_async.dart description: Use Drift with a sqlite_async database, allowing both to be used in the same application. @@ -15,7 +15,7 @@ environment: sdk: ">=3.0.0 <4.0.0" dependencies: drift: ">=2.15.0 <2.19.0" - sqlite_async: ^0.8.3 + sqlite_async: ^0.9.0 dev_dependencies: build_runner: ^2.4.8 drift_dev: ">=2.15.0 <2.19.0" diff --git a/packages/sqlite_async/CHANGELOG.md b/packages/sqlite_async/CHANGELOG.md index 3934d0d..a91538e 100644 --- a/packages/sqlite_async/CHANGELOG.md +++ b/packages/sqlite_async/CHANGELOG.md @@ -1,3 +1,9 @@ +## 0.9.0 + + - Support the latest version of package:web and package:sqlite3_web + + - Export sqlite3 `open` for packages that depend on `sqlite_async` + ## 0.8.3 - Updated web database implementation for get and getOptional. Fixed refreshSchema not working in web. diff --git a/packages/sqlite_async/lib/sqlite3_open.dart b/packages/sqlite_async/lib/sqlite3_open.dart index b806b73..9d9b0a2 100644 --- a/packages/sqlite_async/lib/sqlite3_open.dart +++ b/packages/sqlite_async/lib/sqlite3_open.dart @@ -1,3 +1,3 @@ -/// Re-exports [sqlite3 open](https://pub.dev/packages/sqlite3) to expose sqlite3 open without -/// adding it as a direct dependency. +// Re-exports [sqlite3 open](https://pub.dev/packages/sqlite3) to expose sqlite3 open without +// adding it as a direct dependency. export 'package:sqlite3/open.dart'; diff --git a/packages/sqlite_async/pubspec.yaml b/packages/sqlite_async/pubspec.yaml index 088494e..760cf6e 100644 --- a/packages/sqlite_async/pubspec.yaml +++ b/packages/sqlite_async/pubspec.yaml @@ -1,6 +1,6 @@ name: sqlite_async description: High-performance asynchronous interface for SQLite on Dart and Flutter. -version: 0.8.3 +version: 0.9.0 repository: https://github.com/powersync-ja/sqlite_async.dart environment: sdk: ">=3.4.0 <4.0.0"