v2.6.0
Release v2.6.0
Features:
-
chore(CI): make CI faster
chore(CI): 提升 CI 执行速度
-
feat(module-tools): add new Buildpreset and
extendPresetfunctionfeat(module-tools): 新增新的 buildPreset 以及 extendPreset 函数
-
feat: support search index label
feat: 支持搜索索引标签名
-
docs(module-tools): update
buildPresetapi contentdocs(module-tools): 更新
buildPresetAPI 内容 -
feat(builder): add dev.beforeStartUrl config
feat(builder): 新增 dev.beforeStartUrl 配置项
-
feat(builder): support import .wasm assets
feat(builder): 支持引用 .wasm 资源
-
feat: revert worker use async_hooks
feat: 还原 worker 使用 async_hooks 代码
-
feat: add noDevTools hook. fix dev log content and add add chinese and english content
feat: 增加 noDevTools hook. 修复 dev 的日志内容, 增加中英内容
-
feat(builder): support passing URL to html.favicon
feat(builder): 支持在 html.favicon 中直接传入 URL
-
feat: optimize worker build
feat: 优化 worker 构建
-
feat: doc tools doc
feat: 文档框架文档开发
Bug Fix:
-
fix: modernjs doc blink
fix: modernjs 文档首页闪烁
-
fix(builder): missing dev.beforeStartUrl schema validation
fix(builder): 修复 dev.beforeStartUrl 缺少 schema 校验的问题
-
fix: env.PORT should be respected when using listenOptions
fix: 当使用 listenOptions 时,env.PORT 应该被支持
-
fix(app-tools): incorrect tools.esbuild config
fix(app-tools): 修复 tools.esbuild 格式与文档不一致的问题
-
fix: windows path compat in modifyPresetOptions
fix: 在 modifyPresetOptions 方法中兼容 windows 路径
-
fix(module-tools): fix copy context error path
fix(module-tools): 修复 copy context 错误路径的问题
-
fix(doc-core): doc.icon not work in dev mode
fix(doc-core): 修复 doc.icon 在 dev 模式下不生效的问题
-
fix: worker use loader error
fix: 修复 worker 中使用 loader 报错问题
-
fix: filter data when http method is get
fix: 过滤get请求的data
-
fix: search index file enter userRoot
fix: 防止搜索索引文件路径进入项目目录
-
fix: the dependency tree should be able to filter out node_modules files containing dot
fix: 依赖树应该能够过滤掉包含"."的node_modules文件
-
fix: query miss
fix: 链接中的 query 丢失
-
fix: out dir
fix: outDir 不生效
-
fix: use 0.0.0.0 instead of localhost as the default dev host
fix: 使用 0.0.0.0 代替 localhost 作为默认的 dev host
-
fix: doc-tools doc base
fix: 文档框架文档 base 配置
-
feat: create web app support select build tools (webpack or rspack)
feat: 创建 Web App 支持选择构建工具 (webpack 或 rspack)
-
feat: support to handle files add and unlink in watch mode
feat: 支持在 watch 模式下处理文件的新增和删除
-
fix: should not assign nestedRoutesEntry to entrypoint if use v5 router
fix: 使用 v5 路由的时候,不应该在 entrypoint 上挂载 nestedRoutesEntry 属性
-
fix(builder): fix missing dev.host schema validation
fix(builder): 修复 dev.host 缺少 schema 校验的问题
-
fix: adjust @babel/core to dependencies instead of devDependencies.
fix: 调整
@babel/core为dependencies而不是devDependencies. -
fix: micro frontend docs
fix: 微前端文档
-
fix: remove header info from SSR ctx to avoid security issues, reserved a switch
fix: 移除 SSR 上下文中的 header 信息,避免造成安全问题,预留一个字段开启
-
fix(storybook): remove
requireand fix dist/template pathfix(storybook): 移除 require 代码以及修复 dist/template 的路径问题
-
fix: set composite false in bundle dts
fix: 打包d.ts时设置 composite 为 false
-
fix: document param output get undefined in default template
fix: 修复 Document param 中 output 参数取值问题
-
fix: support configure host for devServer
fix: 支持配置 devServer 的 host