Packages

postcss-import

17.0.1 · 13 Oct 2026MIT52.1M / weekRepositoryHomepagenpmAtom feed

Upgrading postcss-import From 15.1.0 to 17.0.1

7 releases in betweenevery note read

Reading releases, release notes and advisories…

Before you upgrade

Tick each one off as you go
  • Breaking17.0.0
  • Breaking17.0.0
  • Breaking16.0.0
  • Breaking16.0.0

Release by release

  1. 17.0.1

    13 Oct 20262 fixes
    • Fixed

      Don't hoist empty @layer statements that follow @layer blocks

    • Fixed

      Handle uppercase/mixed-case @import and @layer declarations

  2. 17.0.0

    Migration needed14 Aug 2026
    • Breaking

      Now requires Node v22+

    • Breaking

      Files with the same content, but different paths, will no longer be skipped as duplicates. This should not affect the vast majority of users. (#601, #602)

  3. 16.2.0nothing new or fixed in the note

  4. 16.1.1

    17 Jun 20251 fix
    • Fixed

      Fix incorrect cascade layer order when some resources can not be inlined (#567, #574)

  5. 16.1.0

    20 Mar 20241 new
    • New

      Allow bundling URLs with fragments (useful for Vite users) (#560, #561)

  6. 16.0.1

    15 Feb 20241 fix
    • Fixed

      Fix crash when handling some @imports with media conditions (#557, #558)

  7. 16.0.0

    Migration needed3 Jan 20242 new
    • Breaking

      Require Node.js v18+ (#550, #551)

    • Breaking

      Signifigant rewrite, with small behavioral tweaks in a number of edge cases

    • New

      Support for @supports conditional imports added (#532, #548)

    • New

      Add warnOnEmpty option to allow disabling warnings for empty files (#84, #541)

5 other lines we could not sort, mostly version bumps
  • Better whitespace formatting on modern postcss versions

    16.2.0
  • Better error message when @imports are interleaved with @layers (#566, #606)

    16.2.0
  • Docs clarification

    16.2.0
  • When skipDuplicates is false, handles import cycles correctly (#462, #535)

    16.0.0
  • Use proper node.errors (#518, #540)

    16.0.0

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.