styled-components v3.2.0 Release Notes

Release Date: 2018-03-05 // about 6 years ago
    • โœ‚ 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)