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
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
1a4d334e47
fix clippy and remove old action yaml
2025-09-11 00:03:01 +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