Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
109 commits
Select commit Hold shift + click to select a range
43049a7
Update SQLite amalgamation from 3.42.0 to 3.44.0
gorbak25 Aug 5, 2026
71cb2c9
Update CI workflows and Rust toolchain versions
gorbak25 Aug 5, 2026
da8e041
Add V2 metadata design doc and update README
gorbak25 Aug 5, 2026
42febce
Switch sqlite-rs-embedded submodule to superfly fork
gorbak25 Aug 5, 2026
0650844
Implement V2 clock table metadata format with dual-write support
gorbak25 Aug 5, 2026
9dda4af
Add V2 integration tests and update existing tests for dual-write mode
gorbak25 Aug 5, 2026
bda6b7f
Update C core and tests for V2 timestamp requirements
gorbak25 Aug 5, 2026
868ab6e
Add V2 timestamp requirements and cross-platform test fixes
gorbak25 Aug 5, 2026
0caa87b
WIP
gorbak25 Aug 5, 2026
6245ce2
Simplify alter v2
gorbak25 Aug 14, 2026
5834124
Fix utrig trigger name in teardown
gorbak25 Aug 14, 2026
b2aec8a
Remove crsqlite_automigrate
gorbak25 Aug 14, 2026
83f698a
Changelog
gorbak25 Aug 14, 2026
38090cc
hash stability tests
gorbak25 Aug 14, 2026
efb233b
Pack seq+col_versions as varints vector instead of text vector
gorbak25 Aug 14, 2026
d0a8bf3
Declarative configuration of table options. Skip hash mode for single…
gorbak25 Aug 14, 2026
dbc15e9
Simplify
gorbak25 Aug 15, 2026
28f8daa
Prepare statements ahead of time
gorbak25 Aug 24, 2026
adfa19b
Cache statements in select * from crsqlite-changes
gorbak25 Aug 24, 2026
6758590
Simplify
gorbak25 Aug 24, 2026
8a4dd4b
Simplify
gorbak25 Aug 25, 2026
b65e7f5
Recreate triggers on version changes, simplify local_writes dispatch
gorbak25 Aug 25, 2026
5b6d218
Go over the local writes codepath
gorbak25 Aug 25, 2026
1239a69
A
gorbak25 Aug 25, 2026
f5ed159
Specify new insert of replace behaviour
gorbak25 Aug 25, 2026
4bd2a25
a
gorbak25 Aug 25, 2026
5fd293b
b
gorbak25 Aug 25, 2026
eae1899
nits
gorbak25 Aug 25, 2026
6f68272
fix insert trigger under schema alteration
gorbak25 Aug 25, 2026
db9280e
remove unused pks_update_cl statement
gorbak25 Aug 25, 2026
b9f4fd7
fixes
gorbak25 Aug 25, 2026
9d57845
Use separate v2 update statement
gorbak25 Aug 25, 2026
56f3a40
clarity
gorbak25 Aug 25, 2026
9948aa7
Use helpers for crsql_master
gorbak25 Aug 25, 2026
46decc9
Mode detection fixes
gorbak25 Aug 25, 2026
2a07806
as_crr nits
gorbak25 Aug 25, 2026
8b0df6e
migration counter
gorbak25 Aug 26, 2026
c6c6183
Better error messages on invalid config transitions
gorbak25 Aug 26, 2026
2d30ad8
tweaks
gorbak25 Aug 26, 2026
cfdd73d
Migration fixes
gorbak25 Aug 26, 2026
b70c7b5
Opt migration
gorbak25 Aug 26, 2026
bdccfd7
opt
gorbak25 Aug 26, 2026
d8c90c8
migration opt
gorbak25 Aug 26, 2026
47cc11b
Dont requeue migration after its done
gorbak25 Aug 26, 2026
49f59d5
Final opt tweaks, vdbe looks optimal now
gorbak25 Aug 27, 2026
bfff506
count fix
gorbak25 Aug 27, 2026
4db19de
Fix config loading, better name the migration keys
gorbak25 Aug 27, 2026
8b304a1
OOB data integrity script
gorbak25 Aug 27, 2026
9d69094
Fix and document layout autodetection semantics
gorbak25 Aug 27, 2026
04f35db
Implicit rowids are unstable - disable rowid opt for them
gorbak25 Aug 27, 2026
2f3aea0
Consider clock count per row in the check script. Backfill V1 script
gorbak25 Sep 1, 2026
7e1a99a
toml fix
gorbak25 Sep 1, 2026
a5c740a
ipv6
gorbak25 Sep 1, 2026
c9b37e1
b
gorbak25 Sep 1, 2026
ac2dca3
Create -1 sentinel for pk only tables when receiving foreign changes
gorbak25 Sep 1, 2026
237ca78
Make seeded databases a first class feature
gorbak25 Sep 1, 2026
28b5653
Backfill untracked v1 rows during migration
gorbak25 Sep 1, 2026
a0f7eed
PK changed detection should consider PK order due to tombstones being…
gorbak25 Sep 2, 2026
7c93a8e
right other for columns, set site_id after_update
somtochiama Aug 31, 2026
94c3683
make base_delete_row_id option
somtochiama Aug 31, 2026
6017604
rollback on error
somtochiama Aug 27, 2026
7a85ff9
Improve error messages on create_crr failures
somtochiama Aug 27, 2026
164677c
Update in-memory table infos after `metadata-write-version` is updated.
somtochiama Aug 28, 2026
1740ca4
use cid from col_map instead of pks index
somtochiama Aug 31, 2026
1df22f7
fix
gorbak25 Sep 2, 2026
dce78e6
add per-connection default-ts option
somtochiama Aug 28, 2026
d95c4c5
Fix varint encoding
gorbak25 Sep 3, 2026
27ec773
Fix crash on empty schema directives
gorbak25 Sep 3, 2026
a272f5e
Properly pass down constrains in v2wire mode
gorbak25 Sep 3, 2026
43d52e1
Don't migrate clock entries when the sentinel already exists
gorbak25 Sep 3, 2026
fc7eacb
Tests for alter table + constrain passdown
gorbak25 Sep 3, 2026
899e0a3
Fix crashes on malformed changes
gorbak25 Sep 7, 2026
7dfe676
Fix sql escaping
gorbak25 Sep 7, 2026
bbb9100
Fix OOB drop table semantics
gorbak25 Sep 7, 2026
2f30fbc
Fix explicit skip_hash flag
gorbak25 Sep 7, 2026
4b2c39e
More tests
gorbak25 Sep 7, 2026
f6df943
Align design doc with actual implementation
gorbak25 Sep 7, 2026
0c49f4a
Keep col_id map cached on tableinfo
gorbak25 Sep 7, 2026
6a23f4e
Prevent desync in v2wire mode under v1wire peers
gorbak25 Sep 7, 2026
6cc7d27
CI
gorbak25 Sep 7, 2026
5570e2e
Align doc with more or less final implementation
gorbak25 Sep 8, 2026
ead31dd
Fix column order in some queries, make tests stricter
gorbak25 Sep 9, 2026
1b9c08f
Lot of fixes
gorbak25 Sep 9, 2026
177f27f
Minor fixes
gorbak25 Sep 9, 2026
e9deed6
Another round of fixes
gorbak25 Sep 9, 2026
3cc546b
More fixes
gorbak25 Sep 9, 2026
0423529
More fixes
gorbak25 Sep 9, 2026
1113b6f
Even more fixes
gorbak25 Sep 9, 2026
6f48592
Support metadata queries on crsql_changes in v2wire mode
gorbak25 Sep 11, 2026
5c55276
Another agent sweep
gorbak25 Sep 12, 2026
8e7c195
Properly persist config changes
gorbak25 Sep 14, 2026
7c15c4d
nits
gorbak25 Sep 14, 2026
374c268
Fix typing for the strict tables
gorbak25 Sep 15, 2026
c1d2c85
test
gorbak25 Sep 15, 2026
de4e2dc
Incrementally mirror v2 clock tables to v1 in dual write mode
gorbak25 Sep 16, 2026
46fec93
Ensure config is up to date before doing anything
gorbak25 Sep 22, 2026
0b9f944
Defensively initialize missing tableinfo
gorbak25 Sep 22, 2026
c3064c8
Defensively initialize missing tableinfo 2
gorbak25 Sep 22, 2026
dff21b8
SQLITE_SCHEMA handling
gorbak25 Sep 22, 2026
6a0f8d6
Refresh config on tiestamp set calls
gorbak25 Sep 22, 2026
04648ac
Clarify NULL col_version in v2 wire mode
gorbak25 Sep 28, 2026
101d823
Avoid swallowing errors
gorbak25 Oct 1, 2026
d067f72
Debug callback
gorbak25 Oct 7, 2026
2d43e75
Comprehensive debug logs
gorbak25 Oct 7, 2026
13579e9
Persist pending db_version via transaction guard vtab xSync
gorbak25 Oct 11, 2026
c72f239
Refresh V2 config with shared cache
gorbak25 Oct 13, 2026
005ffa2
Make tableinfo + db_version handling more consistent
gorbak25 Oct 14, 2026
b6501fb
More aggresive debug logs
gorbak25 Oct 14, 2026
7b618ec
Invalidate v1 cl cache on v2 -> v1 mirror
gorbak25 Oct 14, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/c-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:
if: runner.os == 'Windows'
run: |
rm core/rs/integration_check/rust-toolchain.toml
rustup component add rust-src --toolchain nightly-2023-10-05-x86_64-pc-windows-gnu
rustup default nightly-2023-10-05-x86_64-pc-windows-gnu
rustup component add rust-src --toolchain nightly-2026-02-01-x86_64-pc-windows-gnu
rustup default nightly-2026-02-01-x86_64-pc-windows-gnu

- name: Test
run: |
Expand Down
28 changes: 14 additions & 14 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ jobs:

- name: Rust Nightly
run: |
rustup toolchain install nightly-2023-10-05
rustup target add aarch64-apple-darwin --toolchain nightly-2023-10-05
rustup toolchain install nightly-2026-02-01
rustup target add aarch64-apple-darwin --toolchain nightly-2026-02-01

- name: Build MacOS Arm dylib
run: |
Expand Down Expand Up @@ -121,9 +121,9 @@ jobs:

- name: Rust Nightly
run: |
rustup toolchain install nightly-2023-10-05
rustup target add aarch64-unknown-linux-gnu --toolchain nightly-2023-10-05
rustup component add rust-src --toolchain nightly-2023-10-05-x86_64-unknown-linux-gnu
rustup toolchain install nightly-2026-02-01
rustup target add aarch64-unknown-linux-gnu --toolchain nightly-2026-02-01
rustup component add rust-src --toolchain nightly-2026-02-01-x86_64-unknown-linux-gnu

- name: Build
run: |
Expand Down Expand Up @@ -157,9 +157,9 @@ jobs:

- name: Rust Nightly
run: |
rustup toolchain install nightly-2023-10-05
rustup target add x86_64-pc-windows-gnu --toolchain nightly-2023-10-05
rustup component add rust-src --toolchain nightly-2023-10-05-x86_64-unknown-linux-gnu
rustup toolchain install nightly-2026-02-01
rustup target add x86_64-pc-windows-gnu --toolchain nightly-2026-02-01
rustup component add rust-src --toolchain nightly-2026-02-01-x86_64-unknown-linux-gnu

- name: mingw-w64
run: |
Expand Down Expand Up @@ -197,9 +197,9 @@ jobs:

- name: Rust Nightly
run: |
rustup toolchain install nightly-2023-10-05
rustup target add i686-pc-windows-gnu --toolchain nightly-2023-10-05
rustup component add rust-src --toolchain nightly-2023-10-05-x86_64-unknown-linux-gnu
rustup toolchain install nightly-2026-02-01
rustup target add i686-pc-windows-gnu --toolchain nightly-2026-02-01
rustup component add rust-src --toolchain nightly-2026-02-01-x86_64-unknown-linux-gnu

- name: mingw-w64
run: |
Expand Down Expand Up @@ -237,9 +237,9 @@ jobs:

- name: Rust Nightly
run: |
rustup toolchain install nightly-2023-10-05
rustup target add aarch64-linux-android --toolchain nightly-2023-10-05
rustup component add rust-src --toolchain nightly-2023-10-05-x86_64-unknown-linux-gnu
rustup toolchain install nightly-2026-02-01
rustup target add aarch64-linux-android --toolchain nightly-2026-02-01
rustup component add rust-src --toolchain nightly-2026-02-01-x86_64-unknown-linux-gnu

- uses: nttld/setup-ndk@v1
id: setup-ndk
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rs-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:
if: runner.os == 'Windows'
run: |
find . -name rust-toolchain.toml -exec echo rm {} \;
rustup component add rust-src --toolchain nightly-2023-10-05-x86_64-pc-windows-gnu
rustup default nightly-2023-10-05-x86_64-pc-windows-gnu
rustup component add rust-src --toolchain nightly-2026-02-01-x86_64-pc-windows-gnu
rustup default nightly-2026-02-01-x86_64-pc-windows-gnu

- name: Test Fractindex
run: |
Expand Down
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "core/rs/sqlite-rs-embedded"]
path = core/rs/sqlite-rs-embedded
url = git@github.com:vlcn-io/sqlite-rs-embedded.git
url = git@github.com:superfly/sqlite-rs-embedded.git
330 changes: 321 additions & 9 deletions README.md

Large diffs are not rendered by default.

Loading
Loading