a54b759bb1
- @napi-rs/cli@3.0.0-alpha.54 - @napi-rs/triples@2.0.0-alpha.16
53 KiB
53 KiB
Change Log
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
3.0.0-alpha.54 (2024-04-23)
Bug Fixes
3.0.0-alpha.52 (2024-04-22)
Bug Fixes
Features
3.0.0-alpha.51 (2024-04-19)
Bug Fixes
Features
3.0.0-alpha.50 (2024-04-17)
Features
3.0.0-alpha.49 (2024-04-16)
Bug Fixes
Features
3.0.0-alpha.48 (2024-04-15)
Features
3.0.0-alpha.47 (2024-04-13)
Bug Fixes
Features
- cli: add support for armv7-unknown-linux-muslebihf (#2019) (7ae5623)
- cli: support wasm32-wasipxx targets (#2030) (4c7d06f)
- target: add support for powerpc64le-unknown-linux-gnu (#2023) (0fa755d)
- target: add support for s390x-unknown-linux-gnu (#2028) (2e0f983)
3.0.0-alpha.46 (2024-04-10)
Bug Fixes
Features
- cli: add support for armv7-unknown-linux-muslebihf (#2019) (7ae5623)
- cli: support wasm32-wasipxx targets (#2030) (4c7d06f)
- target: add support for powerpc64le-unknown-linux-gnu (#2023) (0fa755d)
- target: add support for s390x-unknown-linux-gnu (#2028) (2e0f983)
3.0.0-alpha.45 (2024-03-28)
Bug Fixes
3.0.0-alpha.44 (2024-03-21)
Bug Fixes
3.0.0-alpha.43 (2024-02-28)
Bug Fixes
3.0.0-alpha.42 (2024-02-28)
Note: Version bump only for package @napi-rs/cli
3.0.0-alpha.41 (2024-02-22)
Bug Fixes
- cli: allow more platform & arch fallback to wasm (#1969) (da99081)
- cli: fallback to wasm32 if platform is not support (#1967) (0306e30)
3.0.0-alpha.40 (2024-02-19)
Bug Fixes
3.0.0-alpha.39 (2024-02-18)
Bug Fixes
- cli: ensure cwd and outputDir are used for finding files (#1949) (6aae4ba)
- cli: set cxxflags while WASI_SDK_PATH exists (#1955) (09efd41)
Features
3.0.0-alpha.38 (2024-02-12)
Features
3.0.0-alpha.37 (2024-02-12)
Bug Fixes
- cli: log more wasi load errors (ff2ccc9)
- cli: setup cxx env while using napi-cross (#1942) (0205fd9)
3.0.0-alpha.36 (2024-01-16)
Bug Fixes
3.0.0-alpha.35 (2024-01-16)
Features
- add wasm runtime package (#1904) (120accd)
- cli: Add support for s390x linux arch in js bindings template (#1901) (ddeaf30)
3.0.0-alpha.34 (2024-01-10)
Bug Fixes
3.0.0-alpha.33 (2024-01-08)
Bug Fixes
3.0.0-alpha.32 (2024-01-08)
Bug Fixes
3.0.0-alpha.31 (2024-01-08)
Bug Fixes
Features
3.0.0-alpha.30 (2024-01-03)
Bug Fixes
- cli: upload to github releases issue (#1888) (3889d8a)
- cli: wasi fallback package load logic (#1887) (5746355)
3.0.0-alpha.29 (2024-01-02)
Bug Fixes
3.0.0-alpha.28 (2023-12-31)
Bug Fixes
3.0.0-alpha.27 (2023-12-29)
Bug Fixes
3.0.0-alpha.26 (2023-12-29)
Bug Fixes
- cli: also load wasm file from packages (#1876) (b0ba466)
- cli: exclude node_modules in artifacts command (67743b1)
3.0.0-alpha.25 (2023-12-28)
Bug Fixes
3.0.0-alpha.24 (2023-12-26)
Features
3.0.0-alpha.23 (2023-12-17)
Note: Version bump only for package @napi-rs/cli
3.0.0-alpha.22 (2023-12-16)
Bug Fixes
3.0.0-alpha.21 (2023-12-16)
Bug Fixes
- cli: prepublish alias (2a82399)
3.0.0-alpha.20 (2023-12-16)
Bug Fixes
3.0.0-alpha.19 (2023-12-15)
Bug Fixes
Features
3.0.0-alpha.18 (2023-12-13)
Bug Fixes
3.0.0-alpha.17 (2023-12-13)
Bug Fixes
- binding: add riscv64 binding (#1851) (e3902e0)
- cli: make outputDir option of artifacts command compatible with v2 (#1850) (a697cf1)
3.0.0-alpha.16 (2023-12-11)
Bug Fixes
3.0.0-alpha.15 (2023-12-08)
Bug Fixes
3.0.0-alpha.14 (2023-12-07)
Bug Fixes
3.0.0-alpha.13 (2023-12-06)
Bug Fixes
- cli: C_FLAGS should be CFLAGS (266d1f2)
3.0.0-alpha.12 (2023-12-05)
Bug Fixes
3.0.0-alpha.11 (2023-12-05)
Bug Fixes
- cli: duplicated node matrix (#1835) (830dd8b)
- cli: throws if target path of new command test fails (#1834) (5160857)
Features
3.0.0-alpha.10 (2023-12-01)
Features
3.0.0-alpha.9 (2023-11-30)
Bug Fixes
Features
- cli: export parseTriple function (#1830) (5949fc9)
- update cli template with edtion2021(#1739) (#1828) (4301b9a)
3.0.0-alpha.8 (2023-11-20)
Note: Version bump only for package @napi-rs/cli
3.0.0-alpha.7 (2023-11-08)
Bug Fixes
- cli: artifacts command backward compatibility (#1797) (6ec46b7)
- cli: wrong wasm file name with --platform flag (#1798) (8ddd35c)
3.0.0-alpha.6 (2023-11-07)
Bug Fixes
- cli: js binding template (#1788) (dac0738)
- cli: pick right android tools while cross compiling (#1675) (f2f4b48)
- cli: set RANLIB while building android targets (5d0240e)
- cli: switch name parsing to allow periods in name (fcb5c2b)
Features
Performance Improvements
3.0.0-alpha.5 (2023-07-18)
Bug Fixes
- cli: add back override cargo by env (#1605) (e60b1a5)
- cli: created template missing macOS testing (#1659) (4e0c9b1)
- cli: incorrect behaviors (#1626) (fb22a5a)
- cli: revert back js-binding file (#1603) (82c2113)
- deps: update dependency @octokit/rest to v20 (#1653) (f610129)
Features
- cli: add --use-cross command for building with
cross
(#1584) (5860088), closes #1582 - cli: detect Cargo
--profile
argument (#1598) (8583603) - target: riscv64gc-unknown-linux-gnu (72fcd03)
3.0.0-alpha.3 (2023-04-07)
Bug Fixes
- cli: incorrect new project template content (7fcd68f)
3.0.0-alpha.2 (2023-04-06)
Note: Version bump only for package @napi-rs/cli
3.0.0-alpha.1 (2023-04-06)
Bug Fixes
- cli: missing shebang prefix in cli entries (e4c4a5f)
3.0.0-alpha.0 (2023-04-06)
Features
BREAKING CHANGES
- cli: requires node >= 16 and some cli options have been renamed
2.15.2 (2023-03-22)
Bug Fixes
2.15.1 (2023-03-21)
Bug Fixes
- cli,napi-derive: re-export types from shared crate (#1531) (3d48d44)
- cli: dts pipe (#1532) (0f0837f)
2.15.0 (2023-03-21)
Bug Fixes
Features
2.14.8 (2023-02-16)
Bug Fixes
2.14.7 (2023-02-08)
Bug Fixes
2.14.6 (2023-02-02)
Note: Version bump only for package @napi-rs/cli
2.14.5 (2023-01-29)
Bug Fixes
- cli: upload GitHub assets issue (a302c9c)
2.14.4 (2023-01-20)
Bug Fixes
- napi: build error with zig@0.10.1 (2f52793)
2.14.2 (2023-01-10)
Bug Fixes
2.14.1 (2023-01-03)
Bug Fixes
2.14.0 (2022-12-25)
Features
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)
2.13.2 (2022-12-09)
Bug Fixes
- cli: ci template upgrade (bd1d3fe)
2.13.1 (2022-12-09)
Bug Fixes
2.13.0 (2022-11-20)
Features
2.13.0-alpha.6 (2022-11-20)
Note: Version bump only for package @napi-rs/cli
2.13.0-alpha.5 (2022-11-20)
Note: Version bump only for package @napi-rs/cli
2.13.0-alpha.4 (2022-11-20)
Note: Version bump only for package @napi-rs/cli
2.13.0-alpha.3 (2022-11-20)
Note: Version bump only for package @napi-rs/cli
2.13.0-alpha.2 (2022-11-17)
Note: Version bump only for package @napi-rs/cli
2.13.0-alpha.1 (2022-11-17)
Note: Version bump only for package @napi-rs/cli
2.13.0-alpha.0 (2022-11-17)
Features
- cli: auto choose the tooling for cross compiling (7faf4fc)
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)
2.12.0 (2022-10-04)
Bug Fixes
Features
- cli: parse
Cargo.toml
usingcargo metadata
(#1330) (4279291) - napi-derive: catch_unwind attribute (#1280) (b7a3103)
2.11.4 (2022-08-12)
Bug Fixes
- cli: zig cross to *-apple-darwin target (14aab06)
2.11.3 (2022-08-12)
Bug Fixes
- cli: ignore preinstall scripts on FreeBSD while installing yarn (1d1ef3d)
2.11.2 (2022-08-12)
Bug Fixes
- cli: npm i -g flag is deprecated (9b9cd5d)
2.11.1 (2022-08-09)
Bug Fixes
- cli: add .yarn and test folder to .npmignore (1cf5a0d)
2.11.0 (2022-08-07)
- feat(cli): support npmClient config by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1253
- feat(cli): use
CARGO_TARGET_DIR
if set by @amrbashir in https://github.com/napi-rs/napi-rs/pull/1251 - chore(cli): improve
-.node
doesn'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(cli): allow specifying an existing release by @amrbashir in https://github.com/napi-rs/napi-rs/pull/1256
2.10.3 (2022-07-27)
Bug Fixes
- cli: android build due to GitHub Actions environments change (fd2060b)
2.10.2 (2022-07-22)
Bug Fixes
- cli: upgrade freebsd ci (ed5fd40)
2.10.1 (2022-07-06)
Bug Fixes
- cli: android CI template (227de9e)
2.10.0 (2022-06-10)
Bug Fixes
Features
- cli: upgrade new project template to yarn3 (8f6a10c)
2.9.0 (2022-05-14)
Features
2.8.0 (2022-05-07)
Note: Version bump only for package @napi-rs/cli
2.8.0-alpha.0 (2022-05-06)
Features
- cli: new command upgrade (652aa3c)
2.7.0 (2022-04-27)
Bug Fixes
- cli: generated type def on multi impl blocks (c3a35a0)
Features
2.6.2 (2022-04-01)
Bug Fixes
2.6.1 (2022-04-01)
Bug Fixes
- cli: should not throw if cargoName is provided but no package.name (8700da1)
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)
2.5.0 (2022-03-22)
Bug Fixes
- cli: use shell file path instead of commands for zig CC and CXX (09ccfaa)
Features
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)
2.4.4 (2022-02-11)
Bug Fixes
- cli: generate ExternalObject type on demand (f9c618e)
2.4.3 (2022-02-09)
Bug Fixes
- cli: compatible for Node.js 10x (5f359df)
2.4.2 (2022-01-19)
Bug Fixes
- cli: js binding template (25f6754)
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)
2.4.0 (2022-01-13)
Bug Fixes
- cli: zig abi should pass to linker (95d49f8)
Features
- cli: add
--strip
option for removing symbols (887bdb9)
2.3.1 (2022-01-13)
Bug Fixes
- cli: missing zig-abi-suffix support (472ac10)
2.3.0 (2022-01-06)
Features
- cli: support macOS with --zig flag (0db94cc)
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)
2.2.0 (2021-12-22)
Features
- cli: provide a way to override the native package name (046f75d)
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)
2.0.0 (2021-12-17)
Note: Version bump only for package @napi-rs/cli
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)
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)
2.0.0-beta.3 (2021-12-03)
Features
- napi: add -p flag which will be bypassed to cargo (8de30a9)
2.0.0-beta.2 (2021-12-02)
Bug Fixes
- cli: android armv7 CI config in new command (d495cc1)
2.0.0-beta.1 (2021-12-02)
Bug Fixes
- cli: missing exported enum (d58e488)
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)
2.0.0-alpha.12 (2021-11-30)
Features
- napi: output Rust doc comments in definitions as jsdoc comments (18d2743)
2.0.0-alpha.11 (2021-11-25)
Features
- napi: support export rust mod as ts namespace (1fe39ff)
2.0.0-alpha.10 (2021-11-21)
Features
- cli: create pre-release if tag includes alpha/beta/rc (7b797d3)
2.0.0-alpha.9 (2021-11-21)
Bug Fixes
- cli: wrong release assets content (458c5c9)
2.0.0-alpha.8 (2021-11-21)
Features
- cli: export android toolchains to PATH before build (dca5ada)
2.0.0-alpha.7 (2021-11-21)
Bug Fixes
- cli: ExternalObject type decalare (1f64f9f)
2.0.0-alpha.6 (2021-11-21)
Features
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)
2.0.0-alpha.4 (2021-11-09)
Features
- cli: generate js binding to avoid dynamic require logic (179f20a)
2.0.0-alpha.3 (2021-10-27)
Bug Fixes
- cli: workflow file generated by new command (cbb71a9)
2.0.0-alpha.2 (2021-10-01)
Features
- cli: strip android binary in CI (1c9a307)
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)
2.0.0-alpha.0 (2021-09-22)
1.3.3 (2021-09-19)
Bug Fixes
- cli: version of binary optional dependencies should be pinned (27dbca8)
1.3.2 (2021-09-14)
Bug Fixes
- cli: cargo config path and ci template in new command (c385254)
1.3.1 (2021-09-02)
Bug Fixes
1.3.0 (2021-09-01)
Features
- cli: add back new command (2c23f44)
1.2.1 (2021-08-09)
Bug Fixes
- cli: create dist dir if not existed while building (e90ea93)
1.2.0 (2021-08-06)
Features
- cli: upgrade clipanion v3 (67ad0a4)
1.1.0 (2021-06-07)
Features
- cli: support skip gh-release in prepublish command (253360e)
- cli: update new project template (9aac626)
1.0.3 (2021-02-06)
Bug Fixes
- cli: new command without npm scope (5ef1887)
1.0.2 (2021-01-15)
Bug Fixes
- cli: mkdir -p is not valid command in powershell (84a6ea9)
1.0.1 (2021-01-07)
Bug Fixes
- cli: fix random node process got killed issue (58d4634)