From fafcf114a3b1d2aaae25b13464f2c2b331b08d0e Mon Sep 17 00:00:00 2001 From: Simon Binder Date: Mon, 2 Jan 2023 23:56:28 +0100 Subject: [PATCH] Prepare new minor release --- drift/CHANGELOG.md | 5 +++++ drift/pubspec.yaml | 2 +- drift_dev/CHANGELOG.md | 9 +++++++++ drift_dev/pubspec.yaml | 4 ++-- sqlparser/CHANGELOG.md | 2 +- sqlparser/pubspec.yaml | 2 +- 6 files changed, 19 insertions(+), 5 deletions(-) diff --git a/drift/CHANGELOG.md b/drift/CHANGELOG.md index b70b1959b..311c2a26d 100644 --- a/drift/CHANGELOG.md +++ b/drift/CHANGELOG.md @@ -1,3 +1,8 @@ +## 2.4.2 + +- Fix an exception when a client disconnects from a drift remote server while + processing a pending table update. + ## 2.4.1 - Fix `DriftIsolate` leaking resources for closed connections. diff --git a/drift/pubspec.yaml b/drift/pubspec.yaml index 4efc69008..424347140 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.4.1 +version: 2.4.2 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 b617be1ab..339b59997 100644 --- a/drift_dev/CHANGELOG.md +++ b/drift_dev/CHANGELOG.md @@ -1,3 +1,12 @@ +## 2.4.1 + +- Improvements and fixes for schema files: + - Fix views with an existing row type generating invalid SQL in schema files. + - Fix `schema generate --companions` implicitly requiring `--data-classes` as well. + - Fix `toColumns()` not being generated correclty. + - Fix conflicting names being generated by `schema generate` when using existing + row types on views. + ## 2.4.0 - Add support for `textEnum` columns in Dart (or `ENUMNAME` in `.drift`) to store enum columns as text (via `Enum.name`). diff --git a/drift_dev/pubspec.yaml b/drift_dev/pubspec.yaml index 6f7851308..c4b15828d 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: 2.4.0 +version: 2.4.1 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: '>=2.4.0 <2.5.0' sqlite3: '>=0.1.6 <2.0.0' - sqlparser: ^0.25.0 + sqlparser: '>=0.25.0 <0.27.0' # Dart analysis analyzer: ^5.2.0 diff --git a/sqlparser/CHANGELOG.md b/sqlparser/CHANGELOG.md index 97b99215e..6941c7d34 100644 --- a/sqlparser/CHANGELOG.md +++ b/sqlparser/CHANGELOG.md @@ -1,4 +1,4 @@ -## 0.26.0-dev +## 0.26.0 - Remove token parameter from constructor in `Literal` subclasses and `NumberedVariable`. diff --git a/sqlparser/pubspec.yaml b/sqlparser/pubspec.yaml index 47c10bf48..8af6f97d8 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.25.0 +version: 0.26.0 homepage: https://github.com/simolus3/drift/tree/develop/sqlparser repository: https://github.com/simolus3/drift #homepage: https://drift.simonbinder.eu/