Publish moor 3.4, sqlparser 0.11

This commit is contained in:
Simon Binder 2020-10-22 14:17:54 +02:00
parent 732369c25c
commit e29fcf93f7
No known key found for this signature in database
GPG Key ID: 7891917E4147B8C0
8 changed files with 11 additions and 9 deletions

View File

@ -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

View File

@ -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

View File

@ -1 +0,0 @@
../analysis_options.yaml

View File

@ -0,0 +1 @@
include: ../analysis_options.yaml

View File

@ -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

View File

@ -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(

View File

@ -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

View File

@ -1 +0,0 @@
../analysis_options.yaml

View File

@ -0,0 +1 @@
include: ../analysis_options.yaml

View File

@ -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