Skip to content

Commit

Permalink
Prepare release
Browse files Browse the repository at this point in the history
  • Loading branch information
simolus3 committed Nov 28, 2024
1 parent 2030623 commit b5660f6
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 6 deletions.
3 changes: 3 additions & 0 deletions docs/docs/Migrations/tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,9 @@ Instead (or in addition to) [writing tests](#verifying-a-database-schema-at-runt

{{ load_snippet('web','lib/snippets/migrations/runtime_verification_web.dart.excerpt.json', indent=4) }}

It's also possible to re-use code between your native and web checks with conditional imports.
You can check the [example app](https://github.com/simolus3/drift/tree/develop/examples/app/lib/database/connection) for
inspiration.

When you use `validateDatabaseSchema`, drift will transparently:

Expand Down
2 changes: 1 addition & 1 deletion drift/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## 2.22.0-dev
## 2.22.0

- Add `sqliteAny()` method to tables to declare `ANY` columns.
- Add missing parentheses around adjacent expressions of the same precedence.
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.22.0-dev
version: 2.22.0
repository: https://github.com/simolus3/drift
homepage: https://drift.simonbinder.eu/
issue_tracker: https://github.com/simolus3/drift/issues
Expand Down
2 changes: 1 addition & 1 deletion drift_dev/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## 2.22.0-dev
## 2.22.0

- CLI options dealing with schemas now support views defined in Dart ([#3285](https://github.com/simolus3/drift/issues/3285)).
- Pass language version to dart formatter when generating code.
Expand Down
2 changes: 1 addition & 1 deletion 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 the generator and development tools.
version: 2.22.0-dev
version: 2.22.0
repository: https://github.com/simolus3/drift
homepage: https://drift.simonbinder.eu/
issue_tracker: https://github.com/simolus3/drift/issues
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.40.0-dev
## 0.40.0

- Add support for the `dbstat` module.
- Prioritize null propagation in type resolver, leading to more accurate
Expand Down
2 changes: 1 addition & 1 deletion sqlparser/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: sqlparser
description: Parses sqlite statements and performs static analysis on them
version: 0.39.2
version: 0.40.0
homepage: https://github.com/simolus3/drift/tree/develop/sqlparser
repository: https://github.com/simolus3/drift
#homepage: https://drift.simonbinder.eu/
Expand Down

0 comments on commit b5660f6

Please sign in to comment.