radium v0.15.0 Release Notes

Release Date: 2015-11-11 // over 8 years ago
  • ๐Ÿ†• 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