Pekka Enberg
fb7714a17a
Turso 0.1.1-pre.2
2025-06-30 22:19:35 +03:00
Pekka Enberg
228d13a77d
github: Publish JavaScript packages only on tag
2025-06-30 22:19:16 +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
f9bce6875a
Update README.md
2025-06-30 21:30:24 +03:00
Pekka Enberg
2b22ccb264
Merge 'simulator: FsyncNoWait + Faulty Query' from Pedro Muniz
...
This PR introduces the `FsyncNoWait` property and `FaultyQuery`
property.
`FsyncNoWait` does the following:
- Executes a query
- Does not wait for fsync
- Reopens and closes the connections and database
- executes the query again waiting for all io
- asserts that both queries went through and that all values in table
are as expected
`FaultyQuery` does the following:
- Tries to execute a query
- Asks IO to inject a fault eventually
- asserts that all values in table are as expected
With these changes, I am detecting problems in both Properties. In
`FsyncNoWait`, I am getting assertion errors,
but in `FaultyQuery` I am consistently hitting hangs.
Closes #1871
2025-06-30 20:22:16 +03:00
Pekka Enberg
f7f62babe5
Turso 0.1.0
2025-06-30 20:15:28 +03:00
Pekka Enberg
3245ae9cfe
Update CHANGELOG.md
2025-06-30 20:15:19 +03:00
pedrocarlo
251926cd79
leave io faults and fsync query disabled by default
2025-06-30 12:36:26 -03:00
Pekka Enberg
6672334eaa
Turso 0.1.0-pre.5
2025-06-30 17:44:21 +03:00
Pekka Enberg
8a13e4b02f
Merge 'core: Disable ROLLBACK statement' from Pekka Enberg
...
There's bad interaction with schema changes and `ROLLBACK`:
https://github.com/tursodatabase/turso/issues/1890
Disable the statement for now to avoid people hitting the issue.
Reviewed-by: Pere Diaz Bou <pere-altea@homail.com >
Closes #1902
2025-06-30 17:44:10 +03:00
Pekka Enberg
2542cb2d03
core: Disable ROLLBACK statement
...
There's bad interaction with schema changes and `ROLLBACK`:
https://github.com/tursodatabase/turso/issues/1890
Disable the statement for now to avoid people hitting the issue.
2025-06-30 17:30:01 +03:00
Pekka Enberg
cc935f97cc
Merge 'tests/integration: Fix write path test on Windows' from Pekka Enberg
...
Closes #1901
2025-06-30 14:47:31 +03:00
Pekka Enberg
36a7f76708
tests/integration: Fix write path test on Windows
...
The read_at() and write_at() APIs are UNIX specific.
2025-06-30 14:38:54 +03:00
Pekka Enberg
f9967f809a
tests/integration: s/limbo_core/turso_core/g
2025-06-30 14:00:55 +03:00
Pekka Enberg
51edab7032
Merge 'WAL record db_size frame on commit last frame' from Pere Diaz Bou
...
`db_size` is `>0` in case of last frame written of a transaction. This
is necessary as we need to know -- while recovering wal contents -- that
we have read a transaction fully instead of treating every frame as its
own transaction.
Closes #1866
2025-06-30 13:46:40 +03:00
Pere Diaz Bou
ec6e39f426
test wal mismtach checksum
2025-06-30 12:24:58 +02:00
Pekka Enberg
26888273ef
Merge 'bindings/rust: Add feature flag to enable indexes' from Pekka Enberg
...
Closes #1898
2025-06-30 13:11:14 +03:00
Pekka Enberg
a84a755cf7
bindings/rust: Add feature flag to enable indexes
2025-06-30 12:36:20 +03:00
Pekka Enberg
b87ce6d178
Merge 'Fix deleting previous rowid when rowid is in the Set Clause' from Pedro Muniz
...
Closes #1888 . This PR fixes UPDATE translation by not emitting an
ephemeral plan when we are doing a `RowIdEq` search. Also, we should
delete the previous rowid when the rowid is in the set clause.
Reviewed-by: Jussi Saurio <jussi.saurio@gmail.com >
Closes #1891
2025-06-30 11:58:05 +03:00
Pekka Enberg
4bdd42ef84
Turso 0.1.0-pre.4
2025-06-30 11:38:56 +03:00
Pekka Enberg
cc14f83feb
bindings/javascript: Regenerate yarn.lock
2025-06-30 11:25:24 +03:00
Pekka Enberg
9c1b7897ac
Fix URLs to point to github.com/tursodatabase/turso
2025-06-30 11:23:53 +03:00
Pere Diaz Bou
081f09ce20
fix read wal max frame
2025-06-30 10:16:44 +02:00
Pekka Enberg
e514a02478
Turso 0.1.0-pre.3
2025-06-30 10:59:55 +03:00
Pekka Enberg
9c5ee9fec1
scripts/publish-crates.sh: s/limbo/turso/
2025-06-30 10:59:25 +03:00
Pekka Enberg
62b1b0aa95
Merge 'Eliminate core extension dependencies' from Pekka Enberg
...
Bundle UUID and time extensions and drop the dependency to other
extensions so that we don't have to publish every crate.
Reviewed-by: Preston Thorpe (@PThorpe92)
Closes #1886
2025-06-30 10:59:18 +03:00
Pekka Enberg
7d21d2fae4
Add limbo_ipaddr to Cargo workspace
...
Make sure we build the extension.
2025-06-30 10:46:26 +03:00
Pekka Enberg
60191e7c7b
Move series extension to core
...
It's part of upstream SQLite too.
2025-06-30 10:29:34 +03:00
Pekka Enberg
c3250b64a6
core: Make clippy happy
...
...I actually have no idea why Clippy complains now, but not in main.
2025-06-30 10:01:03 +03:00
Pekka Enberg
c9945950e8
core: Remove dependencies to extensions
...
We don't want to publish all extensions on crates.io, at least not for now.
2025-06-30 10:01:03 +03:00
Pekka Enberg
39fd84f297
Move time extension to core
2025-06-30 10:01:03 +03:00
Pekka Enberg
12131babae
Move UUID extension to core
...
We want to bundle the UUID extension by default so move the code to core.
2025-06-30 09:54:13 +03:00
pedrocarlo
7e0225b1af
add some comments
2025-06-29 17:37:46 -03:00
pedrocarlo
ae569fbd7d
add test
2025-06-29 17:13:53 -03:00
pedrocarlo
738e2cc06c
do not emit ephemeral plan when doing a SeekRowId + emit Delete instruction when rowid in set clause
2025-06-29 17:12:24 -03:00
pedrocarlo
4a32f83bd0
add cli option to disable faulty query
2025-06-29 15:56:03 -03:00
pedrocarlo
119c537334
add FaultyQuery Property to inject fault in a query and then assert that it did not modify the database
2025-06-29 15:54:27 -03:00
pedrocarlo
b578f2249a
add FaultyQuery
2025-06-29 14:22:11 -03:00
pedrocarlo
ac34928d53
fix delete shadowing + build result rows from fsync query
2025-06-29 12:44:13 -03:00
pedrocarlo
fcabc18bbc
add description to property
2025-06-29 12:40:53 -03:00
pedrocarlo
2461b4eb46
fix shadowing and run a query after the fsync query to try to catch a problem with the WAL
2025-06-29 12:40:53 -03:00
pedrocarlo
684a23020d
add cli options to disable fsync property
2025-06-29 12:40:53 -03:00
pedrocarlo
0288f4aac6
introduce fsync interaction + property
2025-06-29 12:40:52 -03:00
pedrocarlo
f806d97d0f
keep track when fsync is called
2025-06-29 12:40:23 -03:00
Pekka Enberg
0e9ee4b856
Merge 'Move completion extension dependency to CLI' from Pekka Enberg
...
We never need it in core anyway.
Closes #1885
2025-06-29 13:42:19 +03:00
Pekka Enberg
d377f4c948
Move completion extension dependency to CLI
...
We never need it in core anyway.
2025-06-29 13:32:17 +03:00
Pekka Enberg
e4e9c28616
Merge 'Rename limbo crate to turso' from Pekka Enberg
...
Closes #1884
2025-06-29 13:20:36 +03:00
Pekka Enberg
592ad81c86
Rename limbo crate to turso
2025-06-29 13:07:57 +03:00