Releases: web-infra-dev/rslib
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.pathandredirect.asset.extensionby @Timeless0911 in #1119
Bug Fixes 🐞
- fix(dts): error log of set declarationDir when
dts.buildis 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
.npmrctopnpm-workspace.yamlby @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.cachecaused 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.yamlby @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-rslibto 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
v0.9.2
Highlights ✨
We have simplified the ESM output, see the comparison in the figure below.
No __webpack_exports__ and __WEBPACK_EXTERNAL_MODULE_ now!
What's Changed
New Features 🎉
- feat(create-rslib): bump Storybook to v9 by @renovate in #1036
- feat: bump Rsbuild 1.4.0-beta.2 to enhance external module render by @Timeless0911 in #1042
Document 📖
- docs: update output format description to include IIFE by @chenjiahan in #1038
- docs: reopen domain redirection by @Timeless0911 in #1041
Other Changes
- chore(deps): update all non-major dependencies by @renovate in #1035
- test: filter the tsconfig error log by @chenjiahan in #1039
- chore(deps): update all non-major dependencies by @renovate in #1043
- Release v0.9.2 by @Timeless0911 in #1044
Full Changelog: v0.9.1...v0.9.2
v0.9.1
What's Changed
New Features 🎉
- feat(dts): support override bundledPackages by @Timeless0911 in #1025
Bug Fixes 🐞
Document 📖
- docs: update Rslib website URL by @chenjiahan in #1026
- docs: redirect lib.rsbuild.dev to rslib.rs by @chenjiahan in #1027
- docs: update redirect rules order by @chenjiahan in #1028
- docs: update URLs to use new domains by @chenjiahan in #1029
- docs: disable domain redirection by @chenjiahan in #1030
- docs: update Vue template in quick start chapter by @Timeless0911 in #1031
Other Changes
- chore(deps): update all non-major dependencies by @renovate in #1023
- chore(deps): change @rsbuild/core from caret (^) to tilde (~) range by @Timeless0911 in #1024
- Release v0.9.1 by @Timeless0911 in #1033
Full Changelog: v0.9.0...v0.9.1