Release moor version 1.5.1, sqlparser 0.1.1

This commit is contained in:
Simon Binder 2019-07-03 20:04:09 +02:00
parent b9e9135ac3
commit 01db5e2afc
No known key found for this signature in database
GPG Key ID: 7891917E4147B8C0
6 changed files with 17 additions and 6 deletions

View File

@ -1,5 +1,7 @@
## 1.5.1
- Fixed an issue where streams would behave inconsistently when transformed.
- Fixed an issue where transformed streams would not always update
- Emit a `INSERT INTO table DEFAULT VALUES` when appropriate. Moor used to generate invalid sql
before.
## 1.5.0
This version introduces some new concepts and features, which are explained in more detail below.

View File

@ -1,6 +1,6 @@
name: moor
description: Moor is a safe and reactive persistence library for Dart applications
version: 1.5.0
version: 1.5.1
repository: https://github.com/simolus3/moor
homepage: https://moor.simonbinder.eu/
issue_tracker: https://github.com/simolus3/moor/issues
@ -16,7 +16,7 @@ dependencies:
collection: '>= 1.0.0 <2.0.0'
dev_dependencies:
moor_generator: ^1.4.0
moor_generator: ^1.5.0
build_runner: '>=1.3.0 <2.0.0'
build_test: ^0.10.8
test: ^1.6.4

View File

@ -149,7 +149,7 @@ class FlutterQueryExecutor extends _DatabaseOwner {
SqlExecutor _migrationExecutor(s.Database db) {
return (sql) {
_log(sql);
db.execute(sql);
return db.execute(sql);
};
}

View File

@ -59,7 +59,7 @@ packages:
path: "../moor"
relative: true
source: path
version: "1.4.0+1"
version: "1.5.1"
path:
dependency: "direct main"
description:

View File

@ -1,3 +1,12 @@
## 0.1.1
Attempt to recognize when a bound variable should be an array (eg. in `WHERE x IN ?`).
Also fixes a number of parsing bugs:
- Parses tuples, proper type resolution for `IN` expressions
- Don't resolve references to tables that don't appear in the surrounding statement.
- Parse joins without any additional operator, e.g. `table1 JOIN table2` instead of
`table1 CROSS JOIN table2`.
- Parser now complains when parsing a query doesn't fully consume the input
## 0.1.0
Initial version, can parse most statements but not `DELETE`, common table expressions and other
advanced features.

View File

@ -1,6 +1,6 @@
name: sqlparser
description: Parses sqlite statements and performs static analysis on them
version: 0.1.0
version: 0.1.1
homepage: https://github.com/simolus3/moor/tree/develop/sqlparser
#homepage: https://moor.simonbinder.eu/
issue_tracker: https://github.com/simolus3/moor/issues