You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change to content hash for RN canary VERSION strings (#28582)
With this change, the different files in RN will have *different*
hashes. This replaces the git hash and means that the file content
(including version) is only updated when the rest of the file content
actually changes. This should remove "noop" changes that need to be
synced that only update the version string.
A difference to the www implementation here is (and I'd be looking at
updating www as well if this lands well) that each file has an
individual hash instead of a combined content hash. This further reduces
the number of updated files and I couldn't find a reason we need to have
these in sync. The best I can gather is that this hash is used so folks
don't directly compare version string and make future updates harder.
DiffTrain build for commit cb076b5.
Copy file name to clipboardExpand all lines: compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-dev.js
+1-1
Original file line number
Diff line number
Diff line change
@@ -25454,7 +25454,7 @@ if (__DEV__) {
25454
25454
return root;
25455
25455
}
25456
25456
25457
-
var ReactVersion = "18.3.0-canary-9c75cd5e8-20240318";
Copy file name to clipboardExpand all lines: compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-prod.js
+2-2
Original file line number
Diff line number
Diff line change
@@ -9175,7 +9175,7 @@ var devToolsConfig$jscomp$inline_1016 = {
9175
9175
throwError("TestRenderer does not support findFiberByHostInstance()");
9176
9176
},
9177
9177
bundleType: 0,
9178
-
version: "18.3.0-canary-9c75cd5e8-20240318",
9178
+
version: "18.3.0-canary-cb076b593-20240319",
9179
9179
rendererPackageName: "react-test-renderer"
9180
9180
};
9181
9181
varinternals$jscomp$inline_1194={
@@ -9206,7 +9206,7 @@ var internals$jscomp$inline_1194 = {
Copy file name to clipboardExpand all lines: compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-profiling.js
+2-2
Original file line number
Diff line number
Diff line change
@@ -9603,7 +9603,7 @@ var devToolsConfig$jscomp$inline_1058 = {
9603
9603
throwError("TestRenderer does not support findFiberByHostInstance()");
9604
9604
},
9605
9605
bundleType: 0,
9606
-
version: "18.3.0-canary-9c75cd5e8-20240318",
9606
+
version: "18.3.0-canary-cb076b593-20240319",
9607
9607
rendererPackageName: "react-test-renderer"
9608
9608
};
9609
9609
varinternals$jscomp$inline_1235={
@@ -9634,7 +9634,7 @@ var internals$jscomp$inline_1235 = {
0 commit comments