Releases: web-infra-dev/rslib
v0.6.8
What's Changed
Bug Fixes 🐞
Document 📖
- docs(llms.txt): upgrade to [email protected] and add llms.txt by @SoonIter in #954
- docs(llms.txt): add more description by @SoonIter in #956
Other Changes
- chore(template): remove module field by @Timeless0911 in #955
- chore(deps): update all non-major dependencies by @renovate in #953
- chore(deps): update dependency @rsbuild/core to v1.3.14 by @renovate in #958
- chore(deps): update all non-major dependencies by @renovate in #961
- Release v0.6.8 by @Timeless0911 in #962
Full Changelog: v0.6.7...v0.6.8
v0.6.7
What's Changed
Bug Fixes 🐞
Other Changes
- Revert "chore: bump Rspack to canary (#941)" by @fi3ework in #948
- Release v0.6.7 by @Timeless0911 in #949
Full Changelog: v0.6.6...v0.6.7
v0.6.6
What's Changed
Bug Fixes 🐞
- fix: should process correct format of dts files by @Timeless0911 in #938
- fix: dts redirect extension should add correctly by @Timeless0911 in #940
- fix: should redirect import_require_clause statement in dts by @Timeless0911 in #945
Other Changes
- chore(deps): update all non-major dependencies by @renovate in #937
- chore: bump Rspack to canary by @fi3ework in #941
- chore(biome): should check all JavaScript file types by @Timeless0911 in #943
- chore(example): add SolidJS by @fi3ework in #944
- chore(deps): update all non-major dependencies by @renovate in #939
- Release v0.6.6 by @Timeless0911 in #946
Full Changelog: v0.6.5...v0.6.6
v0.6.5
What's Changed
Bug Fixes 🐞
- fix: use
writeFile
of ts api to rename declaration files by @Timeless0911 in #933 - fix: should throw error when no entry find with bundle dts by @Timeless0911 in #934
Other Changes
- chore(deps): update all non-major dependencies by @renovate in #935
- Release v0.6.5 by @Timeless0911 in #936
Full Changelog: v0.6.4...v0.6.5
v0.6.4
What's Changed
Bug Fixes 🐞
Other Changes
- chore(deps): update Rsbuild 1.3.7 by @Timeless0911 in #926
- chore(deps): update actions/setup-node digest to 49933ea by @renovate in #928
- chore(renovate): update non-major dependencies together by @Timeless0911 in #927
- chore(deps): update all non-major dependencies by @renovate in #931
- Release v0.6.4 by @Timeless0911 in #932
Full Changelog: v0.6.3...v0.6.4
v0.6.3
What's Changed
Performance 🚀
- perf: use promise to process dts files by @Timeless0911 in #915
- perf: use more performant ast-grep rule by @HerringtonDarkholme in #916
Bug Fixes 🐞
- fix: set filename dynamically using a function by @Timeless0911 in #912
- fix(examples): correct use require in ESM by @fi3ework in #919
Other Changes
- ci: ecosystem ci won't test snapshot by @fi3ework in #910
- chore(deps): update all patch dependencies by @renovate in #917
- chore(deps): rollback rspress to 2.0.0-alpha.8 by @Timeless0911 in #918
- chore(deps): update dependency @rsbuild/plugin-svgr to ^1.2.0 by @renovate in #922
- chore(deps): update dependency jsdom to ^26.1.0 by @renovate in #923
- chore(deps): update all patch dependencies by @renovate in #921
- Release v0.6.3 by @Timeless0911 in #924
New Contributors
- @HerringtonDarkholme made their first contribution in #916
Full Changelog: v0.6.2...v0.6.3
v0.6.2
What's Changed
Bug Fixes 🐞
- fix: do not modify filename when
cssModules.auto: false
by @Timeless0911 in #890
Document 📖
- docs: specify override
output.minify
by @Timeless0911 in #905
Other Changes
- chore(deps): update dependency nx to ^20.7.0 by @renovate in #892
- chore(deps): update dependency vitest to ^3.1.1 by @renovate in #893
- chore(deps): update dependency express to v5 by @renovate in #895
- chore(deps): update dependency zx to ^8.5.0 by @renovate in #894
- refactor: supersede entry query by entry dedicated loader by @fi3ework in #896
- chore(deps): update dependency @rsbuild/plugin-svgr to ^1.1.0 by @renovate in #901
- chore(deps): update minor deps by @Timeless0911 in #904
- chore(deps): update all patch dependencies by @renovate in #903
- chore(deps): update all patch dependencies by @renovate in #907
- chore(deps): update dependency @rsbuild/plugin-react to ^1.2.0 by @renovate in #908
- Release v0.6.2 by @Timeless0911 in #909
Full Changelog: v0.6.1...v0.6.2
v0.6.1
What's Changed
New Features 🎉
- feat: export Rspack and Rsbuild by @Timeless0911 in #883
Other Changes
- chore(deps): update rsbuild by @renovate in #885
- chore(deps): update dependency rslib to v0.6.0 by @renovate in #886
- chore(deps): update react monorepo to ^19.1.0 by @renovate in #887
- test: use local vendor instead of unpkg for react umd outputs by @Timeless0911 in #888
- chore(deps): update all patch dependencies by @renovate in #884
- Release v0.6.1 by @Timeless0911 in #889
Full Changelog: v0.6.0...v0.6.1
v0.6.0
Highlights ✨
This release brings exciting new features and improvements to Rslib:
-
New default library type for CJS: Rslib changes the default value of output.library.type for CJS from
commonjs
tocommonjs-static
. Now, individual exports will be set as properties onmodule.exports
and the output can be statically analyzable, thus named exports are importable into ESM via Node.js. This is useful when source code is written in ESM and the output should be compatible with both CJS and ESM. (#819)Named exports are importable into ESM via Node.js
- Input:
export function doSomething() {}
- Output:
function doSomething() {} // … exports.doSomething = __webpack_exports__.doSomething;
- Consumption (CJS):
const { doSomething } = require('./output.cjs'); // doSomething => [Function: doSomething]
- Consumption (ESM):
import { doSomething } from './output.cjs'; // doSomething => [Function: doSomething]
-
Show code frame for type errors: Rslib now shows full context and code frame of tsc diagnostics in the terminal when generating declaration files. This makes it easier to understand and fix issues in the source code. (#847)
What's Changed
New Features 🎉
Bug Fixes 🐞
- fix(dts): add missing
optionalDependencies
type by @Timeless0911 in #872
Document 📖
- docs: enhance
output.assetPrefix
by @Timeless0911 in #866 - docs(json): add documents for YAML and TOML file support by @oljc in #873
- docs: fix Discord URL by @Netail in #874
- docs: add default module definition systems by @Timeless0911 in #878
Other Changes
- chore(deps): bump Rslib/Rspress/Rsbuild by @Timeless0911 in #865
- chore(deps): update dependency simple-git-hooks to ^2.12.1 by @renovate in #871
- chore(deps): update all patch dependencies by @renovate in #870
- chore(deps): update Rsbuild to v1.3.0-beta.2 by @chenjiahan in #875
- test: add YAML and TOML tests by @Timeless0911 in #876
- refactor: use sync hook of
afterCompile
by @fi3ework in #877 - chore(deps): update all patch dependencies by @renovate in #879
- Release v0.6.0 by @Timeless0911 in #880
New Contributors
Full Changelog: v0.5.5...v0.6.0
v0.5.5
What's Changed
Bug Fixes 🐞
- fix: standardize logging messages by @Timeless0911 in #843
- fix: correct use contextDependencies by @fi3ework in #846
- fix: override default values of some type descriptions by @quanquan2100 in #857
Document 📖
- docs: fix typo by @BabyLy233 in #833
- docs: align theme colors with Rspack by @chenjiahan in #835
- docs: polish bundleless glossary by @Timeless0911 in #840
- docs: add some default strategy of declaration files generation by @Timeless0911 in #841
- docs: apply new theme colors to the documentation site by @chenjiahan in #848
Other Changes
- test: refactor some style tests by @Timeless0911 in #837
- chore(deps): update @rsbuild/core to v1.2.18 and fix snapshots by @chenjiahan in #839
- chore(deps): update all patch dependencies by @renovate in #834
- chore(deps): update Rsbuild to v1.2.19 by @chenjiahan in #845
- chore(deps): update dependency @microsoft/api-extractor to ^7.52.1 by @renovate in #850
- chore(deps): update dependency @module-federation/enhanced to ^0.11.0 by @renovate in #851
- chore(deps): update dependency @module-federation/rsbuild-plugin to ^0.11.0 by @renovate in #852
- chore(workflow): let renovate pin GitHub Action digests by @chenjiahan in #853
- test: add cssModules namedExport test case by @SoonIter in #854
- chore(deps): pin dependencies by @renovate in #855
- test: fix unstable build --watch test by @Timeless0911 in #858
- refactor: optimize dts logs and show codeblocks of tsc diagnostics by @Timeless0911 in #847
- chore(deps): update all patch dependencies by @renovate in #849
- chore(deps): update dependency nx to ^20.6.2 by @renovate in #863
- chore(deps): update dependency babel-plugin-polyfill-corejs3 to ^0.12.0 by @renovate in #862
- Release v0.5.5 by @Timeless0911 in #864
New Contributors
- @BabyLy233 made their first contribution in #833
- @quanquan2100 made their first contribution in #857
Full Changelog: v0.5.4...v0.5.5