Commit Graph

2760 Commits

Author SHA1 Message Date
ValentinVignal 99affe3fac
🐛 Use correct type for enum converter 2022-11-30 23:53:46 +08:00
ValentinVignal 197a3862e7
Merge remote-tracking branch 'upstream/develop' into textEnum
# Conflicts:
#	drift_dev/CHANGELOG.md
#	drift_dev/pubspec.yaml
2022-11-30 22:47:58 +08:00
Simon Binder 0ee8a6a7f9
Fix code generation for triggers and indices 2022-11-29 10:39:45 +01:00
Simon Binder 2c421e2252
Run build with --delete-conflicting-outputs 2022-11-28 22:13:07 +01:00
Simon Binder e9e86085ee
Use right working directory for migration test 2022-11-28 22:07:25 +01:00
Simon Binder d24644113a
Fix generating schema test code 2022-11-28 21:59:17 +01:00
ValentinVignal a993d433c5
Merge remote-tracking branch 'upstream/develop' into textEnum
# Conflicts:
#	drift/CHANGELOG.md
#	drift_dev/CHANGELOG.md
2022-11-28 19:09:36 +08:00
ValentinVignal 3f0e40b8a7
📝 Update the documentation 2022-11-28 19:06:38 +08:00
ValentinVignal d7ef374677
⬆️ Upgrade version number 2022-11-28 18:59:00 +08:00
ValentinVignal 4030db4c5f
🎨 Better type comparison and matcher 2022-11-28 18:54:56 +08:00
Simon Binder a837e51fda
Prepare pubspecs for new release 2022-11-27 17:05:16 +01:00
Simon Binder 868c0e3f05
Run modular builder as integration test 2022-11-27 16:51:40 +01:00
ValentinVignal 432b68cf4e
Update the tests 2022-11-26 21:51:27 +08:00
ValentinVignal e8ee29bb18
textEnum 2022-11-26 21:51:13 +08:00
Simon Binder 0a5014a7b4
Reformat sources 2022-11-25 18:00:09 +01:00
Simon Binder cd00c6899e
Add helper method to setup isolates more easily 2022-11-25 17:54:38 +01:00
Simon Binder 0231225733
Document modular generation 2022-11-25 17:13:34 +01:00
Simon Binder 15edd501aa
Support generating database accessors in modular mode 2022-11-25 14:49:14 +01:00
Simon Binder 3891d63283
Remove unused import 2022-11-25 14:01:51 +01:00
Simon Binder 9b0292f543
Don't send table updates to originating client 2022-11-25 13:54:21 +01:00
Simon Binder 097f941f88
Add single-client mode for remote connections 2022-11-25 13:47:08 +01:00
Simon Binder 1d02ad9cd9
Drop results for invalidated queries (#2166) 2022-11-25 12:03:55 +01:00
Simon Binder 59d347adbe
Fix spellfix1 module with new analyzer 2022-11-22 20:06:17 +01:00
Simon Binder fde7adde48
Support triggers and indices in modular generation 2022-11-22 20:06:16 +01:00
Simon Binder df76457819
Merge pull request #2161 from North101/develop
Remove unnecessary where clause for batch.deleteAll
2022-11-21 23:00:00 +01:00
Alexander Wilde d165ee1bd8 Remove unnecessary where for batch.deleteAll 2022-11-21 13:39:53 +00:00
Simon Binder 6e16a8b8b6
Merge pull request #2160 from North101/develop
Add batch.deleteAll
2022-11-21 11:52:36 +01:00
Alexander Wilde 5bb4d043a5 Add tests for deleteAll 2022-11-21 00:03:45 +00:00
Alexander Wilde bfe2226394 Add batch.deleteAll 2022-11-20 23:47:31 +00:00
Simon Binder fc539c0b63
Ignore exceptions from database tracker (#2159) 2022-11-20 18:40:34 +01:00
Simon Binder ed969635b7
Re-run generator in `drift/` 2022-11-20 17:36:20 +01:00
Simon Binder f4e45584ec
Begin optional modular code generation 2022-11-20 17:28:27 +01:00
Simon Binder f41cff5fc6
Fix stream queries in `DelayedStreamQueryStore` 2022-11-19 18:40:36 +01:00
Simon Binder 72a85b799c
Fix tests with new generator 2022-11-19 16:24:07 +01:00
Simon Binder c77fc3612f
Run dart format in drift_dev 2022-11-18 17:01:21 +01:00
Simon Binder 1ed459c013
Fix wrong table reference in docs 2022-11-18 17:01:00 +01:00
Simon Binder 6512dc1cfc
Merge remote-tracking branch 'origin/develop' into modular-generation 2022-11-18 16:56:55 +01:00
Simon Binder 596a35b58e
Document basic analysis concept 2022-11-18 16:33:19 +01:00
Simon Binder e1ec5faa93
Fix analysis warnings in new analyzer 2022-11-18 12:19:03 +01:00
Simon Binder 564b4c887f
Migrate remaining tests 2022-11-18 12:02:38 +01:00
Simon Binder ec311aea57
Migrate remaining analyzer tests 2022-11-18 10:46:00 +01:00
Simon Binder f6830bcd68
Use lock when a statement transaction is active 2022-11-16 12:45:44 +01:00
Simon Binder b2bbcfae8a
Add `shutdownOnClose` to `connect()`
When only a single client connects to a drift server, the whole server
can be disposed when that client disconnects. This makes it easier to
clean up resources in the common case of having one client.

Closes #2157
2022-11-15 11:00:52 +01:00
Simon Binder b7690e84d9
Fix aliases for views 2022-11-14 22:36:51 +01:00
Simon Binder 873cc9a7a9
Migrate service tests to new analyzer 2022-11-13 17:41:09 +01:00
Simon Binder 75fe463a9f
Merge pull request #2146 from JosiahMendes/docs/migration-typo
Fix runtime migration verification typo
2022-11-13 14:25:33 +01:00
Josiah Mendes 9c72d858ae
Fix runtime migration verification typo 2022-11-12 23:48:16 +08:00
Simon Binder ce0dffb362
Migrate entity reference sorter test 2022-11-11 18:17:16 +01:00
Simon Binder c69d1a6628
Delete old analyzer and model 2022-11-11 18:02:30 +01:00
Simon Binder ea6a8a2217
Re-generate migration tests 2022-11-11 17:50:21 +01:00