Skip to content

Commit 9851d94

Browse files
committed
Update changelog.md
1 parent a4c20c5 commit 9851d94

File tree

1 file changed

+30
-25
lines changed

1 file changed

+30
-25
lines changed

changelog.md

Lines changed: 30 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,19 @@ Since you are interested in what happens next, in case, you work for a for-profi
66

77
### Improvements
88

9-
- [jss] `Styles` now supports `ClassNames`, `Props`/`Data`, and `Theme` as type parameters (eg. `Styles<Names, Data, Theme>`). [1460](https://github.com/cssinjs/jss/pull/1460)
10-
- [react-jss] `withStyles` and `createUseStyles` now support `ClassNames`, `Props`, and `Theme` as type parameters (eg. `createUseStyles<Names, Props, Theme>`). [1460](https://github.com/cssinjs/jss/pull/1460)
11-
- [react-jss] `useStyles` finally expects the correct argument type: a `Props` object with an optional `Theme` property (both determined from `createUseStyles`). [1460](https://github.com/cssinjs/jss/pull/1460)
9+
- [*] 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](https://github.com/cssinjs/jss/issues/1456)
10+
- [jss] Use `globalThis` to support secure version of JavaScript
11+
- [jss][ts] `Styles` now supports `ClassNames`, `Props`/`Data`, and `Theme` as type parameters (eg. `Styles<Names, Data, Theme>`). [1460](https://github.com/cssinjs/jss/pull/1460)
12+
called SES [1449](https://github.com/cssinjs/jss/pull/1449)
13+
- [react-jss][ts] `withStyles` and `createUseStyles` now support `ClassNames`, `Props`, and `Theme` as type parameters (eg. `createUseStyles<Names, Props, Theme>`). [1460](https://github.com/cssinjs/jss/pull/1460)
14+
- [react-jss][ts] `useStyles` finally expects the correct argument type: a `Props` object with an optional `Theme` property (both determined from `createUseStyles`). [1460](https://github.com/cssinjs/jss/pull/1460)
15+
- [react-jss][ts] Support global TS theme definition [1453](https://github.com/cssinjs/jss/pull/1453)
16+
- [react-jss][ts] Allow partial `classes` prop in `withStyles()` [1428](https://github.com/cssinjs/jss/issues/1428)
1217

1318
### Breaking Changes
1419

15-
- [react-jss] `Theme` is no longer the first generic type parameter for `createUseStyles`. [1460](https://github.com/cssinjs/jss/pull/1460)
16-
- There are two main ways to tell TypeScript your `Theme`'s type without reaching over the other type parameters:
20+
- [react-jss][ts] `Theme` is no longer the first generic type parameter for `createUseStyles`. [1460](https://github.com/cssinjs/jss/pull/1460)
21+
- There are two main ways to tell TS your `Theme`'s type without reaching over the other type parameters:
1722

1823
Using the function argument.
1924

@@ -38,7 +43,7 @@ const useStyles = createUseStyles({
3843
### Bug fixes
3944

4045
- [jss-plugin-default-unit] Fix crash in Chrome 88 when NaN is used by the user [1446](https://github.com/cssinjs/jss/pull/1446)
41-
- [jss] Fix TS intellisense suggestions [1423](https://github.com/cssinjs/jss/pull/1423)
46+
- [jss][ts] Fix intellisense suggestions [1423](https://github.com/cssinjs/jss/pull/1423)
4247

4348
### Improvements
4449

@@ -50,7 +55,7 @@ const useStyles = createUseStyles({
5055

5156
### Bug fixes
5257

53-
- [jss] Restore TypeScript support for Observable styles [1402](https://github.com/cssinjs/jss/pull/1402)
58+
- [jss][ts] Restore support for Observable styles [1402](https://github.com/cssinjs/jss/pull/1402)
5459
- [jss-plugin-default-unit] Fix missing default unit for 0ms and 0% [1413](https://github.com/cssinjs/jss/pull/1413)
5560

5661
### Improvements
@@ -61,7 +66,7 @@ const useStyles = createUseStyles({
6166
- [*] Upgrade flow to 0.138.0 [1425](https://github.com/cssinjs/jss/pull/1425)
6267
- [jss-plugin-default-unit] Add gap unit [1403](https://github.com/cssinjs/jss/pull/1403)
6368
- [jss-plugin-default-unit] Add default units to logical properties [1415](https://github.com/cssinjs/jss/pull/1415)
64-
- [jss] Improve deleteRule() performance [1424](https://github.com/cssinjs/jss/pull/1424)
69+
- [jss] Improve `deleteRule()` performance [1424](https://github.com/cssinjs/jss/pull/1424)
6570

6671
## 10.4.0 (2020-8-14)
6772

@@ -72,25 +77,25 @@ const useStyles = createUseStyles({
7277

7378
### Improvements
7479

75-
- [jss] Bump `csstype` to 3.0.2 [1379](https://github.com/cssinjs/jss/pull/1379)
76-
- [react-jss] TypeScript support for innerRef prop [1355](https://github.com/cssinjs/jss/pull/1355)
77-
- [react-jss] TypeScript fix theme types [1349](https://github.com/cssinjs/jss/pull/1349)
78-
- [react-jss] Add properly react default props types calculation [1353](https://github.com/cssinjs/jss/pull/1353)
80+
- [jss][ts] Bump `csstype` to 3.0.2 [1379](https://github.com/cssinjs/jss/pull/1379)
81+
- [react-jss][ts] TS support for innerRef prop [1355](https://github.com/cssinjs/jss/pull/1355)
82+
- [react-jss][ts] TS fix theme types [1349](https://github.com/cssinjs/jss/pull/1349)
83+
- [react-jss][ts] Add properly react default props types calculation [1353](https://github.com/cssinjs/jss/pull/1353)
7984
- [react-jss] Upgrade Theming to 3.3.0 [1382](https://github.com/cssinjs/jss/pull/1382)
8085
- [*] Upgrade flowtype to 0.131.0 [1382](https://github.com/cssinjs/jss/pull/1382)
8186

8287
## 10.3.0 (2020-6-10)
8388

8489
### Improvements
8590

86-
- [jss, react-jss] TS fixes, allow autocomplete for CSS rules [1352](https://github.com/cssinjs/jss/pull/1352)
91+
- [jss, react-jss][ts] ts fixes, allow autocomplete for CSS rules [1352](https://github.com/cssinjs/jss/pull/1352)
8792

8893
## 10.2.0 (2020-6-3)
8994

9095
### Improvements
9196

92-
- [react-jss] TS fixes [1310](https://github.com/cssinjs/jss/pull/1310)
93-
- [jss] TS fixes [1318](https://github.com/cssinjs/jss/pull/1318)
97+
- [react-jss][ts] ts fixes [1310](https://github.com/cssinjs/jss/pull/1310)
98+
- [jss][ts] ts fixes [1318](https://github.com/cssinjs/jss/pull/1318)
9499
- [examples] Convert plugin examples to codesandbox [1316](https://github.com/cssinjs/jss/pull/1316)
95100

96101
### Bug fixes
@@ -114,7 +119,7 @@ const useStyles = createUseStyles({
114119
### Improvements
115120

116121
- [jss-plugin-rule-value-function] Add warning when using a function value inside a function rule ([1285](https://github.com/cssinjs/jss/pull/1285))
117-
- [react-jss] Typescript support for createUseStyles theme ([1294](https://github.com/cssinjs/jss/pull/1294))
122+
- [react-jss][ts] Typescript support for createUseStyles theme ([1294](https://github.com/cssinjs/jss/pull/1294))
118123
- [jss, react-jss] - `getDynamicStyles` utility function was originally exposed from `jss` package, but I don't think it was used externally, so I moved it to `react-jss` package and made it internal. If you have been using it as public API let me know, we will have to revert the change.
119124
- [examples] Migrate examples to monorepo ([1306](https://github.com/cssinjs/jss/pull/1306))
120125

@@ -132,7 +137,7 @@ const useStyles = createUseStyles({
132137

133138
### Improvements
134139

135-
- [css-jss] Add TypeScript type definitions ([1247](https://github.com/cssinjs/jss/pull/1247))
140+
- [css-jss][ts] Add TS type definitions ([1247](https://github.com/cssinjs/jss/pull/1247))
136141
- [react-jss] Accept options.generateId in useStyles() and withStyles() as an option ([1263](https://github.com/cssinjs/jss/pull/1263))
137142

138143
## 10.0.3 (2020-1-1)
@@ -145,7 +150,7 @@ const useStyles = createUseStyles({
145150
### Bug fixes
146151

147152
- [jss] Fix `create` definitions to allow `minify: boolean` ([1218](https://github.com/cssinjs/jss/pull/1218))
148-
- [jss] Fix `Name` Typescript constraint ([1218](https://github.com/cssinjs/jss/pull/1218))
153+
- [jss][ts] Fix `Name` Typescript constraint ([1218](https://github.com/cssinjs/jss/pull/1218))
149154

150155
## 10.0.2 (2019-12-30)
151156

@@ -172,7 +177,7 @@ A higher level overview of v10 release.
172177
- [jss] Function values, function rules and observables apply plugins by default now, which means they can support all kinds of syntaxes: e.g. fallbacks, media queries, nesting, global styles.
173178
- [jss] Houdini Typed CSSOM Values are supported now.
174179
- [all] Each package supports ESM modules import, also possible directly from https://unpkg.com/.
175-
- [all] Added TypeScript type definitions to this repository.
180+
- [all][ts] Added TS type definitions to this repository.
176181

177182
For more details please read the rest of the changelog.
178183

@@ -209,7 +214,7 @@ For more details please read the rest of the changelog.
209214

210215
### Improvements
211216

212-
- [react-jss] Improve TypeScript definitions and add missing definition for `createUseStyles` ([1155](https://github.com/cssinjs/jss/pull/1155))
217+
- [react-jss][ts] Improve TS definitions and add missing definition for `createUseStyles` ([1155](https://github.com/cssinjs/jss/pull/1155))
213218
- [jss-plugin-default-unit] Consistent usage of the CSS browser API ([1168](https://github.com/cssinjs/jss/pull/1168))
214219

215220
## 10.0.0-alpha.23 (2019-7-20)
@@ -263,8 +268,8 @@ For more details please read the rest of the changelog.
263268
### Bug fixes
264269

265270
- [jss] After attempting to insert an invalid rule, JSS is now able to insert a valid one ([#1123](https://github.com/cssinjs/jss/pull/1123))
266-
- [react-jss] Fix TS type optional `theming` property ([#1121](https://github.com/cssinjs/jss/pull/1121))
267-
- [react-jss] Export useTheme in TypeScript declaration ([#1124](https://github.com/cssinjs/jss/pull/1124))
271+
- [react-jss][ts] Fix type optional `theming` property ([#1121](https://github.com/cssinjs/jss/pull/1121))
272+
- [react-jss][ts] Export useTheme in TS declaration ([#1124](https://github.com/cssinjs/jss/pull/1124))
268273

269274
## 10.0.0-alpha.17 (2019-6-7)
270275

@@ -326,7 +331,7 @@ For more details please read the rest of the changelog.
326331
### Improvements
327332

328333
- [all] All packages except of react-jss can now be used as ESM modules directly from unpkg.com ([1029](https://github.com/cssinjs/jss/pull/1029))
329-
- [jss] Improve TS typings ([#973](https://github.com/cssinjs/jss/pull/973))
334+
- [jss][ts] Improve typings ([#973](https://github.com/cssinjs/jss/pull/973))
330335

331336
## 10.0.0-alpha.10 (2019-2-9)
332337

@@ -361,7 +366,7 @@ For more details please read the rest of the changelog.
361366
### Bug fixes
362367

363368
- [all] Fix npm repo urls ([#983](https://github.com/cssinjs/jss/pull/983))
364-
- [jss] Declare ES classes as TypeScript classes instead of interfaces ([#971](https://github.com/cssinjs/jss/pull/971))
369+
- [jss][ts] Declare ES classes as TS classes instead of interfaces ([#971](https://github.com/cssinjs/jss/pull/971))
365370

366371
### Improvements
367372

@@ -433,7 +438,7 @@ Republish of alpha 5 with properly building the code.
433438
- [react-jss] Remove old lifecycle hooks ([#834](https://github.com/cssinjs/jss/pull/834))
434439
- [react-jss] Add flow types ([#818](https://github.com/cssinjs/jss/pull/818))
435440
- [all] Migrate to a monorepo using yarn workspaces and lerna ([#729](https://github.com/cssinjs/jss/pull/729))
436-
- [all] Add TypeScript definitions to all packages ([#889](https://github.com/cssinjs/jss/pull/889))
441+
- [all][ts] Add TS definitions to all packages ([#889](https://github.com/cssinjs/jss/pull/889))
437442

438443
### Breaking changes
439444

0 commit comments

Comments
 (0)