Simon Binder
22dee72680
Bump sqflite dependency, integration test for array args
2019-09-21 13:20:19 +02:00
Simon Binder
138652fdc4
Remove DiffUtil and MoorAnimatedList
2019-09-13 21:06:11 +02:00
Simon Binder
c8ae99b52e
Breaking changes for the upcoming version
...
1. Removes transaction parameter in callbacks, custom queries
2. Removes MigrationStrategy.onFinished
2019-09-13 21:04:15 +02:00
Simon Binder
b87a606fb8
Merge branch 'master' into develop
2019-09-05 10:35:07 +02:00
Simon Binder
81986d2010
Remove debug logs used to fix the opening problem
2019-09-04 22:11:48 +02:00
Simon Binder
a17ad13542
Report more errors when database is opened
2019-09-04 21:20:09 +02:00
Simon Binder
3c56e0ad6e
Fix race condition in database opening
2019-09-04 18:38:55 +02:00
Simon Binder
1bbc26767e
Assert that the database is not opened multiple times.
2019-09-04 16:13:37 +02:00
Simon Binder
0860b6645a
Generate selectable for custom queries
...
This makes is easier to use getSingle() and watchSingle()
on them.
Fixes #120
2019-08-27 18:44:34 +02:00
Simon Binder
e38719a194
Write changelogs, prepare release 1.7
2019-08-22 12:27:39 +02:00
Simon Binder
b26baddd01
Fix some docs, make isOpen lookup faster
2019-08-17 18:25:56 +02:00
Simon Binder
925f80aa9f
Support creating databases from an asset
2019-08-16 15:38:13 +02:00
Simon Binder
7ba89c099f
Resolve and infer types for window expressions
2019-08-14 18:00:41 +02:00
Simon Binder
a4bfda494d
Add integration tests for transactions
...
Also fixes some bugs on the way
2019-07-31 20:47:58 +02:00
Simon Binder
7a9cafb02f
Deprecate diff utils, MoorAnimatedList
2019-07-28 14:45:36 +02:00
Simon Binder
48f87330d6
New API to create custom backends easier
...
Also ported the Flutter backend to that API
2019-07-22 11:30:39 +02:00
Simon Binder
35e6ed67df
Use new GeneratorSession for the writer
2019-07-20 10:18:41 +02:00
Simon Binder
f108090f7b
Release version 1.6
2019-07-13 10:50:53 +02:00
Simon Binder
f21021a6e9
Final preparations for the 1.6 release
...
Short summary of updates
- web support
- using zones to resolve the current transaction
- comparable date time values
- collate expressions
- many bug fixes
2019-07-12 10:52:42 +02:00
Simon Binder
df05e643e0
Migrate example to 1.6, update readme
2019-07-10 17:55:57 +02:00
Simon Binder
734ea86c6d
Start migration to cirrus CI
2019-07-05 10:47:42 +02:00
Simon Binder
01db5e2afc
Release moor version 1.5.1, sqlparser 0.1.1
2019-07-03 20:04:09 +02:00
Simon Binder
316f9e1052
Only resolve columns declared in scope of a statement
...
Fixes #52
2019-07-02 12:28:54 +02:00
Simon Binder
2487c64c08
RELEASE 1.5
...
- Analyzed custom queries
- Better callbacks
- Update companions
2019-07-01 22:24:38 +02:00
Simon Binder
d15db1a199
Migrate example app to moor 1.5
2019-07-01 22:07:58 +02:00
Simon Binder
a45d73a6cf
Update documentation, fix multiline parsing
2019-07-01 21:20:59 +02:00
Simon Binder
464754267e
Document new features for version 1.5
2019-06-30 22:16:58 +02:00
Simon Binder
62c5106e7d
Migrate tests to companion
2019-06-21 20:29:42 +02:00
Simon Binder
0616fb7082
Migrate to update companions everywhere :)
2019-06-21 20:08:42 +02:00
Simon Binder
0abc3993f4
Fully migrate to new update companions
2019-06-21 19:48:18 +02:00
Simon Binder
8204f6b393
Improve docs a bit, refactor onOpen callback
2019-06-20 11:41:00 +02:00
Simon Binder
373d7c6478
Remove foreign keys pragma from example
2019-06-19 21:32:27 +02:00
Simon Binder
af58b99db1
Fix example app
2019-06-19 21:29:02 +02:00
Simon Binder
ce2e6afc6f
Copy license to moor_flutter subproject
2019-06-09 12:33:08 +02:00
Simon Binder
a1241bab1d
Version 1.4
...
More configurable serialization logic, type for floating point values
2019-06-09 12:27:24 +02:00
Simon Binder
4ca71bb14b
Raise sdk constraints to 2.2 in example app
2019-06-04 22:06:22 +02:00
Simon Binder
dc0b0e086d
Change email in pubspec
2019-05-29 19:43:21 +02:00
Simon Binder
f83781d250
Add links to custom homepage in pubspec.yaml
2019-05-12 10:58:07 +02:00
Simon Binder
50690290ec
Provide proper generation context during migrations
2019-05-09 10:55:37 +02:00
Simon Binder
8bed506e0d
Batched insert statements
...
Closes #15
2019-04-19 22:45:38 +02:00
Simon Binder
becb78afbc
Custom table constraints
2019-04-19 20:29:30 +02:00
Simon Binder
f15e06fbb0
Log statements during migrations, if desired
2019-04-19 17:59:30 +02:00
Simon Binder
165693d635
Smaller readme improvement
2019-04-14 16:58:05 +02:00
Simon Binder
1bb4fe4aab
Changelog for version 1.3.0
2019-04-14 16:47:15 +02:00
Simon Binder
f28eb13b4c
Fix hashcodes, document joins
2019-04-06 13:11:49 +02:00
Simon Binder
8d6c9b2ee6
Remove content out of readme in favor of website docs
2019-04-03 10:23:10 +02:00
Simon Binder
d284aca4f6
Improve examples app, fix many issues with joins
2019-04-01 12:27:13 +02:00
Simon Binder
e36470211c
Implement transactions
2019-03-31 17:06:22 +02:00
Simon Binder
9ca52d7f87
Use aliases in the operations
2019-03-30 19:21:44 +01:00
Simon Binder
df2a681410
Preparation for aliased tables
2019-03-30 18:48:09 +01:00
Simon Binder
93d292cff1
Release 1.2
2019-03-27 19:02:58 +01:00
Simon Binder
2e808c6ead
Also export Column in moor_flutter
2019-03-27 18:15:29 +01:00
Simon Binder
99d245d0ac
Expand docs on how write database / dao classes
2019-03-27 18:08:41 +01:00
Simon Binder
d4b97ab6fc
Clarify use of custom code in table dsl classes in readme
2019-03-15 20:09:51 +01:00
Simon Binder
e7cb0cb2e5
Merge pull request #3 from yohom/master
...
Add a `toJson` method for serialization.
2019-03-15 07:23:03 +01:00
yohom
c24f3caff2
`Map<String, Object>` -> `Map<String, dynamic>`
2019-03-15 08:52:54 +08:00
Simon Binder
81fe2e7feb
Implement custom column constraints
2019-03-14 19:11:26 +01:00
yohom
c13b0ff17f
Add a `toJson` method for serialization.
2019-03-14 17:42:58 +08:00
Simon Binder
e3fbbb8c13
Implement a BlobColumn to hold arbitrary data
2019-03-10 19:45:32 +01:00
Simon Binder
8fe350219c
Release version 1.1
2019-03-10 15:21:42 +01:00
Simon Binder
62db5ef29c
Update versions to 1.1.0
2019-03-10 15:11:49 +01:00
Simon Binder
d506d54315
Bugfixes, formatting, and finalizing transactions
2019-03-10 15:08:29 +01:00
Simon Binder
cbd217317a
Let data classes override toString()
2019-03-10 12:54:50 +01:00
Simon Binder
09d047a868
Tests for transactions
2019-03-10 12:38:53 +01:00
Simon Binder
049a970b37
Transactions
2019-03-10 12:00:25 +01:00
Simon Binder
6835d9f67a
Add fancy batches
2019-03-09 21:32:36 +01:00
Simon Binder
087ecc9860
Fix ugly typo, remove git dependency from readme
2019-03-09 21:19:24 +01:00
Simon Binder
bfe1cb8017
Published version 1.0.0 on pub!
2019-03-09 21:00:19 +01:00
Simon Binder
c3ae9e7116
Fix another typo
2019-03-09 20:43:27 +01:00
Simon Binder
bfa046dfd2
Fill out remaining info in generated files.
2019-03-09 20:41:02 +01:00
Simon Binder
d70b447c65
Fix some typos
2019-03-09 20:35:29 +01:00
Simon Binder
4d80ff77c9
Finalize renaming
2019-03-09 17:02:56 +01:00
Simon Binder
62900a93a9
Rename project to "moor"
2019-03-09 16:37:37 +01:00