All Versions
43
Latest Version
Avg Release Cycle
36 days
Latest Release
86 days ago

Changelog History
Page 1

  • v10.8.2 Changes

    October 25, 2021

    ๐Ÿ› Bug fixes

    • โช Reverting 1563 because of regression 1565
  • v10.8.1 Changes

    October 16, 2021

    ๐Ÿ› Bug fixes

    • ๐Ÿ”Œ [jss, jss-plugin-global, jss-plugin-nested, jss-plugin-rule-value-function] Fixes a memory leak with nested function rules 1563
  • v10.8.0 Changes

    ๐Ÿ‘Œ Improvements

    • ๐Ÿšš [jss] New option to remove whitespaces. Useful for SSR 1549

    • ๐Ÿšš [all] Flow types are now moved from .js files to .flow type defs 1509

    • โฌ†๏ธ [all] Upgrade typescript to 4.4.2 1550

  • v10.7.1 Changes

    ๐Ÿ› Bug fixes

    • ๐Ÿš€ [jss] Fixes regression from previous release where useStyles() without arguments would throw an error
  • v10.7.0 Changes

    ๐Ÿ‘Œ Improvements

    • ๐Ÿ’… [jss][ts] Improved style type 1521
    • โ™ป๏ธ [react-jss] Refactored JssProvider to function component 1513
    • ๐Ÿ’… [react-jss] Refactored WithStyles to function component 1508
  • v10.6.0 Changes

    ๐Ÿ‘Œ Improvements

    • ๐Ÿ“ฆ [*] Define specific polyfills for specific packages that will be required and define a policy for adding polyfills. Makes sure we will notice if a polyfill is needed in a supported browser by failing the CI. 1456
    • ๐Ÿ‘ [jss] Use globalThis to support secure version of JavaScript called SES 1449
    • ๐Ÿ’… [jss][ts] Styles now supports ClassNames, Props/Data, and Theme as type parameters (eg. Styles<Names, Data, Theme>). 1460
    • ๐Ÿ’… [react-jss][ts] withStyles and createUseStyles now support ClassNames, Props, and Theme as type parameters (eg. createUseStyles<Names, Props, Theme>). 1460
    • ๐Ÿ’… [react-jss][ts] useStyles finally expects the correct argument type: a Props object with an optional Theme property (both determined from createUseStyles). 1460
    • ๐Ÿ‘ [react-jss][ts] Support global TS theme definition 1453
    • ๐Ÿ’… [react-jss][ts] Allow partial classes prop in withStyles() 1428

    ๐Ÿ’ฅ Breaking Changes

    • ๐Ÿ’… [react-jss][ts] Theme is no longer the first generic type parameter for createUseStyles. 1460
      • There are two main ways to tell TS your Theme's type without reaching over the other type parameters:

    Using the function argument.

    const useStyles = createUseStyles(theme: Theme => ({
      ruleName: { /* ... */ };
    }))
    

    Using the object argument with a function. (You will only need to specify the Theme type once.)

    const useStyles = createUseStyles({
      ruleName: ({theme}: {theme: Theme}) => ({
        /* ... */
      })
    })
    
  • v10.5.1 Changes

    ๐Ÿ› Bug fixes

    • 0๏ธโƒฃ [jss-plugin-default-unit] Fix crash in Chrome 88 when NaN is used by the user 1446
    • [jss][ts] Fix intellisense suggestions 1423

    ๐Ÿ‘Œ Improvements

    • 0๏ธโƒฃ [jss-plugin-default-unit] Add px as default unit for text-decoration-thickness 1438
    • 0๏ธโƒฃ [jss-plugin-default-unit] Add px as default unit for row-gap 1436
    • [*] Allow project to be in a directory that contains spaces 1433
  • v10.5.0 Changes

    November 15, 2020

    ๐Ÿ› Bug fixes

    • ๐Ÿ’… [jss] Restore TypeScript support for Observable styles 1402
    • 0๏ธโƒฃ [jss-plugin-default-unit] Fix missing default unit for 0ms and 0% 1413

    ๐Ÿ‘Œ Improvements

    • ๐Ÿ“„ [*] Improve docs 1384, 1387, 1391,
    • ๐Ÿ“ฆ [*] Remove test files from the package 1406
    • โฌ†๏ธ [*] Upgrade rollup 1426
    • โฌ†๏ธ [*] Upgrade flow to 0.138.0 1425
    • 0๏ธโƒฃ [jss-plugin-default-unit] aAdd gap unit 1403
    • 0๏ธโƒฃ [jss-plugin-default-unit] Add default units to logical properties 1415
    • ๐ŸŽ [jss] Improve deleteRule() performance 1424
  • v10.4.0 Changes

    August 14, 2020

    ๐Ÿ› Bug fixes

    • ๐Ÿ”Œ [jss-plugin-extend] Fix can not extend rule name is array 1357
    • ๐Ÿ [*] Fix yarn build for windows 1376

    ๐Ÿ‘Œ Improvements

    • [jss] Bump csstype to 3.0.2 1379
    • ๐Ÿ‘ [react-jss] TypeScript support for innerRef prop 1355
    • [react-jss] TypeScript fix theme types 1349
    • 0๏ธโƒฃ [react-jss] Add properly react default props types calculation 1353
    • โฌ†๏ธ [react-jss] Upgrade Theming to 3.3.0 1382
    • โฌ†๏ธ [*] Upgrade flowtype to 0.131.0 1382
  • v10.3.0 Changes

    June 10, 2020

    ๐Ÿ‘Œ Improvements

    • ๐Ÿ›  [jss, react-jss][ts] ts fixes, allow autocomplete for CSS rules 1352