Skip to content

Backport Critical CSS Generator 2.1.2 - #55563

Merged
LiamSarsfield merged 2 commits into
trunkfrom
prerelease
Nov 27, 2026
Merged

LiamSarsfield merged 2 commits into
trunkfrom
prerelease

Conversation

@LiamSarsfield

@LiamSarsfield LiamSarsfield commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Part of BOOST-909

Proposed changes:

Backports the Critical CSS Generator 2.1.2 version and changelog.

Why are these changes being made?

Critical CSS Generator 2.1.2 shipped separately on npm so package consumers can pick up faster deduplication for deeply nested stylesheets without cascade layers. This backport records the version and changelog for future Jetpack releases.

Other information:

  • Have you written new tests for your changes, if applicable?
  • Have you checked the E2E test CI results, and verified that your changes do not break them?
  • Have you tested your changes on WordPress.com, if applicable (if so, you'll see a generated comment below with a script to run)?

Jetpack product discussion

N/a

Does this pull request change what data or activity we track or use?

No

Testing instructions:

I checked the release workflows, npm metadata and the two downloaded package builds by hand. The backport changes release metadata only.

  1. Review the Files changed tab. The manifest and changelog should show version 2.1.2, and the release notes should contain both deleted raw changelog entries.
  2. Open the npm release and compare its built deduplicator with 2.1.1. In 2.1.2, the shared layer-statement predicate guards the registration pass, so the pass is skipped when there are no layer statements.

@github-actions

github-actions Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Thank you for your PR!

When contributing to Jetpack, we have a few suggestions that can help us test and review your patch:

  • ✅ Include a description of your PR changes.
  • ✅ Add a "[Status]" label (In Progress, Needs Review, ...).
  • ✅ Add testing instructions.
  • ✅ Specify whether this PR includes any changes to data or privacy.
  • ✅ Add changelog entries to affected projects

This comment will be updated as you work on your PR and make changes. If you think that some of those checks are not needed for your PR, please explain why you think so. Thanks for cooperation 🤖


Follow this PR Review Process:

  1. Ensure all required checks appearing at the bottom of this PR are passing.
  2. Make sure to test your changes on all platforms that it applies to. You're responsible for the quality of the code you ship.
  3. You can use GitHub's Reviewers functionality to request a review.
  4. When it's reviewed and merged, you will be pinged in Slack to deploy the changes to WordPress.com simple once the build is done.

If you have questions about anything, reach out in #jetpack-developers for guidance!

@github-actions github-actions Bot added the [Status] Needs Author Reply We need more details from you. This label will be auto-added until the PR meets all requirements. label Nov 27, 2026
@jp-launch-control

Copy link
Copy Markdown

Code Coverage Summary

This PR did not change code coverage!

That could be good or bad, depending on the situation. Everything covered before, and still is? Great! Nothing was covered before? Not so great. 🤷

Full summary · PHP report · JS report

@LiamSarsfield LiamSarsfield removed the [Status] Needs Author Reply We need more details from you. This label will be auto-added until the PR meets all requirements. label Nov 27, 2026
@LiamSarsfield
LiamSarsfield marked this pull request as ready for review November 27, 2026 19:00
@LiamSarsfield
LiamSarsfield merged commit bbdce41 into trunk Nov 27, 2026
115 checks passed
@LiamSarsfield
LiamSarsfield deleted the prerelease branch November 27, 2026 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant