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
14 changes: 13 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,19 @@
All notable changes to napi-mojo. The project is in alpha; minor versions may
break the source API that downstream addons compile against.

## Unreleased
## 0.17.0 — 2026-09-26

**Adds `AsyncWork.queue_on_thread`**, for async jobs too long for libuv's
thread pool, and **`-I` on `napi-mojo build` and `run`**, for compiling an
existing Mojo library into an addon. New API makes this a minor, and so does
one behaviour change: `AsyncWork.resolve` and the `reject_with_error` forms
now return at once for a null `env` (see Added). The toolchain is unchanged
(Mojo 1.1.0, `max = "==26.6.0"`) and no existing public Mojo signature
changed: `@qkstat/retrieve` and `@qkstat/embed` compile against this source
unmodified, with no warnings.

**`napi-mojo run` also stops serving stale binaries**, after an edit behind a
symlinked directory and across a toolchain upgrade (see Fixed).

### Added

Expand Down
2 changes: 1 addition & 1 deletion npm/darwin-arm64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@napi-mojo/darwin-arm64",
"version": "0.16.0",
"version": "0.17.0",
"description": "napi-mojo prebuilt binary for macOS arm64",
"main": "index.node",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion npm/linux-arm64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@napi-mojo/linux-arm64",
"version": "0.16.0",
"version": "0.17.0",
"description": "napi-mojo prebuilt binary for Linux arm64",
"main": "index.node",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion npm/linux-x64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@napi-mojo/linux-x64",
"version": "0.16.0",
"version": "0.17.0",
"description": "napi-mojo prebuilt binary for Linux x64",
"main": "index.node",
"files": [
Expand Down
16 changes: 8 additions & 8 deletions package-lock.json

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

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "napi-mojo",
"version": "0.16.0",
"version": "0.17.0",
"description": "Build Node.js native addons in Mojo — the Mojo equivalent of napi-rs",
"main": "index.js",
"types": "index.d.ts",
Expand Down Expand Up @@ -95,9 +95,9 @@
"node-addon"
],
"optionalDependencies": {
"@napi-mojo/darwin-arm64": "0.16.0",
"@napi-mojo/linux-arm64": "0.16.0",
"@napi-mojo/linux-x64": "0.16.0"
"@napi-mojo/darwin-arm64": "0.17.0",
"@napi-mojo/linux-arm64": "0.17.0",
"@napi-mojo/linux-x64": "0.17.0"
},
"devDependencies": {
"jest": "^30.4.2"
Expand Down
2 changes: 1 addition & 1 deletion pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ authors = ["Wm Talcott <wtalcott@gmail.com>"]
channels = ["conda-forge", "https://conda.modular.com/max/"]
name = "napi-mojo"
platforms = ["osx-arm64", "linux-64", "linux-aarch64"]
version = "0.16.0"
version = "0.17.0"

[tasks]
# WARNING: this rewrites only the `max = ` line, NOT the channel. Since the
Expand Down
Loading