Commit Graph

3276 Commits

Author SHA1 Message Date
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
Simon Binder a0b35ec6e0
Mention where computeWithDatabase is most useful 2023-05-12 15:15:37 +02:00
Simon Binder 20b75bd7e3
Use unifying type visitor instead of custom logic 2023-05-10 22:28:51 +02:00
Simon Binder 18868221d9
Support doc comments for columns in drift files 2023-05-10 12:00:44 +02:00
Simon Binder 1dad8a00d8
Prepare 2.8.0 release 2023-05-10 10:24:58 +02:00
Simon Binder 052abfbab2
Add safety fallback for new types being added 2023-05-10 10:18:24 +02:00
Simon Binder 45dc099440
Support analyzer 5.12 2023-05-10 10:13:16 +02:00
Simon Binder 3ee1c1ccd4
Fix `computeWithDatabase` in transactions 2023-05-05 16:34:33 +02:00
Eli Geller 54f6eea205
small typo fixes (#2410)
Co-authored-by: Eli Geller <eli@reportallusa.com>
2023-05-05 16:10:52 +02:00
Simon Binder ceba4e3c1b
Remove unused imports 2023-05-03 19:01:41 +02:00
Simon Binder b2b37666bd
Add version for intermediate sources if needed 2023-05-03 17:45:39 +02:00
Simon Binder 6bb2c3d2c5
Support named constructors for rows in drift file 2023-04-23 16:21:31 +02:00