Skip to content

Conversation

@LingyuCoder
Copy link
Contributor

Summary

Fix docs of SRI plugin of old rspack verions

Related links

Checklist

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

Copilot AI review requested due to automatic review settings January 6, 2026 04:46
@netlify
Copy link

netlify bot commented Jan 6, 2026

Deploy Preview for rspack ready!

Name Link
🔨 Latest commit 96dfc6a
🔍 Latest deploy log https://app.netlify.com/projects/rspack/deploys/695c93b349c22600082af200
😎 Deploy Preview https://deploy-preview-12637--rspack.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.

@github-actions github-actions bot added release: document release: document related release(mr only) team The issue/pr is created by the member of Rspack. labels Jan 6, 2026
@LingyuCoder LingyuCoder requested a review from chenjiahan January 6, 2026 04:46
Copy link
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 fixes the documentation for the SubresourceIntegrityPlugin to correctly reflect its version history in Rspack. The plugin's stable API was added in version 1.7.0, while an experimental version was available in earlier versions (1.2.4 to 1.6.8).

Key Changes

  • Updated the addedVersion from 1.2.4 to 1.7.0 to reflect when the stable API was introduced
  • Added a note informing users that versions 1.2.4 to 1.6.8 can use the experimental API path rspack.experiments.SubresourceIntegrityPlugin

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
website/docs/en/plugins/rspack/subresource-integrity-plugin.mdx Updated version metadata and added backward compatibility note for English documentation
website/docs/zh/plugins/rspack/subresource-integrity-plugin.mdx Updated version metadata and added backward compatibility note for Chinese documentation

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@LingyuCoder LingyuCoder requested a review from CPunisher January 6, 2026 04:54
@chenjiahan chenjiahan merged commit 0412ad8 into main Jan 6, 2026
35 checks passed
@chenjiahan chenjiahan deleted the docs/sri-old-version branch January 6, 2026 04:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release: document release: document related release(mr only) team The issue/pr is created by the member of Rspack.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants