Changelog History
Page 7
-
v3.4.1 Changes
August 04, 2018๐ Fixed a bug in typings where
isStyledComponent
was defined using an undefined variable, by @MayhemYDG (see #1876)โ Add error system, by @probablyup (see #1881)
๐ Fix "stream" module not being properly eliminated by rollup, by @probablyup
-
v3.4.0 Changes
August 02, 2018const Comp = styled.div((({ color }) => ({ color, }))
โ Add support for the prop variants used by Preact (
autofocus
,class
,for
), by @probablyup (see #1823)๐ Various performance improvements, by @probablyup (see #1843)
๐ [Internal] Add benchmarking suite, by @mxstbr (see #1833)
-
v3.3.3 Changes
June 20, 2018๐ Fixed a regression when extending a
styled(StyledComponent)
introduced in 3.3.0, by @probablyup (see #1819)๐ Adjust how displayName is generated when not using Babel to properly preserve a displayName passed via
withConfig
, by @probablyup (see #1755)๐ [TS] Fix props being removed when indexed types are passed to WithOptionalTheme, by @devrelm (see #1806)
๐ [TS] Allow TypeScript 2.9.1 to accept tagged template type argument, by @Igorbek (see #1798)
โ Add ref documentation for React.createRef(), by @julmot (see #1792)
-
v3.3.2 Changes
June 04, 2018๐ Allow non-plain objects as
ThemeProvider
themes, by @phyllisstein (see #1780)๐ Update various CI bits, by @probablyup (see #1769)
๐ Reimplement SSR stream handling as a transform stream rather than a second-order readable stream, by @probablyup (see #1768)
๐ Allow React Component as attr, by @valerybugakov (see #1751)
โ Added pointer events to valid attributes check, by @plankguy (see #1790)
๐ v3.3.1 was skipped due to a bad deploy.
-
v3.3.0 Changes
May 25, 2018๐ Fix off-by-one error in insertRuleHelpers.js, by @migueloller (see #1749)
โ Add first-class support for objects, by @mxstbr (see #1732)
const Component = styled.div({ color: 'blue' })
๐ Fix typo in console warning about multiple instances, by @lucianbuzzo (see #1730)
๐ Make the multiple instance warning criteria a little more strict to avoid badgering people running unit tests, by @probablyup (see #1693)
๐ Fix
React.createRef()
values forinnerRef
being ignored in React Native, by @simonbuchan (see #1718)๐ Hoist non-react static properties on wrapped classes, by @probablyup (see #1750)
๐ Support attributes prefixed by
x-
, by @mlecoq (see #1753)
-
v3.2.6 Changes
April 17, 2018๐ Fix
cascade: false
being erroneously set on the Stylis rule splitter (see #1677)๐ Fix typo in
ComponentStyle.js
comments (see #1678)๐ Accept ref forwarding components in styled constructor (see #1658)
๐ Fix onInvalid check in validAttrs, by @slootsantos (see #1668)
๐ Fix
makeSpeedyTag
's css method (see #1663)๐ Fix ComponentStyle caching strategy to take StyleSheet cache into account, by @darthtrevino (see #1634)
โ Add new
test-utils
to simplify finding styled-components in the DOM in unit testing scenarios, by @jamiebuilds (see #1652)โ Add minified commonjs and esm builds for bundle size tracking (see #1681)
-
v3.2.5 Changes
March 30, 2018- ๐ Deprecate experimental preprocess mode, by @Samatar26 (see #1619)
- Added ability to override
SC_ATTR
viaprocess.env.SC_ATTR
(see #1632)
-
v3.2.3 Changes
March 14, 2018- ๐ Fix SSR memory leak where StyleSheet clones are never freed (see #1612)
-
v3.2.2 Changes
March 13, 2018๐ Fix ServerTag.clone() not properly cloning its names and markers (see #1605)
๐ Fix nested media at-rules by upgrading to stylis@3.5.0 and stylis-rule-sheet@0.0.10 (see #1595)
๐ Fix the
IS_BROWSER
check to work more reliably in projects wherewindow
may be shimmed, by @danieldunderfelt (see #1599)