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
andServerStyleSheet
(no breaking change, see #1501)โ Add warning if there are several instances of
styled-components
initialized on the page (see #1412)โ Add
target
prop toStyleSheetManager
component to enable specifying where style tags should render (see #1491)