File tree Expand file tree Collapse file tree 2 files changed +23
-3
lines changed
Expand file tree Collapse file tree 2 files changed +23
-3
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
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+
323## @fluent/react 0.10.0 (July 30, 2019)
424
525 - Update to ` @fluent/bundle ` 0.14.0.
Original file line number Diff line number Diff line change 11{
22 "name" : " @fluent/react" ,
33 "description" : " Fluent bindings for React" ,
4- "version" : " 0.10 .0" ,
4+ "version" : " 0.11 .0" ,
55 "homepage" : " https://projectfluent.org" ,
66 "author" : " Mozilla <l10n-drivers@mozilla.org>" ,
77 "license" : " Apache-2.0" ,
5151 "prop-types" : " ^15.6.0"
5252 },
5353 "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"
5656 },
5757 "devDependencies" : {
5858 "@babel/preset-env" : " ^7.5.5" ,
You can’t perform that action at this time.
0 commit comments