From 38d603c1c6a881a5228b3fe1422d144cb5f8fdde Mon Sep 17 00:00:00 2001 From: Simon Binder Date: Wed, 17 Jan 2024 23:02:49 +0100 Subject: [PATCH] Prepare release --- drift/CHANGELOG.md | 2 +- drift/pubspec.yaml | 2 +- drift_dev/CHANGELOG.md | 8 ++++---- drift_dev/pubspec.yaml | 4 ++-- extras/drift_postgres/pubspec.yaml | 2 +- sqlparser/CHANGELOG.md | 2 +- sqlparser/pubspec.yaml | 2 +- 7 files changed, 11 insertions(+), 11 deletions(-) diff --git a/drift/CHANGELOG.md b/drift/CHANGELOG.md index 70375de5..9c928161 100644 --- a/drift/CHANGELOG.md +++ b/drift/CHANGELOG.md @@ -1,4 +1,4 @@ -## 2.15.0-dev +## 2.15.0 - Methods in the query builder API now respect custom types. - Support `DialectAwareSqlType`, custom types that depend on the dialect of the diff --git a/drift/pubspec.yaml b/drift/pubspec.yaml index 64fc723c..3128992f 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.15.0-dev +version: 2.15.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 0ee6526d..d9791f9b 100644 --- a/drift_dev/CHANGELOG.md +++ b/drift_dev/CHANGELOG.md @@ -1,13 +1,13 @@ -## 2.15.0-dev +## 2.15.0 - Potentially __breaking change__: Fix a bug causing `NULL` column constraints not to show up in generated table definitions. This is a breaking change drift's migration tooling is used, since they will not expect the `NULL` column constraint to be there. After upgrading, you can either drop the `NULL` constraint from your drift - files to make it consistent with the schema (since `NULL` has no effect in - sqlite3), or increment the schema version and run a `TableMigration` on - affected tables to make column constraints consistent. + files to make it consistent with the schema (since `NULL` column constraints + are the default ignored by sqlite3), or increment the schema version and run + a `TableMigration` on affected tables to make column constraints consistent. ## 2.14.1 diff --git a/drift_dev/pubspec.yaml b/drift_dev/pubspec.yaml index a36ceb0b..6a6ad592 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.1 +version: 2.15.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.15.0 <2.16.0' sqlite3: '>=0.1.6 <3.0.0' - sqlparser: '^0.33.0' + sqlparser: '^0.34.0' # Dart analysis analyzer: '>=5.12.0 <7.0.0' diff --git a/extras/drift_postgres/pubspec.yaml b/extras/drift_postgres/pubspec.yaml index e94a3727..1bc03da1 100644 --- a/extras/drift_postgres/pubspec.yaml +++ b/extras/drift_postgres/pubspec.yaml @@ -1,6 +1,6 @@ name: drift_postgres description: Postgres implementation and APIs for the drift database package. -version: 1.0.0 +version: 1.1.0 repository: https://github.com/simolus3/drift homepage: https://drift.simonbinder.eu/docs/platforms/postgres/ issue_tracker: https://github.com/simolus3/drift/issues diff --git a/sqlparser/CHANGELOG.md b/sqlparser/CHANGELOG.md index 59a40322..57a605c3 100644 --- a/sqlparser/CHANGELOG.md +++ b/sqlparser/CHANGELOG.md @@ -1,4 +1,4 @@ -## 0.34.1 +## 0.34.0 - Fix explicit `NULL` column constraints being dropped when converting nodes to SQL. diff --git a/sqlparser/pubspec.yaml b/sqlparser/pubspec.yaml index d2020ee1..a38c2307 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 +version: 0.34.0 homepage: https://github.com/simolus3/drift/tree/develop/sqlparser repository: https://github.com/simolus3/drift #homepage: https://drift.simonbinder.eu/