Skip to content

Update dependency postcss-calc to v11 - #148

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/postcss-calc-11.x
Open

renovate[bot] wants to merge 1 commit into
masterfrom
renovate/postcss-calc-11.x

Conversation

@renovate

@renovate renovate Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
postcss-calc ^10.0.0^11.0.0 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
    • Between 12:00 AM and 03:59 AM, on day 1 of the month (* 0-3 1 * *)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, 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 class: dependencies Pull requests that update a dependency file renovate PRs and Issues created by the RenovateBot labels Sep 2, 2026
@renovate
renovate Bot enabled auto-merge (squash) September 2, 2026 06:40
@renovate
renovate Bot force-pushed the renovate/postcss-calc-11.x branch 2 times, most recently from 661e7ba to 2b19793 Compare September 7, 2026 20:29
@renovate
renovate Bot force-pushed the renovate/postcss-calc-11.x branch from 2b19793 to 8749a48 Compare September 14, 2026 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

class: dependencies Pull requests that update a dependency file renovate PRs and Issues created by the RenovateBot

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants