All Versions
116
Latest Version
Avg Release Cycle
39 days
Latest Release
46 days ago

Changelog History
Page 8

  • v3.2.0 Changes

    March 05, 2018
    • โœ‚ Remove type="text/css"-attribute from style tag to remove warnings from w3c validator (see #1551)

    • โž• Add foreignObject svg element (see #1544)

    • โž• Add controlsList to validAttr list (see #1537)

    • ๐Ÿš€ Enable stylis' semicolon autocompletion which was accidentally disabled for a lot of prior releases (see #1532)

    • ๐Ÿ›  Fix insertRule injection (speedy mode in production) of nested media queries by upgrading stylis-rule-sheet (see #1529 and #1528)

    • โž• Add StyleSheet.remove API method to be able to delete rules related to a component (see #1514)

    • ๐Ÿ’… Replace murmurhash implementation and avoid destructuring tag function arguments (see #1516)

    • ๐Ÿ’… Rewrite and refactor StyleSheet and ServerStyleSheet (no breaking change, see #1501)

    • โž• Add warning if there are several instances of styled-components initialized on the page (see #1412)

    • โž• Add target prop to StyleSheetManager component to enable specifying where style tags should render (see #1491)

  • v3.1.6 Changes

    February 03, 2018
    • ๐Ÿ›  Bugfix for the last style tag sometimes being emitted multiple times during streaming (see #1479)

    • ๐Ÿ›  Bugfix for speedy mode rehydration and added handling for out-of-order style injection (see #1482)

  • v3.1.5 Changes

    February 01, 2018
    • ๐Ÿ’… Apply a workaround to re-enable "speedy" mode for IE/Edge (see #1468)

    • ๐Ÿ›  Fix memory leak in the server-side streaming logic (see #1475)

  • v3.1.4 Changes

    January 29, 2018
    • ๐Ÿ’… Disable "speedy" mode for IE and Edge. There seems to be some incompatibility with how the insertRule API functions in their rendering stack compared to the other vendors. (see #1465)
  • v3.1.3 Changes

    January 29, 2018
    • ๐Ÿ’… Disable "speedy" mode for non-production environments, fixes jest-styled-components compatibility (see #1460)
  • v3.1.1 Changes

    January 29, 2018
    • ๐Ÿš‘ Hotfix for importing in ReactNative, thanks to @vvasilev- (see #1455)
  • v3.1.0 Changes

    January 29, 2018
    • ๐Ÿ’… Compile out error messages for production builds (see #1445)
    • ๐Ÿ’… Use much faster CSS injection in the browser, by @schwers and @philpl (see #1208)
    • โž• Add support for streaming server-side rendering, by @probablyup (see #1430)
  • v3.0.2 Changes

    January 22, 2018
    • โž• Add secret internals for jest-styled-components (do not use or you will be haunted by spooky ghosts :ghost:) (see #1438)
  • v3.0.1 Changes

    January 22, 2018
    • โž• Add support for SafeAreaView when using styled-components in a React Native project (see #1339)

    • โœ‚ Remove support for deprecated Navigator when using styled-components in a React Native project (see #1339)

    • ๐Ÿ’… Ship flat bundles for each possible entry, thanks to @Andarist (see #1362)

    • โž• Add ESLint precommit hook, thanks to @lukebelliveau (see #1393)

    • ๐Ÿ›  Fixed nested themes not being republished on outer theme changes, thanks to @Andarist (see #1382)

    • โž• Add warning if you've accidently imported 'styled-components' on React Native instead of 'styled-components/native', thanks to @tazsingh and @gribnoysup (see #1391 and #1394)

    • ๐Ÿ›  Fixed bug where innerRef could be passed as undefined to components when using withTheme. This could cause issues when using prop spread within the component (e.g. {...this.props}), because React will still warn you about using a non-dom prop even though it's undefined. (see #1414)

    • ๐Ÿ’… Expose isStyledComponent utility as a named export. This functionality is useful in some edge cases, such as knowing whether or not to use innerRef vs ref and detecting if a component class needs to be wrapped such that it can be used in a component selector. (see #1418)

    • โœ‚ Remove trailing commas on function arguments (not compatible with ES5 JS engines)

    • ๐Ÿ’… Ship source maps (see #1425)

    • ๐Ÿ’… Upgrade test suites to run against react v16 (see #1426)

    • ๐Ÿ’… Streaming rendering support (requires React 16, see #1430)

  • v2.4.0 Changes

    December 22, 2017
    • โœ‚ remove some extra information from the generated hash that can differ between build environments (see #1381)