Skip to content

chore(release): publish 4.1.3 #17932

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

Merged
merged 1 commit into from
Jun 30, 2025
Merged

chore(release): publish 4.1.3 #17932

merged 1 commit into from
Jun 30, 2025

Conversation

Copy link

coderabbitai bot commented Jun 30, 2025

Walkthrough

本次变更统一将所有相关 package.json 文件中的版本号从 "4.1.4-beta.4" 降级为 "4.1.3"。除版本号外,未涉及任何功能、依赖、脚本或元数据的修改,也未更改任何导出或公共实体声明。

Changes

文件/路径分组 变更摘要
所有 package.json(主项目及各 packages、crates、npm 子包) 版本号从 "4.1.4-beta.4" 改为 "4.1.3",无其他内容变更

Sequence Diagram(s)

(本次变更仅涉及版本号,无控制流或功能调整,故不生成时序图。)

Possibly related PRs

Suggested reviewers

  • luckyadam
  • tutuxxx

Poem

兔子挥笔写新篇,
版本号降步轻轻变。
没有功能新加添,
只是数字换新颜。
代码花园依旧鲜,
跳跃升级无风险!
(=^● ⋏ ●^=)

✨ Finishing Touches
🧪 Generate Unit Tests
  • Create PR with Unit Tests
  • Post Copyable Unit Tests in Comment
  • Commit Unit Tests in branch chore/release-4.1.3

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai auto-generate unit tests to generate unit tests for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@Single-Dancer Single-Dancer requested a review from tutuxxx June 30, 2025 10:19
@coderabbitai coderabbitai bot requested a review from luckyadam June 30, 2025 10:20
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 4

♻️ Duplicate comments (4)
packages/taro-platform-ascf/package.json (1)

3-3: 同上:请确认无残留 4.1.4-beta.4

与前一个文件相同的校验需求。

packages/postcss-pxtransform/package.json (1)

3-3: 同上:请确认无残留 4.1.4-beta.4

与前一个文件相同的校验需求。

packages/taro-platform-tt/package.json (1)

3-3: 同上:请确认无残留 4.1.4-beta.4

与前一个文件相同的校验需求。

packages/taro-platform-h5/package.json (1)

3-3: 同上:请确认无残留 4.1.4-beta.4

与前一个文件相同的校验需求。

🧹 Nitpick comments (2)
packages/babel-plugin-transform-taroapi/package.json (1)

3-3: babel-plugin 版本回退通过,建议更新 peer range 说明

虽然仅改动版本号,但该插件的 peerDependencies 仍是 @babel/core:^7.0.0。如果 4.1.3 对 Babel 版本有更严格要求,记得同步调整。否则 LGTM。

packages/postcss-plugin-constparse/package.json (1)

3-3: postcss 插件版本回退 OK,但请连带检查 changelog
确保 CHANGELOG 或发布说明已同步写入 4.1.3 变更。

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 26052d8 and fe8b216.

📒 Files selected for processing (79)
  • crates/native_binding/package.json (1 hunks)
  • npm/darwin-arm64/package.json (1 hunks)
  • npm/darwin-x64/package.json (1 hunks)
  • npm/linux-x64-gnu/package.json (1 hunks)
  • npm/linux-x64-musl/package.json (1 hunks)
  • npm/win32-x64-msvc/package.json (1 hunks)
  • package.json (1 hunks)
  • packages/babel-plugin-transform-react-jsx-to-rn-stylesheet/package.json (1 hunks)
  • packages/babel-plugin-transform-solid-jsx/package.json (1 hunks)
  • packages/babel-plugin-transform-taroapi/package.json (1 hunks)
  • packages/babel-preset-taro/package.json (1 hunks)
  • packages/create-app/package.json (1 hunks)
  • packages/css-to-react-native/package.json (1 hunks)
  • packages/eslint-config-taro/package.json (1 hunks)
  • packages/eslint-plugin-taro/package.json (1 hunks)
  • packages/jest-helper/package.json (1 hunks)
  • packages/postcss-html-transform/package.json (1 hunks)
  • packages/postcss-plugin-constparse/package.json (1 hunks)
  • packages/postcss-pxtransform/package.json (1 hunks)
  • packages/postcss-unit-transform/package.json (1 hunks)
  • packages/rollup-plugin-copy/package.json (1 hunks)
  • packages/shared/package.json (1 hunks)
  • packages/stylelint-config-taro-rn/package.json (1 hunks)
  • packages/stylelint-taro-rn/package.json (1 hunks)
  • packages/stylelint-taro/package.json (1 hunks)
  • packages/taro-api/package.json (1 hunks)
  • packages/taro-cli-convertor/package.json (1 hunks)
  • packages/taro-cli/package.json (1 hunks)
  • packages/taro-components-advanced/package.json (1 hunks)
  • packages/taro-components-library-react/package.json (1 hunks)
  • packages/taro-components-library-solid/package.json (1 hunks)
  • packages/taro-components-library-vue3/package.json (1 hunks)
  • packages/taro-components-react/package.json (1 hunks)
  • packages/taro-components-rn/package.json (1 hunks)
  • packages/taro-components/package.json (1 hunks)
  • packages/taro-extend/package.json (1 hunks)
  • packages/taro-framework-react/package.json (1 hunks)
  • packages/taro-framework-solid/package.json (1 hunks)
  • packages/taro-framework-vue3/package.json (1 hunks)
  • packages/taro-h5/package.json (1 hunks)
  • packages/taro-helper/package.json (1 hunks)
  • packages/taro-loader/package.json (1 hunks)
  • packages/taro-platform-alipay/package.json (1 hunks)
  • packages/taro-platform-ascf/package.json (1 hunks)
  • packages/taro-platform-h5/package.json (1 hunks)
  • packages/taro-platform-harmony-cpp/package.json (1 hunks)
  • packages/taro-platform-harmony-hybrid/package.json (1 hunks)
  • packages/taro-platform-harmony/package.json (1 hunks)
  • packages/taro-platform-jd/package.json (1 hunks)
  • packages/taro-platform-qq/package.json (1 hunks)
  • packages/taro-platform-swan/package.json (1 hunks)
  • packages/taro-platform-tt/package.json (1 hunks)
  • packages/taro-platform-weapp/package.json (1 hunks)
  • packages/taro-plugin-generator/package.json (1 hunks)
  • packages/taro-plugin-html/package.json (1 hunks)
  • packages/taro-plugin-http/package.json (1 hunks)
  • packages/taro-plugin-inject/package.json (1 hunks)
  • packages/taro-plugin-mini-ci/package.json (1 hunks)
  • packages/taro-plugin-react-devtools/package.json (1 hunks)
  • packages/taro-plugin-vue-devtools/package.json (1 hunks)
  • packages/taro-react/package.json (1 hunks)
  • packages/taro-rn-runner/package.json (1 hunks)
  • packages/taro-rn-style-transformer/package.json (1 hunks)
  • packages/taro-rn-supporter/package.json (1 hunks)
  • packages/taro-rn-transformer/package.json (1 hunks)
  • packages/taro-rn/package.json (1 hunks)
  • packages/taro-router-rn/package.json (1 hunks)
  • packages/taro-router/package.json (1 hunks)
  • packages/taro-runner-utils/package.json (1 hunks)
  • packages/taro-runtime-rn/package.json (1 hunks)
  • packages/taro-runtime/package.json (1 hunks)
  • packages/taro-service/package.json (1 hunks)
  • packages/taro-transformer-wx/package.json (1 hunks)
  • packages/taro-vite-runner/package.json (1 hunks)
  • packages/taro-webpack5-prebundle/package.json (1 hunks)
  • packages/taro-webpack5-runner/package.json (1 hunks)
  • packages/taro-with-weapp/package.json (1 hunks)
  • packages/taro/package.json (1 hunks)
  • packages/taroize/package.json (1 hunks)
🧰 Additional context used
🧠 Learnings (54)
📓 Common learnings
Learnt from: ianzone
PR: NervJS/taro#17746
File: packages/taro-runtime/tsdown.config.ts:10-16
Timestamp: 2025-05-25T18:02:31.387Z
Learning: 在 taro-runtime 包的 tsdown 配置中,必须禁用 treeshake 来保留 dom-external/index.js 文件。
package.json (1)
Learnt from: ianzone
PR: NervJS/taro#17746
File: packages/taro-runtime/tsdown.config.ts:10-16
Timestamp: 2025-05-25T18:02:31.387Z
Learning: 在 taro-runtime 包的 tsdown 配置中,必须禁用 treeshake 来保留 dom-external/index.js 文件。
packages/eslint-config-taro/package.json (1)
Learnt from: ianzone
PR: NervJS/taro#17746
File: packages/taro-runtime/tsdown.config.ts:10-16
Timestamp: 2025-05-25T18:02:31.387Z
Learning: 在 taro-runtime 包的 tsdown 配置中,必须禁用 treeshake 来保留 dom-external/index.js 文件。
packages/shared/package.json (1)
Learnt from: ianzone
PR: NervJS/taro#17746
File: packages/taro-runtime/tsdown.config.ts:10-16
Timestamp: 2025-05-25T18:02:31.387Z
Learning: 在 taro-runtime 包的 tsdown 配置中,必须禁用 treeshake 来保留 dom-external/index.js 文件。
packages/taro-components-library-solid/package.json (1)
Learnt from: ianzone
PR: NervJS/taro#17746
File: packages/taro-runtime/tsdown.config.ts:10-16
Timestamp: 2025-05-25T18:02:31.387Z
Learning: 在 taro-runtime 包的 tsdown 配置中,必须禁用 treeshake 来保留 dom-external/index.js 文件。
packages/stylelint-taro/package.json (1)
Learnt from: ianzone
PR: NervJS/taro#17746
File: packages/taro-runtime/tsdown.config.ts:10-16
Timestamp: 2025-05-25T18:02:31.387Z
Learning: 在 taro-runtime 包的 tsdown 配置中,必须禁用 treeshake 来保留 dom-external/index.js 文件。
packages/babel-preset-taro/package.json (1)
Learnt from: ianzone
PR: NervJS/taro#17746
File: packages/taro-runtime/tsdown.config.ts:10-16
Timestamp: 2025-05-25T18:02:31.387Z
Learning: 在 taro-runtime 包的 tsdown 配置中,必须禁用 treeshake 来保留 dom-external/index.js 文件。
crates/native_binding/package.json (1)
Learnt from: ianzone
PR: NervJS/taro#17746
File: packages/taro-runtime/tsdown.config.ts:10-16
Timestamp: 2025-05-25T18:02:31.387Z
Learning: 在 taro-runtime 包的 tsdown 配置中,必须禁用 treeshake 来保留 dom-external/index.js 文件。
packages/taro-components-library-react/package.json (1)
Learnt from: ianzone
PR: NervJS/taro#17746
File: packages/taro-runtime/tsdown.config.ts:10-16
Timestamp: 2025-05-25T18:02:31.387Z
Learning: 在 taro-runtime 包的 tsdown 配置中,必须禁用 treeshake 来保留 dom-external/index.js 文件。
packages/taro-api/package.json (1)
Learnt from: ianzone
PR: NervJS/taro#17746
File: packages/taro-runtime/tsdown.config.ts:10-16
Timestamp: 2025-05-25T18:02:31.387Z
Learning: 在 taro-runtime 包的 tsdown 配置中,必须禁用 treeshake 来保留 dom-external/index.js 文件。
packages/taro-platform-jd/package.json (1)
Learnt from: ianzone
PR: NervJS/taro#17746
File: packages/taro-runtime/tsdown.config.ts:10-16
Timestamp: 2025-05-25T18:02:31.387Z
Learning: 在 taro-runtime 包的 tsdown 配置中,必须禁用 treeshake 来保留 dom-external/index.js 文件。
packages/jest-helper/package.json (2)
Learnt from: ianzone
PR: NervJS/taro#17842
File: packages/jest-helper/tsconfig.json:9-9
Timestamp: 2025-06-23T00:09:31.233Z
Learning: 在 jest-helper 包中,src 目录下没有 __tests__ 测试目录,只包含 resolver.ts、sequencer.ts 和 snapshot 目录。不要假设包中存在测试目录结构。
Learnt from: ianzone
PR: NervJS/taro#17746
File: packages/taro-runtime/tsdown.config.ts:10-16
Timestamp: 2025-05-25T18:02:31.387Z
Learning: 在 taro-runtime 包的 tsdown 配置中,必须禁用 treeshake 来保留 dom-external/index.js 文件。
packages/taro-components/package.json (1)
Learnt from: ianzone
PR: NervJS/taro#17746
File: packages/taro-runtime/tsdown.config.ts:10-16
Timestamp: 2025-05-25T18:02:31.387Z
Learning: 在 taro-runtime 包的 tsdown 配置中,必须禁用 treeshake 来保留 dom-external/index.js 文件。
packages/taro-extend/package.json (1)
Learnt from: ianzone
PR: NervJS/taro#17746
File: packages/taro-runtime/tsdown.config.ts:10-16
Timestamp: 2025-05-25T18:02:31.387Z
Learning: 在 taro-runtime 包的 tsdown 配置中,必须禁用 treeshake 来保留 dom-external/index.js 文件。
packages/taro-vite-runner/package.json (1)
Learnt from: ianzone
PR: NervJS/taro#17746
File: packages/taro-runtime/tsdown.config.ts:10-16
Timestamp: 2025-05-25T18:02:31.387Z
Learning: 在 taro-runtime 包的 tsdown 配置中,必须禁用 treeshake 来保留 dom-external/index.js 文件。
packages/taro-router/package.json (1)
Learnt from: ianzone
PR: NervJS/taro#17746
File: packages/taro-runtime/tsdown.config.ts:10-16
Timestamp: 2025-05-25T18:02:31.387Z
Learning: 在 taro-runtime 包的 tsdown 配置中,必须禁用 treeshake 来保留 dom-external/index.js 文件。
packages/taro-platform-tt/package.json (1)
Learnt from: ianzone
PR: NervJS/taro#17746
File: packages/taro-runtime/tsdown.config.ts:10-16
Timestamp: 2025-05-25T18:02:31.387Z
Learning: 在 taro-runtime 包的 tsdown 配置中,必须禁用 treeshake 来保留 dom-external/index.js 文件。
packages/taro-components-library-vue3/package.json (1)
Learnt from: ianzone
PR: NervJS/taro#17746
File: packages/taro-runtime/tsdown.config.ts:10-16
Timestamp: 2025-05-25T18:02:31.387Z
Learning: 在 taro-runtime 包的 tsdown 配置中,必须禁用 treeshake 来保留 dom-external/index.js 文件。
npm/darwin-arm64/package.json (1)
Learnt from: ianzone
PR: NervJS/taro#17746
File: packages/taro-runtime/tsdown.config.ts:10-16
Timestamp: 2025-05-25T18:02:31.387Z
Learning: 在 taro-runtime 包的 tsdown 配置中,必须禁用 treeshake 来保留 dom-external/index.js 文件。
packages/taro-platform-harmony/package.json (1)
Learnt from: ianzone
PR: NervJS/taro#17746
File: packages/taro-runtime/tsdown.config.ts:10-16
Timestamp: 2025-05-25T18:02:31.387Z
Learning: 在 taro-runtime 包的 tsdown 配置中,必须禁用 treeshake 来保留 dom-external/index.js 文件。
npm/linux-x64-gnu/package.json (1)
Learnt from: ianzone
PR: NervJS/taro#17746
File: packages/taro-runtime/tsdown.config.ts:10-16
Timestamp: 2025-05-25T18:02:31.387Z
Learning: 在 taro-runtime 包的 tsdown 配置中,必须禁用 treeshake 来保留 dom-external/index.js 文件。
packages/taro-rn-supporter/package.json (1)
Learnt from: ianzone
PR: NervJS/taro#17746
File: packages/taro-runtime/tsdown.config.ts:10-16
Timestamp: 2025-05-25T18:02:31.387Z
Learning: 在 taro-runtime 包的 tsdown 配置中,必须禁用 treeshake 来保留 dom-external/index.js 文件。
packages/taro-rn-transformer/package.json (1)
Learnt from: ianzone
PR: NervJS/taro#17746
File: packages/taro-runtime/tsdown.config.ts:10-16
Timestamp: 2025-05-25T18:02:31.387Z
Learning: 在 taro-runtime 包的 tsdown 配置中,必须禁用 treeshake 来保留 dom-external/index.js 文件。
packages/taro-plugin-http/package.json (1)
Learnt from: ianzone
PR: NervJS/taro#17746
File: packages/taro-runtime/tsdown.config.ts:10-16
Timestamp: 2025-05-25T18:02:31.387Z
Learning: 在 taro-runtime 包的 tsdown 配置中,必须禁用 treeshake 来保留 dom-external/index.js 文件。
packages/taro-rn-style-transformer/package.json (1)
Learnt from: ianzone
PR: NervJS/taro#17746
File: packages/taro-runtime/tsdown.config.ts:10-16
Timestamp: 2025-05-25T18:02:31.387Z
Learning: 在 taro-runtime 包的 tsdown 配置中,必须禁用 treeshake 来保留 dom-external/index.js 文件。
packages/taro-cli/package.json (1)
Learnt from: ianzone
PR: NervJS/taro#17746
File: packages/taro-runtime/tsdown.config.ts:10-16
Timestamp: 2025-05-25T18:02:31.387Z
Learning: 在 taro-runtime 包的 tsdown 配置中,必须禁用 treeshake 来保留 dom-external/index.js 文件。
npm/win32-x64-msvc/package.json (1)
Learnt from: ianzone
PR: NervJS/taro#17746
File: packages/taro-runtime/tsdown.config.ts:10-16
Timestamp: 2025-05-25T18:02:31.387Z
Learning: 在 taro-runtime 包的 tsdown 配置中,必须禁用 treeshake 来保留 dom-external/index.js 文件。
packages/taro-runner-utils/package.json (1)
Learnt from: ianzone
PR: NervJS/taro#17746
File: packages/taro-runtime/tsdown.config.ts:10-16
Timestamp: 2025-05-25T18:02:31.387Z
Learning: 在 taro-runtime 包的 tsdown 配置中,必须禁用 treeshake 来保留 dom-external/index.js 文件。
packages/taro-components-react/package.json (1)
Learnt from: ianzone
PR: NervJS/taro#17746
File: packages/taro-runtime/tsdown.config.ts:10-16
Timestamp: 2025-05-25T18:02:31.387Z
Learning: 在 taro-runtime 包的 tsdown 配置中,必须禁用 treeshake 来保留 dom-external/index.js 文件。
packages/taro-rn-runner/package.json (1)
Learnt from: ianzone
PR: NervJS/taro#17746
File: packages/taro-runtime/tsdown.config.ts:10-16
Timestamp: 2025-05-25T18:02:31.387Z
Learning: 在 taro-runtime 包的 tsdown 配置中,必须禁用 treeshake 来保留 dom-external/index.js 文件。
packages/taro-h5/package.json (1)
Learnt from: ianzone
PR: NervJS/taro#17746
File: packages/taro-runtime/tsdown.config.ts:10-16
Timestamp: 2025-05-25T18:02:31.387Z
Learning: 在 taro-runtime 包的 tsdown 配置中,必须禁用 treeshake 来保留 dom-external/index.js 文件。
packages/taro-helper/package.json (1)
Learnt from: ianzone
PR: NervJS/taro#17746
File: packages/taro-runtime/tsdown.config.ts:10-16
Timestamp: 2025-05-25T18:02:31.387Z
Learning: 在 taro-runtime 包的 tsdown 配置中,必须禁用 treeshake 来保留 dom-external/index.js 文件。
packages/taro-react/package.json (1)
Learnt from: ianzone
PR: NervJS/taro#17746
File: packages/taro-runtime/tsdown.config.ts:10-16
Timestamp: 2025-05-25T18:02:31.387Z
Learning: 在 taro-runtime 包的 tsdown 配置中,必须禁用 treeshake 来保留 dom-external/index.js 文件。
packages/postcss-unit-transform/package.json (1)
Learnt from: ianzone
PR: NervJS/taro#17746
File: packages/taro-runtime/tsdown.config.ts:10-16
Timestamp: 2025-05-25T18:02:31.387Z
Learning: 在 taro-runtime 包的 tsdown 配置中,必须禁用 treeshake 来保留 dom-external/index.js 文件。
packages/taro-loader/package.json (1)
Learnt from: ianzone
PR: NervJS/taro#17746
File: packages/taro-runtime/tsdown.config.ts:10-16
Timestamp: 2025-05-25T18:02:31.387Z
Learning: 在 taro-runtime 包的 tsdown 配置中,必须禁用 treeshake 来保留 dom-external/index.js 文件。
packages/taro-platform-h5/package.json (1)
Learnt from: ianzone
PR: NervJS/taro#17746
File: packages/taro-runtime/tsdown.config.ts:10-16
Timestamp: 2025-05-25T18:02:31.387Z
Learning: 在 taro-runtime 包的 tsdown 配置中,必须禁用 treeshake 来保留 dom-external/index.js 文件。
packages/taro-runtime/package.json (1)
Learnt from: ianzone
PR: NervJS/taro#17746
File: packages/taro-runtime/tsdown.config.ts:10-16
Timestamp: 2025-05-25T18:02:31.387Z
Learning: 在 taro-runtime 包的 tsdown 配置中,必须禁用 treeshake 来保留 dom-external/index.js 文件。
packages/taro-platform-harmony-hybrid/package.json (1)
Learnt from: ianzone
PR: NervJS/taro#17746
File: packages/taro-runtime/tsdown.config.ts:10-16
Timestamp: 2025-05-25T18:02:31.387Z
Learning: 在 taro-runtime 包的 tsdown 配置中,必须禁用 treeshake 来保留 dom-external/index.js 文件。
packages/taro-components-rn/package.json (1)
Learnt from: ianzone
PR: NervJS/taro#17746
File: packages/taro-runtime/tsdown.config.ts:10-16
Timestamp: 2025-05-25T18:02:31.387Z
Learning: 在 taro-runtime 包的 tsdown 配置中,必须禁用 treeshake 来保留 dom-external/index.js 文件。
npm/darwin-x64/package.json (1)
Learnt from: ianzone
PR: NervJS/taro#17746
File: packages/taro-runtime/tsdown.config.ts:10-16
Timestamp: 2025-05-25T18:02:31.387Z
Learning: 在 taro-runtime 包的 tsdown 配置中,必须禁用 treeshake 来保留 dom-external/index.js 文件。
packages/taro-router-rn/package.json (1)
Learnt from: ianzone
PR: NervJS/taro#17746
File: packages/taro-runtime/tsdown.config.ts:10-16
Timestamp: 2025-05-25T18:02:31.387Z
Learning: 在 taro-runtime 包的 tsdown 配置中,必须禁用 treeshake 来保留 dom-external/index.js 文件。
packages/taro-components-advanced/package.json (1)
Learnt from: ianzone
PR: NervJS/taro#17746
File: packages/taro-runtime/tsdown.config.ts:10-16
Timestamp: 2025-05-25T18:02:31.387Z
Learning: 在 taro-runtime 包的 tsdown 配置中,必须禁用 treeshake 来保留 dom-external/index.js 文件。
packages/taro/package.json (1)
Learnt from: ianzone
PR: NervJS/taro#17746
File: packages/taro-runtime/tsdown.config.ts:10-16
Timestamp: 2025-05-25T18:02:31.387Z
Learning: 在 taro-runtime 包的 tsdown 配置中,必须禁用 treeshake 来保留 dom-external/index.js 文件。
packages/taro-webpack5-runner/package.json (1)
Learnt from: ianzone
PR: NervJS/taro#17746
File: packages/taro-runtime/tsdown.config.ts:10-16
Timestamp: 2025-05-25T18:02:31.387Z
Learning: 在 taro-runtime 包的 tsdown 配置中,必须禁用 treeshake 来保留 dom-external/index.js 文件。
packages/taro-framework-react/package.json (1)
Learnt from: ianzone
PR: NervJS/taro#17746
File: packages/taro-runtime/tsdown.config.ts:10-16
Timestamp: 2025-05-25T18:02:31.387Z
Learning: 在 taro-runtime 包的 tsdown 配置中,必须禁用 treeshake 来保留 dom-external/index.js 文件。
packages/taro-rn/package.json (1)
Learnt from: ianzone
PR: NervJS/taro#17746
File: packages/taro-runtime/tsdown.config.ts:10-16
Timestamp: 2025-05-25T18:02:31.387Z
Learning: 在 taro-runtime 包的 tsdown 配置中,必须禁用 treeshake 来保留 dom-external/index.js 文件。
npm/linux-x64-musl/package.json (1)
Learnt from: ianzone
PR: NervJS/taro#17746
File: packages/taro-runtime/tsdown.config.ts:10-16
Timestamp: 2025-05-25T18:02:31.387Z
Learning: 在 taro-runtime 包的 tsdown 配置中,必须禁用 treeshake 来保留 dom-external/index.js 文件。
packages/taroize/package.json (1)
Learnt from: ianzone
PR: NervJS/taro#17746
File: packages/taro-runtime/tsdown.config.ts:10-16
Timestamp: 2025-05-25T18:02:31.387Z
Learning: 在 taro-runtime 包的 tsdown 配置中,必须禁用 treeshake 来保留 dom-external/index.js 文件。
packages/taro-with-weapp/package.json (1)
Learnt from: ianzone
PR: NervJS/taro#17746
File: packages/taro-runtime/tsdown.config.ts:10-16
Timestamp: 2025-05-25T18:02:31.387Z
Learning: 在 taro-runtime 包的 tsdown 配置中,必须禁用 treeshake 来保留 dom-external/index.js 文件。
packages/eslint-plugin-taro/package.json (1)
Learnt from: ianzone
PR: NervJS/taro#17746
File: packages/taro-runtime/tsdown.config.ts:10-16
Timestamp: 2025-05-25T18:02:31.387Z
Learning: 在 taro-runtime 包的 tsdown 配置中,必须禁用 treeshake 来保留 dom-external/index.js 文件。
packages/taro-plugin-react-devtools/package.json (1)
Learnt from: ianzone
PR: NervJS/taro#17746
File: packages/taro-runtime/tsdown.config.ts:10-16
Timestamp: 2025-05-25T18:02:31.387Z
Learning: 在 taro-runtime 包的 tsdown 配置中,必须禁用 treeshake 来保留 dom-external/index.js 文件。
packages/babel-plugin-transform-taroapi/package.json (1)
Learnt from: ianzone
PR: NervJS/taro#17746
File: packages/taro-runtime/tsdown.config.ts:10-16
Timestamp: 2025-05-25T18:02:31.387Z
Learning: 在 taro-runtime 包的 tsdown 配置中,必须禁用 treeshake 来保留 dom-external/index.js 文件。
packages/taro-runtime-rn/package.json (1)
Learnt from: ianzone
PR: NervJS/taro#17746
File: packages/taro-runtime/tsdown.config.ts:10-16
Timestamp: 2025-05-25T18:02:31.387Z
Learning: 在 taro-runtime 包的 tsdown 配置中,必须禁用 treeshake 来保留 dom-external/index.js 文件。
packages/taro-webpack5-prebundle/package.json (1)
Learnt from: ianzone
PR: NervJS/taro#17746
File: packages/taro-runtime/tsdown.config.ts:10-16
Timestamp: 2025-05-25T18:02:31.387Z
Learning: 在 taro-runtime 包的 tsdown 配置中,必须禁用 treeshake 来保留 dom-external/index.js 文件。
⏰ Context from checks skipped due to timeout of 90000ms (9)
  • GitHub Check: Build Rust Binding / stable - x86_64-unknown-linux-gnu
  • GitHub Check: Build Rust Binding / stable - aarch64-apple-darwin
  • GitHub Check: Build Rust Binding / stable - x86_64-apple-darwin
  • GitHub Check: Build Rust Binding / stable - x86_64-pc-windows-msvc
  • GitHub Check: Build Rust WASM / stable - wasm32-wasi
  • GitHub Check: Testing on Node.js 20.x (ubuntu-latest)
  • GitHub Check: Testing on Node.js (macos-13)
  • GitHub Check: Testing on Node.js 18.x (ubuntu-latest)
  • GitHub Check: Testing on Node.js (windows-latest)
🔇 Additional comments (69)
packages/taro-runner-utils/package.json (1)

3-3: ✅ 版本回退一致,未发现问题
该包版本号已同步回退至 4.1.3,与本次发布目标一致,其他字段保持不变。

packages/taro-api/package.json (1)

3-3: ✅ 版本号已正确回退
@tarojs/api 的版本字段调整为 4.1.3,与整体版本保持一致,无其他修改。

packages/eslint-config-taro/package.json (1)

3-3: ✅ 与整体版本保持一致
eslint-config-taro 版本已回退至 4.1.3,未涉及依赖及脚本变更。

packages/babel-preset-taro/package.json (1)

3-3: ✅ 版本同步无误
babel-preset-taro 版本号改为 4.1.3,其余配置保持不变。

packages/taro-runtime/package.json (1)

3-3: ✅ 运行时包版本已统一
taro-runtime 版本已回退到 4.1.3,且仍保留 dom-external/index.js 的 sideEffects 配置,符合之前的长期约定。

packages/taro-platform-jd/package.json (1)

3-3: 版本号已回退,但请确认同步发布标签

"version": "4.1.3" 已与本次发布目标一致。为了避免发布流程出错,请确认:

  1. 该包在 npm 或内部私库对应的 4.1.3 tag 已创建。
  2. 依赖其他内部包的 workspace:* 引用无需锁定具体版本;如需锁定请一并更新。
packages/taro-plugin-vue-devtools/package.json (1)

3-3: 版本号已一致

已与其他包统一至 4.1.3,无其它问题。

packages/taro-router/package.json (1)

3-3: 确认 Router 依赖同步

版本号回退正确,但请确认下述 peer / dev 依赖(如 @tarojs/runtime 等)也已发布 4.1.3,否则安装时会出现 peer warning。

packages/shared/package.json (1)

3-3: Shared 包版本已回退

与整体版本保持一致,LGTM。

packages/taro-plugin-html/package.json (1)

3-3: 版本号回退确认

version 字段已从 4.1.4-beta.4 改为 4.1.3,与此次正式版发布目标一致,未引入其他变更。LGTM。

packages/create-app/package.json (1)

3-3: 版本号回退确认

已正确回退到 4.1.3,与仓库其他包保持一致。无其他问题。

packages/taro-rn-style-transformer/package.json (1)

3-3: 版本号回退确认

@tarojs/rn-style-transformer 版本已同步回退到 4.1.3,符合发布策略。👌

packages/taro-helper/package.json (1)

3-3: 版本号回退确认

@tarojs/helper 版本号调整无误;依赖范围保持不变,风险可接受。

packages/taro-runtime-rn/package.json (1)

3-3: 版本号回退确认

@tarojs/runtime-rn 版本回退到 4.1.3,与其它包一致,未发现额外改动。

packages/taro-cli/package.json (1)

3-3: 版本号降级对齐发布流程

仅修改 version 字段,无业务代码变动,符合本次 4.1.3 正式版发布需求。

packages/taro-service/package.json (1)

3-3: 版本号降级对齐发布流程

仅调整为 4.1.3,未涉及其他字段,安全通过。

packages/taro-plugin-http/package.json (1)

3-3: 版本号降级对齐发布流程

纯粹的版本号更新,未影响依赖及脚本,确认无风险。

packages/rollup-plugin-copy/package.json (1)

3-3: 版本号降级对齐发布流程

仅做版本号同步,代码及配置保持不变,可直接合并。

packages/taro-rn/package.json (1)

3-3: 版本号降级对齐发布流程

确认只修改了版本号,RN 相关依赖未变动,OK。

packages/postcss-html-transform/package.json (1)

3-3: 确认:已完全移除所有 4.1.4-beta.4 引用

全仓库搜索 4.1.4-beta.4:在任何 package.json 或锁文件中均未发现残留引用,版本号降级已生效。

packages/taro-platform-swan/package.json (1)

3-3: 更新脚本:排除测试和模板目录后检查 package.json 版本

目前 packages/taro-cli/src/__tests__packages/taro-cli/templates 下的 package.json 解析失败(parse error/null),因为它们并非实际发布的包。建议只对真正发布的包执行版本同步检查,示例如下:

#!/bin/bash
# 检查 packages 下除测试和模板目录以外的 package.json 是否都为 4.1.3
fd -t f package.json packages \
  -E 'src/__tests__' -E 'templates' \
  | xargs -I{} jq -r '"{} \(.version)"' {} \
  | grep -v '4\.1\.3' \
  || echo "所有版本一致 ✔"

• 如需也同步测试/模板目录下的版本,请手动在以下文件中添加或更新 "version": "4.1.3"

  • packages/taro-cli/src/tests/fixtures/default/package.json
  • packages/taro-cli/templates/global-config/package.json
⛔ Skipped due to learnings
Learnt from: ianzone
PR: NervJS/taro#17746
File: packages/taro-runtime/tsdown.config.ts:10-16
Timestamp: 2025-05-25T18:02:31.387Z
Learning: 在 taro-runtime 包的 tsdown 配置中,必须禁用 treeshake 来保留 dom-external/index.js 文件。
Learnt from: ianzone
PR: NervJS/taro#17842
File: packages/jest-helper/tsconfig.json:9-9
Timestamp: 2025-06-23T00:09:31.233Z
Learning: 在 jest-helper 包中,src 目录下没有 __tests__ 测试目录,只包含 resolver.ts、sequencer.ts 和 snapshot 目录。不要假设包中存在测试目录结构。
Learnt from: Single-Dancer
PR: NervJS/taro#17653
File: packages/taro-components-advanced/src/components/water-flow/node.ts:83-95
Timestamp: 2025-05-06T06:55:44.077Z
Learning: 在 Taro 的 getRectSizeSync 函数中,如果找不到指定的节点,函数会一直处于 pending 状态而不是抛出错误。在这种情况下,使用 try/catch 处理不够充分,需要添加超时处理如 Promise.race 来避免无限等待。
packages/taro-components-library-vue3/package.json (1)

3-3: 版本号回退到 4.1.3,LGTM
无其它变更,符合发布需求。

packages/taro-plugin-react-devtools/package.json (1)

3-3: 版本号一致性已更新,LGTM
未发现额外问题。

packages/babel-plugin-transform-react-jsx-to-rn-stylesheet/package.json (1)

3-3: 版本同步 OK
回退操作正确,其他字段未变更。

packages/taro-platform-weapp/package.json (1)

3-3: 版本调整无误
与其余包保持一致。

packages/taro-platform-qq/package.json (1)

3-3: 版本号回退符合发布策略
仅调整版本号,无其余变动,符合 4.1.3 正式发布需求。

packages/taro-components-library-react/package.json (1)

3-3: 版本号同步 OK

组件库 React 版本已同步到 4.1.3,与核心包保持一致,无其他问题。

packages/taro-platform-harmony-cpp/package.json (1)

3-3: 确认 peer/workspace 依赖也随版本回退

虽然当前字段已更新,但本包对其他 workspace 依赖(如 @tarojs/react 等)仍使用 workspace:*。请确认这些包的实际发布版本亦已回退到 4.1.3,以避免安装时出现版本解析不一致。

npm/darwin-arm64/package.json (1)

4-4: 请在合并前确认版本回退及二进制包发布情况

  • 请校验所有 package.json 的 version 是否均为 4.1.3:
    # 查找所有 package.json 并输出 version 不为 4.1.3 的条目
    find . -type f -name package.json -print0 \
      | xargs -0 -n1 sh -c '
          v=$(jq -r .version "$0")
          [ "$v" != "4.1.3" ] && echo "$0: $v"
        ' _
  • 请确认 npm 上已发布 darwin-arm64 原生绑定包的 4.1.3 版本:
    npm view @tarojs/binding-darwin-arm64@4.1.3 version

若检查结果仍有疑问,请手动在 npm 仓库界面及 CI 发布日志中核实 4.1.3 对应的各平台二进制包已同步完成。

packages/taro-components-advanced/package.json (1)

3-3: 仅版本号回退,无其他变动,LGTM
同步到稳定版无逻辑风险,可直接合并。

packages/taro-framework-react/package.json (1)

3-3: 版本号已与主仓库保持一致,OK
未涉及依赖或构建脚本变更。

packages/jest-helper/package.json (1)

3-3: 版本号同步完成,测试工具包保持私有发布状态
无需额外动作。

packages/taro-cli-convertor/package.json (1)

3-3: CLI 转化器版本号更新正确
依赖仍指向 workspace 占位,确认无破坏性变更。

packages/taroize/package.json (1)

3-3: 版本号已统一回退到 4.1.3,符合发布策略
仅调整了 version 字段,其余字段保持不变,未发现风险。

packages/eslint-plugin-taro/package.json (1)

3-3: 确认版本号同步
version 字段与其他包保持一致回退到 4.1.3,变更安全。

packages/stylelint-config-taro-rn/package.json (1)

3-3: 版本号回退无误
仅修改版本号,其他配置未受影响。

packages/taro-rn-transformer/package.json (1)

3-3: 版本号更新检查通过
version 字段回退到 4.1.3,与 monorepo 其他包保持一致。

packages/taro-webpack5-runner/package.json (1)

3-3: 版本号一致性 OK
回退为 4.1.3;未发现额外变动,发布无阻。

packages/taro-plugin-generator/package.json (1)

3-3: 仅回退版本号,改动符合预期 👍

确认未伴随依赖或脚本变动,发布流程可直接走常规 tag。

packages/taro-components-react/package.json (1)

3-3: 版本号同步回退,未发现问题

与其它 workspace 包保持一致,无额外风险。

packages/taro-platform-alipay/package.json (1)

3-3: 版本字段回退正常

支付宝平台插件同步至 4.1.3,无功能差异。

packages/taro-extend/package.json (1)

3-3: 版本一致性 OK

仅改动 version 字段,工作区引用均使用 workspace:*,无需额外调整。

packages/stylelint-taro/package.json (1)

3-3: stylelint 规则集版本回退通过

无依赖联动影响,变更可接受。

packages/taro-framework-vue3/package.json (1)

3-3: 版本号已回退到 4.1.3,请同步检查工作空间一致性

仅回退版本号本身没有问题,但请确认:

  1. monorepo 中所有依赖 @tarojs/plugin-framework-vue3 的包均已更新到 4.1.3;
  2. lockfile / shrinkwrap 文件已重新生成并提交;
  3. npm 上的 latest / next dist-tag 与此次发布策略保持一致。

避免版本错位导致 CI 或安装异常。

packages/taro-components-library-solid/package.json (1)

3-3: 版本同步 OK,但需注意组件库 peer 依赖

组件库本身版本回退无误。请再次确认:

  • 依赖的 @tarojs/components workspace 版本同样已回退;
  • 如对外暴露为私有包,确保不会与 4.1.4-beta.4 并存导致解析到旧版本。
packages/babel-plugin-transform-solid-jsx/package.json (1)

4-4: 确认发布脚本将使用新的稳定版本

回退为稳定版后,请确保 prepublishOnly / CI 发布流程会推送 4.1.3,而不是遗留的 beta tag。其余无异议。

packages/taro-platform-harmony/package.json (1)

3-3: Harmony 插件版本回退完成,注意与 gitee 源仓同步

该包默认发布至 gitee registry,请验证对应 tag 与 npm 同步,防止多源不一致。

packages/taro-router-rn/package.json (1)

3-3: 版本号降级已同步,确认发布流程一致

"version": "4.1.3" 与本次 release 目标一致,文件其余内容未变,更改正确。请确保:

  1. 根 package.json / lockfile 已同步更新;
  2. CI 发布脚本读取到正确版本;
  3. 关联 CHANGELOG 已添加对应条目。
packages/taro-rn-runner/package.json (1)

3-3: 版本号已回退,注意 workspace 对齐

降级到 4.1.3 符合计划;由于本包依赖大量 workspace:*,请确认所有工作区包也已统一到 4.1.3 ,避免后续 publish 时报「找不到满足 peer/workspace 版本」的错误。

packages/css-to-react-native/package.json (1)

4-4: 单点版本更新无误

仅调整版本号,其他字段保持一致,符合 release 需求。

packages/taro-framework-solid/package.json (1)

3-3: Solid 插件版本同步良好

已降级至稳定版本 4.1.3。请同时检查 npm tag 是否由 latest 而非 next ,以防意外推送到 beta 渠道。

npm/linux-x64-musl/package.json (1)

3-3: 原生绑定包版本已匹配

原生二进制包版本与主框架保持一致,满足 ABI 对齐要求;发布时务必重新构建并上传对应二进制。

packages/taro-plugin-inject/package.json (1)

3-3: 已清理所有 4.1.4-beta.4 引用
全仓库 rg -n "4\.1\.4-beta\.4" 搜索未发现残留,版本回退已完成。请确认 lockfile 和文档中无旧版本标记,确认无误后可合并。

packages/taro-rn-supporter/package.json (1)

3-3: 确认 taro-rn-supporter 依赖均已同步至 4.1.3

已验证:

  • package.json"version": "4.1.3"
  • 全目录无 4.1.4-beta 或其他旧版/测试版残留
  • 所有 @tarojs/* 依赖均使用 workspace:*,无显式旧版本号

无需进一步修改。

packages/taro-components-rn/package.json (1)

3-3: 组件库版本一致性已确认,无需修改
所有 @tarojs 依赖均采用 workspace:* 协议,会自动对齐到根包的 4.1.3 版本,且 peerDependencies 中无硬编码的 Taro 版本声明。

packages/taro-transformer-wx/package.json (1)

3-3: 转换器版本已正确降级,但请同步更新对应生成产物
发布 npm 前务必重新构建并上传 4.1.3 对应 dist,防止版本号不匹配。

packages/taro-h5/package.json (1)

3-3: ✅ 全局版本号校验通过

已在所有 package.json 文件中搜索 "4.1.4-beta.4",未发现残留,当前版本号均已统一为 "4.1.3"

packages/taro-with-weapp/package.json (1)

3-3: 版本号同步 OK

仅修改了版本字段,其他元数据保持不变,无需额外动作。

packages/taro-react/package.json (1)

3-3: 版本字段已降级,符合发布策略

变化简单明确,通过。

packages/taro-vite-runner/package.json (1)

3-3: 版本更新一致,👍

没发现其它差异。

packages/taro-components/package.json (1)

3-3: 组件库版本更新已就位

修改无问题,与其他包保持一致。

packages/taro-platform-harmony-hybrid/package.json (1)

3-3: 版本号下调无功能风险,但请同步检查 workspace 依赖对齐

回退到 4.1.3 与本次发布目标一致,逻辑上 OK。不过建议再用脚本确认:

  1. 所有 workspace:* 依赖的实际包版本均已写成 4.1.3;
  2. 根 CHANGELOG 与 Git tag 已同步到 4.1.3。
packages/stylelint-taro-rn/package.json (1)

3-3: 纯版本号回退,LGTM

无其他改动,发布流程可直接走。

packages/taro-webpack5-prebundle/package.json (1)

3-3: 版本回退确认

仅改动 version 字段,其他字段保持一致,符合发布规范。

packages/taro-loader/package.json (1)

3-3: 保持与主版本一致,OK

taro-loader 与核心同步到 4.1.3,没有额外风险。

packages/postcss-unit-transform/package.json (1)

3-3: 所有生产包版本已同步为 4.1.3,JSON 格式校验通过,版本一致性检查完成

  • 已排除 node_modulesexamples 目录,所有 package.json 文件中的 version 均为 4.1.3
  • 校验脚本未报告任何 JSON 解析错误
packages/taro-plugin-mini-ci/package.json (1)

3-3: 版本号同步回退,LGTM
未涉及其他字段改动,符合本次发布流程。

npm/linux-x64-gnu/package.json (1)

4-4: 原生绑定包版本保持一致,LGTM
与主包版本保持同步,发布无阻。

npm/win32-x64-msvc/package.json (1)

4-4: Windows-x64 原生绑定版本同步,LGTM
无其他改动,可直接发布。

@@ -1,6 +1,6 @@
{
"name": "taro",
"version": "4.1.4-beta.4",
"version": "4.1.3",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Verification agent

🧩 Analysis chain

主根版本回退需同步更新锁文件与 CHANGELOG

package.json 已改为 4.1.3。请确保:

  1. pnpm-lock.yaml 也已重新生成并提交,否则 CI 与发布都会失败。
  2. CHANGELOG 中记录了从 4.1.4-beta.4 降级的原因,方便后续追踪。

建议运行以下脚本检查仍残留的旧版本号:


🏁 Script executed:

#!/bin/bash
# 查找仍包含 4.1.4-beta.4 的 package.json
rg -n '"version":\s*"4\.1\.4-beta\.4"' -g 'package.json'

Length of output: 56


继续验证 pnpm-lock.yaml 与 CHANGELOG 中的版本更新情况,请执行:


🏁 Script executed:

#!/bin/bash
# 验证 pnpm-lock.yaml 中是否已替换旧版本号并包含新版本号
if [ -f pnpm-lock.yaml ]; then
  echo "检查 pnpm-lock.yaml 中是否仍含 4.1.4-beta.4:"
  rg -n '"4\.1\.4-beta\.4"' pnpm-lock.yaml || echo "✓ pnpm-lock.yaml 不包含旧版本号"
  echo "检查 pnpm-lock.yaml 中是否已更新为 4.1.3:"
  rg -n '"4\.1\.3"' pnpm-lock.yaml || echo "❗ pnpm-lock.yaml 未包含新版本号"
else
  echo "❗ 未找到 pnpm-lock.yaml"
fi

# 查找并验证 CHANGELOG 文件
echo
echo "查找 CHANGELOG 文件:"
CHANGELOG_FILES=$(fd -g '*CHANGELOG*')
if [ -z "$CHANGELOG_FILES" ]; then
  echo "❗ 未找到 CHANGELOG 文件"
else
  echo "找到以下 CHANGELOG 文件:"
  echo "$CHANGELOG_FILES"
  for file in $CHANGELOG_FILES; do
    echo
    echo "检查 $file 中是否记录降级原因:"
    rg -n '4\.1\.4-beta\.4' "$file" && echo "✓ 找到旧版本号记录" || echo "$file 中未记录旧版本号"
    rg -n '4\.1\.3' "$file" && echo "✓ 找到新版本号记录" || echo "$file 中未找到新版本号"
  done
fi

Length of output: 1860


请同步更新 pnpm-lock.yaml 并完善 CHANGELOG

检查结果显示:

  • 根目录的 pnpm-lock.yaml 未包含新版本 4.1.3,需要重新生成并提交。
  • 以下 CHANGELOG 文件中均未记录从 4.1.4-beta.4 降级到 4.1.3 的变更原因:
    • packages/eslint-plugin-taro/CHANGELOG.md
    • packages/taro-components/CHANGELOG.md

请按以下步骤修复:

  1. 在项目根目录执行 pnpm installpnpm up --lockfile-only,生成并提交更新后的 pnpm-lock.yaml,确保其中包含 "4.1.3"
  2. 在上述两个 CHANGELOG 文件中新增条目,记录从 4.1.4-beta.4 降级到 4.1.3 的原因和影响,以便后续追溯。
🤖 Prompt for AI Agents
In package.json at line 3, after updating the version to 4.1.3, you need to
regenerate the pnpm-lock.yaml file by running `pnpm install` or `pnpm up
--lockfile-only` in the project root to include the new version, then commit the
updated lockfile. Additionally, update the CHANGELOG.md files in
packages/eslint-plugin-taro and packages/taro-components by adding entries
explaining the downgrade from 4.1.4-beta.4 to 4.1.3, detailing the reasons and
impacts for future reference.

@@ -1,7 +1,7 @@
{
"name": "@tarojs/binding-darwin-x64",
"description": "Native binding for taro",
"version": "4.1.4-beta.4",
"version": "4.1.3",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Verification agent

❓ Verification inconclusive

确认 4.1.3 二进制产物已同步发布

版本号已从 beta 降级到正式版,但 native binding 包在安装时会走 postinstall 脚本下载对应架构的 .node 文件。请确保 @tarojs/binding-darwin-x64@4.1.3 已经成功发布至 npm,并且 CI/CD 构建产物可用,否则用户在 pnpm install 阶段会失败。


🏁 Script executed:

#!/bin/bash
# 检查包是否已在 npm 发布
npm view @tarojs/binding-darwin-x64@4.1.3 version

Length of output: 443


请发布 @tarojs/binding-darwin-x64@4.1.3 二进制产物
执行 npm view @tarojs/binding-darwin-x64@4.1.3 version 返回 404,说明该 native binding 包尚未在 npm 发布,用户在 pnpm install 阶段会因无法下载对应架构的 .node 文件而失败。

需要处理:

  • 确认 npm/darwin-x64/package.json"version": "4.1.3" 无误
  • 在 CI/CD 发布流程中,打包并发布 @tarojs/binding-darwin-x64@4.1.3 至 npm registry

请尽快补上发布步骤,保证 4.1.3 的二进制产物可用。

🤖 Prompt for AI Agents
In npm/darwin-x64/package.json at line 4, confirm that the version field is
correctly set to "4.1.3". Then, update the CI/CD pipeline to include steps that
build the native binary for the darwin-x64 architecture and publish the
@tarojs/binding-darwin-x64 package version 4.1.3 to the npm registry, ensuring
the binary artifact is available for users during installation.

@@ -1,6 +1,6 @@
{
"name": "@tarojs/binding",
"version": "4.1.4-beta.4",
"version": "4.1.3",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Verification agent

🧩 Analysis chain

核心 binding 版本已降级,需要验证可用性

@tarojs/binding 是所有原生模块的入口,请确保:

  1. 各平台二进制子包均已发布 4.1.3;
  2. postinstall 阶段可以解析到正确的二进制文件;
  3. 若有 CI 测试脚本,更新 tag 后重新跑一遍以防发布回退引入遗漏。

若需要自动检查各子包版本,可运行:


🏁 Script executed:

#!/bin/bash
for pkg in @tarojs/binding-{darwin-arm64,darwin-x64,linux-x64-gnu,win32-x64-msvc}; do
  echo "$pkg -> $(npm view $pkg@4.1.3 version 2>/dev/null || echo 'NOT PUBLISHED')"
done

Length of output: 1058


@tarojs/binding 子包 v4.1.3 尚未发布 – 请先补齐发布并验证安装流程

脚本检查结果:

  • @tarojs/binding-darwin-arm64 → NOT PUBLISHED
  • @tarojs/binding-darwin-x64 → NOT PUBLISHED
  • @tarojs/binding-linux-x64-gnu → NOT PUBLISHED
  • @tarojs/binding-win32-x64-msvc → NOT PUBLISHED

请按照以下步骤处理:

  1. 在 npm 发布所有二进制子包(darwin-arm64、darwin-x64、linux-x64-gnu、win32-x64-msvc)的 4.1.3 版本;
  2. 确认 postinstall 阶段能正确解析到对应平台的二进制包;
  3. 发布完成后在本地及 CI 上重新运行测试,确保无遗漏。
🤖 Prompt for AI Agents
In crates/native_binding/package.json at line 3, the version is set to 4.1.3 but
the corresponding @tarojs/binding sub-packages for various platforms have not
been published yet. To fix this, publish all the binary sub-packages
(@tarojs/binding-darwin-arm64, darwin-x64, linux-x64-gnu, win32-x64-msvc) with
version 4.1.3 to npm, verify that the postinstall script correctly resolves the
platform-specific binaries, and then rerun local and CI tests to confirm the
installation and functionality are correct.

@@ -1,6 +1,6 @@
{
"name": "@tarojs/taro",
"version": "4.1.4-beta.4",
"version": "4.1.3",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Verification agent

🧩 Analysis chain

核心包版本回退需确保生态同步

taro 本体版本已降至 4.1.3。请确认:

  • monorepo 里所有 peerDependencies/devDependencies 指向 @tarojs/* 的版本亦为 4.1.3;
  • CI 发布脚本(如 release.yml)取用的新版本号。

可用脚本快速校验:


🏁 Script executed:

#!/bin/bash
# 检查所有包 version 字段
fd package.json | xargs jq -r '.name + "@" + .version' | grep "@tarojs/" | sort -u

Length of output: 436


为全面校验所有 @tarojs/* 的 peerDependencies 和 devDependencies 是否都为 4.1.3,并定位可能的 JSON 解析错误,请运行以下脚本:


🏁 Script executed:

#!/bin/bash
# 1. 定位 JSON 解析失败的 package.json 文件
echo "=== Invalid JSON files ==="
fd package.json | while read f; do
  jq . "$f" > /dev/null 2>&1 || echo "$f"
done

# 2. 检查所有 package.json 中 @tarojs/* 的 peerDependencies 和 devDependencies 版本
echo "=== @tarojs/* 依赖版本 ==="
fd package.json | while read f; do
  jq -r '
    ( .peerDependencies // {} ) as $p |
    ( .devDependencies  // {} ) as $d |
    ($p + $d) | to_entries[] |
    select(.key | startswith("@tarojs/")) |
    .key + " -> " + .value
  ' "$f" 2>/dev/null
done | sort -u

Length of output: 32605


请同步 monorepo 中所有 @tarojs/ 依赖版本至 4.1.3 并修复模板文件*

  • 脚本扫描到 packages/taro-cli/templates/*.tmpl 并非有效 JSON,可忽略或改用真实 package.json;
  • 多处 package.json 的 peerDependencies/devDependencies 中,@tarojs/* 版本仍为 3.x、4.0.7、workspace:*、本地路径等,需要统一改为 4.1.3
  • CI 发布脚本(如 release.yml)应确保拉取并发布的版本号为 4.1.3
🤖 Prompt for AI Agents
In packages/taro/package.json at line 3, update all @tarojs/* dependencies
across the monorepo to version 4.1.3 for consistency. Also, fix template files
in packages/taro-cli/templates/*.tmpl by replacing or converting them to valid
JSON package.json files. Review all peerDependencies and devDependencies in
package.json files to replace versions like 3.x, 4.0.7, workspace:*, or local
paths with 4.1.3. Finally, update CI release scripts such as release.yml to
ensure they pull and publish version 4.1.3.

Copy link

codecov bot commented Jun 30, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 54.98%. Comparing base (26052d8) to head (fe8b216).
Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff            @@
##             main   #17932    +/-   ##
========================================
  Coverage   54.98%   54.98%            
========================================
  Files         417      417            
  Lines       21693    21693            
  Branches     5365     5340    -25     
========================================
  Hits        11928    11928            
+ Misses       8216     8088   -128     
- Partials     1549     1677   +128     
Flag Coverage Δ
taro-cli 72.42% <ø> (ø)
taro-runtime 59.87% <ø> (ø)
taro-web 53.19% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

see 38 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Single-Dancer Single-Dancer merged commit 3195665 into main Jun 30, 2025
39 checks passed
@Single-Dancer Single-Dancer deleted the chore/release-4.1.3 branch June 30, 2025 10:49
Copy link
Contributor

This was referenced Jul 5, 2025
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