Skip to content

Latest commit

 

History

History
54 lines (35 loc) · 3.78 KB

CHANGELOG.md

File metadata and controls

54 lines (35 loc) · 3.78 KB

2.1.0

  • Expose flushToStyleTag (#310)

2.0.0

  • Selector handlers now must return an array of rules. Returning a string containing multiple rules is deprecated. The fallback behavior for selector handlers that still return strings is to use media queries, which are not supported in older browsers like Internet Explorer 8, which makes this a breaking change. If you find yourself seeing this warning, you need to update your custom selector handlers to return arrays of strings instead of plain strings. This fallback will be removed entirely in a future major release.
  • insertRule is now used to inject styles to the style element (#240)
  • New minify() controls the minification of style names (defaults to true when process.env.NODE_ENV === 'production') (#291)
  • New TypeScript typings (#302)
  • New StyleSheetTestUtils.getBufferedStyles() (#294)
  • StyleSheetTestUtils will be minified out in production builds (i.e. when process.env.NODE_ENV === 'production') (#305)
  • Reduce bundle size impact by building with rollup instead of webpack (#281)
  • Simplify output for more useful RunKit result (#244)
  • Update inline-style-prefixer dependency to v4 (#297)

1.2.5

  • Allow overriding styles to re-order the styles they override (#279)

1.2.4

  • Minify combined class names in production builds (#248)

1.2.3

  • Revert make string handlers use useImportant(f162220e3

1.2.2

  • Minify selectors when building with process.env.NODE_ENV === 'production' (#246)
  • Make string handlers use useImportant (#256)

1.2.1

  • Fix bug that caused unexpected mutations of nested objects (#231)
  • More optimizations (#233, #216)

1.2.0

  • Allow specifying styles as Maps to guarantee ordering (#200)
  • Replace murmur hash with djb2 hash. This changes all generated classNames. (#203)
  • Misc. optimizations (#201, #202, #204, #205, #206, #207, #208, #213)

1.1.0

1.0.0

0.6.0

  • css() will now accept arbitrarily nested arrays. i.e. instead of css(styles.a, styles.b), you can now do css([styles.a, [styles.b, styles.c]]). (PR #154)
  • Support for multiple font styles with the same font-family. (PR #82)