All Versions
58
Latest Version
Avg Release Cycle
39 days
Latest Release
69 days ago

Changelog History
Page 4

  • v0.16.5

    January 27, 2016

    🐛 Bug Fixes

    • 💅 Don't merge media query styles, fixes #550
    • 🛠 Don't add className if empty, fixes #539

    👌 Improvements

    • 💅 Passing 'all' as the userAgent will add all prefixes, useful for caching server-rendered pages, thanks @oliviertassinari (this applies to inline styles and style rendered as CSS, but does not yet include adding all the prefixed versions of keyframes)
    • ➕ Add support for :visited styles:
    const url = 'https://github.com/formidablelabs/radium';
    const VisitedLink = Radium(() => (
      <a href={url} style={{color: 'gray', ':visited': {color: 'black'}}}>
        {url}
      </a>
    ));
    
  • v0.16.4

    January 23, 2016

    🐛 Bug Fixes

    • Add px suffix if needed before prefixing, since the list in appendPxIfNeeded does not include prefixed variants
    • 💅 Radium now calls toString on values itself, instead of relying on inline-style-prefixer or React to do so (they don't)

    👌 Improvements

    • Much lighter npm install radium by removing babel & co from dependencies before publishing
    • Radium now ignores children or props that are themselves Radium enhanced components, for a nice perf gain. Thanks @spacenick
  • v0.16.3

    January 21, 2016
    • ✅ Published under the test tag, so not installable via npm latest
    • ✅ Forgot to add -test to the version
    • 👀 See changelog for 0.16.4 instead
  • v0.16.2

    January 08, 2016

    🐛 Bug Fixes

    • 💅 <StyleSheet/> Component:
      • Bind the private method _onChange to the class instance
      • Wrap setState in setTimeout and keep track of isMounted, #500
      • Remove duplicate declaration of componentWillUnmount and move this._isMounted = true inside componentDidMount
    • 💅 Clear up docs around StyleRoot props, clear up issues in #496
    • 💅 Properly prefix keyframes: Use inline-style-prefixer’s prefixedKeyframes, #488
    • Ensure unique classname is generated for media query rules (hash on query and ruleCSS string)
  • v0.16.1

    January 05, 2016

    🐛 Bug Fixes

    • 💅 <StyleRoot> no longer throws an error on unmount
  • v0.16.0

    January 05, 2016

    🆕 New Features

    • Server-side rendering for media queries and keyframes!

    💥 Breaking Changes

    🐛 Bug Fixes

    • Don't add extra media query listeners
    • Append px to numeric values on properties that don't accept unitless values

    👌 Improvements

    • 💅 Upgrade inline-style-prefixer to version 0.6.2 (Edge support)
    • 👍 Better error on duplicate keys
    • ⬆️ Upgrade to Babel 6
    • 💅 <Style> adds the scopeSelector to comma separated selectors
    • 💅 <Style> now accepts radiumConfig directly with the userAgent field
  • v0.15.3

    November 16, 2015

    🐛 Bug Fixes

    • 🛠 Fix "files" section in package.json, should fix npm install issues
  • v0.15.2

    November 15, 2015

    🐛 Bug Fixes

    • 🛠 IE vender prefix (ms) is now converted to dash-case correctly (-ms), thanks @PallasKatze, fixes #413
    • 🛠 Super getChildContext is no longer ignored, thanks @richardfickling, fixes #412
    • 💅 Update to inline-style-prefixer v0.5.1 and changed the userAgent error to a console.warning
  • v0.15.1

    November 11, 2015

    🐛 Bug Fixes

    • 🛠 Fix bug where active styles on multiple elements in the same component were not being removed on mouse up, fixes #410
  • v0.15.0

    November 11, 2015

    🆕 New Features

    • 💅 Radium now uses inline-style-prefixer to do all prefixing. Because inline-style-prefixer relies on the userAgent (similar to autoprefixer), it produces the same prefixes on both the client and the server. This is a huge step in making Radium truly universal (see example). Thanks much to @rofrischmann for putting up with my API suggestions and requests!
    • 🔧 Any Radium component can also be configured at render time via a radiumConfig. This was mainly required for passing the userAgent during a server-side render.

    💥 Breaking Changes

    • 💅 Style component no longer supports the prefix prop. It automatically gets the correct userAgent to pass to the prefixer from radiumConfig context

    🐛 Bug Fixes

    • 💅 Radium wrapper now replaces the style propType, if defined, with array or object, fixing #396
    • 👍 Stateless components now support context, thanks @ThomWright
    • Static fields on stateless components are now transferred to the Radium wrapper (defualtProps, propTypes, etc)

    👌 Improvements

    • Code has been ES2015-ified: const and let, import/export, fat arrows,
    • 🚚 Code has moved from modules to src