Pekka Enberg
6c7936a016
Turso 0.1.5-pre.2
2025-09-02 12:45:41 +03:00
Pekka Enberg
d959319b42
Merge 'Use u64 for file offsets in I/O and calculate such offsets in u64' from Preston Thorpe
...
Using `usize` to compute file offsets caps us at ~16GB on 32-bit
systems. For example, with 4 KiB pages we can only address up to 1048576
pages; attempting the next page overflows a 32-bit usize and can wrap
the write offset, corrupting data. Switching our I/O APIs and offset
math to u64 avoids this overflow on 32-bit targets
Closes #2791
2025-09-02 09:06:49 +03:00
Pekka Enberg
3c9dbfb09e
Turso 0.1.5-pre.1
2025-08-30 18:28:38 +03:00
PThorpe92
fb7e6fb280
Guard against all overflow when calculating IO offsets
2025-08-28 09:50:26 -04:00
PThorpe92
0a56d23402
Use u64 for file offsets in IO and calculate such offsets in u64
2025-08-28 09:44:00 -04:00
Nikita Sivukhin
b67f14c785
fix clippy
2025-08-27 15:57:38 +04:00
Nikita Sivukhin
6e124d927e
fix clippy
2025-08-27 15:51:29 +04:00
Nikita Sivukhin
009aa479bf
improve sync engine
2025-08-27 15:30:00 +04:00
Nikita Sivukhin
94ed92ca4e
fix compilation and clippy
2025-08-21 18:28:16 +04:00
Nikita Sivukhin
c34d884b6e
fix tests
2025-08-21 15:24:21 +04:00
Nikita Sivukhin
abe3404953
fix build
2025-08-21 15:15:23 +04:00
Pekka Enberg
494ce41d80
Turso 0.1.4
2025-08-20 10:35:35 +03:00
Pekka Enberg
d456db31db
Turso 0.1.4-pre.11
2025-08-20 09:32:10 +03:00
Pekka Enberg
8d7ab52471
Turso 0.1.4-pre.10
2025-08-19 19:32:47 +03:00
pedrocarlo
ab3b68e360
change completion callbacks to take a Result param + create separate functions to declare a completion errored
2025-08-19 10:48:21 -03:00
pedrocarlo
fadf78fe67
use a dedicated Error enum for Completion Error
2025-08-19 10:48:21 -03:00
Pekka Enberg
69e8f7fa31
Move sync engine to sync/engine
2025-08-18 15:41:54 +03:00
Pekka Enberg
13b805a992
Move @tursodatabase/sync code to sync/javascript
2025-08-18 14:23:20 +03:00