Skip to content
Merged
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
9 changes: 3 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,27 +132,24 @@ jobs:
strategy:
fail-fast: false
matrix:
node: ["22.x", "24.x", "26.x"]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This does a lot more CI (this is 3 node versions times 5 OS versions), 15 runs vs 5 before. That seems mostly fine, but I don't know how slow the CI for this is.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Each job takes less than a minute and they run in parallel. I think we are good.

os: [ubuntu-latest, ubuntu-24.04-arm, macos-15, macos-15-intel, windows-latest]
include:
- os: ubuntu-latest
platform: linux-x64-gnu
shell: bash
node: "22.23.4"
- os: ubuntu-24.04-arm
platform: linux-arm64-gnu
shell: bash
node: "22.23.4"
- os: macos-14 # arm64
- os: macos-15 # arm64
platform: darwin-arm64
shell: bash
node: "22.23.4"
- os: macos-15-intel # x64
platform: darwin-x64
shell: bash
node: "22.23.4"
- os: windows-latest
platform: windows-x64
shell: pwsh
node: "22.23.4"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed

- The next minor release (0.4.0) requires Node.js 22 or newer for `duroxide`
and its native platform packages. Upgrade from Node.js 18 or 20 before
installing 0.4.0. The requirement for 0.3.0 is unchanged.

## [0.3.0] - 2026-11-30

### Changed
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ Node.js/TypeScript SDK for the [Duroxide](https://github.com/microsoft/duroxide)

## Quick Start

Starting with SDK 0.4.0, Node.js 22 or newer is required. If you use Node.js
18 or 20, upgrade Node.js before upgrading the SDK. SDK 0.3.0 still declares
Node.js 18 as its minimum.

```bash
npm install duroxide
```
Expand Down
3 changes: 3 additions & 0 deletions ci/smoke/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ Cross-platform smoke tests that exercise the **distributable** `duroxide` npm
package — not the source tree. Installs into a fresh temp dir, resolves the
napi-rs platform subpackage, runs a minimal SQLite-backed orchestration.

CI packs the tarballs on Node.js 24 and tests those same tarballs on Node.js
22, 24, and 26 for each supported OS and architecture.

Motivated by [microsoft/duroxide#13](https://github.com/microsoft/duroxide/issues/13):
the Windows platform subpackage was renamed from `duroxide-win32-x64-msvc` to
`duroxide-windows-x64` but `index.js` kept the old name, breaking every Windows
Expand Down
2 changes: 1 addition & 1 deletion npm/npm/darwin-arm64/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
},
"license": "MIT",
"engines": {
"node": ">= 18"
"node": ">=22"
}
}
2 changes: 1 addition & 1 deletion npm/npm/darwin-x64/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
},
"license": "MIT",
"engines": {
"node": ">= 18"
"node": ">=22"
}
}
2 changes: 1 addition & 1 deletion npm/npm/linux-arm64-gnu/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
"license": "MIT",
"engines": {
"node": ">= 18"
"node": ">=22"
},
"libc": [
"glibc"
Expand Down
2 changes: 1 addition & 1 deletion npm/npm/linux-x64-gnu/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
"license": "MIT",
"engines": {
"node": ">= 18"
"node": ">=22"
},
"libc": [
"glibc"
Expand Down
2 changes: 1 addition & 1 deletion npm/npm/win32-x64-msvc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
},
"license": "MIT",
"engines": {
"node": ">= 18"
"node": ">=22"
}
}
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
},
"license": "MIT",
"engines": {
"node": ">= 18"
"node": ">=22"
},
"optionalDependencies": {
"duroxide-darwin-arm64": "0.3.0",
Expand Down
Loading