mirror of https://github.com/AMT-Cheif/drift.git
Publish moor 3.4, sqlparser 0.11
This commit is contained in:
parent
732369c25c
commit
e29fcf93f7
|
@ -1,4 +1,4 @@
|
|||
## 3.4.0 (unreleased)
|
||||
## 3.4.0
|
||||
|
||||
- New `TableMigration` api to make complex table migrations easier. See the
|
||||
[updated documentation](https://moor.simonbinder.eu/docs/advanced-features/migrations/#complex-migrations) for
|
||||
|
@ -12,7 +12,7 @@
|
|||
- New `generate_values_in_copy_with` [build option](https://moor.simonbinder.eu/docs/advanced-features/builder_options/).
|
||||
It wraps nullable columns in a `Value` in `copyWith` methods so that they can be set to `null`.
|
||||
- Added `groupConcat`, `cast` and `coalesce` functions to the Dart query builder.
|
||||
- Added `renameColumn` to `Migrator` to generate `ALTER TABLE RENAME COLUMN` statement.
|
||||
- Added `renameColumn` to `Migrator` to generate `ALTER TABLE RENAME COLUMN` statements.
|
||||
- Added `VmDatabase.closeExistingInstances()` to close zombie database connections after hot restarts on some OSes.
|
||||
|
||||
## 3.3.1
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
name: moor
|
||||
description: Moor is a safe and reactive persistence library for Dart applications
|
||||
version: 3.4.0-dev
|
||||
version: 3.4.0
|
||||
repository: https://github.com/simolus3/moor
|
||||
homepage: https://moor.simonbinder.eu/
|
||||
issue_tracker: https://github.com/simolus3/moor/issues
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
../analysis_options.yaml
|
|
@ -0,0 +1 @@
|
|||
include: ../analysis_options.yaml
|
|
@ -1,6 +1,6 @@
|
|||
name: moor_generator
|
||||
description: Dev-dependency to generate table and dataclasses together with the moor package.
|
||||
version: 3.3.1
|
||||
version: 3.4.0
|
||||
repository: https://github.com/simolus3/moor
|
||||
homepage: https://moor.simonbinder.eu/
|
||||
issue_tracker: https://github.com/simolus3/moor/issues
|
||||
|
@ -23,7 +23,7 @@ dependencies:
|
|||
|
||||
# Moor-specific analysis
|
||||
moor: ^3.0.0
|
||||
sqlparser: ^0.11.0-dev
|
||||
sqlparser: ^0.11.0
|
||||
|
||||
# Dart analysis
|
||||
analyzer: ^0.40.0
|
||||
|
|
|
@ -90,7 +90,8 @@ class ProgrammingLanguages extends Table {
|
|||
|
||||
final importQuery = database.queries
|
||||
.singleWhere((q) => q.name == 'transitiveImportTest') as SqlSelectQuery;
|
||||
expect(importQuery.resultClassName, 'ProgrammingLanguage');
|
||||
expect(importQuery.resultSet.matchingTable.table.dartTypeName,
|
||||
'ProgrammingLanguage');
|
||||
expect(importQuery.declaredInMoorFile, isFalse);
|
||||
expect(importQuery.hasMultipleTables, isFalse);
|
||||
expect(
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
- New `package:sqlparser/utils/node_to_text.dart` library that turns an AST node back into a
|
||||
textual representation.
|
||||
- Fix precedence of `CASE` expressions
|
||||
|
||||
## 0.10.1
|
||||
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
../analysis_options.yaml
|
|
@ -0,0 +1 @@
|
|||
include: ../analysis_options.yaml
|
|
@ -1,6 +1,6 @@
|
|||
name: sqlparser
|
||||
description: Parses sqlite statements and performs static analysis on them
|
||||
version: 0.11.0-dev
|
||||
version: 0.11.0
|
||||
homepage: https://github.com/simolus3/moor/tree/develop/sqlparser
|
||||
#homepage: https://moor.simonbinder.eu/
|
||||
issue_tracker: https://github.com/simolus3/moor/issues
|
||||
|
|
Loading…
Reference in New Issue