Skip to content

Update dependency postcss-calc to v11 - #192

Merged
scriptex merged 1 commit into
masterfrom
renovate/postcss-calc-11.x
Sep 12, 2026
Merged

scriptex merged 1 commit into
masterfrom
renovate/postcss-calc-11.x

Conversation

@renovate

@renovate renovate Bot commented Sep 3, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
postcss-calc 10.1.1 → 11.1.2 age confidence

Release Notes

postcss/postcss-calc (postcss-calc)

v11.1.2

Compare Source

Bug fixes
  • Preserve original escapes and pass through malformed CSS input safely
  • Pass through unknown CSS functions

v11.1.1

Compare Source

Bug fixes
  • Preserve calc() in a declaration when a property value reduces to a negative scalar

v11.1.0

Compare Source

Features
  • Add dedicated standalone reducer entry point postcss-calc/reduce (reduceCalc)
  • Simplify clamp() with none keyword per CSS Values 4 §10.5.3
Performance improvements
  • Improve performance by skipping parsing for values without calculation functions
Bug fixes
  • Update PostCSS peer dependency to ^8.5.28

v11.0.3

Compare Source

Performance improvements
  • Improve performance by reducing the number of parsing and serialization steps

v11.0.2

Compare Source

Performance improvements
  • Improve performance when processing calculations with many additions or multiplications.

v11.0.1

Compare Source

Bug Fixes

v11.0.0

Compare Source

Breaking changes
  • Require Node.js ^22.22.3, ^24.15, or >=26.0.

  • Publish an ESM package with an explicit exports entry point. CommonJS require('postcss-calc') remains
    supported on the supported Node.js versions.

  • Remove the preserve option. Transformations now always update declarations, enabled media-query
    parameters, and enabled selectors in place.

Features
  • Rewrite the calculation engine around a CSS-aware tokenizer, Pratt parser, canonical AST, simplifier,
    and serializer.

  • Add simplification support for modern CSS math functions, including abs(), sign(), mod(), rem(),
    round(), trigonometric functions, pow(), sqrt(), hypot(), log(), and exp().

  • Improve public TypeScript declarations, including the exported PostCssCalcOptions type.

Bug fixes
  • Preserve correct grouping when simplifying subtractions involving custom properties and other opaque
    expressions.

  • Improve numerical precision and rounding, including signed-zero and exact-multiple mod()/rem()
    behavior.

  • Fix handling of identifier-like negative tokens and selector calculations.

  • Maintain left-to-right evaluation order when folding product terms.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • On day 3 and 17 of the month (* * 3,17 * *)
  • Automerge
    • At any time (no schedule defined)

🚦 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the dependencies Pull requests that update a dependency file label Sep 3, 2026
@vercel

vercel Bot commented Sep 3, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
itcss Ready Ready Preview Sep 11, 2026 7:23pm UTC

@renovate
renovate Bot force-pushed the renovate/postcss-calc-11.x branch from 52faa7a to c3bf492 Compare September 11, 2026 19:22
@sonarqubecloud

Copy link
Copy Markdown

@scriptex
scriptex merged commit f65b2ed into master Sep 12, 2026
8 checks passed
@renovate
renovate Bot deleted the renovate/postcss-calc-11.x branch September 12, 2026 06:27

This branch was successfully deployed

1 active deployment
Preview — c3bf4923 Deployed Sep 11, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant