Skip to content

fix(deps): update major to v6#166

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/major-6-major
Open

fix(deps): update major to v6#166
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/major-6-major

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Jul 2, 2023

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
@testing-library/jest-dom 5.16.46.9.1 age confidence
gts 3.1.06.0.2 age confidence
styled-components (source) 5.3.56.4.2 age confidence
typescript (source) 4.7.46.0.3 age confidence
webpack-cli (source) 4.10.06.0.1 age confidence

Release Notes

testing-library/jest-dom (@​testing-library/jest-dom)

v6.9.1

Compare Source

Bug Fixes

v6.9.0

Compare Source

Features

v6.8.0

Compare Source

Features

v6.7.0

Compare Source

Features

v6.6.4

Compare Source

Performance Improvements

v6.6.3

Compare Source

Bug Fixes
  • add vitest import when extending vitest matchers (#​646) (5ba0156)

v6.6.2

Compare Source

Bug Fixes

v6.6.1

Compare Source

Bug Fixes

v6.6.0

Compare Source

Features

v6.5.0

Compare Source

Features

v6.4.8

Compare Source

Bug Fixes

v6.4.7

Compare Source

Bug Fixes

v6.4.6

Compare Source

Bug Fixes

v6.4.5

Compare Source

Bug Fixes

v6.4.4

Compare Source

Bug Fixes

v6.4.3

Compare Source

Bug Fixes
  • Updates role support for aria-required attribute in toBeRequired (#​590) (20aca33)

v6.4.2

Compare Source

Bug Fixes
  • Remove errant export of GetByRoleMatcher, fixing type checking in some TS configurations (#​575) (a93c0c4)

v6.4.1

Compare Source

Bug Fixes
  • Export type TestingLibraryMatchers from "./matchers" (#​576) (dd1c4dd)

v6.4.0

Compare Source

Features

v6.3.0

Compare Source

Features

v6.2.1

Compare Source

Bug Fixes
  • Standalone types for "./matchers" export and add Bun support (#​566) (5675b86)

v6.2.0

Compare Source

Features
  • toHaveAccessibleDescription supports aria-description (#​565) (1fb156c)

v6.1.6

Compare Source

Bug Fixes

v6.1.5

Compare Source

Bug Fixes

v6.1.4

Compare Source

Bug Fixes
  • upgrade @adobe/css-tools to 4.3.1 to address vulnerability (#​532) (44f1eab)

v6.1.3

Compare Source

Bug Fixes

v6.1.2

Compare Source

Bug Fixes

v6.1.1

Compare Source

Bug Fixes

v6.1.0

Compare Source

Features

v6.0.1

Compare Source

Bug Fixes
  • matchers type is making the global expect unsafe (#​513) (bdb34f1)

v6.0.0

Compare Source

Features
BREAKING CHANGES
  • Removes the extend-expect script. Users should use
    the default import path or one of the new test platform-specific
    paths to automatically extend the appropriate "expect" instance.

extend-expect was not documented in the Readme, so this change should
have minimal impact.

Users can now use the following import paths to automatically extend
"expect" for their chosen test platform:

For example:

import '@​testing-library/jest-dom/jest-globals'

Importing from one of the above paths will augment the appropriate
matcher interface for the given test platform, assuming the import
is done in a .ts file that is included in the user's tsconfig.json.

It's also (still) possible to import the matchers directly without
side effects:

import * as matchers from '@​testing-library/jest-dom/matchers'

  • Update kcd-scripts
  • Drop node < 14

v5.17.0

Compare Source

Features
  • New toHaveAccessibleErrorMessage better implementing the spec, deprecate toHaveErrorMessage (#​503) (d717c66)

v5.16.5

Compare Source

Bug Fixes
google/gts (gts)

v6.0.2

Compare Source

Bug Fixes

v6.0.1

Compare Source

Bug Fixes

v6.0.0

Compare Source

⚠ BREAKING CHANGES
  • Update '.prettierrc.json' to include trailingComma: "all" to match internal Google config (#​822)
  • Update typescript and other dependencies (#​902)
  • Set no-floating-promises to error (#​901)
  • Set composite: true in tsconfig-google.json (#​899)
  • Set stripInternal in tsconfig-google.json (#​900)
  • Support Node 18+ (#​896)
Features
Bug Fixes

v5.3.1

Compare Source

Bug Fixes
  • deps: replace dependency eslint-plugin-node with eslint-plugin-n (#​865) (efbe3a8)
  • deps: update dependency eslint to v8.57.0 (#​833) (0c0a45c)
  • deps: update dependency prettier to v3.2.5 (#​846) (7e60e38)
Performance Improvements
  • Supercharge Performance & Efficiency: Leveraging Promise.all for Resource-Friendly Tasks 🚤 (#​838) (7424fe1)

v5.3.0

Compare Source

Features
Bug Fixes

v5.2.0

Compare Source

Features

v5.1.1

Compare Source

Bug Fixes
  • revert feat: no-floating-promises (44de7f7)

v5.1.0

Compare Source

Features
Bug Fixes

v5.0.1

Compare Source

Features
Bug Fixes

v5.0.0

Compare Source

⚠ BREAKING CHANGES
  • Upgrade to node 14 as the minimum version (#​771)
Bug Fixes
Miscellaneous Chores

v4.0.1

Compare Source

Bug Fixes

v4.0.0

Compare Source

⚠ BREAKING CHANGES
  • drop support for node.js 10.x (#​686)
Features
Bug Fixes
Build System

v3.1.1

Compare Source

Features
Bug Fixes
styled-components/styled-components (styled-components)

v6.4.2

Compare Source

Patch Changes
  • 9945904: Restore TypeScript prop autocomplete inside the JSX of a styled component once the first attribute is typed.
  • 9945904: Apply all chain levels' styles when an extended styled component renders with the as prop under Preact's react-compat.
  • 9945904: 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.
  • 9945904: 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.
  • 9945904: Restore reliable styling in production browser bundles built without a runtime process global.

v6.4.1

Compare Source

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.

v6.4.0

Compare Source

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: '#&#8203;0070f3' } });
    // theme.colors.primary → "var(--sc-colors-primary, #&#8203;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: '#&#8203;000' } });
    
    const DarkOverrides = createGlobalStyle`
      @&#8203;media (prefers-color-scheme: dark) {
        :root {
          ${vars.colors.bg}: #&#8203;111;
          ${vars.colors.text}: #eee;
        }
      }
    `;

    Options: prefix (default "sc"), selector (default ":root", use ":host" for Shadow DOM).

  • 79cc7b4: Add first-class CSP nonce support. Nonces can now be configured via StyleSheetManager's nonce prop (recommended for Next.js, Remix), ServerStyleSheet's constructor, <meta property="csp-nonce"> (Vite convention), <meta name="sc-nonce">, or the legacy __webpack_nonce__ global.

  • b0f3d29: Rearchitect createGlobalStyle to use shared stylesheet groups.

    All instances of a createGlobalStyle component now share a single stylesheet group, registered once at definition time. This fixes unmounting one instance removing styles needed by others (#​5695), styles scattering after remount (#​3146), and group ID leaks during SSR (#​3022).

    CSS injection order is now fully determined at definition time (lower group ID = earlier in stylesheet). Render order no longer affects CSS order. Keyframes defined before a component correctly appear before that component's rules.

    Also fixes: O(n^2) performance regression in jsdom test environments from unbounded rule accumulation, and stale static global styles during client-side HMR (effect deps now include the globalStyle reference so module re-evaluation triggers re-injection).

  • b0f3d29: Significant render performance improvements via three-layer memoization and hot-path micro-optimizations. Client-only; server renders are unaffected.

    Re-renders that don't change styling now skip style resolution entirely. Components sharing the same CSS (e.g., list items) benefit from cross-sibling caching. Hot-path changes include forEachfor/for...of, template literal → manual concat, and reduced allocations.

    Benchmarks vs 6.3.12:

    • Parent re-render (most common): 3.3x faster
    • First mount: 1.7-2.5x faster
    • Prop cycling: 2.3-2.4x faster
    • 10K heavy layouts: 1.9x faster
    • No regressions on any benchmark
  • 9ada92b: React Server Components support: inline style injection, deduplication, and a new stylisPluginRSC for child-index selector fixes.

    Inline style injection: RSC-rendered styled components emit <style data-styled> tags alongside their elements. CSS is deduplicated per render via React.cache (React 19+). Extended components use :where() zero-specificity wrapping on base CSS so extensions always win the cascade regardless of injection order.

    StyleSheetManager works in RSC: stylisPlugins and shouldForwardProp are now applied in server component environments where React context is unavailable.

    stylisPluginRSC — opt-in stylis plugin that fixes :first-child, :last-child, :nth-child(), and :nth-last-child() selectors broken by inline <style> tags shifting child indices. Rewrites them using CSS Selectors Level 4 of S syntax to exclude styled-components style tags from the count.

    import { StyleSheetManager, stylisPluginRSC } from 'styled-components';
    
    <StyleSheetManager stylisPlugins={[stylisPluginRSC]}>{children}</StyleSheetManager>;

    The plugin rewrites :first-child, :last-child, :nth-child(), and :nth-last-child() using CSS Selectors Level 4 of S syntax to exclude injected style tags from the child count.

    Browser support: Chrome 111+, Firefox 113+, Safari 9+ (~93% global). In unsupported browsers, the entire CSS rule is dropped — only opt in if your audience supports it. Use :first-of-type / :nth-of-type() as a universally compatible alternative.

    HMR: Stale styles during client-side HMR are detected and invalidated when module re-evaluation creates new component instances while IDs remain stable (SWC plugin assigns IDs by file location). createGlobalStyle additionally clears stale sheet entries when the instance changes between renders.

    The plugin is fully tree-shakeable — zero bytes in bundles that don't import it.

Patch Changes
  • b0f3d29: Expose as and forwardedAs props in React.ComponentProps extraction for styled components
  • 553cbb4: Fix memory leak in long-running apps using components with free-form string interpolations (e.g. color: ${p => p.$dynamicValue} where the value comes from unbounded user input).
  • b0f3d29: React Native improvements: replaced postcss with a lightweight CSS declaration parser, fixing nanoid crashes in Expo/Metro (#​5705) and improving parse speed 4-6x. Parent re-renders with unchanged children are 2.6-3.2x faster via cache-first render. Updated native component alias list (removed 5 dead components, added 4 missing). Added react-native as an optional peer dependency.
  • 74e8b76: Smaller install footprint via unused dependency cleanup.

v6.3.12

Compare Source

Patch Changes
  • db4f940: Fix test performance regression in 6.3.x by eliminating double style rendering in createGlobalStyle and removing unnecessary DOM queries during cleanup in client/test environments.
  • 1203f80: Fix React Native crash caused by document references in the native build. The native bundle no longer includes DOM code, resolving compatibility with RN 0.79+ and Hermes.
  • 5ef3804: Gracefully handle CSS syntax errors in React Native instead of crashing. Missing semicolons and other syntax issues now log a warning in development and produce an empty style object instead of throwing a fatal error.
  • a777f5a: Preserve explicitly passed undefined props instead of stripping them. This fixes compatibility with libraries like MUI and Radix UI that pass undefined to reset inherited defaults (e.g., role={undefined}). Props set to undefined via .attrs() are still stripped as before.

v6.3.11

Compare Source

Patch Changes
  • 752f5ec: fix: resolve "React is not defined" ReferenceError introduced in 6.3.10 when loading the CJS build in Node.js

v6.3.10

Compare Source

Patch Changes
  • f674224: fix: RSC style tags for extended components have correct href and include base CSS (#​5663)

    • Fix spaces in <style href> attribute that caused React 19 hydration failures when using styled() inheritance
    • Fix missing base component CSS in RSC output when only the extended component renders
    • Emit a separate <style> tag per inheritance level with content-aware hrefs, enabling React 19 deduplication of shared base styles
    • Preserve correct CSS ordering (base before extended) for proper specificity override behavior
  • f674224: Reduce standalone/browser bundle size by making IS_RSC a build-time constant, enabling dead code elimination of RSC-specific branches

v6.3.9

Compare Source

Patch Changes
  • ca61aca: Fix CSS block comments containing // (e.g. URLs) causing subsequent styles to not be applied.
  • a2cd792: Fix createGlobalStyle styles not being removed when unmounted in RSC environments. React 19's precedence attribute on style tags makes them persist as permanent resources; global styles now render without precedence so they follow normal component lifecycle.
  • dbe0aae: In RSC environments, theme is now undefined instead of {} for styled components, matching the existing behavior of withTheme and createGlobalStyle. This ensures accessing theme properties without a ThemeProvider correctly throws rather than silently returning undefined.
  • 1888c73: Fix withTheme HOC types: ref now correctly resolves to the component instance type instead of the constructor, and theme is properly optional in the wrapped component's props.
  • f84f3fa: Fix SSR styles hydration and global style cleanup in Shadow DOM
  • 43a5b4b: Optimize internal style processing hot paths: cached GroupedTag index lookups, string fast path in flatten, direct string concatenation in dynamic style generation, pre-built stylis middleware chain with lazy RegExp creation, single-lookup Map operations, VirtualTag append fast-path, and manual string concat in SSR output.
  • 788e8c0: Revert exports field and restore browser/server build split with browser field in package.json. Fixes require('stream') resolution errors in browser bundlers like webpack 5.

v6.3.8

Compare Source

Patch Changes
  • 55d05c1: Make react-dom an optional peer dependency, clean up some unnecessary type peers.

v6.3.7

Compare Source

Patch Changes
  • 51ffa9c: Fix createGlobalStyle compatibility with React StrictMode and RSC

    This fix addresses issues where global styles would disappear or behave incorrectly in React StrictMode and RSC:

    1. Static styles optimization: Static global styles (without props/interpolations) are now only injected once and won't be removed/re-added on every render. This prevents the style flickering that could occur during concurrent rendering.

    2. StrictMode-aware cleanup: Style cleanup now uses queueMicrotask to coordinate with React's effect lifecycle. In StrictMode's simulated unmount/remount cycle, styles are preserved. On real unmount, styles are properly removed.

    3. RSC compatibility: Move useRef inside RSC guard in createGlobalStyle and unify all useContext calls to use consistent !IS_RSC ? pattern.

    4. RSC inline style tag cleanup: Fix bug where server-defined createGlobalStyle rendered in client components would leave behind accumulated SSR-rendered inline <style data-styled-global> tags. The cleanup effect now removes these hoisted style tags when the component unmounts or re-renders with different CSS.

    These changes ensure createGlobalStyle works correctly with:

    • React StrictMode's double-render behavior
    • React 18/19's concurrent rendering features
    • React 19's style hoisting with the precedence attribute
    • React Server Components (server-defined GlobalStyles in client components)
  • 51ffa9c: Restore styled.br.

  • 1f794b7: Add package.json "exports" field for better native ESM integration.

v6.3.6

Compare Source

Patch Changes
  • 189bc17: Fix url() CSS function values being incorrectly stripped when using unquoted URLs containing // (e.g., url(https://example.com)). The // in protocol URLs like https://, http://, file://, and protocol-relative URLs was incorrectly being treated as a JavaScript-style line comment.

v6.3.5

Compare Source

Patch Changes

Note

PR body was truncated to here.


Configuration

📅 Schedule: (in timezone Asia/Tokyo)

  • Branch creation
    • "before 10:00 on Monday"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates 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 the renovate label Jul 2, 2023
@renovate renovate Bot force-pushed the renovate/major-6-major branch 2 times, most recently from c641e1e to 5930de4 Compare July 7, 2023 20:01
@renovate renovate Bot force-pushed the renovate/major-6-major branch from 5930de4 to 7ccb0c2 Compare July 13, 2023 08:28
@renovate renovate Bot force-pushed the renovate/major-6-major branch from 7ccb0c2 to 533ee8e Compare July 21, 2023 19:39
@renovate renovate Bot force-pushed the renovate/major-6-major branch 2 times, most recently from 6da16af to 53a6e2f Compare August 3, 2023 16:27
@renovate renovate Bot changed the title fix(deps): update dependency styled-components to v6 chore(deps): update major to v6 (major) Aug 13, 2023
@renovate renovate Bot force-pushed the renovate/major-6-major branch 2 times, most recently from c2fad08 to 4533716 Compare August 18, 2023 06:50
@renovate renovate Bot force-pushed the renovate/major-6-major branch 3 times, most recently from d84d817 to d341000 Compare August 24, 2023 11:18
@renovate renovate Bot force-pushed the renovate/major-6-major branch from d341000 to 8667f3f Compare September 6, 2023 04:32
@renovate renovate Bot force-pushed the renovate/major-6-major branch from 8667f3f to 86563e9 Compare September 13, 2023 15:19
@renovate renovate Bot force-pushed the renovate/major-6-major branch 3 times, most recently from 97d23b9 to 7896a1d Compare October 14, 2023 03:33
@renovate renovate Bot force-pushed the renovate/major-6-major branch from 7896a1d to 8dd9f74 Compare November 8, 2023 07:36
@renovate renovate Bot force-pushed the renovate/major-6-major branch from 8dd9f74 to 484715e Compare November 30, 2023 22:48
@renovate renovate Bot force-pushed the renovate/major-6-major branch 2 times, most recently from 8c40921 to 0a37637 Compare December 22, 2023 15:25
@renovate renovate Bot force-pushed the renovate/major-6-major branch 3 times, most recently from 3e992d8 to 9b50854 Compare December 27, 2023 21:19
@renovate renovate Bot force-pushed the renovate/major-6-major branch 3 times, most recently from a634e62 to ae11e52 Compare January 8, 2024 23:03
@renovate renovate Bot force-pushed the renovate/major-6-major branch 2 times, most recently from 999704b to c118afd Compare January 24, 2024 13:10
@renovate renovate Bot force-pushed the renovate/major-6-major branch 2 times, most recently from 51360d2 to fc874e5 Compare July 23, 2024 12:38
@renovate renovate Bot force-pushed the renovate/major-6-major branch 2 times, most recently from 312ce8c to d522574 Compare August 30, 2024 04:35
@renovate renovate Bot force-pushed the renovate/major-6-major branch 4 times, most recently from 40d623c to 52e2c42 Compare October 17, 2024 17:06
@renovate renovate Bot force-pushed the renovate/major-6-major branch 2 times, most recently from ba3dedc to c3d101a Compare October 25, 2024 03:55
@renovate renovate Bot force-pushed the renovate/major-6-major branch from c3d101a to 9e7fda1 Compare October 31, 2024 17:24
@renovate renovate Bot changed the title chore(deps): update major to v6 (major) fix(deps): update major to v6 (major) Dec 10, 2024
@renovate renovate Bot force-pushed the renovate/major-6-major branch 2 times, most recently from 2f929b3 to b7bed77 Compare December 20, 2024 14:19
@renovate renovate Bot force-pushed the renovate/major-6-major branch from b7bed77 to 6d4e086 Compare January 4, 2025 20:13
@renovate renovate Bot force-pushed the renovate/major-6-major branch from 6d4e086 to 3d24a88 Compare February 5, 2025 18:33
@renovate renovate Bot force-pushed the renovate/major-6-major branch from 3d24a88 to 6abdd87 Compare March 17, 2025 20:36
@renovate renovate Bot force-pushed the renovate/major-6-major branch from 6abdd87 to f5bbad6 Compare April 2, 2025 19:29
@renovate renovate Bot force-pushed the renovate/major-6-major branch from f5bbad6 to 1d45854 Compare May 8, 2025 07:20
@renovate renovate Bot force-pushed the renovate/major-6-major branch from 1d45854 to c496891 Compare June 12, 2025 23:31
@renovate renovate Bot force-pushed the renovate/major-6-major branch from c496891 to eb2822d Compare July 26, 2025 20:47
@renovate renovate Bot force-pushed the renovate/major-6-major branch 2 times, most recently from 91d9157 to 7601c16 Compare August 13, 2025 21:24
@renovate renovate Bot force-pushed the renovate/major-6-major branch from 7601c16 to af51079 Compare August 20, 2025 23:13
@renovate renovate Bot force-pushed the renovate/major-6-major branch 3 times, most recently from d5faab3 to 2fd6618 Compare October 1, 2025 21:43
@renovate renovate Bot force-pushed the renovate/major-6-major branch from 2fd6618 to 4cbbe1a Compare October 14, 2025 04:34
@renovate renovate Bot force-pushed the renovate/major-6-major branch from 4cbbe1a to cca4544 Compare October 21, 2025 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants