Changelog History
Page 8
-
v3.2.1 Changes
March 07, 2018 -
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
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)
-
v3.1.6 Changes
February 03, 2018 -
v3.1.5 Changes
February 01, 2018 -
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)
- ๐
Disable "speedy" mode for IE and Edge. There seems to be some incompatibility with how the
-
v3.1.3 Changes
January 29, 2018- ๐
Disable "speedy" mode for non-production environments, fixes
jest-styled-components
compatibility (see #1460)
- ๐
Disable "speedy" mode for non-production environments, fixes
-
v3.1.1 Changes
January 29, 2018- ๐ Hotfix for importing in ReactNative, thanks to @vvasilev- (see #1455)
-
v3.1.0 Changes
January 29, 2018 -
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 useinnerRef
vsref
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)