Skip to content

Latest commit

 

History

History
95 lines (59 loc) · 5.46 KB

CHANGELOG.md

File metadata and controls

95 lines (59 loc) · 5.46 KB

2.4.0

  • Allow already injected to be reset (#380)
  • Add TypeScript export for flushToStyleTag (#379)
  • Make parameter typings for StyleSheet.create more typed (#375)
  • Add a more explicit error message when someone tries to pass a plain object instead of a stylesheet into the css() method (#349)
  • Roll up inline-style-prefixer (#364)
  • Update inline-style-prefixer 5.0.4 → 5.1.0 (#373)
  • Fix examples (#367)

2.3.1

  • Use deep import for inline-style-prefixer (#363)

2.3.0

  • Bump inline-style-prefixer 4.0.2 -> 5.0.4 (#358)
  • Update rollup to v1.2.0 and babel to v7 (#362)

2.2.3

  • Bump inline-style-prefixer 4.0.0 -> 4.0.2 (#341)

2.2.2

  • Fix multiple @font-face of the same name (#327)
  • Fix typings to allow for extending (#330)

2.2.1

  • Use code-splitting for default and no-important builds (#325)

2.2.0

  • Expose defaultSelectorHandlers and injectAndGetClassName (#320)

2.1.1

  • Add minify and flushToStyleTag to no-important (#316)

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)