Skip to content

Latest commit

 

History

History
70 lines (51 loc) · 4.13 KB

CHANGELOG.md

File metadata and controls

70 lines (51 loc) · 4.13 KB

Isomorphic Style Loader Change Log

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

v5.1.0 - 2019-05-27

  • Add useStyles(style) hook for React.js (#159)

v5.0.0 - 2019-02-18

  • Migration to new Context API introduced in React.js 16.3.0 (#141)
    - import withStyles from 'isomorphic-style-loader/lib/withStyles';
    + import withStyles from 'isomorphic-style-loader/withStyles';
  • Allow to override style id prefix with _insertCss({ prefix: 's' }) (#124)
  • Update hoist-non-react-statics from v2 to v3
  • Remove babel-runtime dependency

v4.0.0 - 2017-08-14

  • Bump hoist-non-react-statics and babel-runtime
  • Remove Babel and ESLint sections from package.json
  • Add a safety check on componentWillUnmount of withStyles to only setTimeout if this.removeCss is defined (#104)
  • Call the insertCss with the spread operator (#101)

v3.0.0 - 2017-07-07

  • Bump hoist-non-react-statics (#97)

v2.0.0 - 2017-04-20

  • Pull PropTypes from prop-types package for compatibility with React 15.3.0 and higher (#90)

v1.1.0 - 2016-10-30

  • Disable source maps in IE9 and below, to prevent runtime errors in development mode (#69)
  • Improve source maps support by making sourceURL field unique (#44, #69)
  • Add access to content to deduplicate server-side generated styles (#56)
  • Use HMR (Hot Module Replacement) if available, no debug option required (#57)
  • Use hoist-non-react-statics to copy non-react specific statics from a child to a parent component inside withStyles HOC (Higher-Order Component) (#38)
  • Add CHANGELOG.md file with the past and future (planned) changes to the project

v1.0.0 - 2016-04-15

  • Improve comparability with Hot Module Replacement (HMR) (#33)
  • Add support of ES2015+ decorator syntax, e.g. @withStyles(s) class MyComponent extends Component { .. } PR#21 (BREAKING CHANGE)

v0.0.12 - 2016-03-04

  • Fix style not getting removed for multiple instance (#23)