# Radium Changelog
## 0.18.2 (March 15, 2017)
### Improvements
- Update `inline-style-prefixer` to v2.0.5 (#880).
- Use `React.PureComponent` to avoid unnecessary rendering (#868).
- Update all dependencies
## 0.18.1 (July 19, 2016)
### Bug Fixes
- Fix unused props warning when passing `radiumConfig` to `StyleRoot` (#787).
## 0.18.0 (July 15, 2016)
### Breaking Changes
- Revert `content` auto-quoting in `Style` component (#783).
### Bug Fixes
- Silence React 15.2 unused props deprecation warning (#782).
## 0.17.2 (July 12, 2016)
### Bug Fixes
- Fix `content` values in `Style` component (#719).
- Improve stateless component check to work with native arrow functions (#771).
### Improvements
- Add support for `:disabled` pseudo-class (#689).
- Add plugin to remove nested style objects and prevent `[Object object]` from rendering in the DOM (#703).
## 0.17.1 (March 30, 2016)
### Bug Fixes
- Remove babel modules accidentally published as dependencies.
### Improvements
- Add support for `scopeSelector` without nested selectors in `Style` component.
## 0.17.0 (March 24, 2016)
### Bug Fixes
- Upgrade `inline-style-prefixer` to version `1.0.3` with a fix for `display` values being removed in IE10.
### Improvements
- Add `TestMode` for controlling internal Radium state and behavior during tests.
### Breaking Changes
- `inline-style-prefixer` has updated vendor prefixes, removing some outdated prefixes like `-moz-transform`.
## 0.16.6 (February 9, 2016)
### Bug Fixes
- The `lib/` directory did not get built property in 0.16.6. `lib/` now contains all changes from 0.16.5.
## 0.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:
```jsx
const url = 'https://github.com/formidablelabs/radium';
const VisitedLink = Radium(() =>
{url}
);
```
## 0.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
## 0.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
## 0.16.2 (January 8, 2016)
### Bug Fixes
- ` 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)
## 0.16.1 (January 5, 2016)
### Bug Fixes
- `` no longer throws an error on unmount
## 0.16.0 (January 5, 2016)
### New Features
- Server-side rendering for media queries and keyframes!
### Breaking Changes
- To use keyframes and media queries, you must wrap your components in the `` component, typically in ``: https://github.com/FormidableLabs/radium/tree/master/docs/api#styleroot-component
- The result of Radium.keyframes is the animation name, and should be assigned to the `animationName` prop: https://github.com/FormidableLabs/radium/tree/master/docs/api#keyframes
- printStyles have been removed, in favor of '@media print' media queries, which are now rendered as CSS so they work correctly: https://github.com/FormidableLabs/radium/tree/master/docs/guides#media-queries
### 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
- `