Commit Graph

3337 Commits

Author SHA1 Message Date
Simon Binder 3f178a154f
Add first integration test for new wasm backend 2023-06-10 22:52:22 +02:00
Simon Binder b01c8494e5
Rename old web test package 2023-06-10 18:01:25 +02:00
Simon Binder c72f2131f7
Prepare drift_sqflite release 2023-06-10 14:18:29 +02:00
Simon Binder cedf3a3370
Update integration tests for drift_sqflite 2023-06-09 17:40:51 +02:00
Simon Binder 657ee5133f
Disallow zero as a schema version (#2469) 2023-06-08 11:53:21 +02:00
Simon Binder dd6d7bfd70
Prepare patch release 2023-06-08 10:21:53 +02:00
Simon Binder 51dc8ccf1d
Fix typo in internal docs 2023-06-08 10:20:51 +02:00
Simon Binder dd3f04bf09
Fix statements not getting disposed without cache 2023-06-06 09:58:34 +02:00
Simon Binder 1b8d7f9d50
Mention `computeWithDatabase` limitations more 2023-06-06 09:32:18 +02:00
Tautvydas Šidlauskas bf8245455c
fix: use async syntax to fix timeout when closing database in unit tests (#2459)
Closes #2458
2023-06-05 22:50:06 +02:00
Simon Binder 61c641001a
Allow latest sqlite3 in encryption sample 2023-06-04 22:11:56 +02:00
Simon Binder 9f2405be26
Merge branch 'develop' into web-v2 2023-06-04 22:10:44 +02:00
Simon Binder ec87791ece
Update v2 of the sqlite3 package 2023-06-04 22:10:11 +02:00
Simon Binder 0c6cd109ee
Add dartdoc comments 2023-06-04 21:18:43 +02:00
Simon Binder 0b52bee48c
Keep using the same storage implementation 2023-06-04 20:52:08 +02:00
Simon Binder bbf2a434a3
Mention `computeWithDatabase` limitations more 2023-06-03 23:28:50 +02:00
Simon Binder e481f29138
Fix resolving table aliases (#2453) 2023-06-03 23:10:54 +02:00
Simon Binder ce504f44c2
Add changelog entry and test for caching stmts 2023-06-02 16:49:58 +02:00
Simon Binder c79f95ac03
Start migrating from older storage options 2023-06-02 16:23:02 +02:00
Simon Binder 0a052ff338
Properly test for IndexedDB availability 2023-06-01 13:59:35 +02:00
Simon Binder 232140c083
Prepare minor release 2023-06-01 11:26:57 +02:00
Simon Binder ba9360f063
Fix dependency conflicts in some examples 2023-06-01 11:23:57 +02:00
Simon Binder 07fe555753
Report syntax error for WITH in trigger 2023-06-01 00:08:41 +02:00
Simon Binder ec5927bc2a
Add web compatibility information to web page 2023-05-31 23:48:13 +02:00
Simon Binder ff41de2a6b
Get new wasm implementation working in Chrome 2023-05-31 22:48:29 +02:00
Simon Binder d79633ee6b
Support lock-based OPFS implementation in worker 2023-05-31 18:07:09 +02:00
Simon Binder e2fe4228ad
Make driver error fatal in tests 2023-05-30 13:53:03 +02:00
Simon Binder 9154f60dfd
Improve resolving recursive CTEs 2023-05-30 13:53:03 +02:00
Simon Binder 0060e0ea44
Send serve messages in wasm setup 2023-05-29 17:56:15 +02:00
Simon Binder 0177175878
Avoid internal uses of `asyncMap` 2023-05-26 20:40:03 +02:00
Simon Binder 3b68386992
Internal workaround for #2443 2023-05-25 16:29:01 +02:00
Simon Binder 1cc5745b41
Only release remote transaction if commit succeeds 2023-05-25 15:13:39 +02:00
Simon Binder 7810ad9a48
Write nulls as constants on postgres 2023-05-24 23:31:46 +02:00
David Martos 45353a7693
Prepared statements cache (#2434)
Create a cache of prepared statements to optimize performance.
2023-05-24 23:23:40 +02:00
Simon Binder 054b91b507
Don't warn about unrecognized Dart imports 2023-05-23 16:18:01 +02:00
Simon Binder 451bc9c930
Load imports for Dart files too (#2433) 2023-05-23 15:58:15 +02:00
Simon Binder 2354cb43cf
Clarify `readsFrom` parameter for custom queries 2023-05-23 14:33:39 +02:00
Simon Binder b5d565e164
Add test for #2436 2023-05-23 14:19:56 +02:00
Simon Binder 54b1b707a9
Refactor protocol into typed messages 2023-05-21 13:21:45 +02:00
Simon Binder 5db8d58b72
Add some protocol messages for wasm init 2023-05-18 22:24:09 +02:00
Simon Binder 0bb7d6ade6
Draft for wasm initializer API 2023-05-18 22:24:08 +02:00
Simon Binder f45ce5d909
Upgrade core drift package to Dart 3 2023-05-18 22:23:59 +02:00
Simon Binder f5ae390284
Better mechanism to determine table count 2023-05-16 11:09:29 +02:00
Simon Binder a3ca77b5f8
Always write qualified column references from SQL 2023-05-16 10:51:33 +02:00
Simon Binder 2fb7300ad2
Fix web worker example 2023-05-15 21:28:19 +02:00
Simon Binder 8498cfb8d9
Fix build in app example 2023-05-15 09:12:59 +02:00
Simon Binder f11d1bdd83
Prepare publishing drift_dev 2.8.1 2023-05-15 08:58:37 +02:00
Simon Binder 1d63ccb3f1
Fix annotating top-level types and extensions
By not using a `SimpleIdentifier` AST node for class and extension
names, the code used to detect imports for Dart code was broken.
Closes #2423
2023-05-14 21:54:51 +02:00
Simon Binder 78299f30d3
Fix expectation in record writer test 2023-05-12 22:45:43 +02:00
Simon Binder 28417c52af
Fix lints and warnings added in Dart 3.0 2023-05-12 22:42:21 +02:00