Pekka Enberg
845fc13d6e
bindings/javascript: Remove test suite
...
We have `testing/javascript` to test both the native bindings and
serverless driver, so let's use that instead.
2025-08-01 12:09:05 +03:00
Pekka Enberg
02db72cc2c
Implement JavaScript bindings with minimal Rust core
...
This rewrites the JavaScript bindings completely by exposing only
primitive operations from Rust NAPI-RS code. For example, there is
prepare(), bind(), and step(), but high level interfaces like all() and
get() are implemented in JavaScript.
We're doing this so that we can implement async interfaces in the
JavaScript layer instead of having to bring in Tokio.
2025-08-01 09:03:14 +03:00
Diego Reis
a35a490188
Force ava tests to run serially
2025-07-29 11:05:37 -03:00
Pekka Enberg
795081b868
binding/javascript: Promise API by default
...
The JavaScript API is promise-based by default, but with a `sync`
variant that tracks `better-sqlite3` API for compatibility.
2025-07-29 14:32:37 +03:00
Pekka Enberg
94dc780669
Turso 0.1.3
2025-07-29 12:37:18 +03:00
Pekka Enberg
2d2f416e2c
Revert "bindings/javascript: Add optional dependencies"
...
This reverts commit 9d7a77efde . It does
not work because the native packages don't yet exists at that point.
Let's fix the Github workflows instead.
2025-07-29 12:36:12 +03:00
Pekka Enberg
a4737f82bc
Turso 0.1.3-pre.10
2025-07-29 12:16:02 +03:00
Pekka Enberg
9d7a77efde
bindings/javascript: Add optional dependencies
2025-07-29 12:15:43 +03:00
Pekka Enberg
4f4d321822
Turso 0.1.3-pre.9
2025-07-29 10:58:09 +03:00
Pekka Enberg
ae91a4ab6b
bindings/javascript: Add index.js and sqlite3-error.js to package
...
...won't work without them...
2025-07-29 10:57:36 +03:00
Pekka Enberg
a254f0ecaa
Turso 0.1.3-pre.8
2025-07-29 10:13:30 +03:00
Pekka Enberg
04e7d45ac3
Turso 0.1.3-pre.7
2025-07-29 09:15:03 +03:00
Diego Reis
738dec0a72
Address PR's comments
...
https://github.com/tursodatabase/turso/pull/2307
2025-07-28 17:07:34 -03:00
Diego Reis
98bec9868b
Remove wasm binding
...
With napi v3 we can compile our javascript binding to wasm, which can
reduce a lot of maintenance overhead and complexity
2025-07-28 14:48:51 -03:00
Pekka Enberg
016c84ed7d
Turso 0.1.3-pre.6
2025-07-28 20:21:24 +03:00
Pekka Enberg
c7996652fe
Merge 'bindings/javascript: Switch to napi v3' from Diego Reis
...
Switch to napi [v3](https://napi.rs/blog/announce-v3 ).
With the exception of `Statement.iterate()`, the behavior is preserved.
I had to temporarily remove it because the trait `Generator` doesn't
supports the new lifetime scoped values, I already brought this issue in
napi's discord server and it should be fixed soon.
Closes #2262
2025-07-25 20:19:37 +03:00
Diego Reis
0f95cf7751
bind/js: Switch to napi v3
2025-07-25 11:45:57 -03:00
Pekka Enberg
76cf3444c6
Turso 0.1.3-pre.5
2025-07-25 13:24:33 +03:00
Pekka Enberg
5018f0b7cb
Turso 0.1.3-pre.4
2025-07-24 19:12:28 +03:00
Pekka Enberg
16958f1a44
Turso 0.1.3-pre.3
2025-07-19 08:44:22 +03:00
Pekka Enberg
b03b06107b
Turso 0.1.3-pre.2
2025-07-16 20:08:46 +03:00
Pekka Enberg
93634d56ba
Turso 0.1.3-pre.1
2025-07-16 13:16:57 +03:00
Pekka Enberg
b7db07cf2d
Turso 0.1.2
2025-07-15 11:01:25 +03:00
Pekka Enberg
03d170ca05
Turso 0.1.2-pre.4
2025-07-14 13:21:41 +03:00
Pekka Enberg
c454feeba4
Turso 0.1.2-pre.3
2025-07-13 12:55:02 +03:00
Pekka Enberg
474c1bff3b
Turso 0.1.2-pre.2
2025-07-10 10:10:52 +03:00
Pekka Enberg
943793a571
Turso 0.1.2-pre.1
2025-07-09 09:27:31 +03:00
Pekka Enberg
cf47097f45
Turso v0.1.2-pre.1
2025-07-09 09:27:25 +03:00
Mikaël Francoeur
50d542b719
expose wrapper and use default import
2025-07-03 15:19:03 -04:00
Pekka Enberg
f75034c8e0
Turso 0.1.1
2025-06-30 23:58:04 +03:00
Pekka Enberg
fb7714a17a
Turso 0.1.1-pre.2
2025-06-30 22:19:35 +03:00
Pekka Enberg
75b8362688
bindings/javascript: Don't do Github release
...
We do the release ourselves, don't ask napi-rs to do it.
Fixes the following error:
```
RequestError [HttpError]: Resource not accessible by integration - https://docs.github.com/rest/releases/releases#create-a-release
```
2025-06-30 22:15:13 +03:00
Pekka Enberg
c92748fc20
Turso 0.1.1-pre.1
2025-06-30 21:52:00 +03:00
Pekka Enberg
df193cd59d
bindings/javascript: Add prepublish step
...
...hopefully sorts the missing native package problem.
2025-06-30 21:51:38 +03:00
Pekka Enberg
f7f62babe5
Turso 0.1.0
2025-06-30 20:15:28 +03:00
Pekka Enberg
6672334eaa
Turso 0.1.0-pre.5
2025-06-30 17:44:21 +03:00
Pekka Enberg
4bdd42ef84
Turso 0.1.0-pre.4
2025-06-30 11:38:56 +03:00
Pekka Enberg
9c1b7897ac
Fix URLs to point to github.com/tursodatabase/turso
2025-06-30 11:23:53 +03:00
Pekka Enberg
e514a02478
Turso 0.1.0-pre.3
2025-06-30 10:59:55 +03:00
Pekka Enberg
d938ac47c3
Turso 0.1.0-pre.2
2025-06-27 16:02:09 +03:00
Pekka Enberg
09795ca512
Turso 0.1.0-pre.1
2025-06-27 12:56:22 +03:00
Pekka Enberg
568da9bff7
bindings/javascript: Rename package to @tursodatabase/turso
2025-06-27 12:14:16 +03:00
Pekka Enberg
e59c5185dd
Limbo 0.0.22
2025-06-19 10:40:29 +03:00
Pekka Enberg
627e7daa65
Limbo 0.0.22-pre.5
2025-06-19 09:49:24 +03:00
Pekka Enberg
27a164bd04
Limbo 0.0.22-pre.4
2025-06-18 14:58:54 +03:00
Pekka Enberg
111d9ad79f
Limbo 0.0.22-pre.3
2025-06-18 14:14:00 +03:00
Pekka Enberg
55b660210c
Limbo 0.0.22-pre.2
2025-06-18 08:45:39 +03:00
Pekka Enberg
12876227c3
Limbo 0.0.22-pre.1
2025-06-05 18:26:33 +03:00
Pekka Enberg
0ae46e815c
Limbo 0.0.21
2025-05-28 12:42:03 +03:00
Pekka Enberg
6b93c9acdc
Limbo 0.0.21-pre.2
2025-05-28 12:23:13 +03:00