Commit Graph

3038 Commits

Author SHA1 Message Date
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
Simon Binder 4e05067bd5
Don't assume nullable if no join syntax is known 2023-03-26 22:21:48 +02:00
Simon Binder c38e9cc6c0
Fix false-positive trigger syntax error (#2360) 2023-03-26 21:44:12 +02:00
Simon Binder a6549425ef
Serialize and restore file dependencies too 2023-03-25 16:29:07 +01:00
Simon Binder e51bb0976e
Increase timeout for drift_dev CI action 2023-03-23 18:10:19 +01:00
Simon Binder d6e074e704
Fix `validateDatabaseSchema` in schema tests 2023-03-23 17:56:50 +01:00
Simon Binder 954de410a9
Add new clean architecture example 2023-03-21 17:41:42 +01:00
Simon Binder 097fddf6ce
Merge branch latest-release into develop 2023-03-20 22:07:49 +01:00
Simon Binder 9bebf4a81e
Prepare release 2023-03-20 21:39:41 +01:00
Simon Binder a6bdd26c93
Remove outdated warnings about drift/wasm 2023-03-20 17:41:57 +01:00
Simon Binder 023512cae3
Support latest cli_util in drift_dev 2023-03-20 17:18:50 +01:00
Simon Binder 0453988233
Remove client default code from schema tests again 2023-03-16 19:31:41 +01:00
Simon Binder ba86f1aa89
Use correct variable indexes around nested queries 2023-03-15 17:48:36 +01:00
Simon Binder fadc30df1d
Merge pull request #2349 from FaFre/upsert_do_nothing
Upsert constraint support DO NOTHING
2023-03-14 17:31:44 +01:00
Fabian Freund 8f0ea27d2d added changelog entry 2023-03-14 13:14:30 +01:00
Fabian Freund c1cbdf1b5d upsert support do nothing 2023-03-14 05:59:49 +01:00
Simon Binder 26434ca40b
Fix typo in test that is now an error 2023-03-13 22:46:43 +01:00
Simon Binder 849f245f53
Warn about invalid custom foreign key constraint 2023-03-13 22:30:14 +01:00
Simon Binder e0d5520ee1
Analyze foreign keys as custom constraint on cols 2023-03-13 21:51:16 +01:00
Simon Binder 906c42d9db
Merge pull request #2343 from blaugold/fix/melos-package-filters
Fix melos package filters
2023-03-12 10:45:21 +01:00
Gabriel Terwesten 61d076dd83 Fix melos package filters 2023-03-11 23:38:22 +01:00