From c6edcdf3e8f95bacf4927ad09925e22729a551bb Mon Sep 17 00:00:00 2001 From: Simon Binder Date: Sun, 13 Mar 2022 15:54:45 +0100 Subject: [PATCH] Prepare drift 1.5.0 release --- drift/CHANGELOG.md | 7 ++++++- drift/pubspec.yaml | 2 +- drift_dev/CHANGELOG.md | 3 ++- drift_dev/pubspec.yaml | 4 ++-- sqlparser/pubspec.yaml | 2 +- 5 files changed, 12 insertions(+), 6 deletions(-) diff --git a/drift/CHANGELOG.md b/drift/CHANGELOG.md index 917509bbc..8f1a72806 100644 --- a/drift/CHANGELOG.md +++ b/drift/CHANGELOG.md @@ -1,9 +1,14 @@ -## 1.5.0-dev +## 1.5.0 - Add `DataClassName.extending` to control the superclass of generated row classes. - Add `setup` parameter to the constructors of `WebDatabase` too. - Don't write variables for expressions in `CREATE VIEW` statements. +- Improve stack traces for errors on a remote isolate. +- Add `MultiExecutor.withReadPool` constructor to load-balance between multiple + reading executors. This can be used in a multi-isolate approach if some + queries are expensive. + ## 1.4.0 diff --git a/drift/pubspec.yaml b/drift/pubspec.yaml index 555986553..636b5ae74 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: 1.5.0-dev +version: 1.5.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 2338d0029..0a858747c 100644 --- a/drift_dev/CHANGELOG.md +++ b/drift_dev/CHANGELOG.md @@ -1,7 +1,8 @@ -## 1.5.0-dev +## 1.5.0 - Add `validateDatabaseSchema` extension to `api/migrations.dart`. It validates that the schema of a database at runtime matches what one would expect. +- Allow cascade operators in the query for Dart-defined views. ## 1.4.0 diff --git a/drift_dev/pubspec.yaml b/drift_dev/pubspec.yaml index d398b5866..e4e064bce 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 a the generator and development tools. -version: 1.5.0-dev +version: 1.5.0 repository: https://github.com/simolus3/drift homepage: https://drift.simonbinder.eu/ issue_tracker: https://github.com/simolus3/drift/issues @@ -27,7 +27,7 @@ dependencies: # Drift-specific analysis and apis drift: '>=1.5.0 <1.6.0' sqlite3: '>=0.1.6 <2.0.0' - sqlparser: ^0.20.0 + sqlparser: ^0.21.0 # Dart analysis analyzer: ">=2.1.0 <4.0.0" diff --git a/sqlparser/pubspec.yaml b/sqlparser/pubspec.yaml index 2258e4b70..d846676c1 100644 --- a/sqlparser/pubspec.yaml +++ b/sqlparser/pubspec.yaml @@ -1,6 +1,6 @@ name: sqlparser description: Parses sqlite statements and performs static analysis on them -version: 0.21.0-dev +version: 0.21.0 homepage: https://github.com/simolus3/drift/tree/develop/sqlparser #homepage: https://drift.simonbinder.eu/ issue_tracker: https://github.com/simolus3/drift/issues