fix(deps): update all non-major dependencies - #1331
renovate[bot] wants to merge 1 commit into
Conversation
|
|
8ded137 to
da99432
Compare
a89f41b to
69acf42
Compare
There was a problem hiding this comment.
本次代码变更主要涉及以下几个方面:
- 更新了多个 GitHub Actions 工作流中的 pnpm/action-setup 版本,从 v4.0.0 升级到 v4.1.0
- 更新了多个应用和库的依赖版本,包括 @ant-design 系列、@ddadaal/tsgrpc 系列、@grpc/grpc-js、@mikro-orm 系列等
- 升级了 Next.js 及相关依赖版本
- 更新了 TypeScript 和其他开发工具链版本
- 修改了 Dockerfile 中使用的基础镜像从 alpine:3.20 升级到 alpine:3.22
| # See the Mulan PSL v2 for more details. | ||
|
|
||
| FROM alpine:3.20 | ||
| FROM alpine:3.22 |
There was a problem hiding this comment.
基础镜像从 alpine:3.20 升级到 3.22,建议确认所有依赖在 3.22 上的兼容性
| "node": "20.19.2" | ||
| }, | ||
| "packageManager": "pnpm@9.4.0", | ||
| "packageManager": "pnpm@9.15.9", |
There was a problem hiding this comment.
pnpm 版本从 9.4.0 升级到 9.15.9,这是一个较大的跨度升级,建议测试确认构建过程无误
There was a problem hiding this comment.
这个PR主要进行了以下更新:
- 升级了多个GitHub Actions工作流中的pnpm/action-setup版本到v4.1.0
- 更新了所有应用的依赖包版本,包括@ant-design组件、@grpc/grpc-js、@mikro-orm相关包、dayjs等核心依赖
- 更新了开发依赖包版本,如typescript、@types/node等类型定义
- 升级了基础镜像从alpine:3.20到alpine:3.22
- 更新了项目根目录下的Node.js版本要求和pnpm版本
- 修改了多个库包的peerDependencies版本要求
| "node": "20.15.0" | ||
| "node": "20.19.3" | ||
| }, | ||
| "packageManager": "pnpm@9.4.0", |
There was a problem hiding this comment.
pnpm版本从9.4.0升级到9.15.9,这是一个较大的版本跨度升级,需要确保兼容性。建议检查pnpm的新特性/破坏性变更并与团队确认
| "packageManager": "pnpm@9.4.0", | |
| "packageManager": "pnpm@9.4.0" // 如需回退 |
| # See the Mulan PSL v2 for more details. | ||
|
|
||
| FROM alpine:3.20 | ||
| FROM alpine:3.22 |
There was a problem hiding this comment.
基础镜像从alpine:3.20升级到3.22,建议测试镜像构建和运行时是否有兼容性问题,特别是glibc依赖等
| FROM alpine:3.22 | |
| FROM alpine:3.20 // 如需回退 |
| "@mikro-orm/core": "6.2.9", | ||
| "@mikro-orm/migrations": "6.2.9", | ||
| "@mikro-orm/mysql": "6.2.9", | ||
| "@mikro-orm/seeder": "6.2.9", |
There was a problem hiding this comment.
多个@mikro-orm相关包从6.2.9升级到6.4.16,建议检查ORM相关的破坏性变更和性能改进
| "@mikro-orm/seeder": "6.2.9", | |
| @mikro-orm/cli": "6.2.9" // 如需回退 |
| "@ant-design/icons": "5.6.1", | ||
| "@codemirror/language": "6.11.2", | ||
| "@codemirror/legacy-modes": "6.5.1", | ||
| "@codemirror/view": "6.38.0", |
There was a problem hiding this comment.
@dnd-kit/core从6.1.0升级到6.3.1,涉及拖拽功能,需测试拖拽相关功能是否正常
| "@codemirror/view": "6.38.0", | |
| @dnd-kit/core": "6.1.0" // 如需回退 |
| "@ddadaal/tsgrpc-common": "0.2.5", | ||
| "@grpc/grpc-js": "1.10.9", | ||
| "@kubernetes/client-node": "^0.21.0", | ||
| "@mikro-orm/cli": "6.2.9", |
There was a problem hiding this comment.
建议检查 @kubernetes/client-node 从 0.21.0 升级到 0.22.0 是否有重大变更,确保兼容性
| # See the Mulan PSL v2 for more details. | ||
|
|
||
| FROM alpine:3.20 | ||
| FROM alpine:3.22 |
There was a problem hiding this comment.
基础镜像从 alpine:3.20 升级到 3.22,建议检查相关依赖是否兼容新版本
| "volta": { | ||
| "node": "20.15.0" | ||
| "node": "20.19.4" | ||
| }, |
There was a problem hiding this comment.
Node.js 版本从 20.15.0 升级到 20.19.4,建议确认所有项目功能和构建流程在新版本下正常运行
There was a problem hiding this comment.
本次代码变更主要涉及以下几个方面:
- 升级了多个GitHub Actions工作流中使用的pnpm/action-setup版本从v4.0.0到v4.1.0
- 更新了多个应用的Node.js依赖包版本,包括但不限于@ant-design/、@ddadaal/tsgrpc-、@grpc/grpc-js、@mikro-orm/*、next、react等
- 升级了Docker基础镜像从alpine:3.20到alpine:3.22
- 更新了多个库的依赖包版本,如@sinclair/typebox、zod、antd等
- 更新了项目根目录的开发依赖版本,如@bufbuild/buf、@changesets/cli、eslint等
- 更新了Node.js版本从20.15.0到20.19.4
- 更新了pnpm版本从9.4.0到9.15.9
| "@types/google-protobuf": "3.15.12", | ||
| "@types/http-proxy": "1.17.14", | ||
| "@types/http-proxy": "1.17.16", | ||
| "@types/mime-types": "2.1.4", |
There was a problem hiding this comment.
@types/react从18.3.3升级到18.3.23是一个较大的版本跨度,请注意版本间可能的兼容性问题,建议仔细阅读变更日志
| "less": "4.4.0", | ||
| "mime-types": "2.1.35", | ||
| "next": "14.2.4", | ||
| "next": "14.2.31", |
There was a problem hiding this comment.
升级了less从4.2.0到4.4.0,这个版本包含了一些重要变更,可能会影响现有的样式编译,建议测试样式是否正常
| "node": "20.19.4" | ||
| }, | ||
| "packageManager": "pnpm@9.4.0", | ||
| "packageManager": "pnpm@9.15.9", |
There was a problem hiding this comment.
pnpm从9.4.0升级到9.15.9包含了多个重要更新,建议测试构建和依赖安装过程是否正常
| # See the Mulan PSL v2 for more details. | ||
|
|
||
| FROM alpine:3.20 | ||
| FROM alpine:3.22 |
There was a problem hiding this comment.
从alpine:3.20升级到alpine:3.22,确保所有的系统依赖在新版本中都能正常工作
| FROM alpine:3.22 | |
| FROM alpine:3.22 |
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: pnpm/action-setup@v4.0.0 | ||
| - uses: pnpm/action-setup@v4.1.0 |
There was a problem hiding this comment.
升级pnpm/action-setup版本到v4.1.0,建议检查新版是否与当前CI流程兼容
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: pnpm/action-setup@v4.0.0 | ||
| - uses: pnpm/action-setup@v4.1.0 |
There was a problem hiding this comment.
升级pnpm/action-setup版本到v4.1.0,与docs-preview.yaml保持同步
| ref: ${{ github.event.pull_request.head.sha }} | ||
|
|
||
| - uses: pnpm/action-setup@v4.0.0 | ||
| - uses: pnpm/action-setup@v4.1.0 |
There was a problem hiding this comment.
升级pnpm/action-setup版本到v4.1.0,与其它workflow文件保持一致
| steps: | ||
| - uses: actions/checkout@v4 | ||
|
|
||
| - uses: pnpm/action-setup@v4.0.0 |
There was a problem hiding this comment.
再次升级pnpm/action-setup版本到v4.1.0,确保整个文件中版本一致
| # See the Mulan PSL v2 for more details. | ||
|
|
||
| FROM alpine:3.20 | ||
| FROM alpine:3.22 |
There was a problem hiding this comment.
将基础镜像从alpine:3.20升级到3.22,建议确认新版本是否有兼容性问题
| "volta": { | ||
| "node": "20.15.0" | ||
| "node": "20.19.4" | ||
| }, |
There was a problem hiding this comment.
node版本从20.15.0升级到20.19.4,建议检查新版本是否会导致构建或运行问题
| "node": "20.19.4" | ||
| }, | ||
| "packageManager": "pnpm@9.4.0", | ||
| "packageManager": "pnpm@9.15.9", |
There was a problem hiding this comment.
pnpm版本从9.4.0升级到9.15.9,建议测试构建过程是否受影响
| # See the Mulan PSL v2 for more details. | ||
|
|
||
| FROM alpine:3.20 | ||
| FROM alpine:3.22 |
There was a problem hiding this comment.
更新基础镜像版本到alpine:3.22可以获取最新的安全补丁和功能改进,建议在合并前测试兼容性以确保稳定性。
| "node": "20.19.4" | ||
| }, | ||
| "packageManager": "pnpm@9.4.0", | ||
| "packageManager": "pnpm@9.15.9", |
There was a problem hiding this comment.
pnpm版本从9.4.0升级到9.15.9,这是一个较大版本的升级,建议在团队内部协调升级策略以避免潜在的构建问题。
|
| # See the Mulan PSL v2 for more details. | ||
|
|
||
| FROM alpine:3.20 | ||
| FROM alpine:3.22 |
There was a problem hiding this comment.
Alpine 3.22是最新稳定版本,这是一个合理的升级
| FROM alpine:3.22 | |
| FROM alpine:3.22 |
There was a problem hiding this comment.
此次提交主要进行了以下批量更新:\n- 将 GitHub Actions 中的 pnpm/action-setup 版本从 v4.0.0 升级至 v4.4.0。\n- 将开发环境 Docker 镜像 dev/ssh-server/Dockerfile 的基础镜像从 alpine:3.20 升级至 alpine:3.23。\n- 对多个 package.json 文件中的大量依赖版本进行了升级,涉及 @ant-design/、@ddadaal/、@grpc/、@mikro-orm/、@sinclair/typebox、antd、next、typescript、zod 等核心运行时依赖,以及构建、测试、工具链相关的开发依赖。\n- 更新了根目录 package.json 中的开发依赖、Volta 工具链(Node 版本从 20.15.0 升至 20.20.2)和包管理器(pnpm 从 9.4.0 升至 9.15.9)。\n- 修复了文档站点 docs/package.json 中对 @docusaurus/core 等依赖的版本升级。\n- 此提交似乎是一次大规模的依赖版本升级,旨在保持与最新生态的兼容性。
| "dotenv": "16.6.1", | ||
| "http-proxy": "1.18.1", | ||
| "lodash": "4.17.21", | ||
| "long": "5.2.3", |
There was a problem hiding this comment.
将 lodash 从 4.17.21 升级到 4.18.1 需要谨慎。lodash 在 4.17.21 之后很久没有官方发布,4.18.x 版本可能是一个非官方包或被恶意利用的 fork。请确认这个版本包的来源和安全性。如果只是一个单纯的小版本升级,请验证其兼容性。
| "long": "5.2.3", | |
| 建议在升级前检查该版本来源,并确保所有使用 `lodash` 的代码与新版本兼容。如果 `4.18.1` 是来自 npm 的官方版本,请确认其安全公告。 |
| "lodash": "4.18.1", | ||
| "long": "5.3.2", | ||
| "mime-types": "2.1.35", | ||
| "next": "14.2.4", |
There was a problem hiding this comment.
将 next 从 14.2.4 升级到 14.2.35 是一个很大的版本跳升,可能包含破坏性变更。请仔细阅读 Next.js 的发布说明,特别是与 pages 或 app router 相关的变更,并确保与项目中使用的中间件、API 路由、配置等完全兼容。
| "next": "14.2.4", | |
| 在升级前请确认新版本是否与当前项目代码完全兼容,并测试应用的构建和运行。 |
| "google-protobuf": "3.21.4", | ||
| "http-proxy": "1.18.1", | ||
| "iconv-lite": "^0.6.3", | ||
| "less": "4.2.0", |
There was a problem hiding this comment.
将 iconv-lite 从 ^0.6.3 升级到 ^0.7.0 是一个主版本升级,可能包含破坏性变更。请检查 iconv-lite 的迁移指南,确保兼容性。
| "less": "4.2.0", | |
| 建议在升级 iconv-lite 之前,检查文档并更新代码以适配 v0.7.0 的破坏性变更。 |
| "zod": "3.23.8", | ||
| "shell-quote": "1.8.1", | ||
| "replace-in-file": "8.1.0" | ||
| "@xterm/addon-fit": "0.11.0", |
There was a problem hiding this comment.
将 zod 从 3.23.8 升级到 3.25.76 是一个较大的版本跳升。请检查 zod 的 changelog,查看是否有 API 变更、新增的验证模式或破坏性更新,例如 safeParse 的返回值结构变更。
| "@xterm/addon-fit": "0.11.0", | |
| 建议查看 Zod 的 CHANGELOG,特别是与 `ZodError` 或 `ZodEffects` 相关的变动,确保应用中的数据验证逻辑仍然正确。 |
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: pnpm/action-setup@v4.0.0 | ||
| - uses: pnpm/action-setup@v4.4.0 |
There was a problem hiding this comment.
将 pnpm/action-setup 从 v4.0.0 更新到 v4.4.0,但需要注意 v4.x 版本是否包含重大变更,建议查阅版本更新日志确认兼容性。
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: pnpm/action-setup@v4.0.0 | ||
| - uses: pnpm/action-setup@v4.4.0 |
There was a problem hiding this comment.
与 docs-preview.yaml 相同的更新,同样建议确认兼容性。
| ref: ${{ github.event.pull_request.head.sha }} | ||
|
|
||
| - uses: pnpm/action-setup@v4.0.0 | ||
| - uses: pnpm/action-setup@v4.4.0 |
There was a problem hiding this comment.
此处 pnpm/action-setup 更新,但未使用最新的 v4.x 版本,建议保持与其他 workflow 一致。
| "antd": "5.29.3", | ||
| "dayjs": "1.11.20", | ||
| "dotenv": "16.6.1", | ||
| "http-proxy": "1.18.1", |
There was a problem hiding this comment.
将 lodash 从 4.17.21 更新到 4.18.1。这似乎是一个次要版本升级,但 4.18.1 版本可能包含不兼容的更改。请确认此更改不会破坏现有功能。
| "csv-stringify": "6.7.0", | ||
| "dayjs": "1.11.20", | ||
| "google-protobuf": "3.21.4", | ||
| "http-proxy": "1.18.1", |
There was a problem hiding this comment.
将 iconv-lite 的版本从 ^0.6.3 更新到 ^0.7.0。这是一个主版本更新,可能引入破坏性更改。请确保代码兼容 iconv-lite v0.7.x。
| "eslint-plugin-license-header": "0.9.0" | ||
| }, | ||
| "volta": { | ||
| "node": "20.15.0" |
There was a problem hiding this comment.
将 Node.js 版本从 20.15.0 更新到 20.20.20。这是一个重大更新,请确保所有依赖和代码与新版本兼容。同时检查 GitHub Actions 中的 node-version 是否也需要更新。
| "node": "20.20.2" | ||
| }, | ||
| "packageManager": "pnpm@9.4.0", | ||
| "packageManager": "pnpm@9.15.9", |
There was a problem hiding this comment.
将 pnpm 版本从 9.4.0 更新到 9.15.9。这是一个主要的版本更新,可能包含重大更改。请确保所有工作流和本地环境都更新到相应版本。
| "http-proxy": "1.18.1", | ||
| "lodash": "4.17.21", | ||
| "long": "5.2.3", | ||
| "lodash": "4.18.1", |
There was a problem hiding this comment.
lodash版本从4.17.21更新到4.18.1。lodash的最新版本是4.17.21,4.18.1可能不是一个官方发布的版本,或者是一个被篡改的包。请确认该版本的来源和安全性。建议使用官方维护的4.17.21或检查是否有更新到5.x的计划。
| "lodash": "4.18.1", | |
| "lodash": "4.17.21" |
| "lodash": "4.18.1", | ||
| "long": "5.3.2", | ||
| "mime-types": "2.1.35", | ||
| "next": "14.2.4", |
There was a problem hiding this comment.
next版本从14.2.4跳升到14.2.35。这是一个较大的版本跳跃,通常Next.js的次版本号更新(如14.2.x)不会导致API不兼容,但建议查阅Next.js的发布说明,确认没有破坏性变更,特别是如果项目使用了实验性功能。
| "dayjs": "1.11.20", | ||
| "google-protobuf": "3.21.4", | ||
| "http-proxy": "1.18.1", | ||
| "iconv-lite": "^0.6.3", |
There was a problem hiding this comment.
iconv-lite从^0.6.3升级到^0.7.0。iconv-lite的0.7.0版本可能包含破坏性变更(major version change),需要检查项目中iconv-lite的使用方式,确保与新版本兼容。
| "iconv-lite": "^0.6.3", | |
| 检查所有 import/require 'iconv-lite' 的使用,确认API是否有变化。 |
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: pnpm/action-setup@v4.0.0 | ||
| - uses: pnpm/action-setup@v4.4.0 |
There was a problem hiding this comment.
pnpm/action-setup版本从v4.0.0更新到v4.4.0。虽然这看起来像是“更新依赖”,但需要确保这个新版本与项目中使用的pnpm版本(在package.json的packageManager字段中指定为pnpm@9.15.9)兼容。
| - uses: pnpm/action-setup@v4.4.0 | |
| 建议在更新此Action之前,先测试与p@9.15.9的兼容性。 |
| "node": "20.20.2" | ||
| }, | ||
| "packageManager": "pnpm@9.4.0", | ||
| "packageManager": "pnpm@9.15.9", |
There was a problem hiding this comment.
packageManager字段的值从pnpm@9.4.0更改为pnpm@9.15.9。这是一个pnpm的minor版本更新,通常不会引入破坏性变更,但仍建议查看pnpm的发布说明(特别是9.4到9.15之间的突出变更),以确保没有影响项目构建或依赖安装的更改。
| "packageManager": "pnpm@9.4.0", | ||
| "packageManager": "pnpm@9.15.9", | ||
| "pnpm": { | ||
| "patchedDependencies": { |
There was a problem hiding this comment.
在pnpm.patchedDependencies中新增了react-typed-i18n@2.3.0的补丁文件。这个补丁是针对旧的版本(2.3.0)的,但apps/ai/package.json中已经将react-typed-i18n更新到2.6.1。这会导致补丁不生效,或者需要更新补丁文件以匹配新版本。请确保补丁文件patches/react-typed-i18n@2.3.0.patch也相应更新,或者移除该补丁配置。
| "patchedDependencies": { | |
| 删除 'react-typed-i18n@2.3.0': 'patches/react-typed-i18n@2.3.0.patch' 这一行,或提供一个新的、适用于2.6.1版本的补丁。 |
There was a problem hiding this comment.
- 将多个 GitHub Actions 工作流中的
pnpm/action-setup版本从v4.0.0更新到v4.4.0。 - 更新了
apps/ai/package.json中lodash的版本从4.17.21到4.18.1。 - 更新了根目录
package.json中的packageManager字段,使用pnpm@9.15.9代替pnpm@9.4.0。 - 大量更新了多个
package.json文件中的依赖版本,包括但不限于@ant-design/icons、@ddadaal/tsgrpc-client、@mikro-orm/core、antd、next、typescript等。 - 更新了
dev/ssh-server/Dockerfile中的基础镜像从alpine:3.20到alpine:3.23。 - 更新了
libs/web/package.json中peerDependencies的版本号,以确保与主机项目版本一致。
| "dotenv": "16.6.1", | ||
| "http-proxy": "1.18.1", | ||
| "lodash": "4.17.21", | ||
| "long": "5.2.3", |
There was a problem hiding this comment.
将 lodash 从 4.17.21 升级到 4.18.1 是一个不安全的升级。lodash 的最新稳定版本是 4.17.21,4.18.1 可能是一个恶意或测试版本。建议确认此版本的来源,并确保它来自官方 lodash 仓库或是一个经过验证的 fork。如果是不小心打错版本号,请修正为 4.17.21。
| "long": "5.2.3", | |
| "lodash": "4.17.21" |
| "dayjs": "1.11.20", | ||
| "google-protobuf": "3.21.4", | ||
| "http-proxy": "1.18.1", | ||
| "iconv-lite": "^0.6.3", |
There was a problem hiding this comment.
将 iconv-lite 从 ^0.6.3 升级到 ^0.7.0 是一个主版本升级,可能引入破坏性变更。需要检查项目中 iconv-lite 的用法,确保在新版本下正常工作。
| "iconv-lite": "^0.6.3", | |
| 如果不需要新功能或修复,建议保留使用 `^0.6.3` 的版本范围,或者测试 `iconv-lite@0.7.0` 的兼容性。 |
| "node": "20.20.2" | ||
| }, | ||
| "packageManager": "pnpm@9.4.0", | ||
| "packageManager": "pnpm@9.15.9", |
There was a problem hiding this comment.
将 react-typed-i18n@2.3.0 的补丁移除,同时将 react-typed-i18n 升级到 2.6.1。需要确认新版本不再需要之前的补丁,否则应更新补丁文件或保留补丁。
There was a problem hiding this comment.
此代码 diff 主要涉及以下更改:
- 更新 GitHub Actions 工作流中的
pnpm/action-setup动作版本,从v4.0.0升级到v4.4.0。 - 将所有
package.json文件中的依赖项版本升级到较新版本,包括@ant-design/cssinjs、@ant-design/icons、@ddadaal/tsgrpc-client、@grpc/grpc-js等。 - 更新 Dockerfile 中的基础镜像,从
alpine:3.20升级到alpine:3.23。 - 更新根
package.json中的 Node.js 版本从20.15.0到20.20.2,以及包管理器版本从pnpm@9.4.0到pnpm@9.15.9。
| "node": "20.20.2" | ||
| }, | ||
| "packageManager": "pnpm@9.4.0", | ||
| "packageManager": "pnpm@9.15.9", |
There was a problem hiding this comment.
包管理器版本从 pnpm@9.4.0 升级到 pnpm@9.15.9。这是一个大版本升级,需要确保所有开发者都安装了新的 pnpm 版本,并且项目中的 pnpm-lock.yaml 文件与新的 pnpm 版本兼容。请执行 pnpm install 重新生成 lock 文件以确保一致性。
| }, | ||
| "volta": { | ||
| "node": "20.15.0" | ||
| "node": "20.20.2" |
There was a problem hiding this comment.
Node.js 版本从 20.15.0 升级到 20.20.2。这是一个小版本升级,通常兼容,但建议在升级后运行完整的测试套件以确保没有回归问题。
There was a problem hiding this comment.
- 将此 PR 中所有包管理器的依赖项更新到了最新版本。
- 在 GitHub Actions 工作流中将 pnpm/action-setup 从 v4.0.0 升级到 v4.4.0。
- 将基础 Docker 镜像从 alpine:3.20 更新到 alpine:3.23。
- 将 TypeScript 版本从 5.5.2 升级到 5.9.3,可能会导致类型错误或构建失败,需要验证。
- 将 lodash 从 4.17.21 更新到 4.18.1(在 apps/ai/package.json 中),这不是一个标准的 semver 补丁版本,可能存在破坏性变更,需要验证兼容性。
- 将 Next.js 从 14.2.4 更新到 14.2.35,并相应更新了 @next/bundle-analyzer。
- 将 Ant Design 从 5.18.3 更新到 5.29.3,这是一个跨越多个小版本的更新,可能存在破坏性 UI 变更。
- 将 pnpm 从 9.4.0 更新到 9.15.9。
| "http-proxy": "1.18.1", | ||
| "lodash": "4.17.21", | ||
| "long": "5.2.3", | ||
| "lodash": "4.18.1", |
There was a problem hiding this comment.
将 lodash 从 4.17.21 更新到 4.18.1。请注意,版本号从 4.17 跳到 4.18,中间跳过了多个次要版本,这被认为是一个“次版本”更新,可能包含破坏性更改。虽然 lodash 通常遵循语义化版本控制,但需要验证此版本是否与项目代码兼容。建议检查 lodash 的发布说明或更新日志,以确保没有破坏性变更。
| "lodash": "4.18.1", | |
| 可以考虑保持现有版本,除非有明确的兼容性验证。如果需要更新,请确保进行全面的单元测试和集成测试。 |
| "google-protobuf": "3.21.4", | ||
| "http-proxy": "1.18.1", | ||
| "iconv-lite": "^0.6.3", | ||
| "less": "4.2.0", |
There was a problem hiding this comment.
将 iconv-lite 从 ^0.6.3 更新到 ^0.7.0。这是一个主要版本升级,可能包含破坏性变更。由于使用了脱字符版本范围 (^),这将允许安装 0.x 系列的最新版本,但从 0.6 到 0.7 的跳转可能引入了不兼容的 API 变更。请检查 iconv-lite 的更新日志,验证项目代码是否兼容。
| "less": "4.2.0", | |
| 如果项目依赖了 iconv-lite 中的具体 API,建议在升级前阅读其 changelog,或固定到特定版本(如 0.6.5)以确保稳定性。 |
There was a problem hiding this comment.
这是一个大规模的依赖版本更新 PR,涉及多个 GitHub Actions 配置文件和项目中的 package.json 文件。主要变更包括:
- 更新 GitHub Actions 中
pnpm/action-setup版本从 v4.0.0 到 v4.4.0 - 更新多个应用和库的依赖包版本,包括 @ant-design、@grpc、@mikro-orm、next、antd 等核心库
- 更新根 package.json 中的开发依赖和工具版本
- 更新 Dockerfile 中基础镜像版本
- 更新 Node.js 和 pnpm 版本
| "dotenv": "16.6.1", | ||
| "http-proxy": "1.18.1", | ||
| "lodash": "4.17.21", | ||
| "long": "5.2.3", |
There was a problem hiding this comment.
lodash 从 4.17.21 升级到 4.18.1,但这个版本号在 npm 上可能不存在。官方最新版本是 4.17.21,4.18.1 可能是内部版本或 typo。请确认版本号是否正确。
| "long": "5.2.3", | |
| "lodash": "4.17.21" |
| "long": "5.2.3", | ||
| "lodash": "4.18.1", | ||
| "long": "5.3.2", | ||
| "mime-types": "2.1.35", |
There was a problem hiding this comment.
next 从 14.2.4 升级到 14.2.35,这是一个较大的跳跃。请确认没有 breaking changes 影响现有代码,尤其是 App Router 和 Server Components 相关的改动。
| "dayjs": "1.11.20", | ||
| "google-protobuf": "3.21.4", | ||
| "http-proxy": "1.18.1", | ||
| "iconv-lite": "^0.6.3", |
There was a problem hiding this comment.
iconv-lite 从 ^0.6.3 升级到 ^0.7.0,0.7.0 版本引入了 breaking changes(例如移除了某些 API)。请检查项目中是否使用了受影响的 API,并更新相关代码。
| "ws": "8.17.1" | ||
| "styled-components": "6.4.1", | ||
| "tslib": "2.8.1", | ||
| "typescript": "5.9.3", |
There was a problem hiding this comment.
typescript 从 5.5.2 升级到 5.9.3,这是一个大版本跳跃。请确保项目代码兼容 TypeScript 5.9.x 的新语法或类型检查规则。建议先使用 5.7.x 或 5.8.x 逐步升级。
| "typescript": "5.9.3", | |
| "typescript": "5.7.3" |
| "node": "20.15.0" | ||
| "node": "20.20.2" | ||
| }, | ||
| "packageManager": "pnpm@9.4.0", |
There was a problem hiding this comment.
packageManager 从 pnpm@9.4.0 升级到 pnpm@9.15.9,同时 turbo 从 2.0.4 升级到 2.9.14。这两个工具的大版本跳跃可能导致 CI/CD 行为变化,需要确认兼容性。
| "dotenv": "16.6.1", | ||
| "http-proxy": "1.18.1", | ||
| "lodash": "4.17.21", | ||
| "long": "5.2.3", |
There was a problem hiding this comment.
将 lodash 从 4.17.21 更新到 4.18.1 需要谨慎。lodash 的官方版本号是 4.17.21(截至知识截止日期),4.18.1 可能是一个不存在的或不稳定的版本。请确认 4.18.1 是否为正确的版本,以避免引入未经测试的变更或破坏性更新。
| "long": "5.2.3", | |
| 建议核实 `lodash` 的最新稳定版本,通常应使用 `4.17.21` 或经过验证的更高版本,例如 `4.17.21` 或 `5.0.0`(如果项目兼容)。 |
| "ws": "8.20.1", | ||
| "@xterm/xterm": "5.5.0", | ||
| "@xterm/addon-fit": "0.10.0", | ||
| "zod": "3.23.8", |
There was a problem hiding this comment.
将 zod 从 3.23.8 更新到 3.25.76 是一个大版本跳跃。zod@3.25 可能包含破坏性更改或新的行为,需要检查 zod 的官方发布说明和项目中的使用情况,确保兼容性。
| "zod": "3.23.8", | |
| 建议在更新前阅读 `zod` 的变更日志(changelog),并运行完整的测试套件以验证没有回归问题。 |
| "google-protobuf": "3.21.4", | ||
| "http-proxy": "1.18.1", | ||
| "iconv-lite": "^0.6.3", | ||
| "less": "4.2.0", |
There was a problem hiding this comment.
将 iconv-lite 从 ^0.6.3 更新到 ^0.7.0,这是一个主版本升级。iconv-lite@0.7.0 引入了新的 API 或行为变化(例如默认编码变化)。请检查项目中对 iconv-lite 的调用,确保不会因为破坏性更改导致功能异常。
| "less": "4.2.0", | |
| 建议查阅 `iconv-lite` 的迁移指南,并在更新后进行全面的功能测试。 |
| "node": "20.15.0" | ||
| "node": "20.20.2" | ||
| }, | ||
| "packageManager": "pnpm@9.4.0", |
There was a problem hiding this comment.
更新 packageManager 从 pnpm@9.4.0 到 pnpm@9.15.9 是一个次版本跳跃。虽然通常向后兼容,但应验证项目中的所有 pnpm 功能(如 workspace 协议、patchDependencies 等)在新版本中正常工作。
| "packageManager": "pnpm@9.4.0", | |
| 建议运行 `pnpm install` 和 `pnpm build` 确保无错误,并检查任何 pnpm 相关的配置是否与新版本兼容。 |
left a comment
There was a problem hiding this comment.
- 更新 GitHub Actions 工作流中
pnpm/action-setup版本从v4.0.0到v4.4.0。 - 更新多个应用和库的
package.json文件中的依赖项版本,包括@ant-design/*、@ddadaal/*、@grpc/grpc-js、@mikro-orm/*、antd、next、styled-components、typescript等,涉及主版本和次版本的升级。 - 更新 Dockerfile 中基础镜像版本从
alpine:3.20到alpine:3.23。 - 更新根
package.json中的开发依赖项版本,并调整 Node.js 版本要求从20.15.0到20.20.2,包管理器从pnpm@9.4.0到pnpm@9.15.9。
| "dotenv": "16.6.1", | ||
| "http-proxy": "1.18.1", | ||
| "lodash": "4.17.21", | ||
| "long": "5.2.3", |
There was a problem hiding this comment.
lodash 版本从 4.17.21 更新到 4.18.1,这可能是一个次版本升级。需要注意 lodash 4.18.x 版本是否稳定,并检查与现有代码的兼容性。
| "long": "5.2.3", | |
| 建议核实 `lodash` 4.18.1 的发布状态和变更日志,确保没有破坏性更改。若存在疑虑,可暂时保留在 4.17.x 版本。 |
| "zod": "3.23.8", | ||
| "shell-quote": "1.8.1", | ||
| "replace-in-file": "8.1.0" | ||
| "@xterm/addon-fit": "0.11.0", |
There was a problem hiding this comment.
zod 版本从 3.23.8 升级到 3.25.76,这是一个跨多个次版本的升级。zod 在 3.24 版本中引入了重大变更(如 ZodError 结构变化),可能会破坏现有代码。
| "@xterm/addon-fit": "0.11.0", | |
| 建议先升级到 3.23.x 的最新版本,然后逐步测试 3.24 和 3.25 的兼容性,特别是检查所有使用 `zod` 进行验证和类型推断的地方。 |
| "long": "5.2.3", | ||
| "lodash": "4.18.1", | ||
| "long": "5.3.2", | ||
| "mime-types": "2.1.35", |
There was a problem hiding this comment.
next 版本从 14.2.4 升级到 14.2.35,这是一个补丁版本升级,通常包含安全修复和 bug 修复。但需要确认此版本与项目中使用的其他依赖(如 next-compose-plugins)兼容。
| "mime-types": "2.1.35", | |
| 检查 `next` 14.2.35 的发布说明,确认是否有已知问题。运行构建和测试套件以确保一切正常。 |
| "google-protobuf": "3.21.4", | ||
| "http-proxy": "1.18.1", | ||
| "less": "4.2.0", | ||
| "less": "4.6.4", |
There was a problem hiding this comment.
less 版本从 4.2.0 升级到 4.6.4,跨越多个次版本。Less 4.6.* 引入了新功能,但也可能有破坏性更改。请务必检查 Less 文件的兼容性。
| "less": "4.6.4", | |
| 验证所有 Less 文件和样式是否正确编译,特别是那些使用了 Less 函数和混入(mixins)的文件。 |
| "@types/http-proxy": "1.17.14", | ||
| "@types/http-proxy": "1.17.17", | ||
| "@types/mime-types": "2.1.4", | ||
| "@types/node": "20.14.8", |
There was a problem hiding this comment.
@types/node 从 20.14.8 升级到 20.19.41,这是一个大跨度的版本更新。由于是类型定义,通常较为安全,但仍需确认与项目使用的 Node.js API 是否一致。
| "@types/node": "20.14.8", | |
| 确保实际运行时的 Node.js 版本与类型定义匹配。当前根 package.json 中 Node 版本为 `20.20.2`,建议统一。 |
| # MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE. | ||
| # See the Mulan PSL v2 for more details. | ||
|
|
||
| FROM alpine:3.20 |
There was a problem hiding this comment.
基础镜像从 alpine:3.20 更新到 alpine:3.23。Alpine 3.23 是较新的版本,可能包含更新的包和库。需要测试 SSH 服务是否正常工作。
| FROM alpine:3.20 | |
| 建议在更新后验证 SSH 连接和认证功能,确保没有因基础镜像变动引入的问题。 |
| "node": "20.15.0" | ||
| "node": "20.20.2" | ||
| }, | ||
| "packageManager": "pnpm@9.4.0", |
There was a problem hiding this comment.
包管理器从 pnpm@9.4.0 升级到 pnpm@9.15.9,这是跨多个次版本的升级。pnpm 9.x 版本中可能有新功能或行为变化,需要确认与项目的 pnpm 工作区配置和锁文件兼容。
| "packageManager": "pnpm@9.4.0", | |
| 建议运行 `pnpm install` 并检查锁文件更新。验证所有 workspace 包是否正常工作,特别是那些使用了 pnpm 过滤器的脚本。 |
| "ts-log": "2.2.7", | ||
| "webpack": "5.107.1" | ||
| }, | ||
| "peerDependencies": { |
There was a problem hiding this comment.
monaco-editor 的 peerDependency 版本从 0.50.0 升级到 0.55.1,这是一个主版本升级。Monaco Editor 0.55.x 可能包含 API 变更,需要确保 @monaco-editor/react 等集成库兼容。
| "peerDependencies": { | |
| 检查项目中使用 Monaco Editor 的代码,特别是自定义语言、主题和编辑功能。如有问题,考虑锁定到已知兼容的版本。 |
| "@scow/lib-operation-log": "workspace:*", | ||
| "@scow/utils": "workspace:*", | ||
| "@scow/protos": "workspace:*", | ||
| "dayjs": "1.11.11", |
There was a problem hiding this comment.
dayjs 版本从 1.11.11 升级到 1.11.20,这是一个补丁版本升级,通常安全。但 dayjs 1.11.12+ 修复了一些 bug,建议快速验证日期格式化逻辑。
| "dayjs": "1.11.11", | |
| 快速运行测试套件,特别是涉及日期处理的部分,确保无回归。 |
| "fastify": "4.29.1", | ||
| "fastify-graceful-shutdown": "3.5.3", | ||
| "fastify-plugin": "4.5.1", | ||
| "ioredis": "5.4.1", |
There was a problem hiding this comment.
ioredis 从 5.4.1 升级到 5.10.1,这是一个大的次版本跨越。ioredis 5.x 版本中可能有 API 变更或行为变化,需要检查 Redis 操作代码。
| "ioredis": "5.4.1", | |
| 重点关注 `ioredis` 的连接配置、集群支持和命令执行代码。查看 ioredis 发布说明,特别是关于 5.5 之后的重大变更。 |
left a comment
There was a problem hiding this comment.
- 更新了大量依赖包版本,包括 pnpm/action-setup、多个 npm 包、Docker 基础镜像等。
- 在
.github/workflows文件中,将pnpm/action-setup从 v4.0.0 更新到 v4.4.0。 - 在多个
package.json文件中,更新了lodash、next、typescript、zod、antd、protobufjs、@grpc/grpc-js等关键依赖的版本。 dev/ssh-server/Dockerfile中的基础镜像从alpine:3.20更新到alpine:3.23。- 根
package.json更新了node和pnpm版本,以及多个开发依赖。
| "dotenv": "16.6.1", | ||
| "http-proxy": "1.18.1", | ||
| "lodash": "4.17.21", | ||
| "long": "5.2.3", |
There was a problem hiding this comment.
lodash 从 4.17.21 更新到 4.18.1 似乎是一个不存在的版本。npm 上 lodash 的最新版本是 4.17.21,4.18.1 可能是一个 beta 版本或 typo。这可能会导致安装失败或意外行为。
| "long": "5.2.3", | |
| 如果这是一个笔误,建议改回 4.17.21 或确认正确的版本号。 |
| "google-protobuf": "3.21.4", | ||
| "http-proxy": "1.18.1", | ||
| "iconv-lite": "^0.6.3", | ||
| "less": "4.2.0", |
There was a problem hiding this comment.
iconv-lite 从 ^0.6.3 更新到 ^0.7.0。注意 iconv-lite 的 0.7.x 版本是一个重大重写,API 可能不兼容。需要确认代码是否兼容新版本,否则可能导致运行时错误。
| "less": "4.2.0", | |
| 在更新前,应检查 `iconv-lite` 的迁移指南,并确保项目代码与新版本兼容。如果无法立即验证,建议暂时保持 `^0.6.3`。 |
| }, | ||
| "volta": { | ||
| "node": "20.15.0" | ||
| "node": "20.20.2" |
There was a problem hiding this comment.
volta -> node 从 20.15.0 更新到 20.20.2。这与 @types/node 的更新(从 20.14.8 到 20.19.41)不一致(20.19.41 不存在于 node 类型中,可能是打字错误)。同时,需要考虑 Node.js 版本升级可能导致的兼容性变更,特别是对旧版依赖的支持。
| "node": "20.20.2" | |
| 确认 `@types/node` 的正确版本。如果 Node.js 版本升级是必须的,建议使用最新的 LTS 版本(如 20.18.x 或 22.x),并测试所有功能。 |
left a comment
There was a problem hiding this comment.
此代码变更包含以下内容:
- 更新 GitHub Actions 工作流中
pnpm/action-setup的版本从 v4.0.0 到 v4.4.0。 - 更新根目录
package.json中的开发依赖项版本,包括@bufbuild/buf,@changesets/cli,@commitlint/config-conventional,@ddadaal/eslint-config,@pnpm/lockfile-file,@pnpm/logger,@types/jest,@types/node,dotenv,dotenv-cli,eslint,globby,husky,node-glob,nodemon,pino-pretty,pm2,rimraf,ts-jest,ts-node,tsc-alias,tsconfig-paths,turbo,typescript,eslint-plugin-license-header。 - 更新根目录
package.json中的volta配置中的 Node.js 版本从 20.15.0 到 20.20.2,以及packageManager从 pnpm 9.4.0 到 9.15.9。 - 更新多个子项目(如
apps/ai,apps/audit-server,apps/auth,apps/cli,apps/mis-server,apps/mis-web,apps/portal-server,apps/portal-web,dev/ssh-server,dev/test-adapter,docs,libs/auth,libs/config,libs/decimal,libs/hook,libs/libconfig,libs/operation-log,libs/protos/*,libs/rich-error-model,libs/scheduler-adapter,libs/scowd,libs/server,libs/ssh,libs/web)中的依赖项版本。 - 更新
dev/ssh-server/Dockerfile基础镜像从alpine:3.20到alpine:3.23。 - 总体而言,这是一个大规模依赖版本更新 PR,旨在升级项目中使用的各种 npm 包、工具和 Docker 镜像版本。
| "dotenv": "16.6.1", | ||
| "http-proxy": "1.18.1", | ||
| "lodash": "4.17.21", | ||
| "long": "5.2.3", |
There was a problem hiding this comment.
将 lodash 从 4.17.21 更新到 4.18.1 存在风险。lodash 的正式最新版本是 4.17.21,4.18.1 可能是社区分支或非官方版本(如 lodash-es?),但标准 lodash 包在 npm 上并未发布过 4.18.x 版本。请确认该版本号是否正确,建议使用 4.17.21 或官方认可的替代品。
| "long": "5.2.3", | |
| "lodash": "4.17.21" |
| "google-protobuf": "3.21.4", | ||
| "http-proxy": "1.18.1", | ||
| "iconv-lite": "^0.6.3", | ||
| "less": "4.2.0", |
There was a problem hiding this comment.
将 iconv-lite 从 ^0.6.3 更新到 ^0.7.0 是一个主版本升级,可能存在破坏性变更(例如 API 变更或行为改变)。请确认 iconv-lite 的 0.7.0 版本是否兼容当前代码,并检查是否与其他依赖(如 iconv 相关包)存在冲突。建议在升级前查阅 changelog,确保不会引入 bug。
| "less": "4.2.0", | |
| 暂无具体代码建议,但建议在合并前进行充分测试。 |
| "ts-log": "2.2.7", | ||
| "webpack": "5.107.1" | ||
| }, | ||
| "peerDependencies": { |
There was a problem hiding this comment.
将 peerDependencies 中的 monaco-editor 从 0.50.0 更新到 0.55.1。注意 monaco-editor 的主版本号未变(0.x),但 minor 版本跨度较大(0.50 -> 0.55)。这可能会引入 API 变更或行为差异。请确保使用该 peer dependency 的代码(如 @monaco-editor/react)兼容新版本,并检查是否存在已知的 breaking changes。
| "peerDependencies": { | |
| 暂无具体代码建议,但建议在更新后运行相关测试并验证功能。 |
| "eslint-plugin-license-header": "0.9.0" | ||
| }, | ||
| "volta": { | ||
| "node": "20.15.0" |
There was a problem hiding this comment.
将 volta 配置中的 Node.js 版本从 20.15.0 更新到 20.20.2。请注意 Node.js 20.20.x 属于较新版本,可能存在一些新特性或已弃用的 API 变化。建议检查项目是否依赖任何仅在旧版本中可用的行为,并确保所有工具链(如 ts-node、jest)与 Node 20.20 兼容。此外,@types/node 也已更新到 20.19.41,需要确保类型版本与运行时一致。
| "node": "20.15.0" | |
| 暂无具体代码建议,但建议在 CI 中使用新版本运行全量测试。 |
| "node": "20.20.2" | ||
| }, | ||
| "packageManager": "pnpm@9.4.0", | ||
| "packageManager": "pnpm@9.15.9", |
There was a problem hiding this comment.
将 packageManager 从 pnpm@9.4.0 更新到 pnpm@9.15.9。这是 pnpm 的 major 版本内的 minor 升级,但 9.4 到 9.15 跨度较大。请查阅 pnpm 的 changelog,关注是否有影响 lockfile 格式或安装行为的变化。通常 pnpm 在 minor 版本间会保持兼容,但建议在升级后运行 pnpm install 检查 lockfile 是否自动更新,并确认没有安装失败或版本冲突。
| "packageManager": "pnpm@9.15.9", | |
| 暂无具体代码建议,但建议在升级后重新生成 lockfile 并验证安装过程。 |
| "lodash": "4.18.1", | ||
| "long": "5.3.2", | ||
| "mime-types": "2.1.35", | ||
| "next": "14.2.4", |
There was a problem hiding this comment.
将 next 从 14.2.4 更新到 14.2.35。虽然这是 patch 版本升级,但 Next.js 的 patch 版本有时会包含安全修复或 bug 修复,也可能引入微小变更。建议确认所有使用了 Next.js 功能的代码(如路由、中间件、API 路由等)仍正常工作。特别是如果项目使用了 app router 或 pages router 中的新特性,需要确认兼容性。
| "next": "14.2.4", | |
| 暂无具体代码建议,但建议运行 `next build` 和 `next start` 进行集成测试。 |
| "dayjs": "1.11.20", | ||
| "dotenv": "16.6.1", | ||
| "http-proxy": "1.18.1", | ||
| "lodash": "4.17.21", |
There was a problem hiding this comment.
lodash从4.17.21更新到4.18.1,版本跳跃过大,4.18.x可能引入了破坏性变更。建议确认兼容性或锁定在4.17.x。
| "lodash": "4.17.21", | |
| "lodash": "4.17.21" |
| "dayjs": "1.11.20", | ||
| "google-protobuf": "3.21.4", | ||
| "http-proxy": "1.18.1", | ||
| "iconv-lite": "^0.6.3", |
There was a problem hiding this comment.
iconv-lite从^0.6.3更新到^0.7.0,^0.7.0可能包含破坏性API变更。建议检查使用方式是否兼容。
| "iconv-lite": "^0.6.3", | |
| "iconv-lite": "^0.6.3" |
| fetch-depth: 0 | ||
| ref: ${{ github.event.pull_request.head.sha }} | ||
|
|
||
| - uses: pnpm/action-setup@v4.0.0 |
There was a problem hiding this comment.
pnpm/action-setup更新到v4.4.0,但volta中packageManager指定pnpm@9.15.9,而action-setup v4.4.0默认自动安装的pnpm版本可能不匹配。建议显式指定pnpm版本。
| - uses: pnpm/action-setup@v4.0.0 | |
| - uses: pnpm/action-setup@v4.4.0 | |
| with: | |
| version: 9.15.9 |
| "eslint-plugin-license-header": "0.9.0" | ||
| }, | ||
| "volta": { | ||
| "node": "20.15.0" |
There was a problem hiding this comment.
volta中node版本更新到20.20.2,但GitHub Actions中仍使用node 18.x(见docs-preview.yaml line 8)。建议统一Node.js版本,避免开发与CI环境不一致。
| "lodash": "4.18.1", | ||
| "long": "5.3.2", | ||
| "mime-types": "2.1.35", | ||
| "next": "14.2.4", |
There was a problem hiding this comment.
zod从3.23.8更新到3.25.76,版本跳跃较大,检查是否引入破坏性变更(例如API变更)。
| "react": "18.3.1", | ||
| "react-async": "10.0.1", | ||
| "react-dom": "18.3.1", | ||
| "react-is": "18.3.1", |
There was a problem hiding this comment.
typescript从5.5.2更新到5.9.3,大版本更新,可能引入新语法或破坏性变更。确保代码兼容或进行相应调整。
left a comment
There was a problem hiding this comment.
本PR主要进行了以下修改:
- 更新 CI 工作流中的
pnpm/action-setup版本从 v4.0.0 到 v4.4.0。 - 批量更新多个
package.json中的依赖版本,包括生产依赖和开发依赖,覆盖多个应用和库。 - 更新
dev/ssh-server/Dockerfile中的基础镜像从alpine:3.20到alpine:3.23。 - 更新根
package.json中的 Node.js 版本从 20.15.0 到 20.20.2,pnpm 版本从 9.4.0 到 9.15.9。
| "dotenv": "16.6.1", | ||
| "http-proxy": "1.18.1", | ||
| "lodash": "4.17.21", | ||
| "long": "5.2.3", |
There was a problem hiding this comment.
lodash 版本从 4.17.21 升级到 4.18.1,但 lodash 官方版本号目前最高为 4.17.21,不存在 4.18.1。请确认是否拼写错误或使用了非官方源。若为笔误,应回退到 4.17.21 或使用正确的版本。
| "long": "5.2.3", | |
| "lodash": "4.17.21" |
| "dayjs": "1.11.21", | ||
| "google-protobuf": "3.21.4", | ||
| "http-proxy": "1.18.1", | ||
| "iconv-lite": "^0.6.3", |
There was a problem hiding this comment.
iconv-lite 从 ^0.6.3 升级到 ^0.7.0,这是 major 版本升级。iconv-lite 0.7.0 可能包含破坏性变更(如移除了某些编码或 API)。建议检查是否兼容当前代码,并更新使用方式。如果未做适配,可能导致运行时错误。
| "iconv-lite": "^0.6.3", | |
| 建议先保持 `^0.6.3` 或升级后测试所有使用 iconv-lite 的功能。 |
| "http-proxy": "1.18.1", | ||
| "less": "4.2.0", | ||
| "less": "4.6.4", | ||
| "mime-types": "2.1.35", |
There was a problem hiding this comment.
next 从 14.2.4 升级到 14.2.35,这是次版本内的补丁升级,通常兼容。但需注意 Next.js 14.2.x 中可能存在一些中间版本的破坏性变更,建议查看 changelog 并充分测试。特别是与路由、中间件等相关的变化。
| "mime-types": "2.1.35", | |
| 建议在测试环境中验证所有页面的功能。 |
| "eslint-plugin-license-header": "0.6.1" | ||
| "turbo": "2.9.15", | ||
| "typescript": "5.9.3", | ||
| "eslint-plugin-license-header": "0.9.0" |
There was a problem hiding this comment.
pnpm 版本从 9.4.0 升级到 9.15.9,这是一个较大的跳跃。pnpm 9.x 系列可能有重大变化,例如 lockfile 格式、工作空间协议、依赖解析等。建议运行 pnpm install 后检查 lockfile 是否更新正常,并确保 CI 流程中使用的 pnpm 版本与此一致。
| "eslint-plugin-license-header": "0.9.0" | |
| 考虑分步升级 pnpm 版本,或至少进行完整的构建和测试。 |
| "shell-quote": "1.8.1", | ||
| "replace-in-file": "8.1.0" | ||
| "@xterm/addon-fit": "0.11.0", | ||
| "zod": "3.25.76", |
There was a problem hiding this comment.
zod 从 3.23.8 升级到 3.25.76,其中包含多个 major 版本跳跃。Zod 3.24 和 3.25 引入了新特性但也可能有重大变更(如错误格式、类型推断等)。建议查阅 Zod changelog,并确保所有使用时没有使用已废除的 API。
| "zod": "3.25.76", | |
| 建议在测试环境中运行所有使用 Zod 的测试用例。 |
| "rimraf": "6.0.1", | ||
| "ts-jest": "29.1.5", | ||
| "pm2": "5.4.3", | ||
| "rimraf": "6.1.3", |
There was a problem hiding this comment.
rimraf 从 6.0.1 升级到 6.1.3,这是次版本升级,但 rimraf 6.x 版本可能有兼容性问题。建议确认删除操作的行为是否一致。
| "rimraf": "6.1.3", | |
| 无特殊建议,但需测试构建清理步骤。 |
| "turbo": "2.0.4", | ||
| "typescript": "5.5.2", | ||
| "eslint-plugin-license-header": "0.6.1" | ||
| "turbo": "2.9.15", |
There was a problem hiding this comment.
turbo 从 2.0.4 升级到 2.9.15,这是一个较大的版本跨越。Turborepo 在 2.x 中可能引入了新的缓存策略、管道配置等破坏性变更。建议检查 turbo.json 配置是否需要调整,并验证 build 缓存是否正常工作。
| "turbo": "2.9.15", | |
| 运行 `turbo build` 并确认所有任务缓存命中正确。 |
left a comment
There was a problem hiding this comment.
这是一个大规模的依赖版本更新PR,涉及以下改动:
- 更新GitHub Actions workflow中 pnpm/action-setup 的版本
- 批量更新多个 packages 的 dependencies 和 devDependencies 版本
- 更新 Docker 基础镜像版本 (alpine: 3.20 -> 3.23)
- 更新 volta 配置中的 Node.js 和 pnpm 版本
- 更新 devDependencies 中的工具链版本(如 eslint, typescript, turbo 等)
| "dayjs": "1.11.21", | ||
| "google-protobuf": "3.21.4", | ||
| "http-proxy": "1.18.1", | ||
| "iconv-lite": "^0.6.3", |
There was a problem hiding this comment.
iconv-lite 从 ^0.6.3 升级到 ^0.7.0 是一个 major 版本变更,可能引入不兼容的改动。请确认 iconv-lite v0.7.0 是否与项目兼容,特别是如果代码中依赖了 v0.6.x 的特定行为或API。
| "iconv-lite": "^0.6.3", | |
| 建议先测试 iconv-lite 的功能是否正常,特别是字符编码转换相关的逻辑。如果可能,先锁定一个已知兼容的次要版本,例如 `^0.7.4`。 |
| "dayjs": "1.11.21", | ||
| "dotenv": "16.6.1", | ||
| "http-proxy": "1.18.1", | ||
| "lodash": "4.17.21", |
There was a problem hiding this comment.
lodash 从 4.17.21 升级到 4.18.1 是一个 major 版本变更(y版本号从17跳到18)。lodash 的 major 版本升级可能包含破坏性更改(如删除或重命名函数,改变行为等)。这是一个高风险依赖,建议仔细查阅 lodash 的 changelog,检查项目中使用的 lodash 功能是否有变更。
| "lodash": "4.17.21", | |
| 建议先在本地或 CI 中运行完整的测试套件,确保所有依赖 lodash 的功能正常工作。如果可能,考虑迁移到 lodash 的现代替代品(如 `lodash-es` 或原生 JavaScript)以减少风险。 |
| "author": "", | ||
| "license": "ISC", | ||
| "dependencies": { | ||
| "@bufbuild/buf": "1.34.0", |
There was a problem hiding this comment.
@bufbuild/buf 从 1.34.0 升级到 1.70.0 是一个跨越多个 major 版本的升级。buf 工具链的 major 版本升级可能带来协议缓冲区处理、代码生成或配置格式的破坏性变化。需要确认项目中 buf 的配置(如 buf.yaml、buf.gen.yaml)是否与新版本兼容。
| "@bufbuild/buf": "1.34.0", | |
| 建议查看 buf 的 [Release Notes](https://github.com/bufbuild/buf/releases) 了解 v1.x 各版本的重大变化。特别注意 `buf lint` 规则、`buf generate` 配置以及 protobuf 兼容性检查行为的变化。 |
| "typescript": "5.9.3", | ||
| "eslint-plugin-license-header": "0.9.0" | ||
| }, | ||
| "volta": { |
There was a problem hiding this comment.
volta 中的 Node.js 版本从 20.15.0 升级到 20.20.2,pnpm 版本从 9.4.0 升级到 9.15.9。这些是较为温和的升级,但 pnpm 的 minor 版本升级(9.4.0 -> 9.15.9)可能包含 lockfile 格式变化、性能改进或行为调整。建议运行 pnpm install 后检查 pnpm-lock.yaml 是否有预期外的变化,并确保 CI 流程兼容新的锁文件格式。
| "volta": { | |
| 无 |
| "dotenv": "16.6.1", | ||
| "http-proxy": "1.18.1", | ||
| "lodash": "4.17.21", | ||
| "long": "5.2.3", |
There was a problem hiding this comment.
同时更新 lodash 主版本号(4.17.21 → 4.18.1),这可能包含破坏性变更(API重大变更)。请确认所有使用 lodash 的代码与新版本兼容。建议先查看 lodash 4.18.1 的changelog,并优先升级到最新的4.17系列(如4.17.21是较新的补丁版本)。如果必须升级主版本,请充分测试。
| "long": "5.2.3", | |
| 建议将lodash版本锁定为已知兼容的最新稳定版,例如 `"lodash": "4.17.21"` 如果不需要大写功能,或者确认为 `"lodash": "^4.17.21"`。 |
| "dayjs": "1.11.21", | ||
| "google-protobuf": "3.21.4", | ||
| "http-proxy": "1.18.1", | ||
| "iconv-lite": "^0.6.3", |
There was a problem hiding this comment.
iconv-lite 从 ^0.6.3 升级到 ^0.7.0(主版本更新),iconv-lite 0.7.0 可能引入了破坏性变更(例如移除了某些编码或更改了API)。需要检查项目中是否使用了受影响的功能,并确保兼容性。
| "iconv-lite": "^0.6.3", | |
| 建议查阅iconv-lite 0.7.0的更新日志,必要时保持使用`^0.6.3`或指定更宽的版本范围。 |
| "less": "4.2.0", | ||
| "less": "4.6.4", | ||
| "mime-types": "2.1.35", | ||
| "next": "14.2.4", |
There was a problem hiding this comment.
next 从 14.2.4 升级到 14.2.35 是跨多个次版本的升级,可能存在破坏性变更(如API弃用、构建行为变化)。特别是生产环境需要仔细测试构建和运行是否正常。
| "next": "14.2.4", | |
| 应在测试环境全面集成测试,尤其是路由、数据获取、SSR/SSG等核心功能。 |
| "eslint-plugin-license-header": "0.9.0" | ||
| }, | ||
| "volta": { | ||
| "node": "20.15.0" |
There was a problem hiding this comment.
turbo 从 2.0.4 升级到 2.9.16 是一个较大的版本跃迁(主版本不变,但是多个次版本)。请检查 turbo.json 配置是否与新版本兼容,因为新版本可能引入了不向后兼容的更改(如缓存行为、管道定义等)。
| "node": "20.15.0" | |
| 查阅Turborepo 2.9.16发行说明,并确保项目配置与新版兼容。 |
| }, | ||
| "volta": { | ||
| "node": "20.15.0" | ||
| "node": "20.20.2" |
There was a problem hiding this comment.
typescript 从 5.5.2 升级到 5.9.3,跨小版本升级通常较为安全,但某些新特性或类型检查行为变化可能影响现有代码。建议运行完整的类型检查以捕获错误。
| "node": "20.20.2" | |
| 执行 `pnpm tsc --noEmit` 检查类型错误。 |
| "node": "20.20.2" | ||
| }, | ||
| "packageManager": "pnpm@9.4.0", | ||
| "packageManager": "pnpm@9.15.9", |
There was a problem hiding this comment.
pnpm 版本从 9.4.0 升级到 9.15.9,中间可能涉及lockfile格式变更或安装行为变化。建议删除 pnpm-lock.yaml 并重新生成以确保一致性。
| "packageManager": "pnpm@9.15.9", | |
| 运行 `pnpm install --frozen-lockfile` 验证lockfile是否可更新。然后执行 `pnpm dedupe` 优化依赖树。 |
| # See the Mulan PSL v2 for more details. | ||
|
|
||
| FROM alpine:3.20 | ||
| FROM alpine:3.23 |
There was a problem hiding this comment.
基础镜像从 alpine:3.20 改为 alpine:3.23,这是主要的Alpine版本升级。请确认所有软件包(如OpenSSH)在3.23中可用且行为一致。需要更新Docker镜像构建验证。
| FROM alpine:3.23 | |
| 在CI中测试Docker构建步骤,确保无报错。 |
| "ts-log": "2.2.7", | ||
| "webpack": "5.107.2" | ||
| }, | ||
| "peerDependencies": { |
There was a problem hiding this comment.
monaco-editor 的peerDependencies从0.50.0升级到0.55.1,跨主版本升级。需要确保所有使用Monaco Editor的代码与新版本兼容(例如API变更、主题系统更新)。
| "peerDependencies": { | |
| 升级后运行集成测试,特别是编辑器和代码高亮相关功能。 |
| "@scow/lib-operation-log": "workspace:*", | ||
| "@scow/utils": "workspace:*", | ||
| "@scow/protos": "workspace:*", | ||
| "dayjs": "1.11.11", |
There was a problem hiding this comment.
dayjs 从 1.11.11 升级到 1.11.21,是小版本更新,但建议确认无功能性回归。由于 dayjs 影响日期解析和显示,需要检查关键场景(如报表生成、时间格式化)。
| "dayjs": "1.11.11", | |
| 如果有自动化测试覆盖日期逻辑,请运行它们。 |
| "yargs": "17.7.2", | ||
| "prompts": "2.4.2", | ||
| "@sinclair/typebox": "0.32.34", | ||
| "js-yaml": "4.1.0", |
There was a problem hiding this comment.
@sinclair/typebox 从 0.32.34 升级到 0.34.49,跨次版本升级。请检查项目中是否有使用 @sinclair/typebox 的API,因为新版本可能移除了某些类型或改变了行为模式。
| "js-yaml": "4.1.0", | |
| 查看TypeBox的changelog,并确保所有Schema定义正常工作。 |
left a comment
There was a problem hiding this comment.
- 批量更新 GitHub Actions workflow 中的
pnpm/action-setup版本至 v4.4.0。 - 全局更新
package.json中的volta配置:Node.js 升级至 20.20.2,pnpm 升级至 9.15.9。 - 更新根
package.json中的各种开发依赖,包括 Buf、Changesets、ESLint、TypeScript、Turbo 等。 - 更新多个子应用及库的依赖版本,例如
@grpc/grpc-js、@mikro-orm/*、next、antd、zod等,涉及apps/ai、apps/audit-server、apps/auth、apps/cli、apps/mis-server、apps/mis-web、apps/portal-server、apps/portal-web、docs等多个包。 - 更新 Dockerfile 中的基础镜像
alpine:3.20至alpine:3.23。 - 此 diff 主要是一次全面的依赖版本升级,未涉及代码逻辑变更。
| "dotenv": "16.6.1", | ||
| "http-proxy": "1.18.1", | ||
| "lodash": "4.17.21", | ||
| "long": "5.2.3", |
There was a problem hiding this comment.
lodash 从 4.17.21 升级到 4.18.1,这是一个主版本更新(从 4.x 升级到 4.18.x),但实际版本号 4.18.1 是不存在的,这是一个不存在的版本号。lodash 的最新版本依然是 4.17.21。这会导致安装失败或引入错误版本。请确认升级是否误写,建议回退到 4.17.21 或使用真实存在的版本。
| "long": "5.2.3", | |
| "lodash": "4.17.21" |
| "dayjs": "1.11.21", | ||
| "google-protobuf": "3.21.4", | ||
| "http-proxy": "1.18.1", | ||
| "iconv-lite": "^0.6.3", |
There was a problem hiding this comment.
iconv-lite 从 ^0.6.3 升级到 ^0.7.0,这是一个主版本跨度升级(从 0.6.x 到 0.7.0)。iconv-lite 的 0.7.0 版本引入了 breaking changes,例如移除了某些旧的编码支持。请确认您的代码是否兼容该版本,并在升级后充分测试,特别是涉及字符编码转换的部分。
| "node": "20.15.0" | ||
| "node": "20.20.2" | ||
| }, | ||
| "packageManager": "pnpm@9.4.0", |
There was a problem hiding this comment.
pnpm 从 9.4.0 升级到 9.15.9,版本跨度较大。base 分支上的 lockfile 可能是由低版本 pnpm 生成的,高版本 pnpm 可能会生成不同的 lockfile 格式或内容,导致 pnpm-lock.yaml 与实际依赖不符。建议在升级 pnpm 后,运行 pnpm install 重新生成 lockfile,并确保 CI 环境也使用相同版本的 pnpm。
| "@scow/lib-decimal": "workspace:*", | ||
| "@scow/lib-operation-log": "workspace:*", | ||
| "@scow/lib-ssh": "workspace:*", | ||
| "@scow/lib-web": "workspace:*", |
There was a problem hiding this comment.
仓库地址从 github.com 改为 glithub.com(typo),这可能是一个笔误。虽然不影响 Node.js 包安装(workspace:* 协议),但可能会导致代码审查工具或链接失效。建议修正为正确的 URL。
| @@ -49,61 +49,61 @@ | |
| "repository": "https://github.com/PKUHPC/SCOW", |
| "@xterm/addon-fit": "0.10.0", | ||
| "zod": "3.23.8", | ||
| "shell-quote": "1.8.1", | ||
| "replace-in-file": "8.1.0" |
There was a problem hiding this comment.
replace-in-file 从 8.1.0 升级到 8.4.0,这是一个次要/补丁版本更新,通常向后兼容。但请注意,该工具用于文件内容替换,升级后可能会引入新特性或行为变化。如果使用到该功能,建议验证其行为是否符合预期。
| "dotenv": "16.6.1", | ||
| "http-proxy": "1.18.1", | ||
| "lodash": "4.17.21", | ||
| "long": "5.2.3", |
There was a problem hiding this comment.
lodash 版本号 4.18.1 不存在于 npm 上,最新版本为 4.17.21。请核实版本号是否正确,可能是笔误。
| "long": "5.2.3", | |
| 将其改回 4.17.21,或使用其他有效版本。 |
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: pnpm/action-setup@v4.0.0 | ||
| - uses: pnpm/action-setup@v4.4.0 |
There was a problem hiding this comment.
pnpm/action-setup从v4.0.0升级到v4.4.0,应确保新版本无破坏性变更。建议额外检查pnpm版本与action的兼容性。
| "dotenv": "16.6.1", | ||
| "http-proxy": "1.18.1", | ||
| "lodash": "4.17.21", | ||
| "long": "5.2.3", |
There was a problem hiding this comment.
lodash从4.17.21升级到4.18.1,注意lodash的版本格式从4.17.x跳到4.18.x,需确认无重大API变更(如lodash 5.0尚未发布,但4.18可能包含新功能或修复)。同时检查与现有代码的兼容性。
| "lodash": "4.18.1", | ||
| "long": "5.3.2", | ||
| "mime-types": "2.1.35", | ||
| "next": "14.2.4", |
There was a problem hiding this comment.
next从14.2.4升级到14.2.35,这是重要的安全性和性能更新。但需注意,某些中间件或配置可能在14.2.x系列中有变化。建议参考Next.js官方更新日志确认。
| "dayjs": "1.11.21", | ||
| "google-protobuf": "3.21.4", | ||
| "http-proxy": "1.18.1", | ||
| "iconv-lite": "^0.6.3", |
There was a problem hiding this comment.
iconv-lite从^0.6.3升级到^0.7.0,这是一个大版本更新。iconv-lite v7可能移除了某些编码支持或改变了API,需检查项目中对iconv-lite的使用方式并测试受影响的功能。
| "eslint-plugin-license-header": "0.9.0" | ||
| }, | ||
| "volta": { | ||
| "node": "20.15.0" |
There was a problem hiding this comment.
node版本从20.15.0升级到20.20.2,pnpm从9.4.0升级到9.15.9。这些工具链升级可能影响环境一致性,建议在CI和本地环境中统一版本。pnpm 9.15.x可能引入了新的lockfile格式或行为变化,需运行pnpm install验证。
left a comment
There was a problem hiding this comment.
该 PR 主要对多个子项目及根项目的依赖版本进行了批量升级,并更新了 CI 中的 pnpm/action-setup 动作版本。主要变更包括:
- CI 工作流中
pnpm/action-setup从 v4.0.0 升级到 v4.4.0 - 根
package.json中volta.node从 20.15.0 升级到 20.20.2,packageManager从 pnpm@9.4.0 升级到 pnpm@9.15.9 - 大量 npm 依赖升级,包括
@grpc/grpc-js、@mikro-orm/*、antd、next、typescript、postcss、webpack等 - 部分库版本跳跃较大,可能引入破坏性变更或存在版本号错误
| "dotenv": "16.6.1", | ||
| "http-proxy": "1.18.1", | ||
| "lodash": "4.17.21", | ||
| "long": "5.2.3", |
There was a problem hiding this comment.
lodash 从 4.17.21 升级到 4.18.1,但 npm 官方 registory 中 lodash 的最新稳定版是 4.17.21,不存在 4.18.1 版本。此版本号可能是拼写错误或指向了恶意包。建议确认正确的版本号,如 4.17.21(如需保持最新补丁)或选择一个已知的合法版本。
| "long": "5.2.3", | |
| "lodash": "4.17.21" |
| "lodash": "4.18.1", | ||
| "long": "5.3.2", | ||
| "mime-types": "2.1.35", | ||
| "next": "14.2.4", |
There was a problem hiding this comment.
next 从 14.2.4 升级到 14.2.35,但 Next.js 14.2.x 系列的最新正式版为 14.2.31(截至 2025 年 12 月)。14.2.35 疑似不存在或为测试版本。此版本号可能无法通过 npm 安装,请核实并修正为可用的版本号。
| "next": "14.2.4", | |
| "next": "14.2.31" |
| "dayjs": "1.11.21", | ||
| "google-protobuf": "3.21.4", | ||
| "http-proxy": "1.18.1", | ||
| "iconv-lite": "^0.6.3", |
There was a problem hiding this comment.
iconv-lite 从 ^0.6.3 升级到 ^0.7.0,这是一个 major 版本升级,可能引入破坏性变更(如默认编码行为变化)。请确认项目中 iconv-lite 的用法是否兼容 v0.7.x,并测试编码转换功能。
| "tsconfig-paths": "4.2.0", | ||
| "turbo": "2.0.4", | ||
| "typescript": "5.5.2", | ||
| "eslint-plugin-license-header": "0.6.1" |
There was a problem hiding this comment.
typescript 从 5.5.2 升级到 5.9.3,跨越多个 major 版本,可能引入类型系统破坏性变更。建议先在项目中执行类型检查(tsc --noEmit)并修复任何新出现的类型错误后再合并。
commented
Aug 5, 2026
AI Review 问题总结
重要问题
中等问题
需确认
|
This PR contains the following updates:
8.0.2→8.0.117.0.2→7.2.11.21.0→1.24.01.21.0→1.24.05.3.7→5.6.15.3.7→5.6.15.3.7→5.6.11.34.0→1.72.01.34.0→1.72.01.8.0→1.10.11.8.0→1.10.12.27.6→2.31.16.10.2→6.12.46.4.0→6.5.36.28.2→6.43.819.2.2→19.8.11.4.0→1.7.01.4.0→1.7.01.4.0→1.7.02.1.0→2.3.00.17.7→0.17.90.17.7→0.17.90.2.5→0.2.70.2.5→0.2.70.19.5→0.19.80.19.5→0.19.86.1.0→6.3.13.4.0→3.10.23.4.0→3.10.23.4.0→3.10.23.4.0→3.10.20.44.2→0.55.34.0.0→4.2.01.10.9→1.14.4^0.21.0→^0.22.06.2.9→6.6.166.2.9→6.6.166.2.9→6.6.166.2.9→6.6.166.2.9→6.6.166.2.9→6.6.164.6.0→4.7.014.2.4→14.2.351.10.3→1.10.49.1.1→9.1.35.0.0→5.2.00.32.34→0.34.520.32.34→0.34.526.4.6→6.9.116.0.0→16.3.210.45.2→10.45.410.45.2→10.45.410.45.2→10.45.410.45.2→10.45.42.0.3→2.0.91.17.14→1.17.1729.5.12→29.5.1420.14.8→20.19.436.4.15→6.4.241.5.5→1.5.618.3.3→18.3.3118.3.0→18.3.71.15.0→1.15.55.1.34→5.1.364.18.3→4.19.08.5.10→8.18.117.0.32→17.0.354.22.2→4.25.110.10.0→0.11.08.16.0→8.20.03.20→3.245.18.3→5.29.35.18.3→5.29.35.18.3→5.29.39.1.2→9.3.16.5.0→6.8.31.11.11→1.11.211.11.11→1.11.211.11.11→1.11.2116.4.5→16.6.116.4.5→16.6.17.4.2→7.4.48.0.0→8.2.09.6.0→9.39.59.6.0→9.39.50.6.1→0.9.04.28.0→4.29.14.0.0→4.0.611.2.0→11.4.014.0.1→14.1.03.21.2→3.21.47.0.4→7.0.69.0.11→9.1.7^0.6.3→^0.7.05.4.1→5.11.14.1.0→4.3.14.2.0→4.8.110.14.0→10.28.04.17.21→4.18.15.2.3→5.3.20.50.0→0.56.05.0.7→5.1.1614.2.4→14.2.3514.2.4→14.2.3514.2.4→14.2.352.2.0→2.2.11.1.5→1.1.920.15.0→20.20.21.15.0→1.18.113.2.0→13.2.16.9.14→6.10.13.1.4→3.1.146.1.0→6.2.05.4.1→5.4.39.4.0→9.15.9v4.0.0→v4.4.08.4.38→8.5.267.3.2→7.6.51.5.3→1.5.42.3.0→2.6.12.12.7→2.15.42.12.3→2.15.48.1.0→8.4.06.0.1→6.1.31.8.1→1.10.06.1.11→6.5.16.1.11→6.5.16.1.11→6.5.12.2.1→2.2.65.17.14→5.32.1229.1.5→29.4.122.2.5→2.2.72.2.5→2.2.71.180.0→1.181.21.8.10→1.9.12.6.3→2.8.12.0.4→2.10.95.5.2→5.9.3