Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions .ncurc.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ module.exports = {
reject: [
"@eslint/js", // eslint 10 not yet supported by typescript-eslint
"eslint", // eslint 10 not yet supported by typescript-eslint
"typescript", // typescript 6 not yet supported by typedoc
],
};
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

All notable changes to this project will be documented in this file.

## [Unreleased]

### Changed

- **SQLite 3.53.0**: Updated from 3.51.3
- **Upstream sync**: Synced `node_sqlite.{h,cc}` and `sqlite.js` from Node.js `v25.x-staging` (ffa9b8f)
- **Dependencies**: Updated dev dependencies (`jest`, `ts-jest`, `node-addon-api`, `eslint-plugin-regexp`)

## [1.1.0]

### Changed
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[![npm version](https://img.shields.io/npm/v/@photostructure/sqlite.svg)](https://www.npmjs.com/package/@photostructure/sqlite)
[![CI](https://github.com/photostructure/node-sqlite/actions/workflows/build.yml/badge.svg)](https://github.com/photostructure/node-sqlite/actions/workflows/build.yml)

Native SQLite for Node.js 20+. Drop-in replacement for `node:sqlite`. Synced with Node.js v25.8.1 for the latest features including native `Symbol.dispose` resource management.
Native SQLite for Node.js 20+. Drop-in replacement for `node:sqlite`. Synced with Node.js v25.9.0 for the latest features including native `Symbol.dispose` resource management.

## Installation

Expand All @@ -29,7 +29,7 @@ db.close();

## Features

- 100% compatible with Node.js v25.8.1 built-in `node:sqlite` module\*
- 100% compatible with Node.js v25.9.0 built-in `node:sqlite` module\*
- Zero dependencies - native SQLite implementation
- Synchronous API - no async overhead
- Performance comparable to better-sqlite3
Expand Down
2 changes: 1 addition & 1 deletion doc/features.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Features and capabilities in @photostructure/sqlite.

## SQLite version

This package includes SQLite 3.51.3 with extensive compile-time options enabled. For complete build flag documentation, comparison with Node.js, and customization options, see [Build Flags & Configuration](./build-flags.md).
This package includes SQLite 3.53.0 with extensive compile-time options enabled. For complete build flag documentation, comparison with Node.js, and customization options, see [Build Flags & Configuration](./build-flags.md).

## Enabled SQLite features

Expand Down
14 changes: 7 additions & 7 deletions doc/working-with-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,13 +101,13 @@ SQLite supports several data types, and this library handles JavaScript type con

### Type Mapping

| Storage Class | JavaScript → SQLite | SQLite → JavaScript |
| ------------- | ---------------------------- | ------------------------------------- |
| `NULL` | `null` | `null` |
| `INTEGER` | `number` or `bigint` | `number` or `bigint` _(configurable)_ |
| `REAL` | `number` | `number` |
| `TEXT` | `string` | `string` |
| `BLOB` | `TypedArray` or `DataView` | `Uint8Array` |
| Storage Class | JavaScript → SQLite | SQLite → JavaScript |
| ------------- | -------------------------- | ------------------------------------- |
| `NULL` | `null` | `null` |
| `INTEGER` | `number` or `bigint` | `number` or `bigint` _(configurable)_ |
| `REAL` | `number` | `number` |
| `TEXT` | `string` | `string` |
| `BLOB` | `TypedArray` or `DataView` | `Uint8Array` |

APIs that read values from SQLite have a configuration option that determines
whether `INTEGER` values are converted to `number` or `bigint` in JavaScript,
Expand Down
Loading
Loading