Releases: web-infra-dev/rslib
v0.11.2
What's Changed
Trusted Publishing
All Rslib npm packages are now published based on npm's trusted publishing, making Rslib's npm packages more secure and transparent.
See:
- https://github.blog/changelog/2025-07-31-npm-trusted-publishing-with-oidc-is-generally-available/
- https://docs.npmjs.com/trusted-publishers
Document 📖
- docs: add llms copy button by @Timeless0911 in #1146
Other Changes
- chore(deps): update all non-major dependencies by @renovate[bot] in #1145
- chore: enable trusted publishing for npm packages by @Timeless0911 in #1147
- chore(deps): update dependency heading-case to v1 by @renovate[bot] in #1149
- chore(deps): update all non-major dependencies by @renovate[bot] in #1148
- Release v0.11.2 by @Timeless0911 in #1150
Full Changelog: v0.11.1...v0.11.2
v0.11.1
What's Changed
New Features 🎉
- feat(dts): support
dts.alias
by @Timeless0911 in #1135
Bug Fixes 🐞
- fix: should not throw minify error when using import.meta in iife output by @Timeless0911 in #1125
- fix: determine wasmLoading by target by @fi3ework in #1136
- fix(dts): clean correct tsbuildinfo file by @Timeless0911 in #1138
Other Changes
- chore: add open collective funding link by @chenjiahan in #1126
- chore(deps): bump Rsbuild 1.4.10 and Rstest 0.0.10 by @Timeless0911 in #1127
- chore(deps): update all non-major dependencies by @renovate[bot] in #1132
- chore(deps): update dependency cross-env to v10 by @renovate[bot] in #1133
- chore(deps): bump Rsbuild 1.4.12 by @Timeless0911 in #1139
- chore(deps): update all non-major dependencies by @renovate[bot] in #1141
- Release v0.11.1 by @Timeless0911 in #1142
Full Changelog: v0.11.0...v0.11.1
v0.11.0
Breaking changes 🚨
redirect.asset
Boolean values are no longer supported for redirect.asset
, see the documentation of redirect.asset for more details. (#1119)
Please note the following changes that may require adjustments to your configurations:
export default defineConfig({
lib: [
{
redirect: {
- asset: true,
+ asset: {
+ path: true,
+ extension: true,
+ },
},
},
],
});
export default defineConfig({
lib: [
{
redirect: {
- asset: false,
+ asset: {
+ path: false,
+ extension: false,
+ },
},
},
],
});
What's Changed
New Features 🎉
- feat!: support
redirect.asset.path
andredirect.asset.extension
by @Timeless0911 in #1119
Bug Fixes 🐞
- fix(dts): error log of set declarationDir when
dts.build
is true by @Timeless0911 in #1120
Other Changes
- chore(deps): update all non-major dependencies by @renovate[bot] in #1121
- chore: fix pnpm dedupe by @Timeless0911 in #1123
- chore(deps): update all non-major dependencies by @renovate[bot] in #1122
- Release v0.11.0 by @Timeless0911 in #1124
Full Changelog: v0.10.6...v0.11.0
v0.10.6
What's Changed
Bug Fixes 🐞
- fix: improve formatting of minutes in build time by @Timeless0911 in #1112
- fix(dts): preserve importer if resolved to node_modules folder by @Timeless0911 in #1115
- fix(dts): get pre-emit diagnostics before emit by @Timeless0911 in #1116
Other Changes
- chore(deps): bump Rsbuild 1.4.5 by @Timeless0911 in #1109
- chore(deps): update all non-major dependencies by @renovate[bot] in #1114
- chore(deps): update all non-major dependencies by @renovate[bot] in #1117
- Release v0.10.6 by @Timeless0911 in #1118
Full Changelog: v0.10.5...v0.10.6
v0.10.5
What's Changed
Bug Fixes 🐞
- fix: svgr should not work in css file by @Timeless0911 in #1106
Document 📖
- docs: add deepwiki badge by @Timeless0911 in #1100
Other Changes
- chore: move pnpm config from
.npmrc
topnpm-workspace.yaml
by @Timeless0911 in #1098 - chore(deps): update all non-major dependencies by @renovate in #1097
- chore(deps): update dependency vue-tsc to v3 by @renovate in #1102
- test: use Rstest as Rslib's test framework by @fi3ework in #1090
- chore(deps): update all non-major dependencies by @renovate in #1105
- chore: correct check-dependency-version script by @Timeless0911 in #1107
- Release v0.10.5 by @Timeless0911 in #1108
Full Changelog: v0.10.4...v0.10.5
v0.10.4
What's Changed
New Features 🎉
In order to fix an issue where
require.cache
caused unexpected ESM output
Document 📖
- docs: modify ESM and CJS mdx component by @Timeless0911 in #1095
Other Changes
- chore(deps): bump Rspress 2.0.0-beta.17 by @Timeless0911 in #1089
- chore(deps): bump Rsbuild 1.4.0 by @Timeless0911 in #1091
- chore(pnpm): bump pnpm and move settings to
pnpm-workspace.yaml
by @Timeless0911 in #1092 - chore(deps): update all non-major dependencies by @renovate in #1093
- chore(deps): update dependency @vitejs/plugin-vue to v6 by @renovate in #1094
- Release v0.10.4 by @Timeless0911 in #1096
Full Changelog: v0.10.3...v0.10.4
v0.10.3
What's Changed
Bug Fixes 🐞
- fix(dts): collect all kinds of diagnostics when composite is true by @Timeless0911 in #1086
Other Changes
- chore(deps): update all non-major dependencies by @renovate in #1084
- chore(deps): bump Rsbuild 1.4.0-rc.0 by @Timeless0911 in #1087
- Release v0.10.3 by @Timeless0911 in #1088
Full Changelog: v0.10.2...v0.10.3
v0.10.2
What's Changed
Bug Fixes 🐞
- fix(dts): should emit all kinds of diagnostics when composite is true by @Timeless0911 in #1081
Document 📖
- docs: remove index page from rss by @Timeless0911 in #1078
- docs: use import attributes to import JSON files by @Timeless0911 in #1079
Other Changes
- Release v0.10.2 by @Timeless0911 in #1082
Full Changelog: v0.10.1...v0.10.2
v0.10.1
What's Changed
Bug Fixes 🐞
- fix: do not redirect third party css file by @Timeless0911 in #1069
Document 📖
- docs: specify minify for umd format by @Timeless0911 in #1064
Other Changes
- chore(deps): bump Rslib v0.10.0 by @Timeless0911 in #1063
- chore: let GitHub languages ignores MDX files by @Timeless0911 in #1065
- chore(deps): bump Rsbuild 1.4.0-beta.4 by @Timeless0911 in #1067
- refactor: remove circular dependency and add plugin to detect by @Timeless0911 in #1070
- chore(deps): update Biome to v2 by @Timeless0911 in #1072
- chore(deps): update all non-major dependencies by @renovate in #1074
- Release v0.10.1 by @Timeless0911 in #1075
Full Changelog: v0.10.0...v0.10.1
v0.10.0
Highlights ✨
New ESM Output
We have simplified the ESM output to improve readability and reduce bundle size. See the comparison in the figure below.

Compared with v0.9.2, additional optimization for import default has been included.
What's Changed
New Features 🎉
- feat: bump Rsbuild 1.4.0-beta.3 to enhance default import rename by @Timeless0911 in #1053
Bug Fixes 🐞
- fix: bump
storybook-addon-rslib
to fix mf storybook edge case by @Timeless0911 in #1047
Document 📖
- docs: add more chapters of TypeScript related by @Timeless0911 in #1048
- docs: generate the sitemap for SEO by @chenjiahan in #1049
- docs: remove Modern.js Module tests coverage by @Timeless0911 in #1051
- docs: add difference of modify config plugin hook by @Timeless0911 in #1058
- docs: clarify how to set browserslist by @Timeless0911 in #1057
- docs: how to generate esm outputs for mf format by @Timeless0911 in #1059
- docs: list a table of all dts features by @Timeless0911 in #1055
Other Changes
- chore(deps): revert rspress 2.0.0-beta.10 by @Timeless0911 in #1045
- chore(deps): update all non-major dependencies by @renovate in #1046
- test: correct test config of resolve false case by @Timeless0911 in #1050
- chore(deps): update all non-major dependencies by @renovate in #1061
- chore(plugin-dts): remove error stack which is not helpful to users by @Timeless0911 in #1056
- test: do not display expected error logs in terminal during testing by @Timeless0911 in #1054
- Release v0.10.0 by @Timeless0911 in #1062
Full Changelog: v0.9.2...v0.10.0