Commit Graph

47 Commits

Author SHA1 Message Date
Simon Binder 7964782c2d
Re-run generator 2023-12-12 12:15:17 +01:00
Simon Binder 28c3c444e7
Re-run builders, add changelog entry 2023-11-22 13:09:09 +01:00
Simon Binder 8077c564d7
Highlight Android workarounds more 2023-10-24 21:14:57 +02:00
Simon Binder 86c071a965 Re-run build 2023-10-22 12:33:10 +02:00
Simon Binder 6408d93a7c Merge branch 'elitree/develop' into develop 2023-08-19 23:03:41 +02:00
Simon Binder 895ff52761 Add API for finegrained control for steps by steps 2023-08-19 22:39:38 +02:00
Eli Geller 4e28e5f5b9
remove leading slashes from URI paths 2023-08-14 18:21:09 -04:00
Simon Binder fae8be00d2
Re-run builder in example app 2023-08-09 21:03:36 +02:00
Amir Panahandeh cb7de63a3f
Fix Assertion failure during setting up router 2023-07-22 09:26:26 +03:30
Simon Binder 312fa3219f
Add docs for step-by-step migrations 2023-07-01 18:11:41 +02:00
Simon Binder ff41de2a6b
Get new wasm implementation working in Chrome 2023-05-31 22:48:29 +02:00
Simon Binder b4b4e350dd
Simplify creation of web workers for drift 2023-04-10 23:01:30 +02:00
Simon Binder d6e074e704
Fix `validateDatabaseSchema` in schema tests 2023-03-23 17:56:50 +01:00
Simon Binder e91df496c8
Update dependencies for app example 2023-03-05 22:15:16 +01:00
Simon Binder 5166e5d294
Add rowid parameter to companions 2023-02-19 13:46:58 +01:00
Simon Binder d30d2a1212
Add backup/restore functionality to example app 2023-02-08 00:35:55 +01:00
Simon Binder 0d354b3bec
Deprecate special connect constructor 2023-01-28 16:53:35 +01:00
Simon Binder b1f2ea45d5
FIx recent deprecation warnings 2023-01-26 16:56:16 +01:00
Alexander Wilde 91495e6f8d Rebuild 2022-12-31 03:33:54 +00:00
Alexander Wilde 32c34b511a Fix DriftSqlType.deserialize for double, dateTime and any 2022-12-22 02:08:04 +00:00
Simon Binder 18c6139eb3
Exchange dialect information for remote database 2022-12-18 22:02:49 +01:00
Alexander Wilde 5a6f402d86 Run build 2022-12-01 04:43:27 +00:00
Simon Binder cd00c6899e
Add helper method to setup isolates more easily 2022-11-25 17:54:38 +01:00
Simon Binder 097f941f88
Add single-client mode for remote connections 2022-11-25 13:47:08 +01:00
Simon Binder 6512dc1cfc
Merge remote-tracking branch 'origin/develop' into modular-generation 2022-11-18 16:56:55 +01:00
Simon Binder 596a35b58e
Document basic analysis concept 2022-11-18 16:33:19 +01:00
Simon Binder b2bbcfae8a
Add `shutdownOnClose` to `connect()`
When only a single client connects to a drift server, the whole server
can be disposed when that client disconnects. This makes it easier to
clean up resources in the common case of having one client.

Closes #2157
2022-11-15 11:00:52 +01:00
Simon Binder d491db8599
Move dialect to SqlTypes constructor, re-generate 2022-11-07 15:53:16 +01:00
Abitofevrything 54b58948d3 Run melos run build 2022-11-05 20:35:24 +01:00
Abitofevrything 3ec04df46f Run melos run build 2022-10-29 14:36:50 +02:00
Simon Binder 28c90b6ffb
Always escape column names
This avoids the performance impact of using a regex in `escapeIfNeeded`.
Closes #2071.
2022-09-22 16:55:36 +02:00
Simon Binder 04c3dbf1b5
Fix triggers in example app 2022-08-31 11:58:25 +02:00
Simon Binder b9a605ed25
Allow async mappings from SQL to row classes
When existing, custom row classes are used, drift now supports using a
(potentially asynchronous) static method to load them instead of just
a named constructor like before.
Tables are also changed to support the `map` method being async for
cases where that is needed. The same applies to custom queries which
may have to be async now.
2022-08-12 22:55:02 +02:00
westito e65c4d15d0 Regenerate database files 2022-08-08 11:30:47 +02:00
Alexander Wilde 8fe2f24e56 Run tools/generate_all.sh 2022-07-21 18:00:03 +01:00
Simon Binder 3744fa0601
Merge branch 'develop' into refactor-type-system 2022-07-20 22:37:34 +02:00
Simon Binder a8c6031fc4
Add documentation comments, fix analysis warnings 2022-07-19 23:01:22 +02:00
Simon Binder 22d5f0a8ae
Fix tests 2022-07-19 22:55:08 +02:00
Simon Binder cf8d2618fa
First attempt to get it running again 2022-07-18 23:28:12 +02:00
Simon Binder a3109b4a6b
Fix query in example app 2022-07-12 17:52:04 +02:00
westito 02ad0e8250 Change integration tests' dialect to postgres 2022-06-30 19:04:55 +02:00
Simon Binder bfad77788e
Handle nullable converters for compiled queries 2022-06-28 22:34:11 +02:00
Alexander Wilde 345faa91c7 TypeConverter mapToDart -> fromSql, mapToSql -> toSql 2022-06-22 23:50:19 +01:00
Simon Binder 9e2e9c47be
Upgrade to latest `sqlite3` package in example app 2022-05-04 20:41:15 +02:00
Simon Binder 6a47e32afc
Link new cross-platform example in docs 2022-04-08 21:16:46 +02:00
Simon Binder 7c2d95fb30
Use experimental wasm backend in new example 2022-04-02 19:08:33 +02:00
Simon Binder 1a2406ddc1
Add new cross-platform Flutter example 2022-04-02 18:01:10 +02:00