Commit Graph

19 Commits

Author SHA1 Message Date
Sebastian Jeltsch 55c26afb0f Prepare release v0.5.1 and publish new crates. 2025-01-20 15:27:13 +01:00
Sebastian Jeltsch 5144dabc68 Major version update: SQLite 3.46.1 to 3.48.0. 2025-01-19 17:39:30 +01:00
Sebastian Jeltsch ade3b78862 Update Rust deps fixing swagger builds. 2025-01-18 12:11:04 +01:00
Sebastian Jeltsch b3d4cbd99f Add a rust client library to connect to a TrailBase instance via HTTP. 2025-01-17 15:21:07 +01:00
Sebastian Jeltsch 0e14b84440 Update JS deps and prepare v0.4.0 release. 2025-01-14 16:14:14 +01:00
Sebastian Jeltsch 30f295e6fd Add "realtime" subscriptions for a specific record, i.e. updates and deletion. 2025-01-13 22:38:14 +01:00
Sebastian Jeltsch ca285c0108 Update Rust dependencies and publish trailbase crate v0.0.2. 2025-01-07 16:10:25 +01:00
Sebastian Jeltsch a323429c05 Depend on forked refinery crates. 2025-01-03 10:32:37 +01:00
Sebastian Jeltsch 7ef775db78 Rename trailbase-core to trailbase (avoided directory rename for now).
Still can't publish a crate due to refinery. Refinery's latest release
doesn't work with the already weathered rusqlite.
2025-01-02 15:27:18 +01:00
Sebastian Jeltsch b8305ecf5b Move UI assets into trailbase-core crate. 2025-01-02 09:48:16 +01:00
Sebastian Jeltsch 232449bd0f Use the same release build flags for all platforms for simplicity and performance despite slow Windows GitHub action runners. 2024-12-30 22:16:34 +01:00
Sebastian Jeltsch c9199edd22 Prepare trailbase-sqlite for publishing. 2024-12-30 11:52:02 +01:00
Sebastian Jeltsch d3fceb9e3f Add windows pre-built releases in v0.3.3. 2024-12-28 19:19:58 +01:00
Sebastian Jeltsch 44e0bb6f84 Bump optimization level of sqlite3-parser in dev builds to work with Windows' default stack size of 1MB. 2024-12-25 22:01:07 +01:00
Sebastian Jeltsch 18d1d87710 Add a hooks API to trailbase_sqlite::Connection. 2024-12-16 17:07:17 +01:00
Sebastian Jeltsch 51a6af3149 Remove sqlite-loadable and use rusqlite functions instead. 2024-12-16 16:41:52 +01:00
Sebastian Jeltsch 1b5c957415 Move SQLite orchestration into trailbase-sqlite and fix js-runtime completion bug with true async (previously libsql was sync under the hood). 2024-12-04 16:57:15 +01:00
Sebastian Jeltsch 6cbea390fb Herculean migration from libsql's rust bindings to plain rusqlite+SQLite.
There's a couple of reasons:

* As for the rust bindings: they're sub-par to rusqlite, though
  rusqlite is amazing. Even libsql-server uses rusqlite over their own
  bindings. The bindings are missing features such as update hooks
  and the hard-coded execution model suffers from lock congestion.
* We've fixed bugs (e.g. trivial null ptr accesses went unnoticed),
  raised issues, and tried to add missing functionality such as update
  hooks. It's unclear if the rust-bindings are a priority or covered by
  the principles laid out in the libsql manifesto. From the outside it
  looks like focus has shifted to https://github.com/penberg/limbo.
* As for the C-libsql fork for SQLite itself, it's getting more and
  more outdated (2024-01-30 (3.45.1)) and it's unclear when and if the
  ideas from the manifesto will manifest.

Looking forward this opens the door for TrailBase to:

* Bundle more recent versions of SQLite
* Implement more performant, better scaling execution models.
* Implement realtime APIs for subscribing to data changes.
2024-12-04 13:03:06 +01:00
Sebastian Jeltsch bdb3735840 Squash all commits for a fresh start.
This is only to avoid accidentally leaking any secrets from early development especially in the light of short-sha attacks.
2024-10-30 23:38:56 +01:00