Update dependency critical to v9 - #1091
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/critical-9.x
branch
from
September 14, 2026 09:30
673388c to
73a7b34
Compare
renovate
Bot
force-pushed
the
renovate/critical-9.x
branch
from
September 14, 2026 16:02
73a7b34 to
fa1a323
Compare
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



This PR contains the following updates:
8.0.0→9.0.0Release Notes
addyosmani/critical (critical)
v9.0.0Compare Source
Critical v9 — a two-engine rewrite for how the web is built in 2026
Critical has always had one job: get the above-the-fold CSS onto the page now, and stop render-blocking stylesheets from standing between your users and first paint. v9 is a ground-up rewrite of how it does that — faster on the common case, more accurate on the hard case, and built to be driven by humans, build pipelines, and coding agents alike.
Two engines, picked automatically
The biggest change: Critical now ships two engines and routes between them for you.
Perfect for SSG/SSR/MPA output that ships real markup.
Ideal for SPA shells and when you want a tight, viewport-accurate set.
With
engine: "auto"(the default), Critical inspects your HTML: real content → static; an empty<div id="root">shell → it escalates to render. It always tells you which one it used and why. No browser is pulled in unless you actually need one — Playwright is an optional peer dependency, imported lazily.Deterministic by design
Same input, byte-identical output. That means you can run Critical in CI and diff the result in version control without noise. First paint needs only the HTML.
Safe under a strict CSP
Deferring is done by swapping each
<link rel="stylesheet">for a<link rel="preload">and moving it out of the critical path — no inline scripts added. Works cleanly under a strict Content-Security-Policy.Agent-native
Critical now speaks to coding agents directly: an MCP server, an
--explainmode that shows what it would do and why, and a structuredreport(engine used, bytes, rules, warnings, timing) on every run.A lighter, more modern core
Rebuilt on
lightningcss,css-tree, andlinkedom. The static path — and the default install — never pull in a browser. Node.js 22+.Upgrading from v8? v9 is a major release with a new API surface and option set — see the README for the current CLI and API.
As always, feedback and issues are welcome. Thanks to everyone who helped shape this one. 💛
What's Changed
Full Changelog: addyosmani/critical@v8.0.0...v9.0.0
Configuration
📅 Schedule: (UTC)
* * 14,28 * *)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.