Skip to content

v2.6.0

Choose a tag to compare

@github-actions github-actions released this 23 Feb 07:35

Release v2.6.0

Features:

  • #2919

    chore(CI): make CI faster

    chore(CI): 提升 CI 执行速度

  • #2927

    feat(module-tools): add new Buildpreset and extendPreset function

    feat(module-tools): 新增新的 buildPreset 以及 extendPreset 函数

  • #2960

    feat: support search index label

    feat: 支持搜索索引标签名

  • #2927

    docs(module-tools): update buildPreset api content

    docs(module-tools): 更新 buildPreset API 内容

  • #2928

    feat(builder): add dev.beforeStartUrl config

    feat(builder): 新增 dev.beforeStartUrl 配置项

  • #2958

    feat(builder): support import .wasm assets

    feat(builder): 支持引用 .wasm 资源

  • #2933

    feat: revert worker use async_hooks

    feat: 还原 worker 使用 async_hooks 代码

  • #2935

    feat: add noDevTools hook. fix dev log content and add add chinese and english content

    feat: 增加 noDevTools hook. 修复 dev 的日志内容, 增加中英内容

  • #2966

    feat(builder): support passing URL to html.favicon

    feat(builder): 支持在 html.favicon 中直接传入 URL

  • #2953

    feat: optimize worker build

    feat: 优化 worker 构建

  • #2931

    feat: doc tools doc

    feat: 文档框架文档开发

Bug Fix:

  • #2969

    fix: modernjs doc blink

    fix: modernjs 文档首页闪烁

  • #2939

    fix(builder): missing dev.beforeStartUrl schema validation

    fix(builder): 修复 dev.beforeStartUrl 缺少 schema 校验的问题

  • #2978

    fix: env.PORT should be respected when using listenOptions

    fix: 当使用 listenOptions 时,env.PORT 应该被支持

  • #2957

    fix(app-tools): incorrect tools.esbuild config

    fix(app-tools): 修复 tools.esbuild 格式与文档不一致的问题

  • #2943

    fix: windows path compat in modifyPresetOptions

    fix: 在 modifyPresetOptions 方法中兼容 windows 路径

  • #2971

    fix(module-tools): fix copy context error path

    fix(module-tools): 修复 copy context 错误路径的问题

  • #2968

    fix(doc-core): doc.icon not work in dev mode

    fix(doc-core): 修复 doc.icon 在 dev 模式下不生效的问题

  • #2934

    fix: worker use loader error

    fix: 修复 worker 中使用 loader 报错问题

  • #2951

    fix: filter data when http method is get

    fix: 过滤get请求的data

  • #2922

    fix: search index file enter userRoot

    fix: 防止搜索索引文件路径进入项目目录

  • #2951

    fix: the dependency tree should be able to filter out node_modules files containing dot

    fix: 依赖树应该能够过滤掉包含"."的node_modules文件

  • #2954

    fix: query miss

    fix: 链接中的 query 丢失

  • #2977

    fix: out dir

    fix: outDir 不生效

  • #2975

    fix: use 0.0.0.0 instead of localhost as the default dev host

    fix: 使用 0.0.0.0 代替 localhost 作为默认的 dev host

  • #2948

    fix: doc-tools doc base

    fix: 文档框架文档 base 配置

  • #2964

    feat: create web app support select build tools (webpack or rspack)

    feat: 创建 Web App 支持选择构建工具 (webpack 或 rspack)

  • #2938

    feat: support to handle files add and unlink in watch mode

    feat: 支持在 watch 模式下处理文件的新增和删除

  • #2926

    fix: should not assign nestedRoutesEntry to entrypoint if use v5 router

    fix: 使用 v5 路由的时候,不应该在 entrypoint 上挂载 nestedRoutesEntry 属性

  • #2973

    fix(builder): fix missing dev.host schema validation

    fix(builder): 修复 dev.host 缺少 schema 校验的问题

  • #2936

    fix: adjust @babel/core to dependencies instead of devDependencies.

    fix: 调整 @babel/coredependencies 而不是 devDependencies.

  • #2946

    fix: micro frontend docs

    fix: 微前端文档

  • #2942

    fix: remove header info from SSR ctx to avoid security issues, reserved a switch

    fix: 移除 SSR 上下文中的 header 信息,避免造成安全问题,预留一个字段开启

  • #2929

    fix(storybook): remove require and fix dist/template path

    fix(storybook): 移除 require 代码以及修复 dist/template 的路径问题

  • #2972

    fix: set composite false in bundle dts

    fix: 打包d.ts时设置 composite 为 false

  • #2924

    fix: document param output get undefined in default template

    fix: 修复 Document param 中 output 参数取值问题

  • #2955

    fix: support configure host for devServer

    fix: 支持配置 devServer 的 host