Commit Graph
100 Commits
Author SHA1 Message Date
Simon Binder 57eb749ae4 Migrate off of analyzer 7.x APIs 2025-09-29 23:55:57 +02:00
Simon Binder e8a5c79411 Fix generated schema code for views 2025-09-28 22:30:29 +02:00
Simon Binder e4f0ab1e92 Fix typo on isolates docs
Closes https://github.com/simolus3/drift/issues/3664
2025-09-23 16:22:51 +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 Binderandebraminio cdd61503eb Fix wasm num cast in legacy web database
Co-authored-by: ebraminio <ebrahim@gnu.org>
2025-09-18 14:50:50 +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 8bfe3053c7 Also apply to non-shared implementation 2025-09-12 10:35:40 +02:00
Simon Binder a9812687f0 Document insertOnConflictUpdate issue
Related to https://github.com/simolus3/drift/issues/3646
2025-09-08 12:27:13 +02:00
Simon Binder aca2cad6aa Prepare drift_flutter release 2025-09-07 14:49:54 +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 8b32d164d2 Don't run removed doctor command 2025-09-04 12:36:26 +02:00
Simon Binder 2e8872f3e0 Migrate builder tests in drift_dev 2025-09-03 23:44:32 +02:00
Simon Binder 28ccb9da14 Suggest static stepByStep call
Related to https://github.com/simolus3/drift/issues/3638
2025-08-31 23:03:11 +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 e89623c81b Make lag, lead and nth_value nullable
They output null if the referenced row is not found in the window.

Closes https://github.com/simolus3/drift/issues/3635
2025-08-27 10:12:12 +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 bd427f57d6 Warning for identifiers looking like strings
Contextualize the error message for double-quoted identifiers that can't
be resolved, because those should potentially have been single-quoted
string literals.

Closes https://github.com/simolus3/drift/issues/3631
2025-08-19 23:15:27 +02:00
Simon Binder 6406f62c17 Fix drift_dev tests 2025-08-17 16:45:26 +02:00
Simon Binder 8bf3335d2c Cache flutter 2025-08-17 16:30:02 +02:00
Simon Binder a28c660089 Use Flutter SDK 2025-08-17 16:24:04 +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 6a19e47a46 Mention issue with older schemas for datetime 2025-07-27 22:12:50 +02:00
Simon Binder dff2d08773 Use step-by-step snippets for migrator API 2025-07-27 21:41:57 +02:00
Simon Binder 0d2cb7b474 Docs: Mention type converters on expressions
Closes https://github.com/simolus3/drift/issues/3618
2025-07-23 19:46:01 +02:00
Simon Binder a37782ef40 Add setup parameter to drift_flutter 2025-07-19 11:02:46 +02:00
Simon Binder e1b2eb1c1d Cache prepared statements by default 2025-07-18 22:38:02 +02:00
Simon Binder 1bd5e23455 Add escape clause to like expressions
Closes https://github.com/simolus3/drift/issues/3610
2025-07-15 17:55:05 +02:00
Simon Binder dc44939427 Prepare pre-release with build 3 support 2025-07-13 22:57:50 +02:00
Simon Binder 92883a8332 Stop testing with Flutter 2.27 2025-07-13 22:45:16 +02:00
Simon Binder fa0305ac8e Fix docs build 2025-07-13 22:36:31 +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 a2b1de83c5 sqlparser: Support 3.50.0 2025-07-13 16:49:43 +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 6b9cc9f58b Update docs on using toColumns mixin option 2025-07-12 22:50:52 +02:00
Simon Binder 7f88117998 WASM: Add export database API
Requested in https://github.com/simolus3/drift/discussions/3606
2025-07-11 23:39:33 +02:00
Simon Binder 65b0a54902 Fix DriftWebOptions.onResult not being called
Closes https://github.com/simolus3/drift/discussions/3604
2025-07-09 19:58:58 +02:00
Simon Binder 2858437d02 Close isolate connection on exit
Fix for https://github.com/simolus3/drift/issues/3449#issuecomment-3045322812
2025-07-08 23:34:06 +02:00
Simon Binder c2105713ee Remove outdated note on abi filters
Closes https://github.com/simolus3/drift/issues/3600
2025-07-03 20:51:26 -06: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 7230de30be Remove outdated note from isolate docs 2025-06-20 11:03:32 +02:00
Simon Binder 0160bff4f3 Update build_test 2025-06-16 18:01:12 +02:00
Simon Binder 7644a01954 Support nested transaction in delegate 2025-06-16 14:00:08 +02:00
Simon Binder b38b2723ff Devtools extension: Auto-update streams 2025-06-14 15:22:05 +02:00
Simon Binder 44875efa3d Support latest Flutter for devtools 2025-06-14 14:37:56 +02:00
Simon Binder 27d49c1fcc Prepare release 2025-06-14 14:35:13 +02:00
Simon Binder 1d3a8541af Make pg date time types serializable 2025-06-14 14:17:35 +02:00
Simon Binder c28ada88cb Fix issues with Firefox integration tests 2025-06-13 09:25:24 +02:00
Simon Binder e2058a5e66 Expose cancellation exception
Related to https://github.com/simolus3/drift/issues/3585
2025-06-12 22:35:48 +02:00
Simon Binder 0fae32f78f Remove outdated note about abi filters 2025-06-09 23:44:07 +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 9946b02963 Fix more outdated references to VmDatabase 2025-05-30 22:18:28 +02:00
Simon Binder e2d6de27c4 Fix closeExistingInstances snippet
Closes https://github.com/simolus3/drift/issues/3574
2025-05-29 23:16:20 +02:00
Simon Binder bb3ff734bd Avoid direct webdev dependency 2025-05-25 19:21:27 +02:00
Simon Binder b17e63f2b6 Update Flutter version for docs 2025-05-25 19:09:11 +02:00
Simon Binder f2f83cffa4 Merge branch 'fix/encryption-readme' of https://github.com/defuncart/fork_drift into develop 2025-05-25 19:03:21 +02:00
Simon Binder b79da479c7 Merge branch 'for-update-docs' of https://github.com/momadvisor/drift into develop 2025-05-25 19:02:12 +02:00
Simon Binder 5d7bf663d0 Fix goldens with updated formatter 2025-05-25 19:01:31 +02:00
Simon Binder c8f3706983 Allow customizing SQLite bindings 2025-05-13 22:51:42 +02:00
Simon Binder 54f0d50d12 Don't close table updates controller twice
Closes https://github.com/simolus3/drift/issues/3556
2025-05-11 22:22:49 +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 b8f2fe2c0e Update docs on drift sync example 2025-05-05 09:49:13 +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 8ca4629219 Ignore user_version errors for step by step 2025-05-03 00:22:27 +02:00
Simon Binder 0b20fe1d01 Reference @Musta-Pollo sync example 2025-05-02 23:25:47 +02:00
Simon Binder 259d14e08a Update analyzer and mockito in drift 2025-05-02 22:45:31 +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
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 2b1bac3458 Add row values example to docs for custom expr 2025-04-16 23:13:13 +02:00
Simon Binder da3073fbf5 Fix snippets for expression docs 2025-04-16 22:57:51 +02:00
Simon Binder bc12e863e7 Suggest adding path_provider dependency
Closes https://github.com/simolus3/drift/issues/3529
2025-04-15 20:51:04 +02:00
Simon Binder 0be6c3f941 Link to devtools docs for enablement 2025-04-15 20:44:55 +02:00
Simon Binder 0f7202b44c Update sqlite3 version for drift tests 2025-04-11 13:51:37 +02:00
Simon Binder 17d477cb07 Fix unit testing snippet
Closes https://github.com/simolus3/drift/issues/3521
2025-04-09 11:18:22 +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
Simon Binder d28a7f2e74 Merge pull request #3518 from dickermoshe/non_nulls
Add Non nulls filter
2025-04-05 23:00:41 +02:00
Simon Binder b13e953b83 Document tablemigration for new columns 2025-04-01 10:30:25 +02:00
Simon Binder 8ce72e72e0 Mention PowerSync as sync service option 2025-03-17 22:01:19 +01:00
Simon Binder 30898549ee Fix importing and exporting docs for drift_flutter
Closes https://github.com/simolus3/drift/issues/3498
2025-03-17 21:04:47 +01:00
Simon Binder 8ea06170c3 Mention different json key styles for drit/dart 2025-03-16 22:55:15 +01:00
Simon Binder 7295a3a17a Fix building devtools extension 2025-03-08 11:58:19 +01:00