Commit graph

1211 commits

Author SHA1 Message Date
Pekka Enberg
b0400a3ed6 Turso 0.4.0-pre.12
Some checks are pending
Build & publish @tursodatabase/database / db-bindings-x86_64-pc-windows-msvc - node@20 (push) Waiting to run
Build & publish @tursodatabase/database / db-bindings-x86_64-unknown-linux-gnu - node@20 (push) Waiting to run
Build & publish @tursodatabase/database / sync-bindings-aarch64-apple-darwin - node@20 (push) Waiting to run
Build & publish @tursodatabase/database / sync-bindings-aarch64-unknown-linux-gnu - node@20 (push) Waiting to run
Build & publish @tursodatabase/database / sync-bindings-wasm32-wasip1-threads - node@20 (push) Waiting to run
Build & publish @tursodatabase/database / sync-bindings-x86_64-pc-windows-msvc - node@20 (push) Waiting to run
Build & publish @tursodatabase/database / sync-bindings-x86_64-unknown-linux-gnu - node@20 (push) Waiting to run
Build & publish @tursodatabase/database / Test DB bindings on Linux-x64-gnu - node@20 (push) Blocked by required conditions
Build & publish @tursodatabase/database / Test DB bindings on browser@20 (push) Blocked by required conditions
Build & publish @tursodatabase/database / Publish (push) Blocked by required conditions
Python / configure-strategy (push) Waiting to run
Python / test (push) Blocked by required conditions
Python / lint (push) Waiting to run
Python / linux (x86_64) (push) Waiting to run
Python / macos-arm64 (aarch64) (push) Waiting to run
Python / sdist (push) Waiting to run
Python / Release (push) Blocked by required conditions
Rust / cargo-fmt-check (push) Waiting to run
Rust / build-native (blacksmith-4vcpu-ubuntu-2404) (push) Waiting to run
Rust / build-native (macos-latest) (push) Waiting to run
Rust / build-native (windows-latest) (push) Waiting to run
Rust / clippy (push) Waiting to run
Rust / simulator (push) Waiting to run
Rust / test-limbo (push) Waiting to run
Rust / test-sqlite (push) Waiting to run
Rust Benchmarks+Nyrkiö / bench (push) Waiting to run
Rust Benchmarks+Nyrkiö / clickbench (push) Waiting to run
Rust Benchmarks+Nyrkiö / tpc-h-criterion (push) Waiting to run
Rust Benchmarks+Nyrkiö / tpc-h (push) Waiting to run
Rust Benchmarks+Nyrkiö / vfs-bench-compile (push) Waiting to run
2025-12-11 12:58:26 +02:00
Jussi Saurio
f4d06dea01
Merge 'support libsql:// protocol as a sync url in python driver' from Nikita Sivukhin
turso cloud generate urls with `libsql://` protocol by default

Reviewed-by: Jussi Saurio <jussi.saurio@gmail.com>
Reviewed-by: Pedro Muniz (@pedrocarlo)

Closes #4159
2025-12-10 19:04:37 +02:00
Jussi Saurio
ac1b0b056d
Merge 'Rust binding add prepare to transaction' from Dave Warnock
This significantly simplifies using the Rust binding (and adds a more
complete example).
By adding prepare to Transaction (that just passes it onto the
Transactions connection) we can write simpler application code that is
passed a transaction. This allows multiple database update methods to be
flexibly grouped into transactions, even when they use prepared
statements.

Reviewed-by: Jussi Saurio <jussi.saurio@gmail.com>

Closes #4113
2025-12-10 19:03:50 +02:00
Pekka Enberg
a0123f62e5 Turso 0.4.0-pre.11 2025-12-10 16:14:58 +02:00
Nikita Sivukhin
0a5715e70e uvx ruff check --fix 2025-12-10 17:58:49 +04:00
Nikita Sivukhin
337e3247d4 support libsql:// protocol as a sync url in python driver 2025-12-10 17:50:24 +04:00
Pekka Enberg
1ce09b26ea Turso 0.4.0-pre.10 2025-12-10 15:09:56 +02:00
Dave Warnock
f3f8fe9b97 Added transaction.prepare test
This should check that ypou can call prepare on a transaction, execute,
commit and read back
2025-12-09 23:50:09 +00:00
Dave Warnock
9718c1f876
Merge branch 'tursodatabase:main' into Rust-Binding-add-prepare-to-transaction 2025-12-09 22:28:22 +00:00
Pekka Enberg
01fc636da4 Turso 0.4.0-pre.9 2025-12-09 14:55:30 +02:00
Pekka Enberg
d2e26f944c Turso 0.4.0-pre.8 2025-12-09 14:39:23 +02:00
Nikita Sivukhin
aac3a699ce fix partial sync config after rebase 2025-12-09 16:01:12 +04:00
Nikita Sivukhin
c1ca743503 adjust test 2025-12-09 15:42:29 +04:00
Nikita Sivukhin
731b9c1ec9 reformat and adjust test 2025-12-09 15:42:29 +04:00
Nikita Sivukhin
222fd8f98a update README 2025-12-09 15:42:29 +04:00
Nikita Sivukhin
82fd3d0c2c adjust tests 2025-12-09 15:42:29 +04:00
Nikita Sivukhin
4c5dfbaefe format fixes 2025-12-09 15:42:29 +04:00
Nikita Sivukhin
4e910976d8 adjust tests 2025-12-09 15:42:29 +04:00
Nikita Sivukhin
9be21e259a wip 2025-12-09 15:42:29 +04:00
Nikita Sivukhin
a6454c8680 vibe coding aio python driver 2025-12-09 15:42:29 +04:00
Nikita Sivukhin
15fdd68892 format 2025-12-09 14:58:44 +04:00
Nikita Sivukhin
17d433afaf add concurrency test 2025-12-09 14:50:01 +04:00
Nikita Sivukhin
617aa2d713 add comments 2025-12-09 14:41:56 +04:00
Nikita Sivukhin
f513f66f20 cargo clippy --fix 2025-12-09 14:20:32 +04:00
Nikita Sivukhin
a9cc86954b fix python bindings 2025-12-09 14:12:18 +04:00
Nikita Sivukhin
82b677f7d0 fix test 2025-12-09 14:10:15 +04:00
Nikita Sivukhin
dca6d0e05c fix bindings 2025-12-09 13:14:25 +04:00
Jussi Saurio
826ca4d44d chore: remove experimental_indexes feature flags 2025-12-08 13:00:37 +02:00
Dave Warnock
aa55cba1db Improve Transaction.prepare
Moved to clearer position, improved comment.
2025-12-05 21:56:25 +00:00
Dave Warnock
f4c1d350c3
Merge branch 'tursodatabase:main' into More-rusqlite-style-example 2025-12-05 19:22:00 +00:00
Jussi Saurio
58a25f7f5f
Merge 'Turso sdk kit version' from Nikita Sivukhin
This PR adds simple `turso_version()` function to the sdk-kit crate

Closes #4099
2025-12-05 17:27:28 +02:00
Jussi Saurio
74296e52bb
Merge 'Automatically Propagate Encryption options' from Pedro Muniz
On database open, we store the Encryption Options and pass them onwards
to the Connection, Pager and Wal. We also have slight gain in
ergonomics, as we don't have set the Pragma's for the `cipher` and
`hexkey` on each new `Connection`.
I needed this logic, because I will need to initialize a Default Header
for empty DBs and encryption opts not being automatically propagated was
hindering me for this.
**Ai Disclosure**
Claude helped me debug and find out issues in my implementation
cc @avinassh

Reviewed-by: Avinash Sajjanshetty (@avinassh)

Closes #4100
2025-12-05 15:31:17 +02:00
pedrocarlo
a311c966a2 set encryption context for page and wal in init_pager 2025-12-05 02:04:06 -03:00
pedrocarlo
889322f6b5 do not call pragmas related to encryption on connect or open 2025-12-05 02:04:06 -03:00
Nikita Sivukhin
420037b82c use sdk-kit version in the pythod driver (just for consistency) 2025-12-04 23:27:35 +04:00
Dave Warnock
c13b87e207
Merge branch 'tursodatabase:main' into More-rusqlite-style-example 2025-12-03 22:42:50 +00:00
Nikita Sivukhin
510a61b5eb Merge branch 'main' into sync-sdk-kit 2025-12-03 21:16:15 +04:00
Pekka Enberg
2e3161942e Turso 0.4.0-pre.7 2025-12-03 10:47:06 +02:00
Pekka Enberg
0352247783 Turso 0.4.0-pre.6 2025-12-03 10:05:01 +02:00
Pekka Enberg
34964680ca Turso 0.4.0-pre.5
Some checks are pending
Rust Benchmarks+Nyrkiö / tpc-h-criterion (push) Waiting to run
Build & publish @tursodatabase/database / db-bindings-x86_64-pc-windows-msvc - node@20 (push) Waiting to run
Build & publish @tursodatabase/database / db-bindings-x86_64-unknown-linux-gnu - node@20 (push) Waiting to run
Build & publish @tursodatabase/database / sync-bindings-aarch64-apple-darwin - node@20 (push) Waiting to run
Build & publish @tursodatabase/database / sync-bindings-aarch64-unknown-linux-gnu - node@20 (push) Waiting to run
Build & publish @tursodatabase/database / sync-bindings-wasm32-wasip1-threads - node@20 (push) Waiting to run
Build & publish @tursodatabase/database / sync-bindings-x86_64-pc-windows-msvc - node@20 (push) Waiting to run
Build & publish @tursodatabase/database / sync-bindings-x86_64-unknown-linux-gnu - node@20 (push) Waiting to run
Build & publish @tursodatabase/database / Test DB bindings on Linux-x64-gnu - node@20 (push) Blocked by required conditions
Build & publish @tursodatabase/database / Test DB bindings on browser@20 (push) Blocked by required conditions
Build & publish @tursodatabase/database / Publish (push) Blocked by required conditions
Python / configure-strategy (push) Waiting to run
Python / test (push) Blocked by required conditions
Python / lint (push) Waiting to run
Python / linux (x86_64) (push) Waiting to run
Python / macos-arm64 (aarch64) (push) Waiting to run
Python / sdist (push) Waiting to run
Python / Release (push) Blocked by required conditions
Rust / cargo-fmt-check (push) Waiting to run
Rust / build-native (blacksmith-4vcpu-ubuntu-2404) (push) Waiting to run
Rust / build-native (macos-latest) (push) Waiting to run
Rust / build-native (windows-latest) (push) Waiting to run
Rust / clippy (push) Waiting to run
Rust / simulator (push) Waiting to run
Rust / test-limbo (push) Waiting to run
Rust / test-sqlite (push) Waiting to run
Rust Benchmarks+Nyrkiö / bench (push) Waiting to run
Rust Benchmarks+Nyrkiö / clickbench (push) Waiting to run
Rust Benchmarks+Nyrkiö / tpc-h (push) Waiting to run
Rust Benchmarks+Nyrkiö / vfs-bench-compile (push) Waiting to run
2025-12-03 09:39:38 +02:00
Nikita Sivukhin
7dd50abf2a format and restructure for sync package 2025-12-02 18:32:32 +04:00
Nikita Sivukhin
6e30a3ce90 cargo fmt 2025-12-02 18:18:14 +04:00
Nikita Sivukhin
201f3a55f6 fix clippy 2025-12-02 18:16:57 +04:00
Nikita Sivukhin
5bb5bae01c Merge branch 'main' into sync-sdk-kit 2025-12-02 17:28:06 +04:00
Nikita Sivukhin
74d6e7d3a8 prompt fix just for the sake of consistency 2025-12-02 17:21:57 +04:00
Nikita Sivukhin
ae603000e1 implement simple turso-sync bindings for python 2025-12-02 17:18:46 +04:00
Nikita Sivukhin
8df7f7e416 adjust python bindings 2025-12-02 16:03:06 +04:00
Nikita Sivukhin
4d1c52a02f add extra_io parameter to the main python driver 2025-12-02 11:03:42 +04:00
Dave Warnock
7462d71a52
Merge branch 'tursodatabase:main' into More-rusqlite-style-example 2025-12-01 23:47:47 +00:00
Nikita Sivukhin
52f492b93d slightly adjust database sdk-kit 2025-12-01 22:55:15 +04:00