Packages

styled-components

6.6.0 · 12 Oct 2026MIT14.8M / weekRepositoryHomepagenpmAtom feed

Upgrading styled-components From 6.4.1 to 6.4.2

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 6.4.1Newest 6.x, Latest6.6.0
  1. 6.4.1yours
  2. 6.4.2target
0
changes to make
0
advisories fixed
0
new
5
fixes

Release by release

  1. 6.4.2

    19 May 20265 fixes
    • Fixed

      Restore TypeScript prop autocomplete inside the JSX of a styled component once the first attribute is typed.

    • Fixed

      Apply all chain levels' styles when an extended styled component renders with the as prop under Preact's react-compat.

    • Fixed

      Respect a custom toString on plain value objects (e.g. design tokens) when interpolated into a styled component, rather than walking the object's keys as CSS declarations.

    • Fixed

      Fix a TypeScript error when wrapping a component whose props include an as prop with a non-string type (such as Next.js Link's as?: Url). The styled component now accepts either the styled-components polymorphism value or the wrapped component's own as type, so spreading the wrapped component's props onto the styled component is assignable again.

    • Fixed

      Restore reliable styling in production browser bundles built without a runtime process global.

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.