Skip to content

chore(deps): update rsbuild 1.4.12 and more accurate persistent cache#2429

Merged
SoonIter merged 3 commits intomainfrom
syt/upgrade-rspack-22
Aug 1, 2025
Merged

chore(deps): update rsbuild 1.4.12 and more accurate persistent cache#2429
SoonIter merged 3 commits intomainfrom
syt/upgrade-rspack-22

Conversation

@SoonIter
Copy link
Copy Markdown
Member

@SoonIter SoonIter commented Aug 1, 2025

Summary

chore: update rsbuild 1.4.12

web-infra-dev/rspack#11182

web-infra-dev/rspack#11178

Related Issue

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

Copilot AI review requested due to automatic review settings August 1, 2025 07:54
@netlify
Copy link
Copy Markdown

netlify Bot commented Aug 1, 2025

Deploy Preview for rspress-v2 ready!

Name Link
🔨 Latest commit cd3112e
🔍 Latest deploy log https://app.netlify.com/projects/rspress-v2/deploys/688c73b26edca300085a8d9e
😎 Deploy Preview https://deploy-preview-2429--rspress-v2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates the rsbuild package from version 1.4.11 to 1.4.12 across multiple packages and modernizes the codebase by removing outdated shims and configurations that are no longer needed with the newer version.

  • Updates @rsbuild/core dependency from ~1.4.11 to ~1.4.12 across all relevant packages
  • Removes ESM shims and REQUIRE_CACHE define configurations from rslib.config.ts
  • Replaces global REQUIRE_CACHE with explicit require.cache usage using createRequire

Reviewed Changes

Copilot reviewed 7 out of 8 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
packages/shared/package.json Updates @rsbuild/core dependency version
packages/plugin-preview/package.json Updates @rsbuild/core dependency version
packages/plugin-llms/package.json Updates @rsbuild/core dependency version
packages/core/package.json Updates @rsbuild/core dependency version
packages/core/src/node/runtimeModule/i18n.ts Replaces global REQUIRE_CACHE with explicit require.cache
packages/core/src/node/initRsbuild.ts Adds explicit require creation and improves build cache dependencies
packages/core/rslib.config.ts Removes outdated ESM shims and REQUIRE_CACHE configurations
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

Comment thread packages/core/src/node/initRsbuild.ts Outdated
@netlify
Copy link
Copy Markdown

netlify Bot commented Aug 1, 2025

Deploy Preview for rspress ready!

Name Link
🔨 Latest commit cd3112e
🔍 Latest deploy log https://app.netlify.com/projects/rspress/deploys/688c73b2920c38000890874f
😎 Deploy Preview https://deploy-preview-2429--rspress.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 60 (🔴 down 17 from production)
Accessibility: 97 (no change from production)
Best Practices: 92 (🟢 up 9 from production)
SEO: 100 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@SoonIter SoonIter changed the title chore: update rsbuild 1.4.12 chore(deps): update rsbuild 1.4.12 and more accurate persistent cache Aug 1, 2025
@SoonIter SoonIter requested a review from Timeless0911 August 1, 2025 08:06
@SoonIter SoonIter merged commit 2a6a5a1 into main Aug 1, 2025
13 checks passed
@SoonIter SoonIter deleted the syt/upgrade-rspack-22 branch August 1, 2025 08:15
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.

3 participants