Pekka Enberg
78e3311c3b
Merge 'Sync engine defered sync' from Nikita Sivukhin
...
This PR makes sync client completely autonomous as now it can defer
initial sync.
This can open possibility to asynchronously create DB in the Turso Cloud
while giving user ability to interact with local DB straight away.
Closes #3531
2025-10-02 17:25:11 +03:00
Nikita Sivukhin
cff23c80cb
fix wasm client
2025-10-02 16:56:54 +04:00
Nikita Sivukhin
39bf35abe9
adjust native sync client
2025-10-02 16:51:08 +04:00
Nikita Sivukhin
863e3fe94e
make url parameter to accept either string or function
2025-10-02 16:17:36 +04:00
Pekka Enberg
a44f965a45
Turso 0.2.0-pre.14
2025-10-02 14:29:22 +03:00
Pekka Enberg
4666544ea6
Turso 0.2.0-pre.13
2025-10-01 16:40:53 +03:00
Pekka Enberg
4d77786b53
Merge 'Beta' from Pekka Enberg
...
Reviewed-by: Glauber Costa <glommer@gmail.com >
Closes #3484
2025-10-01 15:23:28 +03:00
Nikita Sivukhin
109b3c0609
fix sync package
2025-10-01 11:08:42 +04:00
Pekka Enberg
16540724aa
Beta
2025-10-01 07:18:25 +03:00
Nikita Sivukhin
18e8c037e9
fix tests
2025-09-30 20:45:00 +04:00
Pekka Enberg
b0d27c90aa
Turso 0.2.0-pre.11
2025-09-29 18:11:59 +03:00
Pekka Enberg
57c279e2b0
javascript: Rename "browser" packages to "wasm"
2025-09-29 17:02:34 +03:00
Pekka Enberg
2f38d2ef04
Turso 0.2.0-pre.10
2025-09-27 16:52:35 +03:00
Preston Thorpe
ddbedecace
Merge 'fix encryption config in the sync-client' from Nikita Sivukhin
...
Reviewed-by: Jussi Saurio <jussi.saurio@gmail.com >
Closes #3379
2025-09-26 19:01:27 -04:00
Pekka Enberg
222ab125c1
Turso 0.2.0-pre.9
2025-09-26 19:00:14 +03:00
Nikita Sivukhin
fe4bfb7c88
fix encryption config in the sync-client
2025-09-26 19:29:37 +04:00
Pekka Enberg
f8130d051f
Merge 'Fix JavaScript bindings' from Nikita Sivukhin
...
This PR makes all JS db packages to have uniform interface: `new
Database(...)` constructor with explicit `connect()` and `close()`
methods.
Also, this PR adds docstrings in the code and properly support few
better-sqlite options (readonly, fileMustExist, timeout)
Closes #3334
2025-09-25 17:24:03 +03:00
Nikita Sivukhin
d08bcb6a17
adjust sync package
2025-09-25 10:52:05 +04:00
Nikita Sivukhin
afbfa98a8d
adjust sync native package
2025-09-24 18:43:50 +04:00
Pekka Enberg
f72600431b
Turso 0.2.0-pre.8
2025-09-24 09:08:34 +03:00
Pekka Enberg
f6e3beda45
Turso 0.2.0-pre.7
2025-09-22 20:44:08 +03:00
Pekka Enberg
26f90257a6
Turso 0.2.0-pre.6
2025-09-22 11:44:21 +03:00
Pekka Enberg
f4b0fb17f7
Turso 0.2.0-pre.5
2025-09-22 11:34:22 +03:00
Pekka Enberg
fbad158213
Turso 0.2.0-pre.4
2025-09-22 09:15:55 +03:00
Nikita Sivukhin
c24e5219d2
remove log file
2025-09-19 14:24:42 +04:00
Nikita Sivukhin
1d3c823c7b
wip
2025-09-19 13:19:30 +04:00
Nikita Sivukhin
66de28d84b
wip
2025-09-19 13:19:30 +04:00
Nikita Sivukhin
e68b642f4f
set longPollTimeoutMs from js bindings
2025-09-19 13:19:30 +04:00
Nikita Sivukhin
974feac27b
move compute to the main thread for browser and node
...
- now, most of the work is happening on the main thread
- for database in browser, we still have dedicated WebWorker - but it is used only for OPFS access and only for that
- for syn in browser we still offload sync operations to the WebWorker
2025-09-19 13:19:30 +04:00
Nikita Sivukhin
9b5656d4dc
fix stats method
2025-09-15 11:05:49 +04:00
Nikita Sivukhin
23e8204bfc
yarn build
2025-09-15 10:57:03 +04:00
Nikita Sivukhin
e8b076ebe5
export SyncEngineStats type
2025-09-15 10:56:44 +04:00
Nikita Sivukhin
aa65c910bf
fix sync-browser bug and add more tests
2025-09-15 10:55:01 +04:00
Pekka Enberg
5df05e05f8
Turso 0.2.0-pre.3
2025-09-12 18:40:06 +03:00
Pekka Enberg
2651b597c6
Turso 0.2.0-pre.2
2025-09-12 17:38:30 +03:00
Jussi Saurio
b5f3da100b
Merge 'fix CI for apple builds' from Nikita Sivukhin
...
Intel MAC builds were removed in https://github.com/tursodatabase/turso/
commit/3547bd10931e030a372bedb4968404301c2936c6 but arm builds were
broken after that.
This PR returns back proper ARM builds for Apple
Reviewed-by: Jussi Saurio <jussi.saurio@gmail.com >
Closes #3054
2025-09-12 16:19:05 +03:00
Nikita Sivukhin
ab6c1bd8c7
use arm target for apply builds
2025-09-12 16:50:02 +04:00
Nikita Sivukhin
4e54f9042c
newlines
2025-09-12 16:25:39 +04:00
Nikita Sivukhin
a5fbcb11e5
fix CI
2025-09-12 15:39:38 +04:00
Nikita Sivukhin
8c48a1dc47
bundle browser packages too in order to easily consume them without bundlers
2025-09-12 15:27:40 +04:00
Nikita Sivukhin
b086cba669
hack imports of wasm due to the issues in Vite and Next.js build systems
2025-09-12 14:03:31 +04:00
Pekka Enberg
ae3c1fc2a6
Turso 0.2.0-pre.1
2025-09-11 11:44:42 +03:00
Nikita Sivukhin
d54c271890
add explicit dependency
2025-09-11 00:17:58 +04:00
Nikita Sivukhin
9e9d5f56de
yarn install
2025-09-10 23:03:17 +04:00
Nikita Sivukhin
0aa9d59438
rebuild
2025-09-10 22:48:37 +04:00
Nikita Sivukhin
d55026f84f
opfs for sync in one commit!
2025-09-10 22:35:57 +04:00