Pekka Enberg
b984ddf98f
Turso 0.3.0-pre.4
2025-10-22 13:42:52 +03:00
Pekka Enberg
3020966fbd
Turso 0.3.0-pre.3
2025-10-17 11:08:36 +03:00
Pekka Enberg
e9c0fdcb4b
Turso 0.3.0-pre.2
2025-10-16 11:31:30 +03:00
Pekka Enberg
fb1042187b
Turso 0.3.0-pre.1
2025-10-10 19:25:58 +03:00
Nikita Sivukhin
17c99de34f
accept libsql:// urls generated by the platform
2025-10-03 14:19:36 +04:00
Pekka Enberg
7905841990
Turso 0.2.0
2025-10-03 12:20:42 +03:00
Pekka Enberg
3b1d2535de
Turso 0.2.0-pre.15
2025-10-03 11:29:43 +03:00
Nikita Sivukhin
9a82a9509f
fix sync-engine bug when auth token is provided as dynamic function
2025-10-03 10:50:54 +04:00
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
649fddedf6
remove unnecessary clone
2025-10-02 17:31:30 +04: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
Nikita Sivukhin
64389447e3
support defered sync in the bindings core
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
3c0b04b530
fix clippy
2025-09-25 12:08:10 +04:00
Nikita Sivukhin
ddfa77997d
adjust sync package napi-rs code
2025-09-25 10:54:50 +04: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
cfc8728774
fix clippy
2025-09-19 14:15:04 +04:00
Nikita Sivukhin
7049f3ddae
fix clock implementation for OPFS IO
2025-09-19 13:21:00 +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
83303b8c5b
properly guard access to the sync engine with locks
2025-09-19 13:19:30 +04:00
Nikita Sivukhin
acc536d542
use global opfs IO in the sync
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
pedrocarlo
3c91ae206b
move as many dependencies as possible to workspace to avoid multiple versions of the same dependency
2025-09-15 17:19:36 -03: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
527d0cb1f3
expose revision in the stats method
2025-09-15 10:56:13 +04:00