Releases: web-infra-dev/rslib
Releases · web-infra-dev/rslib
v0.2.1
What's Changed
Bug Fixes 🐞
- fix: adapt @rspack/core 1.1.9 by @fi3ework in #602
- fix(create-rslib): remove unnecessary React import by @fi3ework in #607
- fix: mf-dev should apply correct config by @Timeless0911 in #609
- fix: do not handle the path that can’t be resolved by @fi3ework in #612
Other Changes
- chore(deps): update dependency rslib to v0.2.0 by @renovate in #603
- chore(deps): update dependency vue-tsc to ^2.2.0 by @renovate in #604
- chore(deps): update dependency zx to ^8.3.0 by @renovate in #605
- chore(deps): update dependency typescript to ^5.7.2 by @renovate in #562
- chore(deps): update dependency rspress to v1.39.1 by @renovate in #606
- chore(CI): run benchmark daily and manually by @fi3ework in #608
- chore(deps): update all patch dependencies by @renovate in #611
- Release v0.2.1 by @Timeless0911 in #615
Full Changelog: v0.2.0...v0.2.1
v0.2.0
What's Changed
Highlights ✨
Comparing with 0.1.0, we have fixed many bugs and added numerous features for common scenarios, including but not limited to:
- Enhanced support for resolving external modules, improving the redirect of paths for bundleless mode. See lib.redirect. (#535)
- Introduced support for loading .env files. See Environment Variables. (#518)
- Optimized code compression to retain only essential comments, resulting in smaller output sizes. (#522)
- Added support for watching
rslib.configto trigger rebuilds. (#489) - Improved documentation and completed the translation of the Chinese documentation. See https://lib.rsbuild.dev/zh/index.
Breaking changes 🚨
rslib mf devhas been changed torslib mf-devcommand in #590, checkout the documentation ofmf-devfor more details.
New Features 🎉
- feat(css): support css asset in bundleless mode and esm/cjs by @SoonIter in #582
- feat!: support
--libparam ofmf-devcommand by @Timeless0911 in #590
Bug Fixes 🐞
- fix: pass server config to Rsbuild by @Timeless0911 in #584
Document 📖
- docs: modify release steps by @Timeless0911 in #598
Other Changes
- chore(deps): update all patch dependencies by @renovate in #577
- chore(deps): update dependency @rsbuild/plugin-react to ^1.1.0 by @renovate in #578
- chore(CI): remove issue_comment trigger by @chenjiahan in #585
- test(example): remove
index, mainFiles can be not specified by @SoonIter in #587 - chore(deps): update all patch dependencies by @renovate in #588
- chore(deps): update dependency nx to ^20.3.0 by @renovate in #589
- chore(CI): use new release workflow by @chenjiahan in #592
- chore(CI): specify minimal permissions for issue-labeler by @chenjiahan in #593
- test: add alias replace externals tests in bundleless mode by @Timeless0911 in #581
- chore(CI): correct permissions for issue labeler by @chenjiahan in #596
- test: stabilize mf-dev tests by @Timeless0911 in #597
- chore(CI): fix missing permission for provenance by @chenjiahan in #599
- Release v0.2.0 by @Timeless0911 in #600
Full Changelog: v0.1.5...v0.2.0
v0.1.5
What's Changed
New Features 🎉
- feat(css): support css asset in bundle mode and esm/cjs by @SoonIter in #573
- feat: use resolver function to resolve module by @fi3ework in #535
Bug Fixes 🐞
- fix: type missing when set moduleResolution node16+ by @Timeless0911 in #568
Document 📖
- docs: config name typo by @Timeless0911 in #564
- docs: correct config position level by @Timeless0911 in #565
- docs(plugins): add publint plugin by @fi3ework in #571
Other Changes
- chore(deps): update all patch dependencies by @renovate in #560
- chore(deps): update dependency @codspeed/vitest-plugin to v4 by @renovate in #563
- chore(deps): update dependency path-serializer to v0.3.4 by @renovate in #561
- build: add rsbuild-plugin-publint by @fi3ework in #569
- Release v0.1.5 by @Timeless0911 in #576
Full Changelog: v0.1.4...v0.1.5
v0.1.4
What's Changed
New Features 🎉
- feat:
autoExternaldefault tofalsewhenformatisumdormfby @Timeless0911 in #531
Bug Fixes 🐞
- fix: shared Rsbuild plugins should run only once by @chenjiahan in #552
- fix: zh docs links by @Timeless0911 in #556
- fix(create-rslib): correctly resolve
storybook-addon-rslibin pnpm by @Timeless0911 in #557 - fix(minify): only preserve some comments and annotations by default by @fi3ework in #522
Document 📖
- docs: translate cli.mdx to Chinese by @chenjiahan in #523
- docs: translate some basic and advanced docs by @Timeless0911 in #524
- docs: translate migration docs by @Timeless0911 in #525
- docs(zh): translate /config/lib to Chinese by @fi3ework in #526
- docs: translate configure-rslib by @chenjiahan in #528
- docs: preserve footer keyword by @Timeless0911 in #529
- docs: translate Rsbuild configurations by @chenjiahan in #543
- docs: fix website broken by React 19 by @chenjiahan in #546
- docs: translate plugins configuration by @chenjiahan in #549
- docs(zh): translate other zh docs by @SoonIter in #551
- docs(zh): translate use storybook by @SoonIter in #554
Other Changes
- chore(deps): update all patch dependencies by @renovate in #533
- chore(deps): update dependency @rsbuild/plugin-react to ^1.1.0 by @renovate in #536
- chore(deps): update dependency @testing-library/react to ^16.1.0 by @renovate in #537
- chore(deps): update dependency check-dependency-version-consistency to v5 by @renovate in #540
- chore(deps): update dependency nx to ^20.2.1 by @renovate in #539
- chore(deps): update dependency memfs to ^4.15.0 by @renovate in #538
- chore(deps): update types to v19 (major) by @renovate in #542
- chore(deps): update react monorepo to v19 (major) by @renovate in #541
- chore(workflow): set Issue types by @chenjiahan in #547
- Release v0.1.4 by @Timeless0911 in #559
Full Changelog: v0.1.3...v0.1.4
v0.1.3
What's Changed
New Features 🎉
- feat: support load env by @Timeless0911 in #518
- feat: do not preserve nodeEnv when format is umd by @Timeless0911 in #520
Bug Fixes 🐞
- fix(create-rslib): set tsconfig jsx to
react-jsxby @chenjiahan in #516
Document 📖
- docs: initialize zh docs by @Timeless0911 in #514
- docs: add
resolvefield of Rsbuild config by @Timeless0911 in #517
Other Changes
- chore(deps): update all patch dependencies by @renovate in #515
- chore(deps): update all patch dependencies by @renovate in #519
- Release v0.1.3 by @Timeless0911 in #521
Full Changelog: v0.1.2...v0.1.3
v0.1.2
What's Changed
Performance 🚀
- perf: rm buildinfo on demand by @Timeless0911 in #495
- perf: lazy import chokidar by @9aoy in #494
Bug Fixes 🐞
- fix(esm): disable module.parser.javascript.url by @fi3ework in #509
- fix: catch error when killing DTS child process by @9aoy in #510
Document 📖
- docs: update testing commands in CONTRIBUTING.md by @chenjiahan in #497
Other Changes
- chore(deps): update dependency @arco-design/web-react to ^2.65.0 by @renovate in #501
- chore(deps): update dependency @module-federation/rsbuild-plugin to ^0.8.0 by @renovate in #503
- test: fix unstable build watch case by @9aoy in #504
- chore(deps): update all patch dependencies by @renovate in #500
- chore(deps): update dependency @module-federation/enhanced to ^0.8.0 by @renovate in #502
- chore: use
resolve.aliasinstead ofsource.aliasby @Timeless0911 in #507 - Release v0.1.2 by @Timeless0911 in #511
Full Changelog: v0.1.1...v0.1.2
v0.1.1
What's Changed
New Features 🎉
- feat: clean dts files / buildinfo / .rslib temp folder by @Timeless0911 in #486
- feat: support watch
rslib.configto rebuild by @9aoy in #489
Bug Fixes 🐞
- fix: entry query should handle non-string entry by @fi3ework in #484
- fix: the moduleIds should be deterministic if the env is production and format is mf by @2heal1 in #487
Document 📖
- docs: polish README by @fi3ework in #464
- docs: correct syntax and redirect examples by @chenjiahan in #480
Other Changes
- chore(deps): update dependency rslib to v0.1.0 by @renovate in #465
- chore(create-rslib): remove shebang workaround by @fi3ework in #466
- chore(deps): update all patch dependencies by @renovate in #471
- chore(deps): update dependency @microsoft/api-extractor to ^7.48.0 by @renovate in #472
- chore(deps): update dependency preact to ^10.25.0 by @renovate in #474
- chore(deps): update dependency @playwright/test to v1.49.0 by @renovate in #473
- chore(deps): update dependency @rsbuild/core to ~1.1.5 by @renovate in #479
- chore(deps): update dependency prettier to ^3.4.1 by @renovate in #483
- test: avoid potential output conflict by @fi3ework in #481
- chore(deps): update all patch dependencies by @renovate in #482
- test: multiple entries now do not affect each other by @fi3ework in #485
- chore(deps): update dependency rspress to v1.37.3 by @renovate in #490
- Release v0.1.1 by @Timeless0911 in #491
Full Changelog: v0.1.0...v0.1.1
v0.1.0
What's Changed
New Features 🎉
- feat: support incremental build when composite is true by @Timeless0911 in #416
- feat: add EntryChunkPlugin to handle shebang and shims by @fi3ework in #399
- feat: support lib.id by @fi3ework in #436
- feat!: use 'commonjs-import' as CJS external type by default by @fi3ework in #438
- feat: add
--rootcli option and make basic js api work by @Timeless0911 in #453 - feat!: emit CSS files to
distinstead ofdist/static/cssby @chenjiahan in #460
Bug Fixes 🐞
- fix: respect declarationDir if dts.distPath is not set by @Timeless0911 in #420
- fix: checkMFPlugin function support array plugins by @2heal1 in #419
- fix: add tsdoc for config options by @fi3ework in #447
- fix: js request when using
autoExtension: falsealong withoutput.filename.jsby @Timeless0911 in #455
Document 📖
- docs: update css-modules to CSS Modules by @9aoy in #422
- docs: add browser polyfill by @fi3ework in #430
- docs: add config.rsbuild.source by @fi3ework in #449
- docs: add plugins / output / tools by @fi3ework in #450
- docs: DTS by @Timeless0911 in #448
- docs(mf): polish docs by @fi3ework in #457
- docs: hide some unfinished docs by @Timeless0911 in #461
- docs: use index convention by @Timeless0911 in #462
Other Changes
- chore: update dep version of storybook by @nyqykk in #415
- chore: rename test folders to build by @Timeless0911 in #421
- chore(deps): remove unnecessary rspack/core devDeps by @9aoy in #427
- chore: use specific name for check ci passed by @Timeless0911 in #428
- chore(deps): update dependency nx to ^20.1.2 by @renovate in #435
- chore(deps): update all patch dependencies by @renovate in #439
- chore(deps): update all patch dependencies by @renovate in #441
- chore(deps): update dependency rspress to v1.37.0 by @renovate in #440
- chore: do not build website when install dependencies by @Timeless0911 in #443
- ci: simplified workflow by @fi3ework in #437
- chore: add Preact example by @fi3ework in #451
- chore(examples): add vue-component-bundle example by @chenjiahan in #459
New Contributors
Full Changelog: v0.0.18...v0.1.0
v0.0.18
What's Changed
Bug Fixes 🐞
Document 📖
- docs: mf dev cli commands by @Timeless0911 in #400
Other Changes
- chore: bump Rslib 0.0.17 by @Timeless0911 in #403
- Release v0.0.18 by @nyqykk in #414
Full Changelog: v0.0.17...v0.0.18
v0.0.17
What's Changed
New Features 🎉
- feat(command): support --lib arguments by @fi3ework in #390
- feat!: target default to
nodeby @Timeless0911 in #398 - feat: support use storybook to dev rslib module federation format assets and also support hmr by @nyqykk in #349
Bug Fixes 🐞
- fix: rootDir calculation should ignore declaration files by @Timeless0911 in #389
Document 📖
- docs: update Rslib description by @chenjiahan in #370
- docs: update structure / format / 3rd deps / glossary / TS by @fi3ework in #357
- docs: add basic description and JSDoc for lib options by @chenjiahan in #372
- docs: update storybook / upgrade-rslib by @fi3ework in #373
- docs: add lib.bundle/format/autoExtension doc by @Timeless0911 in #371
- docs(solution): add react and node.js by @fi3ework in #374
- docs: lib.autoExternal by @Timeless0911 in #375
- docs: solutions overview / output compatibility by @fi3ework in #376
- docs: add Modern.js Module migration docs by @YanPes in #378
- docs: add redirect/syntax/externalHelpers/banner/footer/umdName lib config by @Timeless0911 in #383
- docs: tsup migration guide by @chenjiahan in #397
Other Changes
- chore(deps): update all patch dependencies by @renovate in #386
- chore(deps): update dependency @rsbuild/core to ~1.1.0 by @renovate in #387
- chore(deps): update dependency @module-federation/enhanced to ^0.7.1 by @renovate in #393
- chore(deps): update storybook monorepo to ^8.4.2 by @renovate in #395
- chore(deps): update all patch dependencies by @renovate in #392
- chore(deps): update dependency @module-federation/rsbuild-plugin to ^0.7.1 by @renovate in #394
- chore(deps): update dependency rspress to v1.36.0 by @renovate in #396
- Release v0.0.17 by @Timeless0911 in #402
New Contributors
Full Changelog: v0.0.16...v0.0.17