From 633cc521293de3ac29f5645a4adaaa42cf42c037 Mon Sep 17 00:00:00 2001 From: Simon Binder Date: Mon, 4 Dec 2023 11:07:21 +0100 Subject: [PATCH] Prepare 2.14 release --- drift/CHANGELOG.md | 5 +++-- drift/pubspec.yaml | 2 +- drift_dev/CHANGELOG.md | 7 +++++-- drift_dev/pubspec.yaml | 4 ++-- sqlparser/CHANGELOG.md | 2 +- sqlparser/pubspec.yaml | 2 +- 6 files changed, 13 insertions(+), 9 deletions(-) diff --git a/drift/CHANGELOG.md b/drift/CHANGELOG.md index c1d46d9a7..3d9f07959 100644 --- a/drift/CHANGELOG.md +++ b/drift/CHANGELOG.md @@ -1,6 +1,7 @@ -## 2.14.0-dev +## 2.14.0 -- Add the `QueryInterceptor` to easily monitor all database calls made by drift. +- Add the `QueryInterceptor` API to easily monitor or transform all database + calls made by drift. - Add the `count()` extension on tables to easily count rows in tables or views. ## 2.13.2 diff --git a/drift/pubspec.yaml b/drift/pubspec.yaml index 4be00b515..85c769d12 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.14.0-dev +version: 2.14.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 e603b0374..0fd39f266 100644 --- a/drift_dev/CHANGELOG.md +++ b/drift_dev/CHANGELOG.md @@ -1,12 +1,15 @@ -## 2.14.0-dev +## 2.14.0 - __Breaking change__: The name of the generated row class derived from the name of the Dart table name now supports more forms of plurals. For instance, a table without a `@DataClassName` annotation named `Categories` - would now generate a `Category` class instead of `Categorie`. + would now generate a `Category` class instead of `Categorie`. This is done in + a minor release because we assume most users are using `@DataClassName` in those + cases. - Make versioned schema snapshots generated by `drift_dev schema steps` public. - Don't generate `const` row classes when they are extending a class which isn't const. +- Fix indices attached to tables not generating reliably. ## 2.13.2 diff --git a/drift_dev/pubspec.yaml b/drift_dev/pubspec.yaml index 75cd323bd..bf706b9b8 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.14.0-dev +version: 2.14.0 repository: https://github.com/simolus3/drift homepage: https://drift.simonbinder.eu/ issue_tracker: https://github.com/simolus3/drift/issues @@ -32,7 +32,7 @@ dependencies: # Drift-specific analysis and apis drift: '>=2.14.0 <2.15.0' sqlite3: '>=0.1.6 <3.0.0' - sqlparser: '^0.33.0-dev' + sqlparser: '^0.33.0' # Dart analysis analyzer: '>=5.12.0 <7.0.0' diff --git a/sqlparser/CHANGELOG.md b/sqlparser/CHANGELOG.md index a15b34a89..a7122f584 100644 --- a/sqlparser/CHANGELOG.md +++ b/sqlparser/CHANGELOG.md @@ -1,4 +1,4 @@ -## 0.33.0-dev +## 0.33.0 - Support the [column-name-list](https://sqlite.org/syntax/column-name-list.html) syntax for updates, thanks to [@tibotix](https://github.com/tibotix). diff --git a/sqlparser/pubspec.yaml b/sqlparser/pubspec.yaml index d7383a51b..d2020ee1f 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.33.0-dev +version: 0.33.0 homepage: https://github.com/simolus3/drift/tree/develop/sqlparser repository: https://github.com/simolus3/drift #homepage: https://drift.simonbinder.eu/