Releases: web-infra-dev/rsbuild
Releases · web-infra-dev/rsbuild
v1.0.0-alpha.7
What's Changed
New Features 🎉
- feat: set uniqueName for module federation HMR by @chenjiahan in #2853
Performance 🚀
- perf: bump html plugin to remove lodash by @chenjiahan in #2857
Bug Fixes 🐞
- fix(plugin-solid): remove
@babel/preset-typescript
for resolve the babel warning by @zhylmzr in #2842 - fix: transform Module Federation runtime by @chenjiahan in #2850
- fix: incorrect WS port when using MF by @chenjiahan in #2852
Document 📖
- docs: baidu SEO verification by @chenjiahan in #2845
- docs: enable sitemap for SEO by @chenjiahan in #2846
- docs: HTML minify guide by @chenjiahan in #2848
- docs: correct polyfill description by @chenjiahan in #2855
- docs: add check syntax limitations by @chenjiahan in #2856
- docs: add template params escape guide by @chenjiahan in #2858
Other Changes
- chore: export some types for use by @9aoy in #2851
- chore: clear some useless utils by @9aoy in #2854
New Contributors
Full Changelog: v1.0.0-alpha.6...v1.0.0-alpha.7
v1.0.0-alpha.6
What's Changed
New Features 🎉
- feat(deps): bump Rspack 1.0.0-alpha.2 by @chenjiahan in #2836
- feat: allow to custom CSS minify options by @chenjiahan in #2840
Performance 🚀
- perf: skip PostCSS AST version compasion by @chenjiahan in #2826
- perf: resolve mjs config first by @chenjiahan in #2828
- perf!: remove builtin terser HTML minimizer by @chenjiahan in #2833
- perf: bump html plugin to unify tapable by @chenjiahan in #2839
Bug Fixes 🐞
- fix: missing picocolors dependency by @chenjiahan in #2831
Document 📖
Other Changes
- test(e2e): skip test of hmr in windows by @SoonIter in #2832
- chore(deps): update dependency nx to ^19.4.1 by @renovate in #2806
Full Changelog: v1.0.0-alpha.5...v1.0.0-alpha.6
v1.0.0-alpha.5
What's Changed
Performance 🚀
- perf: compute gzip size in parallel by @chenjiahan in #2813
- perf: simplify node_modules RegExps by @chenjiahan in #2816
- perf: read file async when printing file size by @chenjiahan in #2820
- perf: bump html plugin to redue entrypoints overhead by @chenjiahan in #2821
- perf: bump html plugin to redue appcache overhead by @chenjiahan in #2822
Bug Fixes 🐞
- fix: hmr failed when adding initial chunk by @SoonIter in #2743
- fix: failed to render page if html in public dir by @chenjiahan in #2818
Other Changes
- chore: import from html-rspack-plugin by @chenjiahan in #2812
- chore: move umd plugin to separate repo by @chenjiahan in #2814
- chore(deps): update all patch dependencies by @renovate in #2817
- refactor(core): use
Promise.all
instead of one by one by @colinaaa in #2824
New Contributors
Full Changelog: v1.0.0-alpha.4...v1.0.0-alpha.5
v1.0.0-alpha.4
What's Changed
Breaking Change 💡
Rsbuild 1.0.0-alpha.4 set output.polyfill to 'off'
by default, this can reduce the polyfill code and generate smaller bundles by default.
If your application need polyfill, please set output.polyfill
to 'usage'
or 'entry'
:
// rsbuild.config.ts
export default {
output: {
polyfill: 'usage'
}
};
See the vote on Twitter: https://x.com/rspack_dev/status/1808439138439274780
New Features 🎉
- feat(deps): bump Rspack 1.0.0-alpha.1 by @chenjiahan in #2803
Performance 🚀
- perf: prefer using dynamic import to load config by @chenjiahan in #2809
Document 📖
Other Changes
- chore: move css minimizer plugin to separate repo by @chenjiahan in #2801
- chore: move eslint plugin to separate repo by @chenjiahan in #2805
- chore(deps): update dependency ws to ^8.18.0 by @renovate in #2807
- chore(deps): update eslint by @renovate in #2808
- chore: sort type exports by @chenjiahan in #2810
Full Changelog: v1.0.0-alpha.3...v1.0.0-alpha.4
v1.0.0-alpha.3
What's Changed
New Features 🎉
- feat!(plugin-vue2): update Vue 2 compiler options to condense whitespace by @a145789 in #2785
- feat: improve the default splitting cache groups by @chenjiahan in #2792
Performance 🚀
- perf(core): lazy load http-proxy-middleware by @chenjiahan in #2786
Bug Fixes 🐞
- fix: tools.rspack / bundlerChain can be used in environment config by @9aoy in #2790
- fix(plugin-swc): type issue with moduleResolution node16+ by @chenjiahan in #2791
- fix: remove cache groups helper by @chenjiahan in #2793
- fix: unexpected url print in windows by @9aoy in #2788
- fix: output config should works when target is node by @9aoy in #2795
Other Changes
- chore(deps): update dependency globals to ^15.8.0 by @renovate in #2736
- refactor: remove helpers from the shared package by @chenjiahan in #2789
- refactor: remove shared from all non-core packages by @chenjiahan in #2794
- refactor: remove
@rsbuild/shared
package by @chenjiahan in #2798
New Contributors
Full Changelog: v1.0.0-alpha.2...v1.0.0-alpha.3
v1.0.0-alpha.2
What's Changed
Bug Fixes 🐞
- fix(core): incorrect Rspack version by @chenjiahan in #2781
Full Changelog: v1.0.0-alpha.1...v1.0.0-alpha.2
v1.0.0-alpha.1
What's Changed
New Features 🎉
- feat: prettier print file size log by @9aoy in #2761
- feat: add environments param into rsbuild api by @9aoy in #2768
Bug Fixes 🐞
- fix(create-rsbuild): should lock alpha version by @chenjiahan in #2760
- fix(server): should match resource correctly with full url assetPrefix by @9aoy in #2754
- fix(plugin/assets-retry): repeated retrying of async css chunk by @SoonIter in #2645
- fix(plugin-source-build): avoid self reference by @chenjiahan in #2774
- fix(plugin-source-build): dedupe references by @chenjiahan in #2777
- fix: update plugin context and documentation by @9aoy in #2775
Document 📖
- docs: fix typo in quick-start.mdx by @Ju-lion28 in #2770
- docs: remove underlines between badges by @chenjiahan in #2773
- docs: add basic environments guide by @9aoy in #2769
Other Changes
- chore: move node polyfill plugin to separate repo by @chenjiahan in #2759
- chore(deps): switch to browserslist-to-es-version by @chenjiahan in #2763
- refactor!: use environment.htmlPaths instead of api.getHtmlPath by @9aoy in #2771
- refactor!: move reduceConfigs to separate package by @chenjiahan in #2778
- chore: move pug plugin to separate repo by @chenjiahan in #2779
New Contributors
- @Ju-lion28 made their first contribution in #2770
Full Changelog: v1.0.0-alpha.0...v1.0.0-alpha.1
v1.0.0-alpha.0
What's Changed
Breaking Changes 🛠
See Breaking changes in Rsbuild v1.0.0 for more details.
- feat(deps)!: bump Rspack 1.0 alpha by @chenjiahan in #2722
- feat!: enable LightningCSS minimizer as default CSS minimizer by @chenjiahan in #2716
- feat!: replace output.targets with output.target by @9aoy in #2636
- feat!: remove deprecated
dev.startUrl
by @chenjiahan in #2642 - feat!: add browserslist to context.environments by @chenjiahan in #2646
- feat!: output.emitAssets changed to boolean type by @chenjiahan in #2649
- feat!: remove
target
param forsource.alias
by @chenjiahan in #2650 - feat!: decorators version defaults to
2022-03
by @chenjiahan in #2677 - fix!: remove context.tsconfigPath by @chenjiahan in #2690
- fix!: remove
output.distPath.server
by @chenjiahan in #2696 - fix!: remove function usage of
source.entry
by @chenjiahan in #2697 - fix!(plugin-lightningcss): remove minify option by @chenjiahan in #2717
- refactor!: remove service-worker target by @chenjiahan in #2657
- refactor!: update api.context, remove
entry
,targets
properties by @9aoy in #2680 - fix!: HMR not work on online IDEs, the default value of
dev.client.port
changed by @chenjiahan in #2639
New Features 🎉
- feat(server): support load SSR module by @9aoy in #2528
- feat: support environment config by @9aoy in #2633
- feat: expose
reduceConfigs
helper by @chenjiahan in #2631 - feat: allow to use port placeholder in
client.port
by @chenjiahan in #2641 - feat: support read environments source.entry config by @9aoy in #2643
- feat: support apply environment html-related config by @9aoy in #2647
- feat: support apply more environment configs by @9aoy in #2652
- feat: use environment name as progress id by @chenjiahan in #2670
- feat: handle more cases in ensureAssetPrefix helper by @chenjiahan in #2671
- feat(deps): bump core-js v3.37 and @swc/helpers by @chenjiahan in #2673
- feat(styled-components): use SWC Wasm plugin by @chenjiahan in #2679
- feat: support apply environment bundleAnalyze config by @9aoy in #2682
- feat(type-check): allow to check multiple tsconfig files by @chenjiahan in #2684
- feat: print file size grouped by environment by @9aoy in #2683
- feat: support apply environment nonce config by @9aoy in #2685
- feat(source-build): support for flat conditional exports by @chenjiahan in #2688
- types: allow to configure dev in environments by @chenjiahan in #2695
- feat: support for merging environments config by @chenjiahan in #2700
- feat: add modifyEnvironmentConfig hook by @9aoy in #2707
- feat: support apply environment moduleFederation config by @9aoy in #2692
- feat(create-rsbuild): enable allowImportingTsExtensions by @chenjiahan in #2710
- feat: add basic server environment api by @9aoy in #2714
- feat: allow to configure progress bar by environment by @chenjiahan in #2730
- feat: support output environment config when inspect config by @9aoy in #2738
Performance 🚀
- perf(core): remove fs-extra dependency by @chenjiahan in #2637
Bug Fixes 🐞
- fix: preload util type assertion by @9aoy in #2638
- fix: apply default dev config by @chenjiahan in #2640
- fix: failed to empty dir in some cases by @chenjiahan in #2658
- fix: should not print empty urls if target is node by @chenjiahan in #2659
- fix: bundle analyze with environment name by @chenjiahan in #2681
- fix: remove unused lazy compilation wrapper by @chenjiahan in #2691
- fix: rspack profile outputPath unexpected by @9aoy in #2693
- fix(plugin-sass): additionalData function type by @chenjiahan in #2708
- fix: replace Rspack's tsConfig path config by @chenjiahan in #2711
- fix: bump Rspack 1.0 canary, fix types by @chenjiahan in #2712
- fix: print and serve multiple environments html route correctly by @9aoy in #2713
- fix(typed-css-modules): missing auto function params by @chenjiahan in #2715
- fix: no longer filter rsbuild config by @chenjiahan in #2718
- fix(ci): use canary specific version instead of npm tag by @SoonIter in #2720
- fix(config): no need to disable experiments.css by @chenjiahan in #2728
- fix(image-compress): prefer using Rspack types by @chenjiahan in #2740
- fix: error message in decorator by @SoonIter in #2748
- fix(plugin-svelte): failed to HMR with style tag by @chenjiahan in #2749
- fix(create-rsbuild): enable verbatimModuleSyntax for svelte by @chenjiahan in #2750
- fix(plugin-vue2): apply js resolve config to vue2 sfc template by @xc2 in #2753
Document 📖
- docs: add conventional commits link to contributing by @chenjiahan in #2644
- docs: override browserslist by environment by @chenjiahan in #2648
- docs: support htmlPlugin param in tools.rspack utils by @9aoy in #2651
- docs: add basic environment config by @9aoy in #2654
- docs: update releases page for 1.0 release by @chenjiahan in #2666
- docs: update relay example to use SWC plugin by @chenjiahan in #2678
- docs: add guide for Preact by @fi3ework in #2694
- docs: update document for
output.target
by @chenjiahan in #2698 - docs: update badge links in README by @chenjiahan in #2701
- docs: update dev command in webpack.mdx by @mwarger in #2699
- docs: update assets URLs by @chenjiahan in #2719
- docs(plugin-babel): compile jsx in node_modules by @chenjiahan in #2729
- docs: fix typo in exportsPresence example by @chenjiahan in #2755
Other Changes
- chore: move node env helpers to core by @chenjiahan in #2634
- chore: prefer using Node builtin fs by @chenjiahan in #2635
- chore(deps): bump typescript v5.5 by @chenjiahan in #2653
- chore: enable html plugins if has html paths by @chenjiahan in #2655
- chore(deps): update dependency launch-editor-middleware to ^2.8.0 by @renovate in #2663
- chore(deps): update dependency @modern-js/module-tools to ^2.54.1 by @renovate in #2661
- chore(config): remove allowJs true by @chenjiahan in #2667
- chore(build): emit bundleless declaration files by @chenjiahan in #2668
- chore: add formatter config to VS Code setting by @chenjiahan in #2669
- chore(deps): update dependency globals to ^15.6.0 by @renovate in https://github.com/...
v0.7.10
v0.7.9
What's Changed
New Features 🎉
- feat: make it easier to access distPath config by @chenjiahan in #2614
- feat: init environment config by @9aoy in #2624
- feat(deps): bump Rspack 0.7.4 by @chenjiahan in #2627
Document 📖
- docs: fix broken cssnano link by @hardfist in #2615
- docs: use the default 404 page by @chenjiahan in #2621
Other Changes
- chore: fix compiler typo and some links by @chenjiahan in #2616
- chore(deps): update rspress to v1.25.0 by @renovate in #2619
- chore(deps): update dependency launch-editor-middleware to ^2.7.0 by @renovate in #2618
- chore: move rspack chain helpers to core by @chenjiahan in #2622
- refactor: move shared utils to core by @chenjiahan in #2625
- chore(deps): update dependency eslint-plugin-svelte to ^2.40.0 by @renovate in #2617
- chore: move logger to core by @chenjiahan in #2626
- chore: modify error message in loadconfig by @Timeless0911 in #2628
New Contributors
Full Changelog: v0.7.8...v0.7.9