Releases
v2.26.0
Compare
Sorry, something went wrong.
No results found
What's Changed
Performance Improvements ⚡
New Features 🎉
feat: add support for origin properties in document by @clChenLiang in #4087
feat(builder-webpack-provider): add some features by @targeral in #3991
TsConfigPathsPlugin support read closest tsconfig for each of the files.
Add new configuration: experiments.sourceBuild
feat(monorepo-utils): New Monorepo tool function module by @targeral in #3991
feat(doc-core): add typedoc plugin by @sanyuan0704 in #4174
feat(doc-core): optimize error log while _meta.json is not correct by @sanyuan0704 in #4181
feat(doc-core): display aside bar in 14 inch MacBook by default by @chenjiahan in #4165
feat(module-tools): apply PostCSS plugins according to the target by @chenjiahan in #4166
feat(doc-tools): upgrade typedoc to 0.24.8 by @sanyuan0704 in #4187
feat(builder-webpack-provider): set sourceBuild default value is false by @targeral in #4193
feat(doc-core): support no config usage in auto sidebar by @sanyuan0704 in #4149
feat(builder): rename source field and add rule.resolve.mainFields and rule.resolve.conditionNames configuration by @targeral in #4193
feat: support unstable_getBlockNavState by @yimingjfe in #4195
feat(builder): New builder plug-in to support source code building by @targeral in #3991
feat: upgrade commander support --no-need-install params by @caohuilin
feat(builder-shared): add sourceBuild type definition by @targeral in #3991
Bug Fixes 🐞
fix(plugin-runtime): we should not repeatly registe the script, if template has it. by @GiveMe-A-Name in #4178
fix(builder-shared): set formatStats fn as sync-fn so that info can print quikly by @GiveMe-A-Name in #4150
fix: should load typescript from direct dependencies on demand by @yimingjfe in #4170
fix(monorepo-utils): return empty array when current project not exist by @targeral in #4184
fix(module-tools): support i18n for checkConfig warning message by @chenjiahan in #4151
fix(doc-core): search result highlight not accurate by @sanyuan0704 in #4156
fix: should define remixRouter property when the property does not exist by @yimingjfe in #4204
fix: can not find path only in windows bacause of the escape char by @10Derozan in #4182
fix: rename source field name by @targeral in #4184
fix(doc-core): fallback to csr when ssr bundle load failed by @sanyuan0704 in #4167
fix(doc-core): fix codeblock background style in dark mode by @chenjiahan in #4163
fix(builder): incorrect CSS rules when enable asset fallback by @chenjiahan in #4176
fix: @modern-js/server-core should be a dependencies of @modern-js/app-tools by @zllkjc in #4155
fix(builder): enable preferRelative for CSS files by default by @chenjiahan in #4173
fix(plugin-swc): skip SWC plugin when using Rspack by @chenjiahan in #4168
Other Changes
Currently when enabling tailwind via the CLI, it says to import {tailwindCSSPlugin} but the named export is {tailwindcssPlugin} by @ScriptedAlchemy in #4162
refactor: use import syntax for reduck plugin types by @xuchaobei in #4191
chore(builder): override rspack.devServer type declare and update doc by @9aoy in #4198
更新内容
性能优化 ⚡
新特性 🎉
feat: 为 document 增加原始属性透传 由 @clChenLiang 实现, 详情可查看 #4087
feat(builder-webpack-provider): 新增一些功能,由 @targeral 实现, 详情可查看 #3991
TsConfigPathsPlugin 插件支持读取每个文件最近的 tsconfig.json.
新增配置: experiments.sourceBuild
feat(monorepo-utils): 新增 Monorepo 工具函数模块 由 @targeral 实现, 详情可查看 #3991
feat(doc-core): 增加 typedoc 插件 由 @sanyuan0704 实现, 详情可查看 #4174
feat(doc-core): 当 _meta.json 不正确时优化错误日志 由 @sanyuan0704 实现, 详情可查看 #4181
feat(doc-core): 在 14 英寸 MacBook 上默认展示 aside 栏 由 @chenjiahan 实现, 详情可查看 #4165
feat(module-tools): 基于 target 启用 PostCSS 插件 由 @chenjiahan 实现, 详情可查看 #4166
feat(doc-tools): 升级 typedoc 到 0.24.8 由 @sanyuan0704 实现, 详情可查看 #4187
feat(builder-webpack-provider): 设置 sourceBuild 默认值为 false 由 @targeral 实现, 详情可查看 #4193
feat(doc-core): 支持自动侧边栏的无配置模式 由 @sanyuan0704 实现, 详情可查看 #4149
feat(builder): 重命名 source 字段,增加 rule.resolve.mainFields 和 rule.resolve.conditionName 配置 由 @targeral 实现, 详情可查看 #4193
feat: 支持 unstable_getBlockNavState 由 @yimingjfe 实现, 详情可查看 #4195
feat(builder): 新增支持源码构建的 builder 插件 由 @targeral 实现, 详情可查看 #3991
feat: upgrade 命令支持 --no-need-install 参数 由 @caohuilin 实现
feat(builder-shared): 新增 sourceBuild 类型定义 由 @targeral 实现, 详情可查看 #3991
Bug 修复 🐞
其他变更
refactor: 使用 import 语法加载 reduck 插件的类型文件 由 @xuchaobei 实现, 详情可查看 #4191
chore(builder): 覆盖 rspack.devServer 类型定义并更新文档 由 @9aoy 实现, 详情可查看 #4198
You can’t perform that action at this time.