Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v2.14.0 #3514

Merged
merged 1 commit into from Apr 20, 2023
Merged

Release v2.14.0 #3514

merged 1 commit into from Apr 20, 2023

Conversation

caohuilin
Copy link
Member

Release v2.14.0

Features:

  • #3484

    feat: add esbuildOptions to support that change esbuild options directly

    feat: 新增esbuildOptions配置支持直接修改esbuild最终配置

  • #3463

    chore(deps): bump cssnano from v5 to v6

    chore(deps): 将 cssnano 从 v5 升级到 v6

  • #3472

    feat: add doc-tools e2e

    feat: 添加 doc-tools e2e 测试用例

  • #3460

    feat(builder): add convertToRem.inlineRuntime config

    feat(builder): 新增 convertToRem.inlineRuntime 配置项

  • #3462

    chore(generator): make rspack a priority

    chore(generator): 将启用 rspack 作为优先选项

  • #3498

    chore(server): no longer replace globalVars when compiler is babel

    chore(server): 进行 babel compile 时不再替换 globalVars

  • #3492

    feat: adjust server.worker config to deploy.worker.ssr

    feat: 调整 server.worker 为 deploy.worker.ssr

  • #3496

    feat: support Comment component in Document.tsx

    feat: 支持 Comment 组件,可以保留用户的注释到最终的 html 上

  • #3512

    fix: change content padding-bottom from 48px to 72px, equal to header height

    fix: 将内容区域的底部内边距从48px修改为72px,和头部高度保持一致

  • #3459

    feat: add hook modifyRoutes

    feat: 增加 hook modifyRoutes

  • #3485

    feat: adpate rspack copy plugin

    feat: 适配 rspack copy 插件

  • #3481

    chore(rspack-provider): update rspack to 0.1.8

    chore(rspack-provider): 升级 rspack 相关依赖到 0.1.8 版本

  • #3476

    feat: re-export createPath from react-router

    feat: 从 react-router 导出 createPath

  • #3445

    fix(devServer): using current host and port to create HMR connection

    fix(devServer): 建立 HMR 连接时默认使用当前 host 和 port

  • #3475

    feat: support config handle of Route

    feat: 支持配置 Route 的 handle 属性

  • #3448

    feat: add ssr.inlineScript for use inline json instead inline script when ssr

    feat: 添加 ssr.inlineScript 用于在 ssr 模式下使用内联 json 而不是内联脚本

  • #3473

    chore(cli): improve commands descriptions

    chore(cli): 优化命令的描述文案

  • #3501

    feat(builder): source.globalVars support function usage

    feat(builder): source.globalVars 支持函数写法

  • #3480

    feat: support extendPageData hook and last updated time

    feat: 支持 extendPageData 钩子和最后更新时间功能

  • #3469

    feat: add optional dynamic routes docs

    feat: 添加可选动态路由文档

Bug Fix:

  • #3443

    fix: The http://0.0.0.0:port can't visit in windows, we shouldn't set publicPath as //0.0.0.0:${port}/;

    fix: 在 windows 里不能正常访问 http://0.0.0.0:port,我们不应该将 publicPath 设置成 //0.0.0.0:${port}

  • #3497

    fix(app-tools): failed to scan public dir when using Rspack

    fix(app-tools): 修复 Rspack 模式读取 public 目录失败的问题

  • #3427

    fix(utils): the esm format files should be generate for the client

    fix(utils): 应该为客户端使用,生成 esm 格式的文件

  • #3488

    fix(app-tools): can not disable output.cleanDistPath

    fix(app-tools): 修复无法禁用 output.cleanDistPath 的问题

  • #3491

    fix: doc e2e test in windows

    fix: 解决 windows 下 e2e 测试失败的问题

  • #3458

    fix: the streaming ssr may add repeated css assets, because the route-manifets would product all css link

    fix: 因为 route-manifets 会生成所有 css link 信息,导致 streaming ssr 可能添加重复的 css 资源,

  • #3503

    fix: ssr and document integration test error

    fix: 修复 ssr 和 document 的集测错误

  • #3487

    fix(monorepo): ignore unnessary peer deps warning from antd

    fix(monorepo): 忽略由 antd 造成的不必要的 peer deps 警告

  • #3455

    fix(app-tools): should not print all addresses when custom dev.host

    fix(app-tools): 修复自定义 dev.host 时会输出多余的 URL 地址的问题

  • #3477

    fix: router missing App static property

    fix: router 确实 App 的静态属性

  • #3504

    fix: 更新集测 snapshot,修复 document 功能在 node 14 下的错误

    fix: update test snapshot, fix document error in node 14

  • #3470

    fix(generator): README should be written in English

    fix(generator): README 应该使用英文编写

    fix(garfish): pass basename to subApp

    test(garfish): add e2e test for passing basename

  • #3508

    fix(app-tools): failed to validate globalVars in legacy mode

    fix(app-tools): 修复兼容模式下 globalVars 类型校验错误的问题

  • #3500

    fix: ssr stream test case

    fix: 修复 ssr stream 测试用例

  • #3502

    fix(runtime): MODERN_TARGET is not injected when using Rspack

    fix(runtime): 修复 Rspack 模式未注入 MODERN_TARGET 的问题

  • #3494

    fix(builder): update source.alias type when using Rspack

    fix(builder): 更新使用 Rspack 时的 source.alias 类型

  • #3489

    chore: remove plugin-egg and plugin-nest

    chore: 移除 plugin-egg 和 plugin-nest

  • #3499

    fix: set encoding for defered loader

    fix: 为 defer loader 设置 encoding

  • #3465

    fix(doc-core): fix failed to resolve @modern-js/utils/logger

    fix(doc-core): 修复引用 @modern-js/utils/logger 失败的问题

@changeset-bot
Copy link

changeset-bot bot commented Apr 20, 2023

⚠️ No Changeset found

Latest commit: e8ebce6

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@codecov
Copy link

codecov bot commented Apr 20, 2023

Codecov Report

Patch coverage: 76.04% and project coverage change: +0.26 🎉

Comparison is base (99693f0) 57.59% compared to head (e8ebce6) 57.86%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3514      +/-   ##
==========================================
+ Coverage   57.59%   57.86%   +0.26%     
==========================================
  Files         672      653      -19     
  Lines       17794    17180     -614     
  Branches     3876     3748     -128     
==========================================
- Hits        10249     9941     -308     
+ Misses       6934     6640     -294     
+ Partials      611      599      -12     
Impacted Files Coverage Δ
packages/cli/core/src/nodeApi.ts 0.00% <ø> (ø)
packages/cli/core/src/createCli.ts 72.00% <72.00%> (ø)
packages/cli/core/src/config/loadConfig.ts 83.33% <85.71%> (+0.25%) ⬆️
packages/cli/core/src/utils/initAppDir.ts 88.88% <88.88%> (ø)
packages/cli/core/src/index.ts 71.42% <100.00%> (-0.62%) ⬇️
packages/cli/core/src/types/index.ts 100.00% <100.00%> (ø)
packages/cli/core/src/utils/index.ts 100.00% <100.00%> (ø)

... and 134 files with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@chenjiahan chenjiahan merged commit e14c134 into main Apr 20, 2023
9 checks passed
@chenjiahan chenjiahan deleted the release-v2.14.0 branch April 20, 2023 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants