Commit Graph

3058 Commits

Author SHA1 Message Date
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 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 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 0060e0ea44
Send serve messages in wasm setup 2023-05-29 17:56:15 +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
Simon Binder 34755b15a0
Update stream links in readme 2023-04-22 18:43:31 +02:00
Simon Binder db15b792ca
Fix column name inference in CTEs and subqueries 2023-04-20 16:43:27 +02:00
Simon Binder 611fd4c4e9
Fix crash with CTE on insert/update/delete 2023-04-20 15:37:51 +02:00
Simon Binder 5caa948243
Improve error handling for missing tables in query 2023-04-19 23:24:24 +02:00
Simon Binder 6c9c3d0686
Add filter for partial indices to DoUpdate 2023-04-19 23:06:27 +02:00
Simon Binder 11b563f9de
Add static analysis for the `IIF` function (#2392) 2023-04-18 12:42:51 +02:00
Simon Binder a988b38ec1
Improve error message for invalid column name 2023-04-16 18:37:34 +02:00
Simon Binder 99abaae2f1
Fix infinite loop in trigger parser 2023-04-14 11:47:15 +02:00
Simon Binder f8e7d2335a
Raise minimum language version to 2.13
Drift uses generalized typdefs in generated code, which only became
available in Dart 2.13.
2023-04-12 21:27:06 +02:00
Simon Binder 39645f669c
Allow retrying if database setup fails 2023-04-11 11:33:12 +02:00
Simon Binder d7f1bfb61c
Prepare 2.7.0 release 2023-04-10 23:33:36 +02:00
Simon Binder b4b4e350dd
Simplify creation of web workers for drift 2023-04-10 23:01:30 +02:00
Mike T cb32b3418b
Expose CASE WHEN without base expression (#2377)
Adds the `CaseWhen` class to construct such expressions.

Co-authored-by: Simon Binder <oss@simonbinder.eu>
2023-04-09 23:41:42 +02:00
Simon Binder d02343c8cc
Add regresion test for Dart component in having 2023-04-08 16:02:40 +02:00
Simon Binder 834cc154bc
Infer types for `HAVING` clauses 2023-04-08 15:58:06 +02:00
Simon Binder bdac301866
Allow references to result column in group by too 2023-04-08 15:44:47 +02:00
Shion d63701201a Fix typo 2023-04-04 17:06:42 +02:00
Simon Binder 48ea2c94a9
Only consider drift code for clean build check 2023-03-27 21:39:16 +02:00