Node.js v0.3.0
·
81 commits
to main
since this release
Published to npm: https://www.npmjs.com/package/@joaoh82/sqlrite/v/0.3.0
npm install @joaoh82/sqlrite@0.3.0const { 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 signaturesSee the umbrella release v0.3.0 for the full changelog.
What's Changed
- fix(release): swap publish-ask / publish-crate ordering by @joaoh82 in #85
- feat(ddl): DEFAULT clause, DROP TABLE/INDEX, ALTER TABLE by @joaoh82 in #86
- release: v0.3.0 by @joaoh82 in #87
Full Changelog: sdk/go/v0.2.0...sqlrite-node-v0.3.0