Repository navigation
What's Changed
Breaking changes
- Upgrade
selfsignedto v5. Certificate generation now uses WebCrypto and@peculiar/x509, removing thenode-forgedependency. TheselfsignedOptions.daysoption has been removed; useselfsignedOptions.notAfterDateinstead. The default certificate validity remains 30 days. - Require Rsbuild v2. Rsbuild v1 is no longer supported. Upgrade
@rsbuild/coreto 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
importor dynamicimport()to load the plugin. - Move the default certificate cache. Certificates are now stored in
<project>/node_modules/.cache/basic-sslinstead of the plugin’s installation directory. A new certificate will be generated on first use after upgrading. ExplicitoutputPathsettings continue to work.
Feature
- feat!: upgrade selfsigned to v5 to drop node-forge by @Nsttt in #89
- feat!: remove legacy selfsigned days option by @chenjiahan in #90
- feat!: publish a pure ESM package by @chenjiahan in #91
- feat!: drop Rsbuild v1 support by @chenjiahan in #92
Bugfix
- fix: preserve user HTTPS options by @chenjiahan in #94
- fix: remove stale package entry fields by @chenjiahan in #62
- fix: use SHA-256 for new certificates by default by @chenjiahan in #95
- fix: cache certificates in the project directory by @chenjiahan in #96
- fix: create certificate cache directories recursively by @chenjiahan in #99
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