@napi-rs/cli
@napi-rs/cli@3.7.1
6/10/2026
What's Changed
- fix: receive error message from worker correctly by @sapphi-red in https://github.com/napi-rs/napi-rs/pull/3300
- chore(deps): update dependency npm-run-all2 to v9 by @renovate[bot] in https://github.com/napi-rs/napi-rs/pull/3299
- fix(cli): NAPI_RS_FORCE_WASI only activates on 'true' or 'error' by @MukundaKatta in https://github.com/napi-rs/napi-rs/pull/3236
New Contributors
- @MukundaKatta made their first contribution in https://github.com/napi-rs/napi-rs/pull/3236
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-v3.9.0...@napi-rs/cli@3.7.1
@napi-rs/cli@3.6.2
4/15/2026
What's Changed
- build(deps): bump basic-ftp from 5.2.0 to 5.2.1 by @dependabot[bot] in https://github.com/napi-rs/napi-rs/pull/3203
- fix(deps): update rust crate ctor to v0.9.1 by @renovate[bot] in https://github.com/napi-rs/napi-rs/pull/3204
- fix(cli): parallelize type definition generation deterministically by @trivikr in https://github.com/napi-rs/napi-rs/pull/3205
- fix(deps): disable ctor priority feature by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/3209
- fix(cli): preserve existing optionalDependencies in pre-publish by @trivikr in https://github.com/napi-rs/napi-rs/pull/3207
- fix(cli): preserve stricter node engine ranges in WASI package generation by @trivikr in https://github.com/napi-rs/napi-rs/pull/3201
- build(deps): bump basic-ftp from 5.2.1 to 5.2.2 by @dependabot[bot] in https://github.com/napi-rs/napi-rs/pull/3212
- fix(cli): resolve absolute packageJsonPath in universalize by @trivikr in https://github.com/napi-rs/napi-rs/pull/3210
- fix(cli): compatible with latest wasi-sdk toolchain by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/3217
- fix(cli): fail build when --pipe post-process command exits non-zero by @trivikr in https://github.com/napi-rs/napi-rs/pull/3218
- chore(deps): update cross-platform-actions/action action to v1 by @renovate[bot] in https://github.com/napi-rs/napi-rs/pull/3220
- fix(deps): update rust crate ctor to v0.10.0 by @renovate[bot] in https://github.com/napi-rs/napi-rs/pull/3224
- fix(cli): keep macOS test job for aarch64-apple-darwin by @trivikr in https://github.com/napi-rs/napi-rs/pull/3222
- fix(cli): persist repository when renaming project by @trivikr in https://github.com/napi-rs/napi-rs/pull/3221
- fix(cli): apply enableTypeDef when generating new projects by @trivikr in https://github.com/napi-rs/napi-rs/pull/3214
- fix(cli): remove stale browser metadata in non-WASI new projects by @trivikr in https://github.com/napi-rs/napi-rs/pull/3229
- fix(cli): use target cwd for pre-publish git log lookup by @trivikr in https://github.com/napi-rs/napi-rs/pull/3228
- chore(deps): update dependency oxc-parser to ^0.125.0 by @renovate[bot] in https://github.com/napi-rs/napi-rs/pull/3230
- fix(napi): preserve generator class methods by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/3231
- fix(wasm-runtime): preserve full bigint values in fs proxy codec by @trivikr in https://github.com/napi-rs/napi-rs/pull/3233
- fix(cli): include napi9 in interactive new prompt by @trivikr in https://github.com/napi-rs/napi-rs/pull/3235
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.6.1...@napi-rs/cli@3.6.2
@napi-rs/cli@3.5.0
12/2/2025
What's Changed
- perf: replace debug with obug by @sxzz in https://github.com/napi-rs/napi-rs/pull/3019
- fix(deps): update dependency @inquirer/prompts to v8 by @renovate[bot] in https://github.com/napi-rs/napi-rs/pull/3020
- chore(deps): update yarn to v4.12.0 by @renovate[bot] in https://github.com/napi-rs/napi-rs/pull/3030
- fix(cli): use jsPackageName from cli options by @U-C-S in https://github.com/napi-rs/napi-rs/pull/3035
New Contributors
- @Copilot made their first contribution in https://github.com/napi-rs/napi-rs/pull/2990
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-v3.5.2...@napi-rs/cli@3.5.0
@napi-rs/cli@3.4.1
10/24/2025
3.4.1 (2025-10-24)
Bug Fixes
@napi-rs/cli@3.4.0
10/23/2025
3.4.0 (2025-10-23)
Bug Fixes
- cli: correct OpenHarmony SDK path detection logic (#2963) (b453673)
- napi: do not invoke process.report on Windows (#2972) (01485ff)
Features
@napi-rs/cli@3.2.0
9/11/2025
What's Changed
- feat(target): add support for loongarch64-unknown-linux-gnu by @SkyBird233 in https://github.com/napi-rs/napi-rs/pull/2887
- chore(cli): throw error if wasi file not found when NAPI_RS_FORCE_WASI=error by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2919
New Contributors
- @SkyBird233 made their first contribution in https://github.com/napi-rs/napi-rs/pull/2887
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-v3.3.0...@napi-rs/cli@3.2.0
@napi-rs/cli@3.1.5
8/16/2025
What's Changed
- chore(cli): skip already published native packages by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2874
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-v3.2.3...@napi-rs/cli@3.1.5
@napi-rs/cli@3.1.2
8/8/2025
3.1.2 (2025-08-08)
Bug Fixes
@napi-rs/cli@3.1.1
8/8/2025
What's Changed
- fix(cli): don't enforce version check by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2849
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-v3.2.0...@napi-rs/cli@3.1.1
@napi-rs/cli@3.1.0
8/7/2025
What's Changed
- chore(ci): use mlugg/setup-zig instead of unmaintained action by @kingsword09 in https://github.com/napi-rs/napi-rs/pull/2828
- feat(cli): validate the native binding versions by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2837
- ci: use npm trusted publisher by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2839
- feat: make generator an iterator by @LeMikaelF in https://github.com/napi-rs/napi-rs/pull/2784
New Contributors
- @kingsword09 made their first contribution in https://github.com/napi-rs/napi-rs/pull/2828
- @LeMikaelF made their first contribution in https://github.com/napi-rs/napi-rs/pull/2784
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-v3.1.6...@napi-rs/cli@3.1.0
@napi-rs/cli@3.0.4
7/24/2025
3.0.4 (2025-07-24)
Bug Fixes
@napi-rs/cli@3.0.3
7/23/2025
3.0.3 (2025-07-23)
Bug Fixes
@napi-rs/cli@3.0.2
7/23/2025
3.0.2 (2025-07-23)
Note: Version bump only for package @napi-rs/cli
@napi-rs/cli@3.0.1
7/21/2025
What's Changed
- refactor(cli): reuse buffer in
@napi-fs/wasm-time/fsby @CPunisher in https://github.com/napi-rs/napi-rs/pull/2782
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0...@napi-rs/cli@3.0.1
@napi-rs/cli@3.0.0
7/17/2025
NAPI-RS v3
https://napi.rs/blog/announce-v3
@napi-rs/cli@3.0.0-alpha.94
7/12/2025
What's Changed
- feat(cli): allow skip optionalDependencies publish by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2771
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.93...@napi-rs/cli@3.0.0-alpha.94
@napi-rs/cli@3.0.0-alpha.93
7/10/2025
What's Changed
- fix(cli): check
kHandleinstead by @JounQin in https://github.com/napi-rs/napi-rs/pull/2768 - fix(deps): update dependency @tybys/wasm-util to ^0.10.0 by @renovate in https://github.com/napi-rs/napi-rs/pull/2769
New Contributors
- @JounQin made their first contribution in https://github.com/napi-rs/napi-rs/pull/2768
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@3.0.0-beta.12...@napi-rs/cli@3.0.0-alpha.93
@napi-rs/cli@3.0.0-alpha.92
7/4/2025
What's Changed
- fix(cli): set TARGET_CC rather than CC by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2764
- feat(cli): never refer handles of workers by @CPunisher in https://github.com/napi-rs/napi-rs/pull/2763
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-build@2.2.2...@napi-rs/cli@3.0.0-alpha.92
@napi-rs/cli@3.0.0-alpha.91
6/24/2025
What's Changed
- fix(cli): build config by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2735
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@3.0.0-beta.9...@napi-rs/cli@3.0.0-alpha.91
@napi-rs/cli@3.0.0-alpha.90
6/24/2025
What's Changed
- feat(cli): new project from github project template by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2723
- fix(cli): handle the wasi names in new command by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2725
- fix(cli): handle CI.yaml targets omit by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2730
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.89...@napi-rs/cli@3.0.0-alpha.90
@napi-rs/cli@3.0.0-alpha.88
6/8/2025
What's Changed
- fix(napi-derive): using js_name generating wrong type defs by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2700
- fix(napi-derive): panic while creating type definition when Rust comment contains escape syntax by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2701
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.87...@napi-rs/cli@3.0.0-alpha.88
@napi-rs/cli@3.0.0-alpha.87
6/5/2025
What's Changed
- fix(cli): remove
requirein utils by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2693
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.86...@napi-rs/cli@3.0.0-alpha.87
@napi-rs/cli@3.0.0-alpha.86
6/4/2025
What's Changed
- fix(cli): uses_default_features should also treat as enabled typeDef by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2691
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@3.0.0-beta.5...@napi-rs/cli@3.0.0-alpha.86
@napi-rs/cli@3.0.0-alpha.85
6/4/2025
What's Changed
- fix: revalidate shared libs if type def not found by @forehalo in https://github.com/napi-rs/napi-rs/pull/2689
- feat(cli): detect type-def feature in cli by @forehalo in https://github.com/napi-rs/napi-rs/pull/2690
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@3.0.0-beta.4...@napi-rs/cli@3.0.0-alpha.85
@napi-rs/cli@3.0.0-alpha.82
6/3/2025
What's Changed
- fix: type generation for shared libs by @forehalo in https://github.com/napi-rs/napi-rs/pull/2684
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.81...@napi-rs/cli@3.0.0-alpha.82
@napi-rs/cli@3.0.0-alpha.81
5/29/2025
What's Changed
- fix(cli): parse deps cargo metadata and find napi crates by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2667
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@3.0.0-beta.2...@napi-rs/cli@3.0.0-alpha.81
@napi-rs/cli@3.0.0-alpha.76
3/22/2025
What's Changed
- feat(cli): add
wasm.browser.asyncInitoption for large wasm file by @hi-ogawa in https://github.com/napi-rs/napi-rs/pull/2514
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@3.0.0-alpha.33...@napi-rs/cli@3.0.0-alpha.76
@napi-rs/cli@3.0.0-alpha.72
2/25/2025
What's Changed
- refactor!: link crt1-reactor.o as poor man's wasi-exec-model=reactor by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2480
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@3.0.0-alpha.30...@napi-rs/cli@3.0.0-alpha.72
@napi-rs/cli@3.0.0-alpha.71
2/21/2025
What's Changed
- feat(cli): allow specifing native library path via env variable by @sigmaSd in https://github.com/napi-rs/napi-rs/pull/2471
New Contributors
- @sigmaSd made their first contribution in https://github.com/napi-rs/napi-rs/pull/2471
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@3.0.0-alpha.26...@napi-rs/cli@3.0.0-alpha.71
@napi-rs/cli@3.0.0-alpha.67
1/19/2025
What's Changed
- chore(deps): update dependency @oxc-node/core to ^0.0.17 by @renovate in https://github.com/napi-rs/napi-rs/pull/2427
- chore(deps): update vitest monorepo to v3 (major) by @renovate in https://github.com/napi-rs/napi-rs/pull/2429
- chore(deps): update dependency vite-plugin-node-polyfills to ^0.23.0 by @renovate in https://github.com/napi-rs/napi-rs/pull/2431
- fix(cli): s390x cross toolchain path by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2432
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@3.0.0-alpha.25...@napi-rs/cli@3.0.0-alpha.67
@napi-rs/cli@3.0.0-alpha.64
10/21/2024
What's Changed
- feat(cli): support ESM binding by @wemeetagain in https://github.com/napi-rs/napi-rs/pull/2284
New Contributors
- @wemeetagain made their first contribution in https://github.com/napi-rs/napi-rs/pull/2284
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@3.0.0-alpha.15...@napi-rs/cli@3.0.0-alpha.64
@napi-rs/cli@3.0.0-alpha.63
10/2/2024
What's Changed
- chore(cli): add empty line in created pacakge.json file #2194
- chore(cli): update ci template #2256
- chore(cli): add strip in generated Cargo.toml https://github.com/napi-rs/napi-rs/commit/c12e56f3e8e5ee3e2def23ded399e20684c03693
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.62...@napi-rs/cli@3.0.0-alpha.63
@napi-rs/cli@3.0.0-alpha.59
7/15/2024
3.0.0-alpha.59 (2024-07-15)
Bug Fixes
@napi-rs/cli@3.0.0-alpha.56
7/5/2024
What's Changed
- docs(cli): fix typo by @naskya in https://github.com/napi-rs/napi-rs/pull/2108
- chore(deps): update dependency sinon to v18 by @renovate in https://github.com/napi-rs/napi-rs/pull/2112
- fix(typegen): add missing
declarekeyword by @magic-akari in https://github.com/napi-rs/napi-rs/pull/2117 - fix(deps): update dependency emnapi to v1.2.0 by @renovate in https://github.com/napi-rs/napi-rs/pull/2118
- chore(deps): update dependency vite-plugin-node-polyfills to ^0.22.0 by @renovate in https://github.com/napi-rs/napi-rs/pull/2119
- chore(deps): update dependency @rollup/plugin-commonjs to v26 by @renovate in https://github.com/napi-rs/napi-rs/pull/2132
- chore(deps): lock file maintenance by @renovate in https://github.com/napi-rs/napi-rs/pull/2129
- chore(deps): update dependency oxlint to ^0.4.0 by @renovate in https://github.com/napi-rs/napi-rs/pull/2126
- chore(deps): update yarn to v4.3.0 by @renovate in https://github.com/napi-rs/napi-rs/pull/2135
- fix(cli): rename env CC to TARGET_CC avoid proc-macro build failed by @richerfu in https://github.com/napi-rs/napi-rs/pull/2137
- chore(deps): update dependency electron to v31 by @renovate in https://github.com/napi-rs/napi-rs/pull/2136
- chore(deps): update dependency c8 to v10 by @renovate in https://github.com/napi-rs/napi-rs/pull/2134
- chore(deps): update docker/build-push-action action to v6 by @renovate in https://github.com/napi-rs/napi-rs/pull/2142
- fix(deps): update dependency @octokit/rest to v21 by @renovate in https://github.com/napi-rs/napi-rs/pull/2149
- chore(deps): update yarn to v4.3.1 by @renovate in https://github.com/napi-rs/napi-rs/pull/2150
- chore(deps): update oven-sh/setup-bun action to v2 by @renovate in https://github.com/napi-rs/napi-rs/pull/2153
- chore(deps): update dependency oxlint to ^0.5.0 by @renovate in https://github.com/napi-rs/napi-rs/pull/2159
- chore(deps): lock file maintenance by @renovate in https://github.com/napi-rs/napi-rs/pull/2163
- chore(deps): update dependency esbuild to ^0.22.0 by @renovate in https://github.com/napi-rs/napi-rs/pull/2162
- chore(deps): update dependency esbuild to ^0.23.0 by @renovate in https://github.com/napi-rs/napi-rs/pull/2164
New Contributors
- @magic-akari made their first contribution in https://github.com/napi-rs/napi-rs/pull/2117
- @Gentle made their first contribution in https://github.com/napi-rs/napi-rs/pull/2131
- @Kreijstal made their first contribution in https://github.com/napi-rs/napi-rs/pull/2026
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.55...@napi-rs/cli@3.0.0-alpha.56
@napi-rs/cli@2.18.4
7/1/2024
What Changed
- fix(cli): add missing declare keyword
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@2.18.3...@napi-rs/cli@2.18.4
@napi-rs/cli@3.0.0-alpha.55
5/12/2024
3.0.0-alpha.55 (2024-05-12)
Bug Fixes
- cli: prevent the wasm optimization crash the build (#2107) (c9c3c0e)
- deps: update dependency @napi-rs/cross-toolchain to ^0.0.16 (#2079) (d022f64)
- napi: set explicit target flag for x86_64 CI template (#2077) (ebc1e2c)
@napi-rs/cli@2.18.3
5/6/2024
What's Changed
- remove duplicate typedefs in
index.d.tsfrom macro re-evaluation by @OmarTawfik in https://github.com/napi-rs/napi-rs/pull/2088
New Contributors
- @OmarTawfik made their first contribution in https://github.com/napi-rs/napi-rs/pull/2088
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@2.18.2...@napi-rs/cli@2.18.3
@napi-rs/cli@3.0.0-alpha.53
4/23/2024
What's Changed
- feat(cli): allow sync fs operation between workers/mainThread by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2064
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.52...@napi-rs/cli@3.0.0-alpha.53
@napi-rs/cli@3.0.0-alpha.52
4/22/2024
What's Changed
- feat(cli): support generation of literal union from string enum by @inokawa in https://github.com/napi-rs/napi-rs/pull/2054
- fix(cli): pass fs to browser worker binding by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2062
New Contributors
- @inokawa made their first contribution in https://github.com/napi-rs/napi-rs/pull/2054
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.16.4...@napi-rs/cli@3.0.0-alpha.52
@napi-rs/cli@3.0.0-alpha.51
4/19/2024
What's Changed
- feat(cli): improve the browser binding by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2056
- fix(cli): new project issue by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2058
- chore: upgrade @tybys/wasm-util by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2059
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.16.4...@napi-rs/cli@3.0.0-alpha.51
@napi-rs/cli@2.18.2
4/17/2024
2.18.2 (2024-04-17)
Bug Fixes
- cli: freebsd ci template (0f42e21)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@2.18.1...@napi-rs/cli@2.18.2
@napi-rs/cli@3.0.0-alpha.50
4/17/2024
What's Changed
- feat(cli): optimize wasm output binary by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2049
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.49...@napi-rs/cli@3.0.0-alpha.50
@napi-rs/cli@3.0.0-alpha.49
4/16/2024
What's Changed
- chore(deps): update dependency electron to v30 by @renovate in https://github.com/napi-rs/napi-rs/pull/2043
- fix(cli): wasi targets linker envs by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2044
- feat(cli): allow to define dtsHeader in napi config by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2045
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@3.0.0-alpha.2...@napi-rs/cli@3.0.0-alpha.49
@napi-rs/cli@2.18.1
4/10/2024
What's Changed
- feat(target): add support for armv7-unknown-linux-muslebihf by @sapphi-red in https://github.com/napi-rs/napi-rs/pull/2020
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@2.18.0...@napi-rs/cli@2.18.1
@napi-rs/cli@3.0.0-alpha.46
4/10/2024
What's Changed
- fix(deps): update dependency emnapi to v1.1.1 by @renovate in https://github.com/napi-rs/napi-rs/pull/2017
- feat(cli): add support for armv7-unknown-linux-muslebihf by @sapphi-red in https://github.com/napi-rs/napi-rs/pull/2019
- feat(cli): add support for powerpc64le-unknown-linux-gnu by @sapphi-red in https://github.com/napi-rs/napi-rs/pull/2023
- feat(cli): add support for s390x-unknown-linux-gnu by @sapphi-red in https://github.com/napi-rs/napi-rs/pull/2028
- feat(cli): support wasm32-wasipxx targets by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2030
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.45...@napi-rs/cli@3.0.0-alpha.46
@napi-rs/cli@3.0.0-alpha.44
3/21/2024
What's Changed
- fix(cli): cleanup js binding template by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1984
- chore(deps): lock file maintenance by @renovate in https://github.com/napi-rs/napi-rs/pull/1987
- chore(deps): update yarn to v4.1.1 by @renovate in https://github.com/napi-rs/napi-rs/pull/1989
- ci: fix arm64 job by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1998
- chore(deps): bump follow-redirects from 1.15.5 to 1.15.6 by @dependabot in https://github.com/napi-rs/napi-rs/pull/2004
- fix(deps): update dependency emnapi to v1.1.0 by @renovate in https://github.com/napi-rs/napi-rs/pull/2006
- chore(wasm-runtime): upgrade emnapi by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2008
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.16.0...@napi-rs/cli@3.0.0-alpha.44
@napi-rs/cli@3.0.0-alpha.43
2/28/2024
What's Changed
- fix(cli): cleanup js binding template by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1984
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.42...@napi-rs/cli@3.0.0-alpha.43
@napi-rs/cli@3.0.0-alpha.42
2/28/2024 Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.16.0...@napi-rs/cli@3.0.0-alpha.42
What's Changed
- chore: fix renovate path and dedupe electron versions by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1974
- refactor(cli): refactor js-binding to support easier bundling. by @everett1992 in https://github.com/napi-rs/napi-rs/pull/1957
New Contributors
- @everett1992 made their first contribution in https://github.com/napi-rs/napi-rs/pull/1957
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.15.4...@napi-rs/cli@3.0.0-alpha.42
@napi-rs/cli@3.0.0-alpha.41
2/22/2024
What's Changed
- fix(cli): fallback to wasm32 if platform is not support by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1967
- fix(cli): allow more platform & arch fallback to wasm by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1969
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.15.3...@napi-rs/cli@3.0.0-alpha.41
@napi-rs/cli@3.0.0-alpha.39
2/18/2024
What's Changed
- chore(deps): update typescript-eslint monorepo to v7 (major) by @renovate in https://github.com/napi-rs/napi-rs/pull/1947
- Ensure cwd and outputDir are used for finding files by @andymac4182 in https://github.com/napi-rs/napi-rs/pull/1949
- fix(cli): set cxxflags while WASI_SDK_PATH exists by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1955
- feat(cli,build): support setjmp.h by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1958
New Contributors
- @andymac4182 made their first contribution in https://github.com/napi-rs/napi-rs/pull/1949
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.38...@napi-rs/cli@3.0.0-alpha.39
@napi-rs/cli@3.0.0-alpha.38
2/12/2024
What's Changed
- feat(cli): respect WASI_SDK_PATH env by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1946
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.37...@napi-rs/cli@3.0.0-alpha.38
@napi-rs/cli@3.0.0-alpha.37
2/12/2024
What's Changed
- fix(cli): setup cxx env while using napi-cross by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1942
- fix(cli): log more wasi load errors by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1943
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.15.1...@napi-rs/cli@3.0.0-alpha.37
@napi-rs/cli@2.18.0
1/20/2024
What's Changed
- chore: upgrade cli deps @Brooooooklyn https://github.com/napi-rs/napi-rs/commit/60c326e8eb4276134daabf41604168fafceb02bf
- feat: update ci.yml and binding template @Brooooooklyn https://github.com/napi-rs/napi-rs/commit/f720c2d0346130f006f6de986fb37c41545f3666
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@2.17.0...@napi-rs/cli@2.18.0
@napi-rs/cli@3.0.0-alpha.35
1/17/2024
What's Changed
- chore: bump memfs-browser by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1900
- feat(cli): Add support for s390x linux arch in js bindings template by @mgcm in https://github.com/napi-rs/napi-rs/pull/1901
- feat: add wasm runtime package by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1904
New Contributors
- @mgcm made their first contribution in https://github.com/napi-rs/napi-rs/pull/1901
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.34...@napi-rs/cli@3.0.0-alpha.35
@napi-rs/cli@3.0.0-alpha.34
1/17/2024
What's Changed
- fix(cli): add browser entry by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1899
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.33...@napi-rs/cli@3.0.0-alpha.34
@napi-rs/cli@3.0.0-alpha.33
1/8/2024
What's Changed
- fix(cli): artifacts wasi worker name by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1895
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.32...@napi-rs/cli@3.0.0-alpha.33
@napi-rs/cli@3.0.0-alpha.32
1/8/2024
What's Changed
- fix(cli): missing files in created wasi package by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1894
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.31...@napi-rs/cli@3.0.0-alpha.32
@napi-rs/cli@3.0.0-alpha.31
1/8/2024
What's Changed
- chore(deps): update dependency c8 to v9 by @renovate in https://github.com/napi-rs/napi-rs/pull/1889
- fix(deps): update dependency @tybys/wasm-util to v0.8.1 by @renovate in https://github.com/napi-rs/napi-rs/pull/1892
- feat(cli): support generate browser compatible codes by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1891
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.30...@napi-rs/cli@3.0.0-alpha.31
@napi-rs/cli@3.0.0-alpha.30
1/3/2024
What's Changed
- chore(deps): lock file maintenance by @renovate in https://github.com/napi-rs/napi-rs/pull/1882
- fix(cli): wasi fallback package load logic by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1887
- fix(cli): upload to github releases issue by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1888
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.29...@napi-rs/cli@3.0.0-alpha.30
@napi-rs/cli@3.0.0-alpha.29
1/2/2024
What's Changed
- fix(cli): missing wasm files in artifacts command by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1884
- chore: fix async_work status typo by @southorange0929 in https://github.com/napi-rs/napi-rs/pull/1883
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.14.2...@napi-rs/cli@3.0.0-alpha.29
@napi-rs/cli@3.0.0-alpha.28
12/31/2023
What's Changed
- fix(cli): copy binding files into wasi packages by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1881
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.27...@napi-rs/cli@3.0.0-alpha.28
@napi-rs/cli@3.0.0-alpha.27
12/29/2023
What's Changed
- fix(deps): update dependency emnapi to v0.45.0 by @renovate in https://github.com/napi-rs/napi-rs/pull/1879
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.26...@napi-rs/cli@3.0.0-alpha.27
@napi-rs/cli@3.0.0-alpha.26
12/29/2023
What's Changed
- fix(napi): apply clippy suggestions by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1878
- fix(cli): exclude node_modules in artifacts command by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1875
- fix(cli): also load wasm file from packages by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1876
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.25...@napi-rs/cli@3.0.0-alpha.26
@napi-rs/cli@3.0.0-alpha.25
12/28/2023
What's Changed
- fix(cli): compatible with napi artifacts -d option by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1872
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.14.6...@napi-rs/cli@3.0.0-alpha.25
@napi-rs/cli@3.0.0-alpha.24
12/26/2023
What's Changed
- fix(cli): prepublish tagstyle flag by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1863
- chore(cli): root directory access permissions by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1864
- feat(cli): support wasi target test & release workflow by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1867
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.20...@napi-rs/cli@3.0.0-alpha.24
@napi-rs/cli@3.0.0-alpha.20
12/16/2023
What's Changed
- chore(deps): update actions/download-artifact action to v4 by @renovate in https://github.com/napi-rs/napi-rs/pull/1856
- fix(cli): make prepublish as pre-publish alias by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1861
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.19...@napi-rs/cli@3.0.0-alpha.20
@napi-rs/cli@3.0.0-alpha.19
12/15/2023
What's Changed
- fix(cli): artifacts default option value by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1853
- fix: more accurate napi expanding error by @forehalo in https://github.com/napi-rs/napi-rs/pull/1854
- feat(cli): support read config from the given config file by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1859
- fix(cli): prepublish command by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1860
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.14.4...@napi-rs/cli@3.0.0-alpha.19
@napi-rs/cli@3.0.0-alpha.17
12/13/2023
What's Changed
- fix(cli): make outputDir option of artifacts command compatible with v2 by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1850
- fix(binding): add riscv64 linux binding by @kxxt in https://github.com/napi-rs/napi-rs/pull/1851
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.14.3...@napi-rs/cli@3.0.0-alpha.17
@napi-rs/cli@3.0.0-alpha.15
12/8/2023
What's Changed
- fix(cli): manifestPath and js binding output path by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1847
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.14...@napi-rs/cli@3.0.0-alpha.15
@napi-rs/cli@2.17.0
12/7/2023
What's Changed
- feat: add support for riscv64gc-unknown-linux-gnu by @kxxt in https://github.com/napi-rs/napi-rs/pull/1826
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@2.16.5...@napi-rs/cli@2.17.0
@napi-rs/cli@3.0.0-alpha.14
12/8/2023
What's Changed
- ci: add back pnpm to debian Docker images by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1841
- fix(cli): C_FLAGS should be CFLAGS by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1842
- chore: upgrade all npm dependencies by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1843
- fix(cli): --features and --no-default-features should not be exclusive by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1846
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.12...@napi-rs/cli@3.0.0-alpha.14
@napi-rs/cli@3.0.0-alpha.12
12/5/2023
What's Changed
- fix(cli): set CC env if not existed by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1839
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.11...@napi-rs/cli@3.0.0-alpha.12
@napi-rs/cli@3.0.0-alpha.11
12/5/2023
What's Changed
- ci: fix docker build by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1833
- chore(deps): lock file maintenance by @renovate in https://github.com/napi-rs/napi-rs/pull/1832
- chore(deps): update dependency electron to v28 by @renovate in https://github.com/napi-rs/napi-rs/pull/1837
- fix(cli): duplicated node matrix by @forehalo in https://github.com/napi-rs/napi-rs/pull/1835
- fix(cli): throws if target path of new command test fails by @forehalo in https://github.com/napi-rs/napi-rs/pull/1834
- feat(cli): support @napi-rs/cross-toolchain by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1838
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.10...@napi-rs/cli@3.0.0-alpha.11
@napi-rs/cli@3.0.0-alpha.10
12/1/2023
What's Changed
- feat(cli): change wasm binding output format to cjs by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1831
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.9...@napi-rs/cli@3.0.0-alpha.10
@napi-rs/cli@3.0.0-alpha.9
11/30/2023
What's Changed
- test(napi): decrease the worker sizes on Linux x64 musl platform by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1823
- feat: update cli template with edtion2021(#1739) by @southorange0929 in https://github.com/napi-rs/napi-rs/pull/1828
- chore(deps): update dependency lerna to v8 by @renovate in https://github.com/napi-rs/napi-rs/pull/1827
- fix(cli): add back constEnum option by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1829
- feat(cli): export parseTriple function by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1830
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.14.2...@napi-rs/cli@3.0.0-alpha.9
@napi-rs/cli@3.0.0-alpha.8
11/20/2023
What's Changed
- chore: add .idea folder to ignore by @southorange0929 in https://github.com/napi-rs/napi-rs/pull/1801
- build: upgrade toolchain in Docker by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1810
- chore(deps): update yarn to v4.0.2 by @renovate in https://github.com/napi-rs/napi-rs/pull/1813
- chore(cli): simplify publish step in ci-template by @segevfiner in https://github.com/napi-rs/napi-rs/pull/1812
- chore(deps): update dependency @emnapi/core to v0.44.0 by @renovate in https://github.com/napi-rs/napi-rs/pull/1803
- chore(deps): update dependency @emnapi/runtime to v0.44.0 by @renovate in https://github.com/napi-rs/napi-rs/pull/1804
- fix(cli): 🤖 align wasi template to nodejs demo by @IWANABETHATGUY in https://github.com/napi-rs/napi-rs/pull/1814
- chore(deps): update dependency emnapi to v0.44.0 by @renovate in https://github.com/napi-rs/napi-rs/pull/1805
- chore: upgrade emnapi dependencies by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1817
New Contributors
- @southorange0929 made their first contribution in https://github.com/napi-rs/napi-rs/pull/1801
- @segevfiner made their first contribution in https://github.com/napi-rs/napi-rs/pull/1812
- @IWANABETHATGUY made their first contribution in https://github.com/napi-rs/napi-rs/pull/1814
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.7...@napi-rs/cli@3.0.0-alpha.8
@napi-rs/cli@3.0.0-alpha.7
11/8/2023
What's Changed
- fix(cli): artifacts command backward compatibility by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1797
- fix(cli): wrong wasm file name with --platform flag by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1798
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-sys@2.3.0...@napi-rs/cli@3.0.0-alpha.7
@napi-rs/cli@3.0.0-alpha.6
11/7/2023
What's Changed
- chore(deps): update yarn to v3.6.2 by @renovate in https://github.com/napi-rs/napi-rs/pull/1702
- chore(deps): update yarn to v3.6.3 by @renovate in https://github.com/napi-rs/napi-rs/pull/1708
- chore(cli): update ci template by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1771
- Integrate with emnapi by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1669
- fix(cli): switch name parsing to allow periods in name by @RaphaelDarley in https://github.com/napi-rs/napi-rs/pull/1716
- chore: upgrade to yarn 4 by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1774
- fix(cli): js binding template by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1788
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.13.3...@napi-rs/cli@3.0.0-alpha.6
@napi-rs/cli@2.16.5
11/2/2023
What's Changed
- fix(cli): switch name parsing to allow periods in name by @RaphaelDarley https://github.com/napi-rs/napi-rs/pull/1716
New Contributors
- @RaphaelDarley made their first contribution in https://github.com/napi-rs/napi-rs/pull/1716
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@2.16.4...@napi-rs/cli@2.16.5
@napi-rs/cli@2.16.4
11/2/2023
What's Changed
- chore(cli): update ci template by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1770
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@2.16.3...@napi-rs/cli@2.16.4
@napi-rs/cli@2.16.3
8/16/2023
What's Changed
- chore: upgrade npm dependencies by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1658
- fix(cli): zig 0.11 link args by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1698
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@2.16.2...@napi-rs/cli@2.16.3
@napi-rs/cli@3.0.0-alpha.5
7/18/2023
What's Changed
- fix(cli): add back override cargo by env by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1605
- docs(README): update platform support status by @kxxt in https://github.com/napi-rs/napi-rs/pull/1607
- chore(deps): update dependency electron to v25 by @renovate in https://github.com/napi-rs/napi-rs/pull/1610
- chore(deps): lock file maintenance by @renovate in https://github.com/napi-rs/napi-rs/pull/1612
- chore(deps): update yarn to v3.6.0 by @renovate in https://github.com/napi-rs/napi-rs/pull/1614
- chore: remove extra #[cfg] attribute by @aqrln in https://github.com/napi-rs/napi-rs/pull/1616
- chore(deps): update dependency electron to v25.1.0 by @renovate in https://github.com/napi-rs/napi-rs/pull/1617
- chore(deps): update dependency c8 to v8 by @renovate in https://github.com/napi-rs/napi-rs/pull/1624
- chore(deps): update dependency esbuild to ^0.18.0 by @renovate in https://github.com/napi-rs/napi-rs/pull/1623
- chore(deps): update dependency electron to v25.1.1 by @renovate in https://github.com/napi-rs/napi-rs/pull/1625
- fix cli incorrect behaviors by @forehalo in https://github.com/napi-rs/napi-rs/pull/1626
- ci: reduce the complex of CI config by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1628
- fix cli watch build and remove unused
--esmoption by @forehalo in https://github.com/napi-rs/napi-rs/pull/1631 - chore(deps): update dependency electron to v25.2.0 by @renovate in https://github.com/napi-rs/napi-rs/pull/1633
- chore(deps): update yarn to v3.6.1 by @renovate in https://github.com/napi-rs/napi-rs/pull/1636
- ci: fix FreeBSD and macOS arm64 CI by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1648
- build(deps): bump semver from 5.7.1 to 5.7.2 by @dependabot in https://github.com/napi-rs/napi-rs/pull/1651
- chore(deps): update dependency electron to v25.3.0 by @renovate in https://github.com/napi-rs/napi-rs/pull/1654
- fix(deps): update dependency @octokit/rest to v20 by @renovate in https://github.com/napi-rs/napi-rs/pull/1653
- chore: upgrade dependencies by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1657
- fix(cli): created template missing macOS testing by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1659
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.4...@napi-rs/cli@3.0.0-alpha.5
@napi-rs/cli@2.16.2
7/17/2023
What's Changed
- fix(cli): ts constEnum option not working when set in package.json by @pengx17 in https://github.com/napi-rs/napi-rs/pull/1647
New Contributors
- @pengx17 made their first contribution in https://github.com/napi-rs/napi-rs/pull/1647
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@2.16.1...@napi-rs/cli@2.16.2
@napi-rs/cli@2.16.0
5/27/2023
What's Changed
- feat(cli): support --profile flag by @Brooooooklyn https://github.com/napi-rs/napi-rs/commit/dfbe4645f9f84283d233d96c2ea6fa7fd68d5b8c
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@2.15.2...@napi-rs/cli@2.16.0
@napi-rs/cli@3.0.0-alpha.4
5/27/2023
What's Changed
- chore(deps): update dependency electron to v24.4.0 by @renovate in https://github.com/napi-rs/napi-rs/pull/1596
- feat(target): add support for riscv64gc-unknown-linux-gnu by @kxxt in https://github.com/napi-rs/napi-rs/pull/1599
- feat(cli): detect Cargo --profile argument by @lucasfernog in https://github.com/napi-rs/napi-rs/pull/1598
- fix(cli): revert back js-binding file by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1603
- refactor(cli): --profile flag by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1604
New Contributors
- @kxxt made their first contribution in https://github.com/napi-rs/napi-rs/pull/1599
- @lucasfernog made their first contribution in https://github.com/napi-rs/napi-rs/pull/1598
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.12.7...@napi-rs/cli@3.0.0-alpha.4
@napi-rs/cli@3.0.0-alpha.3
4/7/2023
3.0.0-alpha.3 (2023-04-07)
Bug Fixes
- cli: incorrect new project template content (7fcd68f)
@napi-rs/cli@3.0.0-alpha.0
4/6/2023
3.0.0-alpha.0 (2023-04-06)
Features
BREAKING CHANGES
- cli: requires node >= 16 and some cli options have been renamed
@napi-rs/cli@2.15.2
3/22/2023
What's Changed
- fix(cli,napi-derive): backward compatible with older cli with #1531 by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1536
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.12.1...@napi-rs/cli@2.15.2
@napi-rs/cli@2.15.1
3/21/2023
What's Changed
- fix(cli,napi-derive): re-export types from shared crate by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1531
- fix(cli): dts pipe by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1532
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.12.0...@napi-rs/cli@2.15.1
@napi-rs/cli@2.15.0
3/21/2023
What's Changed
- fix(cli): export non const enums when generating typedefs by @nebarf in https://github.com/napi-rs/napi-rs/pull/1527
- fix(napi): ThreadsafeFunctionHandle never being dropped by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1530
- feat: export registers in wasm32 target by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1529
New Contributors
- @meowtec made their first contribution in https://github.com/napi-rs/napi-rs/pull/1525
- @nebarf made their first contribution in https://github.com/napi-rs/napi-rs/pull/1527
- @victorteokw made their first contribution in https://github.com/napi-rs/napi-rs/pull/1526
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.11.4...@napi-rs/cli@2.15.0
@napi-rs/cli@2.14.8
2/16/2023
2.14.8 (2023-02-16)
Bug Fixes
@napi-rs/cli@2.14.7
2/8/2023
2.14.7 (2023-02-08)
Bug Fixes
@napi-rs/cli@2.14.6
2/2/2023
2.14.6 (2023-02-02)
Note: Version bump only for package @napi-rs/cli
@napi-rs/cli@2.14.5
1/29/2023
2.14.5 (2023-01-29)
Bug Fixes
- cli: upload GitHub assets issue (a302c9c)
@napi-rs/cli@2.14.4
1/20/2023
2.14.4 (2023-01-20)
Bug Fixes
- napi: build error with zig@0.10.1 (2f52793)
@napi-rs/cli@2.14.3
1/13/2023
What's Changed
- Fix broken zig behaviors by @controversial in https://github.com/napi-rs/napi-rs/pull/1432
New Contributors
- @controversial made their first contribution in https://github.com/napi-rs/napi-rs/pull/1432
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.10.6...@napi-rs/cli@2.14.3
@napi-rs/cli@2.14.2
1/10/2023
What's Changed
- Fix CARGO env var in
napi buildby @overlookmotel in https://github.com/napi-rs/napi-rs/pull/1426
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.10.5...@napi-rs/cli@2.14.2
@napi-rs/cli@2.14.1
1/3/2023
What's Changed
- [Fix] Quote toml path by @TheBrenny in https://github.com/napi-rs/napi-rs/pull/1410
- chore(cli): update CI template by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1416
New Contributors
- @TheBrenny made their first contribution in https://github.com/napi-rs/napi-rs/pull/1410
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.10.4...@napi-rs/cli@2.14.1
@napi-rs/cli@2.14.0
12/25/2022
What's Changed
- feat(cli):
Darwinuniversal architecture by @skirsdeda in https://github.com/napi-rs/napi-rs/pull/1397 - feat(cli): add --zig-link-only option by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1400
New Contributors
- @skirsdeda made their first contribution in https://github.com/napi-rs/napi-rs/pull/1397
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.10.3...@napi-rs/cli@2.14.0
@napi-rs/cli@2.13.3
12/15/2022
2.13.3 (2022-12-15)
Bug Fixes
- cli: set cmake toolchain for android cross build (#1394) (f2c10af)
- cli: template to works with nix (#1391) (36a897e)
@napi-rs/cli@2.13.2
12/9/2022
2.13.2 (2022-12-09)
Bug Fixes
- cli: ci template upgrade (bd1d3fe)
@napi-rs/cli@2.13.1
12/9/2022
2.13.1 (2022-12-09)
Bug Fixes
@napi-rs/cli@2.13.0
11/20/2022
What's Changed
See https://napi.rs/docs/cross-build/summary
- fix(cli): support help command by @ahaoboy in https://github.com/napi-rs/napi-rs/pull/1355
- feat(cli): auto choose the tooling for cross compiling by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1367
- chore(cli): upgrade Node.js dependencies by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1368
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.10.1...@napi-rs/cli@2.13.0
@napi-rs/cli@2.13.0-alpha.0
11/17/2022
2.13.0-alpha.0 (2022-11-17)
Features
- cli: auto choose the tooling for cross compiling (7faf4fc)
@napi-rs/cli@2.12.1
11/12/2022
2.12.1 (2022-11-12)
Bug Fixes
- cli: compatible with zig 0.10.0 (32cf02e)
- cli: incorrent version without npm folder (caeef4a)
- cli: support help command (#1355) (7f82c95)
@napi-rs/cli@2.12.0
10/4/2022
2.12.0 (2022-10-04)
Bug Fixes
Features
- cli: parse
Cargo.tomlusingcargo metadata(#1330) (4279291) - napi-derive: catch_unwind attribute (#1280) (b7a3103)
@napi-rs/cli@2.11.4
8/12/2022
2.11.4 (2022-08-12)
Bug Fixes
- cli: zig cross to *-apple-darwin target (14aab06)
@napi-rs/cli@2.11.3
8/12/2022
2.11.3 (2022-08-12)
Bug Fixes
- cli: ignore preinstall scripts on FreeBSD while installing yarn (1d1ef3d)
@napi-rs/cli@2.11.2
8/12/2022
2.11.2 (2022-08-12)
Bug Fixes
- cli: npm i -g flag is deprecated (9b9cd5d)
@napi-rs/cli@2.11.1
8/9/2022
2.11.1 (2022-08-09)
Bug Fixes
- cli: add .yarn and test folder to .npmignore (1cf5a0d)
@napi-rs/cli@2.11.0
8/7/2022
What's Changed
- feat(cli): support npmClient config by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1253
- feat(cli): use
CARGO_TARGET_DIRif set by @amrbashir in https://github.com/napi-rs/napi-rs/pull/1251 - chore(cli): improve
*.nodedoesn't exist warning msg wording by @amrbashir in https://github.com/napi-rs/napi-rs/pull/1254 - feat(cli): add an option to specify the github release name by @amrbashir in https://github.com/napi-rs/napi-rs/pull/1255
- feat(napi): call sync functions within tokio runtime by @Xaeroxe in https://github.com/napi-rs/napi-rs/pull/1242
- feat(cli): allow specifying an existing release by @amrbashir in https://github.com/napi-rs/napi-rs/pull/1256
New Contributors
- @amrbashir made their first contribution in https://github.com/napi-rs/napi-rs/pull/1251
@napi-rs/cli@2.10.3
7/27/2022
2.10.3 (2022-07-27)
Bug Fixes
- cli: android build due to GitHub Actions environments change (fd2060b)
@napi-rs/cli@2.10.2
7/22/2022
2.10.2 (2022-07-22)
Bug Fixes
- cli: upgrade freebsd ci (ed5fd40)
@napi-rs/cli@2.10.1
7/6/2022
2.10.1 (2022-07-06)
Bug Fixes
- cli: android CI template (227de9e)
@napi-rs/cli@2.10.0
6/10/2022
What's Changed
- parse host target triple from
rustc -vV@messense (#1191) (beb7511) - feat(cli): upgrade new project template to yarn3 by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1209
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-build@2.0.1...@napi-rs/cli@2.10.0
@napi-rs/cli@2.9.0
5/14/2022
2.9.0 (2022-05-14)
Features
@napi-rs/cli@2.8.0
5/7/2022
2.8.0 (2022-05-07)
Note: Version bump only for package @napi-rs/cli
@napi-rs/cli@2.8.0-alpha.0
5/6/2022
2.8.0-alpha.0 (2022-05-06)
Features
- cli: new command upgrade (652aa3c)
@napi-rs/cli@2.7.0
4/27/2022
2.7.0 (2022-04-27)
Bug Fixes
- cli: generated type def on multi impl blocks (c3a35a0)
Features
@napi-rs/cli@2.6.2
4/1/2022
2.6.2 (2022-04-01)
Bug Fixes
@napi-rs/cli@2.6.1
4/1/2022
2.6.1 (2022-04-01)
Bug Fixes
- cli: should not throw if cargoName is provided but no package.name (8700da1)
@napi-rs/cli@2.6.0
4/1/2022
2.6.0 (2022-04-01)
Bug Fixes
- cli: prevent crash if GITHUB_REPOSITORY is not specified (ac8406c)
- cli: respect CARGO_BUILD_TARGET env variable (bd08787)
- cli: use shell file path instead of commands for zig CC and CXX (09ccfaa)
Features
- cli: add libc filed in native package.json (ee0279e)
- cli: add support for building binaries (20b1edc)
- cli: upgrade ci.yml templates (1cac0ac)
@napi-rs/cli@2.5.0
3/22/2022
2.5.0 (2022-03-22)
Bug Fixes
- cli: use shell file path instead of commands for zig CC and CXX (09ccfaa)
Features
@napi-rs/cli@2.4.5
3/5/2022
2.4.5 (2022-03-05)
Bug Fixes
- cli: temporary dts path may not be writable (e69f023)
- napi: race issues with Node.js worker_thread (#1081) (9f3fbaa)
@napi-rs/cli@2.4.4
2/11/2022
2.4.4 (2022-02-11)
Bug Fixes
- cli: generate ExternalObject type on demand (f9c618e)
@napi-rs/cli@2.4.3
2/9/2022
2.4.3 (2022-02-09)
Bug Fixes
- cli: compatible for Node.js 10x (5f359df)
@napi-rs/cli@2.4.2
1/19/2022
2.4.2 (2022-01-19)
Bug Fixes
- cli: js binding template (25f6754)
@napi-rs/cli@2.4.1
1/18/2022
2.4.1 (2022-01-18)
Bug Fixes
- cli: missing shebang in zig-cross sh file (63a16d0)
- cli: properly handle RUSTFLAGS env var (d84cbe8)
- cli: swap -lgcc_s with -lunwind (1799aa9)
@napi-rs/cli@2.4.0
1/13/2022
2.4.0 (2022-01-13)
Bug Fixes
- cli: zig abi should pass to linker (95d49f8)
Features
- cli: add
--stripoption for removing symbols (887bdb9)
@napi-rs/cli@2.3.1
1/13/2022
2.3.1 (2022-01-13)
Bug Fixes
- cli: missing zig-abi-suffix support (472ac10)
@napi-rs/cli@2.3.0
1/6/2022
2.3.0 (2022-01-06)
Features
- cli: support macOS with --zig flag (0db94cc)
@napi-rs/cli@2.2.1
1/4/2022
2.2.1 (2022-01-04)
Bug Fixes
- cli: fix crate-type hint (894334e)
- cli: handle lld not found (eb79cce)
- cli: shell: true instead of bash (bc570c2)
- napi-derive,cli: export type alias for original name (556ace8)
- napi-derive: return instance from non-default constructor class (e6a30ff)
@napi-rs/cli@2.2.0
12/22/2021
2.2.0 (2021-12-22)
Features
- cli: provide a way to override the native package name (046f75d)
@napi-rs/cli@2.1.0
12/21/2021
2.1.0 (2021-12-21)
Bug Fixes
- cli: disable js binding generation if no --platform flag (f577512)
- keep .d.ts and .js untouched if native doesn't change (09c7df3)
Features
- napi: add ts typegen skip (df9dc91)
@napi-rs/cli@2.0.0
12/17/2021
2.0.0 (2021-12-17)
Note: Version bump only for package @napi-rs/cli
@napi-rs/cli@2.0.0-beta.5
12/10/2021
2.0.0-beta.5 (2021-12-10)
Bug Fixes
- cli: enum TypeScript type should be const enum (f4b0a2e)
- cli: preserve authors field while creating npm dir (ecb6522)
Features
- cli: provide rename command to rename everything in package-template project (b977265)
@napi-rs/cli@2.0.0-beta.4
12/7/2021
2.0.0-beta.4 (2021-12-07)
Features
- cli: workaround for Windows i686 ICE in dev mode (11a5a35)
Reverts
- Revert "build(deps): bump chalk from 4.1.2 to 5.0.0" (8b362d8)
@napi-rs/cli@2.0.0-beta.3
12/3/2021
2.0.0-beta.3 (2021-12-03)
Features
- napi: add -p flag which will be bypassed to cargo (8de30a9)
@napi-rs/cli@2.0.0-beta.2
12/2/2021
2.0.0-beta.2 (2021-12-02)
Bug Fixes
- cli: android armv7 CI config in new command (d495cc1)
@napi-rs/cli@2.0.0-beta.1
12/2/2021
2.0.0-beta.1 (2021-12-02)
Bug Fixes
- cli: missing exported enum (d58e488)
@napi-rs/cli@2.0.0-beta.0
12/2/2021
2.0.0-beta.0 (2021-12-02)
Features
- cli: fail the pipeline if artifacts not been built (5f22203)
- cli: support android armv7 target (68b0483)
- napi: support TypedArray input and output (d9c53d7)
@napi-rs/cli@2.0.0-alpha.11
11/25/2021
2.0.0-alpha.11 (2021-11-25)
Features
- napi: support export rust mod as ts namespace (1fe39ff)
@napi-rs/cli@2.0.0-alpha.8
11/21/2021
2.0.0-alpha.8 (2021-11-21)
Features
- cli: export android toolchains to PATH before build (dca5ada)
@napi-rs/cli@2.0.0-alpha.7
11/21/2021
2.0.0-alpha.7 (2021-11-21)
Bug Fixes
- cli: ExternalObject type decalare (1f64f9f)
@napi-rs/cli@2.0.0-alpha.6
11/21/2021
2.0.0-alpha.6 (2021-11-21)
Features
@napi-rs/cli@2.0.0-alpha.10
11/21/2021
2.0.0-alpha.10 (2021-11-21)
Features
- cli: create pre-release if tag includes alpha/beta/rc (7b797d3)
@napi-rs/cli@2.0.0-alpha.5
11/16/2021
2.0.0-alpha.5 (2021-11-16)
Bug Fixes
- always add a newline at the end of the file when generating js-binding.js (753bb1e)
Features
- napi: add pipe flag to pipe the generated files into custom command (e37c3fd)
@napi-rs/cli@2.0.0-alpha.4
11/9/2021
Generate JavaScript binding file for native addons
Compatible with both CommonJS and ESM
ESM and CommonJS are both supported by the generated JavaScript binding file. Using const { fastFunction } = require('@awesome/addon') or import { fastFunction } from '@awesome/addon' as you need.
No more need @node-rs/helper dependency
The @node-rs/helper is convenient to load native binary cross platform and cpu arch. But it's not friendly to webpack, vercel/nft and vercel/ncc because the logic is too dynamic.
It will close:
@napi-rs/cli@1.3.5
10/29/2021
1.3.5 (2021-10-29)
Make sure CI fails if yarn test fails (#818) @joaomoreno
@napi-rs/cli@1.3.4
10/27/2021
1.3.4 (2021-10-27)
Bug Fixes
- cli: workflow file generated by new command (b60b6de)
@napi-rs/cli@2.0.0-alpha.3
10/27/2021
2.0.0-alpha.3 (2021-10-27)
Bug Fixes
- cli: workflow file generated by new command (cbb71a9)
@napi-rs/cli@2.0.0-alpha.2
10/1/2021
2.0.0-alpha.2 (2021-10-01)
Features
- cli: strip android binary in CI (1c9a307)
@napi-rs/cli@2.0.0-alpha.1
10/1/2021
2.0.0-alpha.1 (2021-10-01)
Bug Fixes
- cli: missing main and types field in created package.json (860a02a)
Features
- cli: dts flag for build command (0e8de17)
@napi-rs/cli@1.3.3
9/19/2021
1.3.3 (2021-09-19)
Bug Fixes
- cli: version of binary optional dependencies should be pinned (27dbca8)
@napi-rs/cli@1.3.2
9/14/2021
1.3.2 (2021-09-14)
Bug Fixes
- cli: cargo config path and ci template in new command (c385254)
@napi-rs/cli@1.3.1
9/2/2021
1.3.1 (2021-09-02)
Bug Fixes
@napi-rs/cli@1.3.0
9/1/2021
1.3.0 (2021-09-01)
Features
- cli: add back new command (2c23f44)
@napi-rs/cli@1.2.1
8/9/2021
1.2.1 (2021-08-09)
Bug Fixes
- cli: create dist dir if not existed while building (e90ea93)
@napi-rs/cli@1.2.0
8/6/2021
1.2.0 (2021-08-06)
Features
@napi-rs/cli@1.1.0
6/7/2021
Feature
- feat(cli): support skip gh-release in prepublish command #601
@napi-rs/cli@1.0.4
4/21/2021
Feature
- Support
RUST_TARGETinnapi buildcommand #535
@napi-rs/cli@1.0.3
2/6/2021
Bug Fixes
- cli: new command without npm scope (5ef1887)
@napi-rs/cli@1.0.2
2/6/2021
Bug Fixes
- cli: mkdir -p is not valid command in powershell (84a6ea9)
@napi-rs/cli@1.0.1
1/7/2021
Bug Fixes
- cli: fix random node process got killed issue (58d4634)