Skip to content

v2.0.0

Latest

Choose a tag to compare

@chenjiahan chenjiahan released this 05 Oct 02:55
· 1 commit to main since this release

What's Changed

Breaking changes

  • Upgrade selfsigned to v5. Certificate generation now uses WebCrypto and @peculiar/x509, removing the node-forge dependency. The selfsignedOptions.days option has been removed; use selfsignedOptions.notAfterDate instead. The default certificate validity remains 30 days.
  • Require Rsbuild v2. Rsbuild v1 is no longer supported. Upgrade @rsbuild/core to v2 and use Node.js ^20.19.0 || >=22.12.0.
  • Publish as a pure ESM package. The CommonJS build has been removed. Use ESM import or dynamic import() to load the plugin.
  • Move the default certificate cache. Certificates are now stored in <project>/node_modules/.cache/basic-ssl instead of the plugin’s installation directory. A new certificate will be generated on first use after upgrading. Explicit outputPath settings continue to work.

Feature

Bugfix

Other changes

  • chore: build before stage publish by @chenjiahan in #63
  • chore: update peer dependency range by @chenjiahan in #64
  • chore(deps): update all non-major dependencies by @renovate[bot] in #65
  • chore: optimize CI pnpm setup by @chenjiahan in #66
  • chore: upgrade rslint to 0.6.1 by @chenjiahan in #68
  • chore(deps): update all non-major dependencies by @renovate[bot] in #67
  • chore: add package support metadata by @YfengJ in #69
  • chore(deps): update all non-major dependencies by @renovate[bot] in #71
  • chore: update TypeScript to 7.0.2 by @chenjiahan in #72
  • chore(deps): update actions/checkout digest to df4cb1c by @renovate[bot] in #70
  • chore: migrate tests to Rstest by @chenjiahan in #73
  • chore(deps): update all non-major dependencies by @renovate[bot] in #74
  • chore: update pnpm release age exclusions by @chenjiahan in #75
  • chore(ci): only install Chromium by @chenjiahan in #76
  • chore(deps): update actions/checkout digest to d23441a by @renovate[bot] in #77
  • chore(deps): update actions/setup-node digest to 2499707 by @renovate[bot] in #78
  • chore(deps): update all non-major dependencies by @renovate[bot] in #80
  • chore(deps): upgrade Rslint to v0.8.1 by @chenjiahan in #79
  • chore(deps): update all non-major dependencies by @renovate[bot] in #81
  • chore(deps): update actions/checkout action to v7 by @renovate[bot] in #82
  • chore: migrate to Rstack CLI by @chenjiahan in #84
  • chore(deps): update actions/setup-node action to v7 by @renovate[bot] in #83
  • chore: align Rstack editor and lint configuration by @chenjiahan in #85
  • chore: use pnpm version for releases by @chenjiahan in #86
  • chore(deps): update all non-major dependencies by @renovate[bot] in #87
  • chore(deps): update pnpm to v12 by @renovate[bot] in #88
  • perf: load selfsigned only when generating certificates by @chenjiahan in #97
  • chore: target ES2023 output by @chenjiahan in #93

New Contributors

Full Changelog: v1.2.3...v2.0.0