Merge remote-tracking branch 'upstream/develop' into textEnum

# Conflicts:
#	drift/CHANGELOG.md
#	drift_dev/CHANGELOG.md
This commit is contained in:
ValentinVignal 2022-11-28 19:09:36 +08:00
commit a993d433c5
No known key found for this signature in database
GPG Key ID: 040FFDADFB7EF05A
7 changed files with 21 additions and 8 deletions

View File

@ -1,4 +1,4 @@
## 2.3.0
## 2.4.0-dev
- Add `textEnum` column builder and `EnumNameConverter` to be able to store enum
values as string.
@ -13,7 +13,7 @@
- Add `TableStatements.insertAll` to atomically insert multiple rows.
- Add `singleClientMode` to `remote()` and `DriftIsolate` connections to make
the common case with one client more efficient.
- Fix a concurrency issues around transactions.
- Fix a concurrency issue around transactions.
- Add `NativeDatabase.createInBackground` as a drop-in replacement for
`NativeDatabase`. It creates a drift isolate behind the scenes, avoiding all
of the boilerplate usually involved with drift isolates.

View File

@ -1,6 +1,6 @@
name: drift
description: Drift is a reactive library to store relational data in Dart and Flutter applications.
version: 2.3.0
version: 2.4.0-dev
repository: https://github.com/simolus3/drift
homepage: https://drift.simonbinder.eu/
issue_tracker: https://github.com/simolus3/drift/issues

View File

@ -1,6 +1,12 @@
## 2.3.0
## 2.4.0-dev
- Add the support for `textEnum`.
## 2.3.0
- Support drift 2.3.x
- Re-implement drift's internal analyzer to make the build process more efficient.
- Add an optional, modular build mode in which drift generates code for each
file declaring tables instead of emitting a large file just for the entrypoint.
## 2.2.0+1

View File

@ -1,6 +1,6 @@
name: drift_dev
description: Dev-dependency for users of drift. Contains a the generator and development tools.
version: 2.3.0
version: 2.4.0-dev
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.3.0 <2.4.0'
sqlite3: '>=0.1.6 <2.0.0'
sqlparser: ^0.24.0-dev
sqlparser: ^0.24.0
# Dart analysis
analyzer: ^5.2.0

View File

@ -1,4 +1,4 @@
## 0.24.0-dev
## 0.24.0
- Make `Fts5Table` constructor public.

View File

@ -1,7 +1,8 @@
name: sqlparser
description: Parses sqlite statements and performs static analysis on them
version: 0.24.0-dev
version: 0.24.0
homepage: https://github.com/simolus3/drift/tree/develop/sqlparser
repository: https://github.com/simolus3/drift
#homepage: https://drift.simonbinder.eu/
issue_tracker: https://github.com/simolus3/drift/issues

View File

@ -12,6 +12,12 @@ dart pub upgrade
dart run build_runner build --delete-conflicting-outputs
popd
pushd examples/modular
echo "Running build runner in modular example"
dart pub upgrade
dart run build_runner build --delete-conflicting-outputs
popd
pushd examples/migrations_example
echo "Testing migrations in migrations_example"
dart pub upgrade