@samitouri / QOS-React-2 / commits / 0229baee21

React DevTools 4.21.0 -> 4.22.0 (#22951)

jstejada committed Dec 14, 2021 at 14:19 UTC 0229baee21e8e6ecef04d4d76c41af84dfcca8bc
8 files changed +49 -10
packages/react-devtools-core/package.json
+1 -1
@@ -1,6 +1,6 @@
1 {
2 "name": "react-devtools-core",
3 - "version": "4.21.0",
3 + "version": "4.22.0",
4 "description": "Use react-devtools outside of the browser",
5 "license": "MIT",
6 "main": "./dist/backend.js",
packages/react-devtools-extensions/chrome/manifest.json
+2 -2
@@ -2,8 +2,8 @@
2 "manifest_version": 2,
3 "name": "React Developer Tools",
4 "description": "Adds React debugging tools to the Chrome Developer Tools.",
5 - "version": "4.21.0",
6 - "version_name": "4.21.0",
5 + "version": "4.22.0",
6 + "version_name": "4.22.0",
7 "minimum_chrome_version": "60",
8 "icons": {
9 "16": "icons/16-production.png",
packages/react-devtools-extensions/edge/manifest.json
+2 -2
@@ -2,8 +2,8 @@
2 "manifest_version": 2,
3 "name": "React Developer Tools",
4 "description": "Adds React debugging tools to the Microsoft Edge Developer Tools.",
5 - "version": "4.21.0",
6 - "version_name": "4.21.0",
5 + "version": "4.22.0",
6 + "version_name": "4.22.0",
7 "minimum_chrome_version": "60",
8 "icons": {
9 "16": "icons/16-production.png",
packages/react-devtools-extensions/firefox/manifest.json
+1 -1
@@ -2,7 +2,7 @@
2 "manifest_version": 2,
3 "name": "React Developer Tools",
4 "description": "Adds React debugging tools to the Firefox Developer Tools.",
5 - "version": "4.21.0",
5 + "version": "4.22.0",
6 "applications": {
7 "gecko": {
8 "id": "@react-devtools",
packages/react-devtools-inline/package.json
+1 -1
@@ -1,6 +1,6 @@
1 {
2 "name": "react-devtools-inline",
3 - "version": "4.21.0",
3 + "version": "4.22.0",
4 "description": "Embed react-devtools within a website",
5 "license": "MIT",
6 "main": "./dist/backend.js",
packages/react-devtools-timeline/package.json
+1 -1
@@ -1,7 +1,7 @@
1 {
2 "private": true,
3 "name": "react-devtools-timeline",
4 - "version": "4.21.0",
4 + "version": "4.22.0",
5 "license": "MIT",
6 "dependencies": {
7 "@elg/speedscope": "1.9.0-a6f84db",
packages/react-devtools/CHANGELOG.md
+39
@@ -2,6 +2,45 @@
2
3 <!-- RELEASE_SCRIPT_TOKEN -->
4
5 +## 4.22.0 (December 13, 2021)
6 +
7 +#### A note for React Native users
8 +React DevTools has [two main pieces](https://github.com/facebook/react/blob/main/packages/react-devtools/OVERVIEW.md#overview):
9 +* The *frontend* users interact with (the Components tree, the Profiler, etc.).
10 +* The *backend* which runs in the same context as React itself. (In the web page with React DOM or shipped on the device with the React Native runtime.)
11 +
12 +This release updates the [**protocol** that DevTools uses](https://github.com/facebook/react/blob/main/packages/react-devtools/OVERVIEW.md#serializing-the-tree) to communicate between the "frontend" and "backend" components.
13 +
14 +Because React Native embeds a copy of the React DevTools "backend" ([`react-devtools-core/backend`](https://www.npmjs.com/package/react-devtools-core)), the "frontend" (UI) needs to match. This means you may be prompted to upgrade (or downgrade) your React DevTools based on which version of React Native your app uses.
15 +
16 +#### Features
17 +* Support multiple DevTools instances per page ([@bvaughn](https://github.com/bvaughn) in [#22949](https://github.com/facebook/react/pull/22949))
18 +* Advocate for StrictMode usage within Components tree ([@bvaughn](https://github.com/bvaughn) in [#22886](https://github.com/facebook/react/pull/22886))
19 +* StyleX plug-in for resolving atomic styles to values for props.xstyle ([@bvaughn](https://github.com/bvaughn) in [#22808](https://github.com/facebook/react/pull/22808))
20 +* Timeline search ([@bvaughn](https://github.com/bvaughn) in [#22799](https://github.com/facebook/react/pull/22799))
21 +* Add test selectors to experimental build ([@bvaughn](https://github.com/bvaughn) in [#22760](https://github.com/facebook/react/pull/22760))
22 +* Timeline: Improved snapshot view ([@bvaughn](https://github.com/bvaughn) in [#22706](https://github.com/facebook/react/pull/22706))
23 +* Display root type for root updates in "what caused this update?" ([@eps1lon](https://github.com/eps1lon) in [#22599](https://github.com/facebook/react/pull/22599))
24 +* Add open in editor for fb ([@ezzak](https://github.com/ezzak) in [#22649](https://github.com/facebook/react/pull/22649))
25 +
26 +#### Bugfix
27 +* DevTools should inject itself for XHTML pages too (not just HTML) ([@bvaughn](https://github.com/bvaughn) in [#22932](https://github.com/facebook/react/pull/22932))
28 +* Don't restore profiling data if we're profling ([@eps1lon](https://github.com/eps1lon) in [#22753](https://github.com/facebook/react/pull/22753))
29 +* DevTools should properly report re-renders due to (use)context changes ([@bvaughn](https://github.com/bvaughn) in [#22746](https://github.com/facebook/react/pull/22746))
30 +* Filter empty commits (all Fibers bailed out) from Profiler ([@bvaughn](https://github.com/bvaughn) in [#22745](https://github.com/facebook/react/pull/22745))
31 +* Accept json file in import fileinput ([@jyash97](https://github.com/jyash97) in [#22717](https://github.com/facebook/react/pull/22717))
32 +* Expose css vars to reach-ui portal components ([@jyash97](https://github.com/jyash97) in [#22716](https://github.com/facebook/react/pull/22716))
33 +* Fix DevTools advanced tooltip display conditional check ([@bvaughn](https://github.com/bvaughn) in [#22669](https://github.com/facebook/react/pull/22669))
34 +
35 +
36 +#### Misc
37 +* Internally log errors occurring or reported to the frontend ([@jstejada](https://github.com/jstejada) in [#22948](https://github.com/facebook/react/pull/22948))
38 +* Emit new event when DevTools connects in standalone app ([@jstejada](https://github.com/jstejada) in [#22848](https://github.com/facebook/react/pull/22848))
39 +* DevTools: Log version in internal logger ([@jstejada](https://github.com/jstejada) in [#22825](https://github.com/facebook/react/pull/22825))
40 +* Proof of Concept for E2E tests using playwright ([@akgupta0777](https://github.com/akgupta0777) in [#22754](https://github.com/facebook/react/pull/22754))
41 +* Add internal link to Scheduling Profiler ([@bvaughn](https://github.com/bvaughn) in [#22730](https://github.com/facebook/react/pull/22730))
42 +
43 +
44 ## 4.21.0 (October 31, 2021)
45
46 #### Features
packages/react-devtools/package.json
+2 -2
@@ -1,6 +1,6 @@
1 {
2 "name": "react-devtools",
3 - "version": "4.21.0",
3 + "version": "4.22.0",
4 "description": "Use react-devtools outside of the browser",
5 "license": "MIT",
6 "repository": {
@@ -20,7 +20,7 @@
20 "electron": "^11.1.0",
21 "ip": "^1.1.4",
22 "minimist": "^1.2.3",
23 - "react-devtools-core": "4.21.0",
23 + "react-devtools-core": "4.22.0",
24 "update-notifier": "^2.1.0"
25 }
26 }