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
Simon Binder
a6ef3958a5
Github actions workflow maintenance
2023-03-11 23:35:52 +01:00
Simon Binder
c98dcc00e0
Upgrade to melos v3
2023-03-11 22:25:31 +01:00
Simon Binder
94744d54f3
Add documentation warning about defunct IDE
2023-03-11 22:16:39 +01:00
Simon Binder
18f3c2a933
Only serialize remote exceptions when needed
2023-03-07 20:41:28 +01:00
Simon Binder
94c915504d
Fix `computeWithDatabase` closing the original db
2023-03-06 22:11:02 +01:00
Simon Binder
23017f60e1
Improve docs for `computeWithDatabase`
2023-03-06 21:56:25 +01:00
Simon Binder
d9498bdb9d
Remove experimental warning for modular mode
2023-03-06 21:30:50 +01:00
Simon Binder
e91df496c8
Update dependencies for app example
2023-03-05 22:15:16 +01:00
Simon Binder
4db8f19a43
Support schema downgrades ( #2336 )
2023-03-03 21:24:00 +01:00
Simon Binder
adc2e22c46
Ignore lints in generated schema code
2023-03-03 20:57:32 +01:00
Simon Binder
cd83f81e2a
Merge pull request #2332 from gnprice/pr-migration-test-docs
...
Fix `schema generate` instruction for migration tests
2023-02-28 21:40:16 +01:00
Greg Price
3ab33227b7
Make explicit `schema generate` command for migration data tests
...
These flags are mentioned in the prose of this section, but it's
easy to miss them (or at least, I missed them) there and rely on
the `schema generate` command given in the previous section.
That one generates the expected files, but with this section's code
it leads to an error:
Unsupported operation: TableInfo.map in schema verification code
because the generated code has a stub implementation of `map`.
Make it easier to spot the need for these flags by providing an
explicit complete command using them.
2023-02-28 11:34:13 -08:00
Simon Binder
b137b4065e
Fix connection pool causing unhandled exceptions
2023-02-27 17:00:05 +01:00
Simon Binder
46390a2da5
Add `insertFromSelect` Dart API
2023-02-25 15:29:55 +01:00
Simon Binder
14fa80fd34
Fail CI if postgres tests fail
2023-02-25 13:18:33 +01:00
Simon Binder
cc16156c84
Merge branch 'postgres3' into develop
2023-02-25 13:16:33 +01:00
Simon Binder
1c662ebb1a
Analysis support for sqlite 3.41.0
2023-02-22 23:05:17 +01:00
Simon Binder
aee0585db0
Add test for #2321
2023-02-19 20:58:36 +01:00