Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: postcss/postcss
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: eae46db
Choose a base ref
...
head repository: postcss/postcss
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 92ccc93
Choose a head ref
  • 17 commits
  • 24 files changed
  • 9 contributors

Commits on Jun 16, 2026

  1. Configuration menu
    Copy the full SHA
    51d5317 View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2026

  1. Configuration menu
    Copy the full SHA
    e961264 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2026

  1. fix(node): always include offset in positionBy() like rangeBy() (#2099)

    positionBy()'s default branch returned this.source.start verbatim, so for
    custom syntaxes whose source.start lacks an offset (e.g. postcss-html) it
    returned a position without offset, violating the Position type which
    declares offset as required. rangeBy()/positionInside() were normalized to
    always compute offset via sourceOffset() (#2033, issue #2029) but
    positionBy() was left behind. Mirror the rangeBy() pattern.
    
    Co-authored-by: oss69U-prep <prep@local>
    Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
    3 people authored Jun 27, 2026
    Configuration menu
    Copy the full SHA
    698425a View commit details
    Browse the repository at this point in the history
  2. Move to public Dev Container

    ai committed Jun 27, 2026
    Configuration menu
    Copy the full SHA
    d2b4872 View commit details
    Browse the repository at this point in the history
  3. Move to Node.js 26 on CI

    ai committed Jun 27, 2026
    Configuration menu
    Copy the full SHA
    db3ecbf View commit details
    Browse the repository at this point in the history
  4. Update CI

    ai committed Jun 27, 2026
    Configuration menu
    Copy the full SHA
    6091858 View commit details
    Browse the repository at this point in the history
  5. Move to new publish process

    ai committed Jun 27, 2026
    Configuration menu
    Copy the full SHA
    616e571 View commit details
    Browse the repository at this point in the history
  6. Fix Node.js 26 tests

    ai committed Jun 27, 2026
    Configuration menu
    Copy the full SHA
    b91e4a6 View commit details
    Browse the repository at this point in the history
  7. Fix Node#rangeBy() ignoring index 0 (#2091)

    When calling Node#rangeBy() (and therefore Node#error() and
    Node#warn()) with index 0, the resulting range covered the whole node
    instead of a single character at offset 0.
    
    The end-of-range branch used a truthy check on opts.index, so an index
    of 0 fell through and left the end position at the node's end. This is
    the same off-by-zero issue that was previously fixed for endIndex; the
    index branches were missed. Switch both index checks to a numeric type
    check, matching the existing endIndex handling.
    
    index 0 now produces a single-character range, consistent with every
    other index value.
    sarathfrancis90 authored Jun 27, 2026
    Configuration menu
    Copy the full SHA
    d1e80b8 View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2026

  1. Preserve node raws when rehydrating a JSON AST (#2100)

    fromJSON() attached child nodes through the container constructor, which
    runs them back through append()/normalize(). For root-level children that
    re-applies insertion spacing normalization and overwrites each node's own
    raws.before with the previous sibling's, so toJSON() -> fromJSON() was not
    lossless: stylesheets with non-uniform blank lines between top-level rules
    came back with their spacing flattened.
    
    Rehydrate children separately and attach them directly, keeping the raws
    exactly as serialized.
    sarathfrancis90 authored Jun 28, 2026
    Configuration menu
    Copy the full SHA
    3828982 View commit details
    Browse the repository at this point in the history
  2. Update dependencies

    ai committed Jun 28, 2026
    Configuration menu
    Copy the full SHA
    8863369 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    da323fc View commit details
    Browse the repository at this point in the history
  4. Don't clone root-less child nodes in container constructor (#2097)

    The container constructor cloned every real Node passed in `nodes`, so a
    freshly created (parent-less) node was adopted as a copy and the caller's
    original reference never had its `parent` set — later operating on it threw
    `Cannot read properties of undefined`. The clone was added only to keep the
    source tree intact when moving nodes between roots, so it's skipped when the
    node has no parent. Nodes that already belong to another tree are still
    cloned, preserving the existing behavior. Closes #1987.
    MahinAnowar authored Jun 28, 2026
    Configuration menu
    Copy the full SHA
    d4feed6 View commit details
    Browse the repository at this point in the history
  5. Fix tests

    ai committed Jun 28, 2026
    Configuration menu
    Copy the full SHA
    34942ce View commit details
    Browse the repository at this point in the history
  6. Fix Input#origin() returning incorrect position (#2036)

    * Add missing `test.run()`
    
    * Fix `Input#origin()` returning incorrect position
    
    * Refactor test with source-map-js
    mizdra authored Jun 28, 2026
    Configuration menu
    Copy the full SHA
    46e4510 View commit details
    Browse the repository at this point in the history
  7. Update formatting

    ai committed Jun 28, 2026
    Configuration menu
    Copy the full SHA
    818bdd6 View commit details
    Browse the repository at this point in the history
  8. Release 8.5.16 version

    ai committed Jun 28, 2026
    Configuration menu
    Copy the full SHA
    92ccc93 View commit details
    Browse the repository at this point in the history
Loading