mirror of https://github.com/AMT-Cheif/drift.git
Merge remote-tracking branch 'upstream/develop' into textEnum
# Conflicts: # drift/CHANGELOG.md # drift_dev/CHANGELOG.md
This commit is contained in:
commit
a993d433c5
|
@ -1,4 +1,4 @@
|
||||||
## 2.3.0
|
## 2.4.0-dev
|
||||||
|
|
||||||
- Add `textEnum` column builder and `EnumNameConverter` to be able to store enum
|
- Add `textEnum` column builder and `EnumNameConverter` to be able to store enum
|
||||||
values as string.
|
values as string.
|
||||||
|
@ -13,7 +13,7 @@
|
||||||
- Add `TableStatements.insertAll` to atomically insert multiple rows.
|
- Add `TableStatements.insertAll` to atomically insert multiple rows.
|
||||||
- Add `singleClientMode` to `remote()` and `DriftIsolate` connections to make
|
- Add `singleClientMode` to `remote()` and `DriftIsolate` connections to make
|
||||||
the common case with one client more efficient.
|
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
|
- Add `NativeDatabase.createInBackground` as a drop-in replacement for
|
||||||
`NativeDatabase`. It creates a drift isolate behind the scenes, avoiding all
|
`NativeDatabase`. It creates a drift isolate behind the scenes, avoiding all
|
||||||
of the boilerplate usually involved with drift isolates.
|
of the boilerplate usually involved with drift isolates.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
name: drift
|
name: drift
|
||||||
description: Drift is a reactive library to store relational data in Dart and Flutter applications.
|
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
|
repository: https://github.com/simolus3/drift
|
||||||
homepage: https://drift.simonbinder.eu/
|
homepage: https://drift.simonbinder.eu/
|
||||||
issue_tracker: https://github.com/simolus3/drift/issues
|
issue_tracker: https://github.com/simolus3/drift/issues
|
||||||
|
|
|
@ -1,6 +1,12 @@
|
||||||
## 2.3.0
|
## 2.4.0-dev
|
||||||
|
|
||||||
- Add the support for `textEnum`.
|
- 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
|
## 2.2.0+1
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
name: drift_dev
|
name: drift_dev
|
||||||
description: Dev-dependency for users of drift. Contains a the generator and development tools.
|
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
|
repository: https://github.com/simolus3/drift
|
||||||
homepage: https://drift.simonbinder.eu/
|
homepage: https://drift.simonbinder.eu/
|
||||||
issue_tracker: https://github.com/simolus3/drift/issues
|
issue_tracker: https://github.com/simolus3/drift/issues
|
||||||
|
@ -27,7 +27,7 @@ dependencies:
|
||||||
# Drift-specific analysis and apis
|
# Drift-specific analysis and apis
|
||||||
drift: '>=2.3.0 <2.4.0'
|
drift: '>=2.3.0 <2.4.0'
|
||||||
sqlite3: '>=0.1.6 <2.0.0'
|
sqlite3: '>=0.1.6 <2.0.0'
|
||||||
sqlparser: ^0.24.0-dev
|
sqlparser: ^0.24.0
|
||||||
|
|
||||||
# Dart analysis
|
# Dart analysis
|
||||||
analyzer: ^5.2.0
|
analyzer: ^5.2.0
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
## 0.24.0-dev
|
## 0.24.0
|
||||||
|
|
||||||
- Make `Fts5Table` constructor public.
|
- Make `Fts5Table` constructor public.
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
name: sqlparser
|
name: sqlparser
|
||||||
description: Parses sqlite statements and performs static analysis on them
|
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
|
homepage: https://github.com/simolus3/drift/tree/develop/sqlparser
|
||||||
|
repository: https://github.com/simolus3/drift
|
||||||
#homepage: https://drift.simonbinder.eu/
|
#homepage: https://drift.simonbinder.eu/
|
||||||
issue_tracker: https://github.com/simolus3/drift/issues
|
issue_tracker: https://github.com/simolus3/drift/issues
|
||||||
|
|
||||||
|
|
|
@ -12,6 +12,12 @@ dart pub upgrade
|
||||||
dart run build_runner build --delete-conflicting-outputs
|
dart run build_runner build --delete-conflicting-outputs
|
||||||
popd
|
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
|
pushd examples/migrations_example
|
||||||
echo "Testing migrations in migrations_example"
|
echo "Testing migrations in migrations_example"
|
||||||
dart pub upgrade
|
dart pub upgrade
|
||||||
|
|
Loading…
Reference in New Issue