Skip to content

v2.13.0

Choose a tag to compare

@github-actions github-actions released this 13 Apr 05:34

Features:

  • #3423

    feat: generator plugin support relative path

    feat: 生成器插件支持相对路径

  • #3415

    fix: use display:table in table element

    fix: 使用display:table在table元素上

  • #3419

    doc: add content about dev config

    doc: 添加关于 dev 配置的内容

  • #3366

    refactor: move add builder-plugin-node-polyfill action to builder-generator

    refactor: 将添加 builder-plugin-node-polyfill 的行为移动到 builder-generator

  • #3381

    feat(builder): support using RegExp to inline part of chunks

    feat(builder): 支持通过正则来内联部分资源

  • #3395

    refactor(app-tools): inject assetPrefix by entry

    refactor(app-tools): 通过 entry 来注入 assetPrefix 变量

  • #3400

    chore(rspack-provider): apply fullySpecified mjs default value in Rspack

    chore(rspack-provider): 在 Rspack 中设置 fullySpecified 在 mjs 下的默认值

  • #3415

    refactor: remove inject template and unuse config, add internal compoennt named overview

    refactor: 移除插入模板的逻辑和无用的配置,并添加内置概览组件

  • #3386

    docs: add prefetch docs

    docs: 添加 prefetch 的文档

  • #3363

    feat: the rspack unsupport inline loader, so we move data-loader to bundler.module.rules

    feat: rspack 不支持 inline loader, 所以我们将 data-loader 移动到 bundler.module.rules 配置中去。

  • #3390

    chore: bump core-js and swc

    chore: 升级 core-js 和 swc

  • #3383

    feat(builder): add html.scriptLoading config

    feat(builder): 新增 html.scriptLoading 配置

  • #3397

    feat: support global props in createApp and pass garfish props in

    feat: createApp 支持全局属性,garfish 通过这个方式透传 garfish props

  • #3401

    feat(app-tools): export mergeConfig function

    feat(app-tools): 导出 mergeConfig 函数

  • #3406

    feat: redirect locale language in first visit

    feat: 优化首次访问时的语言重定向

  • #3396

    feat: support fuzzy search for remote search

    feat: 服务端搜索支持模糊搜索

  • #3373

    fix: search broken when search keyword is null

    fix: 搜索关键字为空时搜索过程卡住

  • #3403

    chore: improve ssr docs, add more use case for node/web code split

    chore: 优化 ssr 文档,为 node/web 代码分割添加更多使用场景

  • #3418

    feat: use declarationDir instead of outDir

    feat: 使用 declarationDir 替换 outDir

  • #3405

    perf(plugin): reduce bundle size

    perf(plugin): 优化包体积

  • #3411

    chore(builder): support get builder/shared compiled path in provider getCompiledPath api

    chore(builder): 支持通过 provider getCompiledPath api 获取 builder/shared 中预打包依赖路径

  • #3399

    feat(rspack-provider): update Rspack to 0.1.7

    feat(rspack-provider): 升级 Rspack 相关依赖至 0.1.7

  • #3402

    feat: normalize link and image in mdx-rs

    feat: mdx-rs 中支持 link 和 图片的规范化

Bug Fix:

  • #3421

    fix(runtime): compile react-router to ensure the compatibility

    fix(runtime): 通过编译 react-router 来保证对低版本浏览器的兼容性

  • #3378

    fix(builder): HtmlTagsPlugin failed to join public path with absolute url

    fix(builder): HtmlTagsPlugin 为绝对路径拼接 public path 会导致格式错误

  • #3371

    fix: plugin config hook can not get bundlerType, so we can't set babelConfig correctly in ssr plugin

    fix: 插件的 config 钩子不能获得 bundlerType,所以我们在 ssr 插件不能正确的设置 babelConfig

  • #3409

    fix: pin core-js version to 3.27 in SWC

    fix: SWC 相关的 core-js 版本固定到 3.27

  • #3369

    fix(doc-core): anchor

    fix(doc-core): 锚点无效

  • #3367

    fix: the defineLegacyConfig should set autoLoadPlugins = true by default.

    fix: defineLegacyConfig 应该默认将 autoLoadPlugins 设置为 true

  • #3368

    fix: code highlight & image not show

    fix: 代码高亮失效 & 图片不显示

  • #3413

    fix: generator plugin default config not work

    fix: 修复生成器插件默认配置未生效问题

  • #3420

    feat: set the default language of CLI to English

    feat: 将命令行的默认语言设置为英文

  • #3392

    chore: support output.merge / resolve.merge / resolve.get / resolve.fallback in bundler-chain

    chore: 在 bundler-chain 中支持 output.merge / resolve.merge / resolve.get / resolve.fallback 方法

  • #3420

    fix(upgrade): i18n of upgrade command not work

    fix(upgrade): 修复 upgrade 命令的 i18n 配置不生效的问题

  • #3410

    fix(module-tools): fix noClear option not work

    fix(module-tools): 修复 noClear 配置不生效

  • #3394

    fix(builder-plugin-swc): remove default env.mode

    fix(builder-plugin-swc): 删除 env.mod 的默认值

  • #3385

    hotfix: support bffPlugin when use rspack

    hotfix: 在使用 Rspack 构建时,支持 BFF 插件