Skip to content

Releases: joaoh82/rust_sqlite

C FFI v0.11.0

Choose a tag to compare

@github-actions github-actions released this 01 Jun 06:28
44b16e3

Prebuilt libsqlrite_c for every supported platform, plus the sqlrite.h header.

Download the tarball for your platform, extract, and link:

tar xzf sqlrite-ffi-v0.11.0-<platform>.tar.gz
# lib/   — dynamic + static libraries
# include/sqlrite.h — header to #include

See the umbrella release v0.11.0 for the full changelog.

What's Changed

  • SQLR-42 — WASM in-browser SQL playground (/playground) by @joaoh82 in #149
  • SQLR-43 — Go edge/IoT event collector (concurrent-writes showcase) by @joaoh82 in #150
  • SQLR-10 — honor CREATE TABLE IF NOT EXISTS + queryable sqlrite_master + PRAGMA table_list by @joaoh82 in #151
  • fix(release): bump sqlrite-journal example in bump-version.sh (unblocks 0.11.0) by @joaoh82 in #152
  • Release v0.11.0 by @github-actions[bot] in #153

Full Changelog: sdk/go/v0.10.2...sqlrite-ffi-v0.11.0

Desktop v0.11.0

Choose a tag to compare

@github-actions github-actions released this 01 Jun 06:30
44b16e3

SQLRite desktop app — unsigned installers. This release wave ships:

  • Linux: .AppImage + .deb (Debian/Ubuntu) + .rpm (Fedora/RHEL), x86_64
  • macOS: .dmg + raw .app.tar.gz, Apple Silicon (aarch64). Intel Macs not supported yet — tracked as a Phase 6e follow-up (universal dmg).
  • Windows: .msi + .exe (NSIS installer), x86_64

⚠️ Unsigned installer warnings

Installers aren't code-signed yet (Phase 6.1 wires up Apple Developer ID + Windows code-signing). First-launch warnings to expect:

macOS — "SQLRite is damaged and can't be opened" or "unidentified developer":

xattr -cr /Applications/SQLRite.app

This strips the com.apple.quarantine attribute your browser attached on download. macOS Gatekeeper shows "damaged" (not the gentler "unidentified developer") because Tauri ad-hoc signs the binary — Apple Silicon requires a signature, even an ad-hoc one, but quarantined ad-hoc signatures trip a stricter Gatekeeper path. The app is fine; the signature just isn't from a registered Apple Developer ID.

Windows — SmartScreen "Windows protected your PC":

Click "More info" → "Run anyway".

Linux — AppImage:

chmod +x SQLRite_*_amd64.AppImage
./SQLRite_*_amd64.AppImage

See the umbrella release v0.11.0 for the full changelog.

sqlrite-ask v0.11.0

Choose a tag to compare

@github-actions github-actions released this 01 Jun 06:27
44b16e3

Published to crates.io: https://crates.io/crates/sqlrite-ask/0.11.0

Natural-language → SQL adapter for SQLRite. Anthropic-first; OpenAI / Ollama follow-ups.

[dependencies]
sqlrite-engine = "0.11.0"
sqlrite-ask    = "0.11.0"
use sqlrite::Connection;
use sqlrite_ask::{AskConfig, ConnectionAskExt};

let conn = Connection::open("foo.sqlrite")?;
let cfg  = AskConfig::from_env()?;        // SQLRITE_LLM_API_KEY etc.
let resp = conn.ask("How many users are over 30?", &cfg)?;
println!("Generated SQL: {}", resp.sql);

See the umbrella release v0.11.0 for the full changelog.

What's Changed

  • SQLR-42 — WASM in-browser SQL playground (/playground) by @joaoh82 in #149
  • SQLR-43 — Go edge/IoT event collector (concurrent-writes showcase) by @joaoh82 in #150
  • SQLR-10 — honor CREATE TABLE IF NOT EXISTS + queryable sqlrite_master + PRAGMA table_list by @joaoh82 in #151
  • fix(release): bump sqlrite-journal example in bump-version.sh (unblocks 0.11.0) by @joaoh82 in #152
  • Release v0.11.0 by @github-actions[bot] in #153

Full Changelog: sdk/go/v0.10.2...sqlrite-ask-v0.11.0

Go SDK v0.11.0

Choose a tag to compare

@github-actions github-actions released this 01 Jun 06:30
44b16e3
go get github.com/joaoh82/rust_sqlite/sdk/[email protected]
package main

import (
    "database/sql"
    "fmt"

    _ "github.com/joaoh82/rust_sqlite/sdk/go"  // registers "sqlrite" driver
)

func main() {
    db, _ := sql.Open("sqlrite", ":memory:")
    defer db.Close()

    _, _ = db.Exec("CREATE TABLE users (id INTEGER PRIMARY KEY, name TEXT)")
    _, _ = db.Exec("INSERT INTO users (name) VALUES ('alice')")

    rows, _ := db.Query("SELECT id, name FROM users")
    defer rows.Close()
    for rows.Next() {
        var id int64
        var name string
        rows.Scan(&id, &name)
        fmt.Printf("%d: %s\n", id, name)
    }
}

Prebuilt libsqlrite_c (cgo dependency)

The Go binding uses cgo against the libsqlrite_c shared library shipped by sqlrite-ffi. The tarballs attached below are the same ones from this release wave's C FFI release — provided here so Go users have a one-stop-shop:

  • sqlrite-ffi-v0.11.0-linux-x86_64.tar.gz
  • sqlrite-ffi-v0.11.0-linux-aarch64.tar.gz
  • sqlrite-ffi-v0.11.0-macos-aarch64.tar.gz
  • sqlrite-ffi-v0.11.0-windows-x86_64.tar.gz

Extract for your platform, then point cgo at it:

tar xzf sqlrite-ffi-v0.11.0-<platform>.tar.gz
export CGO_CFLAGS="-I$(pwd)/sqlrite-ffi-v0.11.0-<platform>/include"
export CGO_LDFLAGS="-L$(pwd)/sqlrite-ffi-v0.11.0-<platform>/lib -lsqlrite_c"
export LD_LIBRARY_PATH="$(pwd)/sqlrite-ffi-v0.11.0-<platform>/lib"
go build ./...

(On macOS use DYLD_LIBRARY_PATH instead of LD_LIBRARY_PATH. On Windows, place the .dll next to your binary or on %PATH%.)

See the umbrella release v0.11.0 for the full changelog.

What's Changed

  • SQLR-42 — WASM in-browser SQL playground (/playground) by @joaoh82 in #149
  • SQLR-43 — Go edge/IoT event collector (concurrent-writes showcase) by @joaoh82 in #150
  • SQLR-10 — honor CREATE TABLE IF NOT EXISTS + queryable sqlrite_master + PRAGMA table_list by @joaoh82 in #151
  • fix(release): bump sqlrite-journal example in bump-version.sh (unblocks 0.11.0) by @joaoh82 in #152
  • Release v0.11.0 by @github-actions[bot] in #153

Full Changelog: sdk/go/v0.10.2...sdk/go/v0.11.0

WASM v0.10.2

Choose a tag to compare

@github-actions github-actions released this 30 May 23:15
7e270f8

Published to npm: https://www.npmjs.com/package/@joaoh82/sqlrite-wasm/v/0.10.2

npm install @joaoh82/[email protected]
// Bundler target — works with webpack, vite, rollup, parcel
import init, { Database } from '@joaoh82/sqlrite-wasm';

await init();
const db = new Database();
db.exec("CREATE TABLE users (id INTEGER PRIMARY KEY, name TEXT)");
db.exec("INSERT INTO users (name) VALUES ('alice')");
const rows = db.query("SELECT id, name FROM users");
// → [{ id: 1, name: 'alice' }]

What's in the package:

  • sqlrite_wasm_bg.wasm — the WebAssembly engine binary
  • sqlrite_wasm.js — auto-generated JS glue (wasm-bindgen)
  • sqlrite_wasm.d.ts — TypeScript types
  • package.json — bundler-target metadata

Build target: bundler (webpack/vite/rollup-friendly).
For web / nodejs / deno targets, build from source via wasm-pack build sdk/wasm --target <target>.

Verify package provenance:

npm audit signatures

See the umbrella release v0.10.2 for the full changelog.

What's Changed

  • SQLR-64: publish sqlrite-notes example to npm by @joaoh82 in #144
  • SQLR-41 — Tauri 2 + Svelte 5 local-first journaling example app by @joaoh82 in #145
  • SQLR-70 — Desktop playground: in-app Settings for Anthropic API key by @joaoh82 in #146
  • ci(release): exclude sqlrite-journal from release-pr lock refresh by @joaoh82 in #147
  • Release v0.10.2 by @github-actions[bot] in #148

Full Changelog: sdk/go/v0.10.1...sqlrite-wasm-v0.10.2

Python v0.10.2

Choose a tag to compare

@github-actions github-actions released this 30 May 23:19
7e270f8

Published to PyPI: https://pypi.org/project/sqlrite/0.10.2/

pip install sqlrite==0.10.2
import sqlrite
conn = sqlrite.connect(":memory:")
conn.execute("CREATE TABLE users (id INTEGER PRIMARY KEY, name TEXT)")
conn.execute("INSERT INTO users (name) VALUES (?)", ("alice",))
for row in conn.execute("SELECT * FROM users"):
    print(row)

Wheels in this release:

  • Linux x86_64 (manylinux2014 or newer)
  • Linux aarch64 (manylinux2014 or newer)
  • macOS aarch64 (Apple Silicon)
  • Windows x86_64
  • Source distribution (.tar.gz) — builds from source on other platforms via a local Rust toolchain

All wheels are abi3-py38, so one wheel per platform works on every CPython ≥ 3.8.

See the umbrella release v0.10.2 for the full changelog.

What's Changed

  • SQLR-64: publish sqlrite-notes example to npm by @joaoh82 in #144
  • SQLR-41 — Tauri 2 + Svelte 5 local-first journaling example app by @joaoh82 in #145
  • SQLR-70 — Desktop playground: in-app Settings for Anthropic API key by @joaoh82 in #146
  • ci(release): exclude sqlrite-journal from release-pr lock refresh by @joaoh82 in #147
  • Release v0.10.2 by @github-actions[bot] in #148

Full Changelog: sdk/go/v0.10.1...sqlrite-py-v0.10.2

Node.js v0.10.2

Choose a tag to compare

@github-actions github-actions released this 30 May 23:19
7e270f8

Published to npm: https://www.npmjs.com/package/@joaoh82/sqlrite/v/0.10.2

npm install @joaoh82/[email protected]
const { Database } = require('@joaoh82/sqlrite');

const db = new Database(':memory:');
db.exec('CREATE TABLE users (id INTEGER PRIMARY KEY, name TEXT)');
const stmt = db.prepare('INSERT INTO users (name) VALUES (?)');
stmt.run('alice');

for (const row of db.prepare('SELECT * FROM users').iterate()) {
  console.log(row);
}

Binaries bundled in this release:

  • Linux x86_64 (sqlrite.linux-x64-gnu.node)
  • Linux aarch64 (sqlrite.linux-arm64-gnu.node)
  • macOS aarch64 (sqlrite.darwin-arm64.node)
  • Windows x86_64 (sqlrite.win32-x64-msvc.node)

The package's index.js dispatcher auto-selects the right binary at require time — no platform-specific install step.

Verify package provenance:

npm audit signatures

See the umbrella release v0.10.2 for the full changelog.

What's Changed

  • SQLR-64: publish sqlrite-notes example to npm by @joaoh82 in #144
  • SQLR-41 — Tauri 2 + Svelte 5 local-first journaling example app by @joaoh82 in #145
  • SQLR-70 — Desktop playground: in-app Settings for Anthropic API key by @joaoh82 in #146
  • ci(release): exclude sqlrite-journal from release-pr lock refresh by @joaoh82 in #147
  • Release v0.10.2 by @github-actions[bot] in #148

Full Changelog: sdk/go/v0.10.1...sqlrite-node-v0.10.2

C FFI v0.10.2

Choose a tag to compare

@github-actions github-actions released this 30 May 23:15
7e270f8

Prebuilt libsqlrite_c for every supported platform, plus the sqlrite.h header.

Download the tarball for your platform, extract, and link:

tar xzf sqlrite-ffi-v0.10.2-<platform>.tar.gz
# lib/   — dynamic + static libraries
# include/sqlrite.h — header to #include

See the umbrella release v0.10.2 for the full changelog.

What's Changed

  • SQLR-64: publish sqlrite-notes example to npm by @joaoh82 in #144
  • SQLR-41 — Tauri 2 + Svelte 5 local-first journaling example app by @joaoh82 in #145
  • SQLR-70 — Desktop playground: in-app Settings for Anthropic API key by @joaoh82 in #146
  • ci(release): exclude sqlrite-journal from release-pr lock refresh by @joaoh82 in #147
  • Release v0.10.2 by @github-actions[bot] in #148

Full Changelog: sdk/go/v0.10.1...sqlrite-ffi-v0.10.2

Desktop v0.10.2

Choose a tag to compare

@github-actions github-actions released this 30 May 23:18
7e270f8

SQLRite desktop app — unsigned installers. This release wave ships:

  • Linux: .AppImage + .deb (Debian/Ubuntu) + .rpm (Fedora/RHEL), x86_64
  • macOS: .dmg + raw .app.tar.gz, Apple Silicon (aarch64). Intel Macs not supported yet — tracked as a Phase 6e follow-up (universal dmg).
  • Windows: .msi + .exe (NSIS installer), x86_64

⚠️ Unsigned installer warnings

Installers aren't code-signed yet (Phase 6.1 wires up Apple Developer ID + Windows code-signing). First-launch warnings to expect:

macOS — "SQLRite is damaged and can't be opened" or "unidentified developer":

xattr -cr /Applications/SQLRite.app

This strips the com.apple.quarantine attribute your browser attached on download. macOS Gatekeeper shows "damaged" (not the gentler "unidentified developer") because Tauri ad-hoc signs the binary — Apple Silicon requires a signature, even an ad-hoc one, but quarantined ad-hoc signatures trip a stricter Gatekeeper path. The app is fine; the signature just isn't from a registered Apple Developer ID.

Windows — SmartScreen "Windows protected your PC":

Click "More info" → "Run anyway".

Linux — AppImage:

chmod +x SQLRite_*_amd64.AppImage
./SQLRite_*_amd64.AppImage

See the umbrella release v0.10.2 for the full changelog.

sqlrite-ask v0.10.2

Choose a tag to compare

@github-actions github-actions released this 30 May 23:14
7e270f8

Published to crates.io: https://crates.io/crates/sqlrite-ask/0.10.2

Natural-language → SQL adapter for SQLRite. Anthropic-first; OpenAI / Ollama follow-ups.

[dependencies]
sqlrite-engine = "0.10.2"
sqlrite-ask    = "0.10.2"
use sqlrite::Connection;
use sqlrite_ask::{AskConfig, ConnectionAskExt};

let conn = Connection::open("foo.sqlrite")?;
let cfg  = AskConfig::from_env()?;        // SQLRITE_LLM_API_KEY etc.
let resp = conn.ask("How many users are over 30?", &cfg)?;
println!("Generated SQL: {}", resp.sql);

See the umbrella release v0.10.2 for the full changelog.

What's Changed

  • SQLR-64: publish sqlrite-notes example to npm by @joaoh82 in #144
  • SQLR-41 — Tauri 2 + Svelte 5 local-first journaling example app by @joaoh82 in #145
  • SQLR-70 — Desktop playground: in-app Settings for Anthropic API key by @joaoh82 in #146
  • ci(release): exclude sqlrite-journal from release-pr lock refresh by @joaoh82 in #147
  • Release v0.10.2 by @github-actions[bot] in #148

Full Changelog: sdk/go/v0.10.1...sqlrite-ask-v0.10.2