Releases: photostructure/node-sqlite
Releases · photostructure/node-sqlite
Release v0.2.1
Added
- Windows ARM64 prebuilt binaries
Fixed
- Error message handling on Windows ARM64 (ABI compatibility)
- Error handling consistency across platforms
Full Changelog: v0.2.0...v0.2.1
Release v0.2.0
Added
- Node.js v25 API sync: SQLite 3.51.1, native
Symbol.disposein C++, Session class exposed in public API - New database open options:
readBigInts,returnArrays,allowBareNamedParameters,allowUnknownNamedParameters,defensive,open - Defensive mode:
enableDefensive()method to prevent SQL from deliberately corrupting the database - Statement enhancements:
setAllowUnknownNamedParameters()method,finalizedproperty - Type identification:
sqlite-typesymbol property on DatabaseSync (Node.js PR #59405) - Enhanced SQLite errors: New properties
sqliteCode,sqliteExtendedCode,code,sqliteErrorString,systemErrno - ARM64 prebuilds: macOS Apple Silicon and Windows ARM64 binaries
- Tagged template literals:
db.createTagStore()for cached prepared statements (Node.js PR #58748) - Authorization API:
db.setAuthorizer()for security callbacks (Node.js PR #59928) - Standalone backup:
backup(srcDb, destFile, options?)for one-liner database backups with progress callbacks
Fixed
- DataView parameter binding (previously returned garbage data)
- DataView and TypedArray return values in user-defined functions
- RETURNING clause metadata handling
- Null and empty values in user function return value conversion
- Native stability: N-API reference cleanup in aggregates/destructors, thread-local napi_env storage, statement-to-database reference tracking, deferred exception handling in authorizers
Full Changelog: v0.0.1...v0.2.0
Release v0.0.1
What's Changed
- chore(deps): bump crazy-max/ghaction-import-gpg from 6.2.0 to 6.3.0 by @dependabot in #1
New Contributors
- @dependabot made their first contribution in #1
Full Changelog: https://github.com/photostructure/node-sqlite/commits/v0.0.1