Skip to content

Commit

Permalink
Prepare 2.1.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
simolus3 committed Aug 29, 2022
1 parent 80f8546 commit ce35a27
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 10 deletions.
7 changes: 7 additions & 0 deletions drift/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## 2.1.0

- Improve stack traces when using `watchSingle()` with a stream emitting a non-
singleton list at some point.
- Add `OrderingTerm.nulls` to control the `NULLS FIRST` or `NULLS LAST` clause
in Dart.

## 2.0.2+1

- Revert the breaking change around `QueryRow.read` only returning non-nullable
Expand Down
2 changes: 1 addition & 1 deletion drift/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: drift
description: Drift is a reactive library to store relational data in Dart and Flutter applications.
version: 2.0.2+1
version: 2.1.0
repository: https://github.com/simolus3/drift
homepage: https://drift.simonbinder.eu/
issue_tracker: https://github.com/simolus3/drift/issues
Expand Down
7 changes: 7 additions & 0 deletions drift_dev/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## 2.1.0

- Analysis support `fts5` tables with external content tables.
- Analysis support for the `rtree` module.
- Prepare for an upcoming breaking analyzer change around how classes are mapped
to elements.

## 2.0.2

- Generate public typedefs for the signatures of `scoped_dart_components`,
Expand Down
6 changes: 3 additions & 3 deletions drift_dev/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: drift_dev
description: Dev-dependency for users of drift. Contains a the generator and development tools.
version: 2.0.2
version: 2.1.0
repository: https://github.com/simolus3/drift
homepage: https://drift.simonbinder.eu/
issue_tracker: https://github.com/simolus3/drift/issues
Expand All @@ -25,9 +25,9 @@ dependencies:
io: ^1.0.3

# Drift-specific analysis and apis
drift: '>=2.0.0 <2.1.0'
drift: '>=2.0.0 <2.2.0'
sqlite3: '>=0.1.6 <2.0.0'
sqlparser: ^0.23.0
sqlparser: ^0.23.2

# Dart analysis
analyzer: "^4.5.0"
Expand Down
2 changes: 1 addition & 1 deletion sqlparser/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## 0.23.2-dev
## 0.23.2

- Support resolving the `fts5vocab` module when `fts5` is enabled - thanks to
[@FaFre](https://github.com/FaFre).
Expand Down
10 changes: 5 additions & 5 deletions sqlparser/lib/src/engine/module/fts5.dart
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ class _Fts5VocabModule extends Module {
@override
Table parseTable(CreateVirtualTableStatement stmt) {
if (stmt.argumentContent.length < 2 || stmt.argumentContent.length > 3) {
throw ArgumentError('''
fts5vocab table requires at least
two arguments (<referenced fts5 table name>, <type>)
and maximum three arguments when using an attached database
''');
throw ArgumentError(
'fts5vocab table requires at least two arguments '
'(<referenced fts5 table name>, <type>) and maximum three arguments '
'when using an attached database',
);
}

final type = stmt.argumentContent.last.replaceAll(RegExp(r'''["' ]'''), '');
Expand Down

0 comments on commit ce35a27

Please sign in to comment.