From 0db7ceb47d0401faa84f9a80163437ff313ecc7c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 24 Oct 2025 09:47:01 +0800 Subject: [PATCH] chore: release (#2913) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- crates/backend/CHANGELOG.md | 15 +++++++++++++++ crates/backend/Cargo.toml | 2 +- crates/build/CHANGELOG.md | 10 ++++++++++ crates/build/Cargo.toml | 2 +- crates/macro/CHANGELOG.md | 14 ++++++++++++++ crates/macro/Cargo.toml | 4 ++-- crates/napi/CHANGELOG.md | 18 ++++++++++++++++++ crates/napi/Cargo.toml | 6 +++--- crates/sys/CHANGELOG.md | 14 ++++++++++++++ crates/sys/Cargo.toml | 2 +- 10 files changed, 79 insertions(+), 8 deletions(-) diff --git a/crates/backend/CHANGELOG.md b/crates/backend/CHANGELOG.md index 35821e44..b86aaff6 100644 --- a/crates/backend/CHANGELOG.md +++ b/crates/backend/CHANGELOG.md @@ -7,6 +7,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [3.0.0](https://github.com/napi-rs/napi-rs/compare/napi-derive-backend-v2.2.0...napi-derive-backend-v3.0.0) - 2025-10-24 + +### Added + +- *(napi-derive)* add `discriminant_case` to allow changing case of discriminant ([#2960](https://github.com/napi-rs/napi-rs/pull/2960)) + +### Fixed + +- *(napi)* stop ref error object in wasm targets ([#2975](https://github.com/napi-rs/napi-rs/pull/2975)) + +### Other + +- *(napi)* bump rust-version ([#2966](https://github.com/napi-rs/napi-rs/pull/2966)) +- *(napi-derive)* make typegen easier to read ([#2956](https://github.com/napi-rs/napi-rs/pull/2956)) + ## [2.2.0](https://github.com/napi-rs/napi-rs/compare/napi-derive-backend-v2.1.4...napi-derive-backend-v2.2.0) - 2025-09-08 ### Added diff --git a/crates/backend/Cargo.toml b/crates/backend/Cargo.toml index 273530ef..ea904a06 100644 --- a/crates/backend/Cargo.toml +++ b/crates/backend/Cargo.toml @@ -7,7 +7,7 @@ name = "napi-derive-backend" readme = "README.md" repository = "https://github.com/napi-rs/napi-rs" rust-version.workspace = true -version = "2.2.0" +version = "3.0.0" [package.metadata.workspaces] independent = true diff --git a/crates/build/CHANGELOG.md b/crates/build/CHANGELOG.md index 4912c3b9..1d8580d0 100644 --- a/crates/build/CHANGELOG.md +++ b/crates/build/CHANGELOG.md @@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [2.2.4](https://github.com/napi-rs/napi-rs/compare/napi-build-v2.2.3...napi-build-v2.2.4) - 2025-10-24 + +### Fixed + +- *(build)* export `emnapi_thread_crashed` ([#2920](https://github.com/napi-rs/napi-rs/pull/2920)) + +### Other + +- *(napi)* bump rust-version ([#2966](https://github.com/napi-rs/napi-rs/pull/2966)) + ## [2.2.3](https://github.com/napi-rs/napi-rs/compare/napi-build-v2.2.2...napi-build-v2.2.3) - 2025-07-24 ### Other diff --git a/crates/build/Cargo.toml b/crates/build/Cargo.toml index d2a736cc..fa864b20 100644 --- a/crates/build/Cargo.toml +++ b/crates/build/Cargo.toml @@ -9,7 +9,7 @@ name = "napi-build" readme = "README.md" repository = "https://github.com/napi-rs/napi-rs" rust-version.workspace = true -version = "2.2.3" +version = "2.2.4" [package.metadata.workspaces] independent = true diff --git a/crates/macro/CHANGELOG.md b/crates/macro/CHANGELOG.md index 27f86763..a8c72554 100644 --- a/crates/macro/CHANGELOG.md +++ b/crates/macro/CHANGELOG.md @@ -7,6 +7,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [3.3.0](https://github.com/napi-rs/napi-rs/compare/napi-derive-v3.2.5...napi-derive-v3.3.0) - 2025-10-24 + +### Added + +- *(napi-derive)* add `discriminant_case` to allow changing case of discriminant ([#2960](https://github.com/napi-rs/napi-rs/pull/2960)) + +### Fixed + +- *(deps)* update rust crate ctor to v0.6.0 ([#2951](https://github.com/napi-rs/napi-rs/pull/2951)) + +### Other + +- *(napi)* bump rust-version ([#2966](https://github.com/napi-rs/napi-rs/pull/2966)) + ## [3.2.5](https://github.com/napi-rs/napi-rs/compare/napi-derive-v3.2.4...napi-derive-v3.2.5) - 2025-09-08 ### Other diff --git a/crates/macro/Cargo.toml b/crates/macro/Cargo.toml index 251d3b0e..f9ec4056 100644 --- a/crates/macro/Cargo.toml +++ b/crates/macro/Cargo.toml @@ -8,7 +8,7 @@ name = "napi-derive" readme = "README.md" repository = "https://github.com/napi-rs/napi-rs" rust-version.workspace = true -version = "3.2.5" +version = "3.3.0" [package.metadata.workspaces] independent = true @@ -24,7 +24,7 @@ type-def = ["napi-derive-backend/type-def", "ctor"] [dependencies] convert_case = "0.8" ctor = { version = "0.6", optional = true } -napi-derive-backend = { version = "2.2.0", path = "../backend" } +napi-derive-backend = { version = "3.0.0", path = "../backend" } proc-macro2 = "1" quote = "1" syn = { version = "2", features = ["fold", "full", "extra-traits"] } diff --git a/crates/napi/CHANGELOG.md b/crates/napi/CHANGELOG.md index 695cf645..7b04f66c 100644 --- a/crates/napi/CHANGELOG.md +++ b/crates/napi/CHANGELOG.md @@ -7,6 +7,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [3.4.0](https://github.com/napi-rs/napi-rs/compare/napi-v3.3.0...napi-v3.4.0) - 2025-10-24 + +### Added + +- *(napi)* add on_abort for AbortSignal ([#2942](https://github.com/napi-rs/napi-rs/pull/2942)) +- *(cli)* add support for loongarch64-unknown-linux-gnu ([#2887](https://github.com/napi-rs/napi-rs/pull/2887)) + +### Fixed + +- *(napi)* stop ref error object in wasm targets ([#2975](https://github.com/napi-rs/napi-rs/pull/2975)) +- *(deps)* update rust crate ctor to v0.6.0 ([#2951](https://github.com/napi-rs/napi-rs/pull/2951)) +- *(napi)* cleanup memory issues ([#2949](https://github.com/napi-rs/napi-rs/pull/2949)) +- *(napi)* node_api_create_external_string_utf16 on wasm ([#2912](https://github.com/napi-rs/napi-rs/pull/2912)) + +### Other + +- *(napi)* bump rust-version ([#2966](https://github.com/napi-rs/napi-rs/pull/2966)) + ## [3.3.0](https://github.com/napi-rs/napi-rs/compare/napi-v3.2.4...napi-v3.3.0) - 2025-09-08 ### Added diff --git a/crates/napi/Cargo.toml b/crates/napi/Cargo.toml index 4cf8f538..11936729 100644 --- a/crates/napi/Cargo.toml +++ b/crates/napi/Cargo.toml @@ -8,7 +8,7 @@ name = "napi" readme = "README.md" repository = "https://github.com/napi-rs/napi-rs" rust-version.workspace = true -version = "3.3.0" +version = "3.4.0" [lib] doctest = false @@ -81,7 +81,7 @@ version = "1" [dependencies.napi-sys] path = "../sys" -version = "3.0.0" +version = "3.0.1" [dependencies.encoding_rs] optional = true @@ -122,4 +122,4 @@ optional = true version = "0.1" [build-dependencies] -napi-build = { path = "../build", version = "2.2.3" } +napi-build = { path = "../build", version = "2.2.4" } diff --git a/crates/sys/CHANGELOG.md b/crates/sys/CHANGELOG.md index e69de29b..07420360 100644 --- a/crates/sys/CHANGELOG.md +++ b/crates/sys/CHANGELOG.md @@ -0,0 +1,14 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] + +## [3.0.1](https://github.com/napi-rs/napi-rs/compare/napi-sys-v3.0.0...napi-sys-v3.0.1) - 2025-10-24 + +### Other + +- *(napi)* bump rust-version ([#2966](https://github.com/napi-rs/napi-rs/pull/2966)) diff --git a/crates/sys/Cargo.toml b/crates/sys/Cargo.toml index 201081d6..5fe4224a 100644 --- a/crates/sys/Cargo.toml +++ b/crates/sys/Cargo.toml @@ -9,7 +9,7 @@ name = "napi-sys" readme = "README.md" repository = "https://github.com/napi-rs/napi-rs" rust-version.workspace = true -version = "3.0.0" +version = "3.0.1" [features] dyn-symbols = ["libloading"]