Repository navigation
Releases: web-infra-dev/rslib
Releases · web-infra-dev/rslib
Release list
v1.0.4
Highlights
TypeScript 7.1 support
Rslib now supports TypeScript 7.1 Beta for declaration generation.
You can also use Content Mappers by configuring contentMappers in tsconfig.json.
Install TypeScript 7.1 Beta to try it:
npm install -D typescript@7.1.0-betaWhat's Changed
New Features 🎉
- feat(wasm): support source phase imports for
?inlinewasm modules by @elecmonkey in #1959 - feat(create-rslib): display version in startup banner by @chenjiahan in #1962
- feat(create-rslib): use TypeScript 7 in supported templates and examples by @Timeless0911 in #1966
- feat(deps): update @rsbuild/core to ~2.3.0-beta.0 by @Timeless0911 in #1967
- feat(dts): support TypeScript 7.1 API and content mappers by @Timeless0911 in #1955
Bug Fixes 🐞
- fix(examples): support Preact 11 in peer dependencies by @Timeless0911 in #1954
- fix(create-rslib): add Rspress preview command to AGENTS.md by @Timeless0911 in #1964
- fix(core): respect compression settings in bundleless size totals by @Timeless0911 in #1968
Refactor 🔨
- refactor(create-rslib): move rstest setup files into tests by @Timeless0911 in #1963
Document 📖
- docs: correct configuration page descriptions by @chenjiahan in #1952
- docs: update Rsdoctor guide for v2 by @Timeless0911 in #1961
- docs: update Wasm source phase imports guidance by @Timeless0911 in #1965
Other Changes
- chore(deps): upgrade local rslib to 1.0.3 by @Timeless0911 in #1948
- chore(deps): update dependency preact to v11 by @renovate[bot] in #1951
- chore(deps): update all non-major dependencies by @renovate[bot] in #1950
- chore(deps): update dependency happy-dom to v21 by @renovate[bot] in #1956
- chore(skills): update rstack docs writer by @Timeless0911 in #1957
- chore(deps): upgrade Rspress to 2.1.0-beta.1 by @SoonIter in #1958
- chore(deps): update all non-major dependencies by @renovate[bot] in #1960
Full Changelog: v1.0.3...v1.0.4
v1.0.3
What's Changed
New Features 🎉
- feat(deps): upgrade Rsbuild to v2.2.11 by @Timeless0911 in #1946
Bug Fixes 🐞
- fix(dts): handle object externals inside arrays by @kwy404 in #1939
- fix(cli): skip Node compile cache in CI by @chenjiahan in #1940
- fix(dts): respect false user externals by @Timeless0911 in #1944
Other Changes
- chore(deps): upgrade local Rslib to 1.0.2 by @Timeless0911 in #1936
- chore: flatten package Rslib configs by @Timeless0911 in #1938
- chore(dts): remove NO_COLOR workaround for Rstest by @fi3ework in #1943
- chore(deps): update all non-major dependencies by @renovate[bot] in #1941
Full Changelog: v1.0.2...v1.0.3
v1.0.2
What's Changed
New Features 🎉
- feat(wasm): support inlining wasm binaries with the
?inlinequery by @elecmonkey in #1909
Document 📖
- docs: add release management guide by @Timeless0911 in #1932
- docs: remove redundant CLAUDE.md setup tip by @chenjiahan in #1933
Other Changes
- chore: update workspace Rslib dependency to 1.0.1 by @Timeless0911 in #1926
- chore(build): enable Rspack runtime mode by @Timeless0911 in #1927
- chore: sort imports and format files by @Timeless0911 in #1928
- test: update CJS external rendering assertions by @Timeless0911 in #1929
- chore(deps): upgrade Rstack CLI to 0.8.0 by @SoonIter in #1934
- chore(deps): update all non-major dependencies by @renovate[bot] in #1930
Full Changelog: v1.0.1...v1.0.2
v1.0.1
What's Changed
New Features 🎉
- feat(core): support disabling wasm handling with lib.wasm false by @elecmonkey in #1908
- feat(core): accept loadConfig result as config input by @chenjiahan in #1915
Performance 🚀
- perf(core): use compact-hashed module IDs for web target by @Timeless0911 in #1924
Bug Fixes 🐞
- fix(create-rslib): allow esbuild builds in Storybook templates by @Timeless0911 in #1904
Document 📖
- docs: prepare website for Rslib 1.0 by @Timeless0911 in #1891
- docs: refine Rslib feature descriptions by @chenjiahan in #1897
- docs: sort credits alphabetically by @Timeless0911 in #1900
- docs: update Rslib 1.0 OG image by @elecmonkey in #1902
- docs: add default behavior reference by @Timeless0911 in #1917
- docs: add ReactLynx solution guide by @Timeless0911 in #1921
- docs: add wasm version metadata by @Timeless0911 in #1922
Other Changes
- chore(deps): upgrade Rslib to 1.0.0 by @Timeless0911 in #1898
- chore(deps): update all non-major dependencies by @renovate[bot] in #1906
- chore(deps): update pnpm to v12 by @renovate[bot] in #1907
- chore: update pull request template and skills by @chenjiahan in #1914
- chore(vscode): format TypeScript files on save by @chenjiahan in #1916
- chore: remove unused files and obsolete benchmark setup by @chenjiahan in #1918
- chore: add docs writer and update skills by @chenjiahan in #1919
- chore(deps): update all non-major dependencies by @renovate[bot] in #1920
- chore(deps): upgrade Rsbuild to v2.2.6 by @chenjiahan in #1923
Full Changelog: v1.0.0...v1.0.1
v1.0.0
🎉 See Announcing Rslib 1.0 for more details
What's Changed
Breaking Changes 🍭
- feat!: update
lib.syntaxbrowserslist baselines by @elecmonkey in #1734 - feat(core)!: infer node syntax from engines by @elecmonkey in #1746
- refactor(core)!: remove advancedEsm experiment by @Timeless0911 in #1754
- refactor(dts)!: remove native-preview support by @Timeless0911 in #1760
- feat(core)!: use modern-module externals type for ESM by @Timeless0911 in #1672
- feat(dts)!: enable declaration extension redirects by default by @Timeless0911 in #1784
- feat(wasm)!: support wasm modules in ESM output with compile and preserve modes by @elecmonkey in #1726
- feat(core)!: support mode in inspectConfig by @Timeless0911 in #1812
- feat(core)!: support Web Worker in ESM output by @elecmonkey in #1774
- feat(core)!: enable createRequire parser by default by @elecmonkey in #1814
- feat(core)!: preserve
new URLassets as relative URLs by @elecmonkey in #1781 - fix(core)!: Revert "feat(core)!: enable createRequire parser by default (#1814)" by @elecmonkey in #1833
- refactor(create-rslib)!: simplify Node.js templates by @Timeless0911 in #1837
- fix(core)!: move URL parser to a dedicated module rule by @elecmonkey in #1831
- feat(core)!: preserve env presets instead of inlining by @elecmonkey in #1764
- feat(dts)!: move temporary declarations to .rstack by @Timeless0911 in #1895
New Features 🎉
- feat(deps): upgrade rsbuild to 2.1.5 by @Timeless0911 in #1748
- feat(create-rslib): add Solid template and related documents by @elecmonkey in #1731
- feat: support shared lib config fields by @elecmonkey in #1755
- feat(core): allow omitting lib config by @elecmonkey in #1756
- feat(deps): upgrade rsbuild to 2.1.6 by @Timeless0911 in #1773
- feat(dts): support custom TypeScript path by @elecmonkey in #1767
- feat(deps): upgrade rsbuild to 2.1.7 by @chenjiahan in #1779
- feat(core): reuse Rsbuild restart lifecycle by @chenjiahan in #1782
- feat: support shared
formatconfig by @elecmonkey in #1796 - feat: support shared
dtsconfig by @elecmonkey in #1804 - feat(deps): update Rsbuild to v2.1.10 by @Timeless0911 in #1826
- feat(create-rslib): support --no-git by @chenjiahan in #1835
- feat(deps): update Rsbuild to v2.1.11 by @elecmonkey in #1842
- feat(deps): update Rsbuild and disable createRequire parser by @Timeless0911 in #1848
- feat(deps): upgrade Rsbuild to v2.2.0-beta.1 by @Timeless0911 in #1855
- feat(plugin-dts): support custom tsconfig for DTS bundling by @Timeless0911 in #1862
- feat(create-rslib): use bundleless mode for Svelte templates by @elecmonkey in #1861
- feat(deps): upgrade Rsbuild to 2.2.0-beta.2 by @Timeless0911 in #1865
- feat(deps): upgrade Rsbuild to 2.2.0-rc.0 by @Timeless0911 in #1868
- feat(deps): upgrade Rsbuild to 2.2.0 by @Timeless0911 in #1875
- feat(deps): upgrade Rsbuild to 2.2.2 by @Timeless0911 in #1890
Bug Fixes 🐞
- fix(create-rslib): move reference types into tsconfig by @chenjiahan in #1750
- fix(core): correct CLI subcommand help by @chenjiahan in #1768
- fix(dts): refine TypeScript path handling by @Timeless0911 in #1775
- fix(core): remove deprecated autoExternal from shared lib config by @elecmonkey in #1778
- fix(core): avoid chunk filename conflicts in multi-compiler builds by @Timeless0911 in #1777
- fix(core): preserve async config inference by @chenjiahan in #1787
- fix(dts): count
optionalDependenciesin autoExternal by @elecmonkey in #1786 - fix(core): restore config key completions in defineConfig by @chenjiahan in #1841
- fix(create-rslib): remove redundant agent preamble by @Timeless0911 in #1852
- fix(create-rslib): add pnpm config to Svelte templates by @Timeless0911 in #1856
- fix: keep scheme-less loader requests bundled by @elecmonkey in #1860
- fix(core): avoid extracting unused Node archive files by @dajiaohuang in #1872
Refactor 🔨
- refactor(dts): avoid duplicated error label in diagnostics by @Timeless0911 in #1747
- refactor(core): replace tsconfck with get-tsconfig by @Timeless0911 in #1757
- refactor(types): simplify mergeRslibConfig types by @Timeless0911 in #1763
- refactor: remove prebundle setup by @chenjiahan in #1771
- refactor: migrate
lib.autoExternaltooutput.autoExternalby @elecmonkey in #1641 - refactor(create-rslib): use Vue Test Utils in templates by @chenjiahan in #1834
- refactor(create-rslib): simplify framework templates by @Timeless0911 in #1840
- refactor(create-rslib): layer template tsconfigs by scope by @elecmonkey in #1854
- refactor: migrate to Rsbuild splitChunks config by @chenjiahan in #1863
Document 📖
- docs: fix static assets examples by @Timeless0911 in #1751
- docs: update preset type configuration by @Timeless0911 in #1752
- docs: refine configuration guides by @Timeless0911 in #1762
- docs: clarify declaration entry resolution by @Timeless0911 in #1792
- docs: refresh Rstack slogan by @chenjiahan in #1793
- docs: update documentation for Rslib v1 by @Timeless0911 in #1794
- docs: add Rslib v1 upgrade guide by @Timeless0911 in #1805
- docs: remove Modern.js Module migration documentation in v1 by @elecmonkey in #1808
- docs: fix WASM runtime support docs by @elecmonkey in #1813
- docs: refine Web Workers guide by @Timeless0911 in #1815
- docs: add FAQ for preserving webpack_require by @Timeless0911 in #1816
- docs: clarify TypeScript limitation note for wasm source imports by @elecmonkey in #1818
- docs: document Node.js addon support by @Timeless0911 in #1819
- docs: unify top-level configuration terminology by @elecmonkey in #1823
- docs: clarify new URL asset handling by @Timeless0911 in #1824
- docs: update v1 upgrade guide by @elecmonkey in #1817
- docs: how to bundle createRequire deps by @elecmonkey in #1838
- docs: expand environment variable guide by @Timeless0911 in #1844
- docs: document new URL directory reference limitation by @elecmonkey in #1843
- docs: refine new URL migration guidance by @Timeless0911 in #1851
- docs: fix outdated external links by @dajiaohuang in #1874
- docs: move LLMs UI to page outline by @chenjiahan in #1879
- docs: refresh Rslib features by @Timeless0911 in #1878
- docs: refresh Rslib introduction content by @Timeless0911 in #1881
- docs: update blog UI by @timeless...
v1.0.0-rc.2
What's Changed
New Features 🎉
- feat(deps): upgrade Rsbuild to 2.2.0 by @Timeless0911 in #1875
Bug Fixes 🐞
- fix(core): avoid extracting unused Node archive files by @dajiaohuang in #1872
Document 📖
- docs: fix outdated external links by @dajiaohuang in #1874
Other Changes
- chore(deps): upgrade Rslib to 1.0.0-rc.1 by @Timeless0911 in #1870
Full Changelog: v1.0.0-rc.1...v1.0.0-rc.2
v1.0.0-rc.1
What's Changed
New Features 🎉
- feat(plugin-dts): support custom tsconfig for DTS bundling by @Timeless0911 in #1862
- feat(create-rslib): use bundleless mode for Svelte templates by @elecmonkey in #1861
- feat(deps): upgrade Rsbuild to 2.2.0-beta.2 by @Timeless0911 in #1865
- feat(deps): upgrade Rsbuild to 2.2.0-rc.0 by @Timeless0911 in #1868
Bug Fixes 🐞
- fix: keep scheme-less loader requests bundled by @elecmonkey in #1860
Refactor 🔨
- refactor: migrate to Rsbuild splitChunks config by @chenjiahan in #1863
Other Changes
- chore(deps): upgrade Rslib to 1.0.0-rc.0 by @Timeless0911 in #1859
- chore(lint): enable Rstest lint rules by @elecmonkey in #1858
- chore(ci): allow ecosystem CI to update PR comments by @Timeless0911 in #1866
- chore(deps): update all non-major dependencies by @renovate[bot] in #1864
- chore(deps): upgrade @ast-grep/napi to v0.45.1 by @Timeless0911 in #1867
Full Changelog: v1.0.0-rc.0...v1.0.0-rc.1
v1.0.0-rc.0
What's Changed
New Features 🎉
- feat(deps): upgrade Rsbuild to v2.2.0-beta.1 by @Timeless0911 in #1855
Bug Fixes 🐞
- fix(create-rslib): remove redundant agent preamble by @Timeless0911 in #1852
- fix(create-rslib): add pnpm config to Svelte templates by @Timeless0911 in #1856
Refactor 🔨
- refactor(create-rslib): layer template tsconfigs by scope by @elecmonkey in #1854
Document 📖
- docs: document new URL directory reference limitation by @elecmonkey in #1843
- docs: refine new URL migration guidance by @Timeless0911 in #1851
Other Changes
- chore(deps): upgrade Rslib to 1.0.0-beta.3 by @Timeless0911 in #1849
- chore(deps): upgrade Rslint to v0.8.0 by @Timeless0911 in #1850
- chore(deps): update all non-major dependencies by @renovate[bot] in #1845
Full Changelog: v1.0.0-beta.3...v1.0.0-rc.0
v1.0.0-beta.3
What's Changed
Breaking Changes 🍭
- fix(core)!: Revert "feat(core)!: enable createRequire parser by default (#1814)" by @elecmonkey in #1833
- refactor(create-rslib)!: simplify Node.js templates by @Timeless0911 in #1837
- fix(core)!: move URL parser to a dedicated module rule by @elecmonkey in #1831
- feat(core)!: preserve env presets instead of inlining by @elecmonkey in #1764
New Features 🎉
- feat(create-rslib): support --no-git by @chenjiahan in #1835
- feat(deps): update Rsbuild to v2.1.11 by @elecmonkey in #1842
- feat(deps): update Rsbuild and disable createRequire parser by @Timeless0911 in #1848
Bug Fixes 🐞
- fix(core): restore config key completions in defineConfig by @chenjiahan in #1841
Refactor 🔨
- refactor(create-rslib): use Vue Test Utils in templates by @chenjiahan in #1834
- refactor(create-rslib): simplify framework templates by @Timeless0911 in #1840
Document 📖
- docs: how to bundle createRequire deps by @elecmonkey in #1838
- docs: expand environment variable guide by @Timeless0911 in #1844
Other Changes
- chore(deps): upgrade Rslib to 1.0.0-beta.2 by @Timeless0911 in #1829
- chore(deps): replace create-rstack with create-toolkit by @chenjiahan in #1832
- chore(deps): update all non-major dependencies by @renovate[bot] in #1836
- test: skip
import.metawarning assertions in env-define integration test by @elecmonkey in #1846
Full Changelog: v1.0.0-beta.2...v1.0.0-beta.3
v1.0.0-beta.2
What's Changed
Breaking Changes 🍭
- feat(wasm)!: support wasm modules in ESM output with compile and preserve modes by @elecmonkey in #1726
- feat(core)!: support mode in inspectConfig by @Timeless0911 in #1812
- feat(core)!: support Web Worker in ESM output by @elecmonkey in #1774
- feat(core)!: enable createRequire parser by default by @elecmonkey in #1814
- feat(core)!: preserve
new URLassets as relative URLs by @elecmonkey in #1781
New Features 🎉
- feat: support shared
formatconfig by @elecmonkey in #1796 - feat: support shared
dtsconfig by @elecmonkey in #1804 - feat(deps): update Rsbuild to v2.1.10 by @Timeless0911 in #1826
Bug Fixes 🐞
- fix(core): preserve async config inference by @chenjiahan in #1787
- fix(dts): count
optionalDependenciesin autoExternal by @elecmonkey in #1786
Document 📖
- docs: clarify declaration entry resolution by @Timeless0911 in #1792
- docs: refresh Rstack slogan by @chenjiahan in #1793
- docs: update documentation for Rslib v1 by @Timeless0911 in #1794
- docs: add Rslib v1 upgrade guide by @Timeless0911 in #1805
- docs: remove Modern.js Module migration documentation in v1 by @elecmonkey in #1808
- docs: fix WASM runtime support docs by @elecmonkey in #1813
- docs: refine Web Workers guide by @Timeless0911 in #1815
- docs: add FAQ for preserving webpack_require by @Timeless0911 in #1816
- docs: clarify TypeScript limitation note for wasm source imports by @elecmonkey in #1818
- docs: document Node.js addon support by @Timeless0911 in #1819
- docs: unify top-level configuration terminology by @elecmonkey in #1823
- docs: clarify new URL asset handling by @Timeless0911 in #1824
- docs: update v1 upgrade guide by @elecmonkey in #1817
Other Changes
- chore(deps): update dependency @testing-library/jest-dom to v7 by @renovate[bot] in #1791
- chore(deps): update actions/setup-node action to v7 - autoclosed by @renovate[bot] in #1790
- chore(deps): update actions/checkout digest to 3d3c42e by @renovate[bot] in #1789
- chore(deps): migrate to pnpm catalogs by @Timeless0911 in #1795
- chore(deps): upgrade Rslib to 1.0.0-beta.1 by @Timeless0911 in #1797
- chore(deps): update all non-major dependencies by @renovate[bot] in #1799
- chore(deps): reorganize TypeScript catalogs by @Timeless0911 in #1803
- chore: upgrade Rsbuild to 2.1.9 by @elecmonkey in #1810
- chore(deps): update all non-major dependencies by @renovate[bot] in #1801
- chore(deps): update brace-expansion by @Timeless0911 in #1820
- test: cover Node.js addons in asset builds by @Timeless0911 in #1821
- test: improve createRequire parser coverage by @Timeless0911 in #1822
- chore(deps): update all non-major dependencies by @renovate[bot] in #1827
Full Changelog: v1.0.0-beta.1...v1.0.0-beta.2
