napi-rs/cli/CHANGELOG.md
LongYinan f5b6854731
chore(release): publish
- @napi-rs/cli@3.0.0-alpha.45
2024-03-28 11:54:21 +08:00

48 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.45 (2024-03-28)

Bug Fixes

3.0.0-alpha.44 (2024-03-21)

Bug Fixes

  • deps: update dependency emnapi to v1.1.0 (#2006) (e2b1a3e)

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

  • cli: missing files in created wasi package (#1894) (9b8dab6)

3.0.0-alpha.31 (2024-01-08)

Bug Fixes

  • deps: update dependency @tybys/wasm-util to v0.8.1 (#1892) (ecde07f)

Features

  • cli: support generate browser compatible codes (#1891) (7d3b53d)

3.0.0-alpha.30 (2024-01-03)

Bug Fixes

3.0.0-alpha.29 (2024-01-02)

Bug Fixes

  • cli: missing wasm files in artifacts command (#1884) (c73cb31)

3.0.0-alpha.28 (2023-12-31)

Bug Fixes

  • cli: copy binding files into wasi packages (#1881) (f298016)

3.0.0-alpha.27 (2023-12-29)

Bug Fixes

  • deps: update dependency emnapi to v0.45.0 (#1879) (e175e6f)

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

  • cli: compatible with napi artifacts -d option (#1872) (72afe03)

3.0.0-alpha.24 (2023-12-26)

Features

  • cli: support wasi target test & release workflow (#1867) (c42f00f)

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

3.0.0-alpha.20 (2023-12-16)

Bug Fixes

  • cli: make prepublish as pre-publish alias (#1861) (2b7a634)

3.0.0-alpha.19 (2023-12-15)

Bug Fixes

Features

  • cli: support read config from the given config file (#1859) (5cab2bc)

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

  • napi-derive,cli: register function cross crates (#1848) (dab4ce7)

3.0.0-alpha.15 (2023-12-08)

Bug Fixes

  • cli: manifestPath and js binding output path (#1847) (1273735)

3.0.0-alpha.14 (2023-12-07)

Bug Fixes

  • cli: --features and --no-default-features should not be exclusive (#1846) (f43d483)

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

Features

3.0.0-alpha.10 (2023-12-01)

Features

  • cli: change wasm binding output format to cjs (#1831) (d5ecf90)

3.0.0-alpha.9 (2023-11-30)

Bug Fixes

Features

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

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

  • cli: brand new cli tool with both cli and programmatical usage (#1492) (a781a4f)

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

2.15.0 (2023-03-21)

Bug Fixes

  • cli: export non const enums when generating typedefs (#1527) (c8bd892)

Features

2.14.8 (2023-02-16)

Bug Fixes

  • cli: always generate typedef file even native code never changes (#1489) (7281f53)

2.14.7 (2023-02-08)

Bug Fixes

  • cli: JS bindgen file now respects destDir (#1481) (cb529d2)

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

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

  • cli: auto choose the tooling for cross compiling (#1367) (696c2dd)

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

  • cli: custom Cargo (build) target directories (#1300) (f7c26cc)

Features

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)

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

  • cli: parse host target triple from rustc -vV (#1191) (beb7511)

Features

  • cli: upgrade new project template to yarn3 (8f6a10c)

2.9.0 (2022-05-14)

Features

  • cli: allow specifying an alternative cargo binary via CARGO env var (#1181) (1399288)

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

  • cli: add build option to not include the header in dts file (#1140) (c390609)

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

  • cli: add libc filed in native package.json (ee0279e)
  • cli: upgrade ci.yml templates (1cac0ac)

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

  • cli: refactor cli build (4c3fe26)
  • napi: implement external value (bdfb150)

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

  • cli: ci template (45d3e68)
  • cli: missed inquirer dependency (c303f35)

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)

1.0.0 (2020-12-29)