From d0db9ac02f53f5deaf58d107bda88948684196dd Mon Sep 17 00:00:00 2001 From: Simon Binder Date: Thu, 13 Jul 2023 16:53:51 +0200 Subject: [PATCH] Prepare 2.10 drift release --- drift/CHANGELOG.md | 2 ++ drift/pubspec.yaml | 2 +- drift_dev/CHANGELOG.md | 6 ++++++ drift_dev/pubspec.yaml | 4 ++-- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/drift/CHANGELOG.md b/drift/CHANGELOG.md index e18d425b0..f3cade294 100644 --- a/drift/CHANGELOG.md +++ b/drift/CHANGELOG.md @@ -2,6 +2,8 @@ - Adds the `schema steps` command to `drift_dev`. It generates an API making it easier to write safe schema migrations ([docs](https://drift.simonbinder.eu/docs/advanced-features/migrations/#step-by-step)). +- Fix drift WASM not being unusable after a previous database implementation becomes + unavailable in the browser. ## 2.9.0 diff --git a/drift/pubspec.yaml b/drift/pubspec.yaml index 1206b5a3d..69f93ea2d 100644 --- a/drift/pubspec.yaml +++ b/drift/pubspec.yaml @@ -1,6 +1,6 @@ name: drift description: Drift is a reactive library to store relational data in Dart and Flutter applications. -version: 2.9.0 +version: 2.10.0 repository: https://github.com/simolus3/drift homepage: https://drift.simonbinder.eu/ issue_tracker: https://github.com/simolus3/drift/issues diff --git a/drift_dev/CHANGELOG.md b/drift_dev/CHANGELOG.md index 6d46bb8cc..642d253b9 100644 --- a/drift_dev/CHANGELOG.md +++ b/drift_dev/CHANGELOG.md @@ -1,3 +1,9 @@ +## 2.10.0 + +- Add the `schema steps` command to generate help in writing step-by-step schema migrations. +- Report a warning when Dart tables are implicitly added due to `include`. They should be + added to a database via `tables` or `views` explicitly. + ## 2.9.0 - Add `fatal_warnings` builder option to fail the build when drift reports warnings. diff --git a/drift_dev/pubspec.yaml b/drift_dev/pubspec.yaml index 47f4121b5..c305bcd04 100644 --- a/drift_dev/pubspec.yaml +++ b/drift_dev/pubspec.yaml @@ -1,6 +1,6 @@ name: drift_dev description: Dev-dependency for users of drift. Contains the generator and development tools. -version: 2.9.0 +version: 2.10.0 repository: https://github.com/simolus3/drift homepage: https://drift.simonbinder.eu/ issue_tracker: https://github.com/simolus3/drift/issues @@ -30,7 +30,7 @@ dependencies: io: ^1.0.3 # Drift-specific analysis and apis - drift: '>=2.9.0 <2.10.0' + drift: '>=2.10.0 <2.11.0' sqlite3: '>=0.1.6 <3.0.0' sqlparser: '^0.30.0'