napi-rs/cli/CHANGELOG.md
LongYinan 05f3c4c2ed
chore: publish
- @napi-rs/cli@2.13.1
2022-12-09 18:57:38 +08:00

24 KiB

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

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)