Skip to content

build(deps): bump styled-components from 5.3.11 to 6.4.1#1983

Open
dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/npm_and_yarn/styled-components-6.4.1
Open

build(deps): bump styled-components from 5.3.11 to 6.4.1#1983
dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/npm_and_yarn/styled-components-6.4.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 22, 2026

Bumps styled-components from 5.3.11 to 6.4.1.

Release notes

Sourced from styled-components's releases.

styled-components@6.4.1

Patch Changes

  • 49d09ae: Fix a performance regression in 6.4.0 where dynamic createGlobalStyle components caused significant re-render slowdowns. Also restores pre-6.4 cascade ordering when multiple instances of the same createGlobalStyle coexist.
  • eca95b2: Fix outdated dev-mode error messages for keyframes-in-untagged-strings and component-selector references that still pointed at www.styled-components.com and described behavior from styled-components v3.

styled-components@6.4.1-prerelease-20260417184545

Full Changelog: https://github.com/styled-components/styled-components/compare/styled-components@6.4.1-prerelease-20260417184031...styled-components@6.4.1-prerelease-20260417184545

styled-components@6.4.1-prerelease-20260417184031

What's Changed

Full Changelog: https://github.com/styled-components/styled-components/compare/styled-components@6.4.0...styled-components@6.4.1-prerelease-20260417184031

styled-components@6.4.0

Minor Changes

  • b0f3d29: .attrs() improvements: props supplied via attrs are now automatically made optional on the resulting component (previously required even when attrs provided a default). Also fixes a bug where the attrs callback received a mutable props object that could be changed by subsequent attrs processing; it now receives an immutable snapshot.

  • 2a973d8: Dropped IE11 support: ES2015 build target, inlined unitless CSS properties (removing @​emotion/unitless dependency), removed legacy React class statics from hoist and other unnecessary code.

  • 9e07d95: Add createTheme(defaultTheme, options?) for CSS variable theming that works across RSC and client components.

    Returns an object with the same shape where every leaf is var(--prefix-path, fallback). Pass it to ThemeProvider for stable class name hashes across themes (no hydration mismatch on light/dark switch).

    const theme = createTheme({ colors: { primary: '#0070f3' } });
    // theme.colors.primary → "var(--sc-colors-primary, #0070f3)"
    // theme.raw → original object
    // theme.vars.colors.primary → "--sc-colors-primary"
    // theme.resolve(el?) → computed values from DOM (client-only)
    // theme.GlobalStyle → component that emits CSS var declarations

    vars exposes bare CSS custom property names (same shape as the theme) for use in createGlobalStyle dark mode overrides without hand-writing variable names:

    const { vars } = createTheme({ colors: { bg: '#fff', text: '[#000](https://github.com/styled-components/styled-components/issues/000)' } });
    const DarkOverrides = createGlobalStyle@media (prefers-color-scheme: dark) { :root { ${vars.colors.bg}: [#111](https://github.com/styled-components/styled-components/issues/111); ${vars.colors.text}: #eee; } };

... (truncated)

Commits
  • 37a0a5e Version Packages
  • 2f1a3fb ci: per-package prerelease notes with progression link [skip ci]
  • fea4919 ci: match prerelease notes to release job format [skip ci]
  • e557e11 style: align prerelease job formatting with release job
  • a3dee6d ci: collapse prerelease workflow into release.yml
  • 52bda0c chore: add husky pre-commit hook running prettier
  • eca95b2 chore: add changeset for stale error message fix
  • c8db03c fix(build): emit errors.ts from generator so compiled bundle matches errors.md
  • 45e4b84 docs(agents): drop duplicated Float and new Array rules
  • 368fb93 docs: drop v3/v4 history from keyframes untagged-string error
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for styled-components since your current version.


@dependabot dependabot Bot added dependencies This task relies on an external source javascript Pull requests that update javascript code labels Apr 22, 2026
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/styled-components-6.4.1 branch 2 times, most recently from 5289fc2 to ffae4c3 Compare April 22, 2026 11:50
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/styled-components-6.4.1 branch 8 times, most recently from cd5d377 to 08af309 Compare May 8, 2026 12:04
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/styled-components-6.4.1 branch 2 times, most recently from 6703bcc to a889137 Compare May 13, 2026 12:27
Bumps [styled-components](https://github.com/styled-components/styled-components) from 5.3.11 to 6.4.1.
- [Release notes](https://github.com/styled-components/styled-components/releases)
- [Commits](https://github.com/styled-components/styled-components/compare/v5.3.11...styled-components@6.4.1)

---
updated-dependencies:
- dependency-name: styled-components
  dependency-version: 6.4.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/styled-components-6.4.1 branch from a889137 to f00257d Compare May 14, 2026 12:38
@sonarqubecloud
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies This task relies on an external source javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants