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.5.0 #2921

Merged
merged 1 commit into from
Feb 16, 2023
Merged

Release v2.5.0 #2921

merged 1 commit into from
Feb 16, 2023

Conversation

caohuilin
Copy link
Member

Release v2.5.0

Features:

  • #2843

    feat: report size and info after build

    feat: 构建后报告文件大小和信息

  • #2845

    feat: search server

    feat: 对接搜索服务端

  • #2911

    chore: fix README and license of doc-tools

    chore: 修复 doc-tools 的 README 和 license 问题

  • #2889

    feat: add hash for search index file

    feat: 为索引文件增加哈希

  • #2907

    docs(module-tools): modify [How to handle third-party dependencies] contents

    docs(module-tools): 修改[第三方依赖处理]的内容

  • #2906

    feat: optimize home page style

    feat: 优化首页样式

  • #2917

    refactor: merge build-config into scripts/build

    refactor: 把 build-config 合并进 scripts/build

  • #2856

    feat: optimize home layout

    feat: 首页布局优化

  • #2826

    support sideEffects config and change log level to info

    支持sideEffects配置并将日志级别改为info

  • #2813

    feat: support export config filed in mock file

    feat: 支持从 mock 文件中导出 config

  • #2861

    feat: add beforeBuild and afterBuild in doc plugin

    feat: 在doc.plugin里面添加beforeBuild和afterBuild

  • #2884

    feat: optimize polyfill bundle

    feat: 优化 polyfill 产物

  • #2913

    feat: support relative path in doc link

    feat: 支持文档内部链接使用相对路径

  • #2881

    feat: support bff handle complete server, include page render

    feat: 支持 bff 处理整个服务,包括页面渲染

  • #2920

    chore: modify package.json entry fields and build config

    chore: 更改 package.json entry 字段以及构建配置

  • #2859

    feat(builder): reduce recompile logs

    feat(builder): 减少 recompile 日志数量

  • #2847

    feat: pass origin bootstrap function to custom render

    feat: 自定义渲染中传入原始 bootstrap 函数

  • #2704

    refactor: refactor rules for static assets processing with rule.oneOf, reuse svg/font/image/media plugin

    refactor: 使用 oneOf 重构静态资源处理规则 & 复用 svg / font / media / img 插件

  • #2844

    feat: support NoSSR component fallback UI

    feat: 支持 NoSSR 组件 fallback UI

  • #2895

    fix: add types field for @modern-js/runtime

    fix: 为 @modern0js/runtime 添加 types 字段

  • #2865

    chore: bump caniuse-lite to latest version

    chore: 升级 caniuse-lite 到最新版

  • #2891

    feat: add useLang hook

    feat: 增加 useLang 钩子

  • #2892

    feat: support image zoom

    feat: 支持图片点击放大

  • #2859

    chore(doc-core): use logger module to print log

    chore(doc-core): 使用统一的 logger 模块来输出日志

  • #2794

    feat: ssr support deploy worker

    feat: ssr 支持边缘部署

  • #2894

    feat: update codesmith version

    feat: 更新 codesmith 版本

  • #2858

    feat: support preview command

    feat: 支持预览命令

  • #2878

    feat(builder): support mergeConfig util in tools.webpack

    feat(builder): 支持在 tools.webpack 中使用 mergeConfig 工具函数

  • #2838

    feat: more use bunlder chain to modify bundler config

    feat: 更多的使用 bunlder chain 去修改 bunlder 配置

    feat(plugin-router-v5): support custom create router function

    feat(plugin-router-v5): 支持自定义路由创建函数

  • #2912

    chore: update README and description of module-tools packages

    chore: 更新 module-tools 相关包的 README 和 description

  • #2875

    feat(builder): enable postcss plugins based on browserslist

    feat(builder): 基于 browserslist 来启用需要的 postcss 插件

  • #2822

    feat: support force csr config

    feat: 支持强制 CSR 的配置

Bug Fix:

  • #2876

    fix(builder): should not generate HTML for service-worker target

    fix(builder): 修复 target 为 service-worker 时会生成 HTML 的问题

  • #2890

    fix: use a more correctly params to cal document file

    fix: 使用更准确的参数去获取 docuemnt 文件

  • #2860

    fix(builder): should not open startUrl multiple times

    fix(builder): 修复 startUrl 被重复打开的问题

  • #2916

    fix(doc-core): remove default lang prefix from URL

    fix(doc-core): 移除 URL 中的默认语言前缀

  • #2900

    fix(builder-plugin-swc): properly handle transform error in loader

    fix(builder-plugin-swc): 处理 loader 中的编译异常

  • #2839

    fix(builder-webpack-provider): correct mistaken compilerOptions usage in ts-loader options

    fix(builder-webpack-provider): 改正 ts-loader options 中错误的 compilerOptions

  • #2877

    fix: add build:watch and remove test scripts

    fix: 新增build:watch和移除test脚本

  • #2828

    chore: serialize react-router-dom ssr data, avoid the syntax conflict with HTML. Such as when json data contains </script> will be stringify to \u003c/script\u003e

    chore: 序列化react-router-dom ssr 的数据,避免html标签语义冲突。例如当json数据中包含</script>的时候会被转换成\u003c/script\u003e

  • #2914

    fix: support windows

    fix: 兼容 windows 系统路径

  • #2835

    fix: the @modern-js/app-tools hooks should set webpack as default type.

    fix: @modern-js/app-tools hooks 应该将 'webpack' 设置为默认类型

  • #2915

    fix: home page title

    fix: 修复首页标题

  • #2866

    fix: ts-node should compile scopeDir only

    fix: ts-node 应该只编译 scopeDir 的文件

  • #2908

    fix(plugin-storybook): remove dist dir when modern build

    fix(plugin-storybook): 当执行 modern build 后,移除产物目录

  • #2880

    fix(doc-core): hash error

    fix(doc-core): 链接 hash 值错误

  • #2869

    fix: avoid do not get provider when in micro-frontend mode

    避免微前端模式下 provider 获取不到

  • #2886

    fix(doc-core): failed to custom Theme.Layout

    fix(doc-core): 修复自定义 Theme.Layout 不生效的问题

  • #2850

    fix: ssg new Headers() error

    fix: 修复 ssg 渲染是 new Headers() 报错问题

@changeset-bot
Copy link

changeset-bot bot commented Feb 16, 2023

⚠️ No Changeset found

Latest commit: fbfca9f

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 Feb 16, 2023

Codecov Report

Base: 59.93% // Head: 59.93% // No change to project coverage 👍

Coverage data is based on head (fbfca9f) compared to base (89ca6cc).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2921   +/-   ##
=======================================
  Coverage   59.93%   59.93%           
=======================================
  Files         640      640           
  Lines       16759    16759           
  Branches     3635     3635           
=======================================
  Hits        10044    10044           
  Misses       6172     6172           
  Partials      543      543           

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 at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@jkzing jkzing added this pull request to the merge queue Feb 16, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 16, 2023
@jkzing jkzing merged commit fe1dbb0 into main Feb 16, 2023
@jkzing jkzing deleted the release-v2.5.0 branch February 16, 2023 11:49
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.

2 participants