Commit Graph
946 Commits
Author SHA1 Message Date
Simon Binder 149909a8c0 Prepare 2.29.0 release 2025-10-18 14:54:22 +02:00
Simon Binder ed103c224b Allow running make-migrations without tests 2025-10-11 23:03:59 +02:00
Simon Binder 76f1be803b Add known tables option for external tables
For https://github.com/simolus3/drift/discussions/3681
2025-10-11 22:08:48 +02:00
Simon Binder 5724986a9e Support PowerSync extension when analyzing SQL 2025-10-07 18:07:19 +02:00
Simon Binder d107155637 Fix resolving unknown columns in CTEs
Closes https://github.com/simolus3/drift/issues/3674
2025-10-01 20:58:20 +02:00
Simon Binder 979b700d4c Support ordering mode for Dart indexes
https://github.com/simolus3/drift/discussions/3676
2025-09-30 20:51:13 +02:00
Simon Binder e8a5c79411 Fix generated schema code for views 2025-09-28 22:30:29 +02:00
Simon Binder b4e8c77d43 Prepare release 2025-09-21 23:44:31 +02:00
Simon Binder 02b24211cc Update build dependencies 2025-09-21 23:39:28 +02:00
Simon Binder 35c47973ae Stop depending on deprecated build packages 2025-09-18 17:35:03 +02:00
Simon Binder 6ac85edb29 Fix missing element false positive
https://github.com/simolus3/drift/issues/3656
2025-09-17 23:36:26 +02:00
Simon Binder 6685a60c12 Prepare patch release 2025-09-05 22:37:56 +02:00
Simon Binder 642221e4fa Update build and source_gen to latest version
The declared version will not resolve yet due to dependencies
not supporting it yet, but I've tested this manually with
overrides.
2025-09-04 21:02:03 +02:00
Simon Binder 1de2fc5817 Assign type to raise expressions
Closes https://github.com/simolus3/drift/issues/3643
2025-09-04 20:40:29 +02:00
Simon Binder 2e8872f3e0 Migrate builder tests in drift_dev 2025-09-03 23:44:32 +02:00
Simon Binder 7ca5b6588d Warn when DAO references additional elements
Closes https://github.com/simolus3/drift/issues/3633
2025-08-27 20:27:25 +02:00
Simon Binder 43e8b90ded Raise default SQLite version for drift files
Related to https://github.com/simolus3/drift/issues/3632
2025-08-20 11:08:46 +02:00
Simon Binder 6406f62c17 Fix drift_dev tests 2025-08-17 16:45:26 +02:00
Simon Binder 66fe2ddc96 Migrate to workspace 2025-08-17 16:11:07 +02:00
Simon Binder 9bbb57a740 drift_dev: Support latest analyzer 2025-08-16 21:42:43 +02:00
Simon Binder 480607e1ae Fix annotated AST for typedefs
Closes https://github.com/simolus3/drift/issues/3625
2025-08-08 20:29:14 +02:00
Simon Binder 7cb1a69ebb Prepare 2.28.1 release 2025-07-29 20:56:50 +02:00
Simon Binder dc44939427 Prepare pre-release with build 3 support 2025-07-13 22:57:50 +02:00
Simon Binder 8d7a9d174d Migrate to element2 APIs 2025-07-13 18:22:59 +02:00
Simon Binder 5fc85ac6af Fix pubspec for drift_dev 2025-07-13 17:11:08 +02:00
Simon Binder 8d7c8d3779 Prepare 2.28.0 release 2025-07-13 16:51:56 +02:00
Simon Binder f1ab5feb68 Fix mapping parameter list
Closes https://github.com/simolus3/drift/issues/3608
2025-07-13 16:20:14 +02:00
Simon Binder fd2edbd2c1 Fix generating default preambles 2025-06-25 21:28:42 -04:00
Simon Binder 16b459e8bc Include preamble in schema code
Closes https://github.com/simolus3/drift/issues/3593
2025-06-25 20:59:38 -04:00
Simon Binder 0160bff4f3 Update build_test 2025-06-16 18:01:12 +02:00
Simon Binder 27d49c1fcc Prepare release 2025-06-14 14:35:13 +02:00
Simon Binder b1315754f2 Fix missing import statements for schema code
Closes https://github.com/simolus3/drift/issues/3582
2025-06-08 21:59:17 +02:00
Simon Binder 4116b95ef9 Schema validation: Allow ignoring column constraints
Closes https://github.com/simolus3/drift/issues/3575
2025-06-04 21:34:19 +02:00
Simon Binder 5d7bf663d0 Fix goldens with updated formatter 2025-05-25 19:01:31 +02:00
Simon Binder 1e0d913a34 Write @create queries to schema
Closes https://github.com/simolus3/drift/issues/3555
2025-05-09 00:10:03 +02:00
Simon Binder 52f8a04e9f Fix column references in generatedAs
Closes https://github.com/simolus3/drift/issues/3554
2025-05-07 22:42:09 +02:00
Simon Binder cc7f29ad4f Prepare drift and drift_dev release 2025-05-03 17:43:13 +02:00
Simon Binder 96a8d4f5e3 Improve make-migrations docs 2025-05-03 17:40:06 +02:00
Simon Binder f6fa5a2cc0 Allow extracting schema version from field
Closes https://github.com/simolus3/drift/issues/3551
2025-05-02 22:38:01 +02:00
Simon Binder 15a27cdf50 CLI: Don't exit with code 0 without command
Closes https://github.com/simolus3/drift/issues/3550
2025-05-02 22:16:55 +02:00
Felipe Peter 64885f63e8 Add file path to error message in make-migrations script 2025-04-28 12:10:04 +02:00
Simon Binder fd42712980 Ensure statements from database have AST
Closes https://github.com/simolus3/drift/issues/3512
2025-04-21 18:56:23 +02:00
Simon Binder 2fa6781a43 Avoid shared cache for verifier 2025-04-21 18:30:45 +02:00
Simon Binder b2e0c036f1 Restore analyzer version bounds after 7.4.1 release 2025-04-18 23:43:58 +02:00
Simon Binder 716048bdb9 Revert "Fix compatibility with analyzer 7.4.0"
This reverts commit 776f6efbc8.
2025-04-17 00:14:12 +02:00
Simon Binder 98fc93882e Revert "Restrict analyzer version for docs, fix records"
This reverts commit 2badbf6f13.
2025-04-17 00:14:06 +02:00
Simon Binder 2badbf6f13 Restrict analyzer version for docs, fix records 2025-04-16 23:53:29 +02:00
Simon Binder 776f6efbc8 Fix compatibility with analyzer 7.4.0 2025-04-16 23:47:02 +02:00
Simon Binder da3073fbf5 Fix snippets for expression docs 2025-04-16 22:57:51 +02:00
Simon Binder 84a251de89 Include generatedAs info in schema exports
Closes https://github.com/simolus3/drift/issues/3524
2025-04-09 11:16:39 +02:00