File tree 2 files changed +23
-3
lines changed
2 files changed +23
-3
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ ## @fluent/react 0.11.0 (January 23, 2020)
4
+
5
+ - Use the offical stable React Context API. (#406 )
6
+
7
+ ` @fluent/react ` used to use the [ legacy React Context
8
+ API] ( https://reactjs.org/docs/legacy-context.html ) . Thanks to @Gregoor ,
9
+ we now use the official [ React Context
10
+ API] ( https://reactjs.org/docs/context.html ) instead.
11
+
12
+ ` @fluent/react ` bundle size is now around 15% smaller (1.5 KB minified
13
+ and gzipped).
14
+
15
+ - Require React 16.8+.
16
+
17
+ The switch to the new React Context API requires that we drop support for
18
+ old versions of React, like 0.14 and 15. Additionally, ` @fluent/react `
19
+ uses hooks under the hood now, which require at least React 16.8.
20
+
21
+ - Accept ` @fluent/bundle ` 0.15 as peer dependency.
22
+
3
23
## @fluent/react 0.10.0 (July 30, 2019)
4
24
5
25
- Update to ` @fluent/bundle ` 0.14.0.
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @fluent/react" ,
3
3
"description" : " Fluent bindings for React" ,
4
- "version" : " 0.10 .0" ,
4
+ "version" : " 0.11 .0" ,
5
5
"homepage" : " https://projectfluent.org" ,
6
6
"author" :
" Mozilla <[email protected] >" ,
7
7
"license" : " Apache-2.0" ,
51
51
"prop-types" : " ^15.6.0"
52
52
},
53
53
"peerDependencies" : {
54
- "@fluent/bundle" : " >=0.14.0 <0.15 .0" ,
55
- "react" : " ^0.14.9 || ^15.0.0 || ^ 16.0 .0"
54
+ "@fluent/bundle" : " >=0.14.0 <0.16 .0" ,
55
+ "react" : " >= 16.8 .0"
56
56
},
57
57
"devDependencies" : {
58
58
"@babel/preset-env" : " ^7.5.5" ,
You can’t perform that action at this time.
0 commit comments