From 545edba913b0170450a4f8b6ad9a7a0544a67108 Mon Sep 17 00:00:00 2001 From: Dmitry Soshnikov Date: Sun, 17 May 2015 00:15:21 -0700 Subject: [PATCH 1/4] [jest] Update to v0.4.4 --- package.json | 2 +- packager/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index e47335eef4f9ce..cb297cb78d1345 100644 --- a/package.json +++ b/package.json @@ -68,7 +68,7 @@ "yargs": "1.3.2" }, "devDependencies": { - "jest-cli": "0.4.3", + "jest-cli": "0.4.4", "eslint": "0.9.2" } } diff --git a/packager/package.json b/packager/package.json index 3eaf2f3b9fece5..521de63c446340 100644 --- a/packager/package.json +++ b/packager/package.json @@ -25,7 +25,7 @@ }, "dependencies": {}, "devDependencies": { - "jest-cli": "0.4.3", + "jest-cli": "0.4.4", "eslint": "0.9.2" } } From 407d8d4cf6ad07ebb4742a0422ed6595214346f2 Mon Sep 17 00:00:00 2001 From: Amjad Masad Date: Sun, 17 May 2015 02:45:42 -0700 Subject: [PATCH 2/4] [react-native] Update jest to get perf bugfix --- package.json | 2 +- packager/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index cb297cb78d1345..63ef2b058e6db8 100644 --- a/package.json +++ b/package.json @@ -68,7 +68,7 @@ "yargs": "1.3.2" }, "devDependencies": { - "jest-cli": "0.4.4", + "jest-cli": "0.4.5", "eslint": "0.9.2" } } diff --git a/packager/package.json b/packager/package.json index 521de63c446340..f3af007f350581 100644 --- a/packager/package.json +++ b/packager/package.json @@ -25,7 +25,7 @@ }, "dependencies": {}, "devDependencies": { - "jest-cli": "0.4.4", + "jest-cli": "0.4.5", "eslint": "0.9.2" } } From a4e89d71a3214d35f029188fe236f49189050bc1 Mon Sep 17 00:00:00 2001 From: Tadeu Zagallo Date: Sun, 17 May 2015 18:32:00 -0700 Subject: [PATCH 3/4] [ReactNative] Fix RCTBatchedBridge main thread invalidation Summary: D2052669 introduced a block for objects that had to be invalidated on the main thread, but after the JS thread objects, but the block was being dispatched on the JS thread. @public Test Plan: I added `RCTAssertMainThread()` to the `mainThreadInvalidate` block, it was crashing on reload, but now it should work as expected. --- React/Base/RCTBridge.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/React/Base/RCTBridge.m b/React/Base/RCTBridge.m index 42973a3b6d0ef2..5e1aa7f27ce653 100644 --- a/React/Base/RCTBridge.m +++ b/React/Base/RCTBridge.m @@ -1182,6 +1182,7 @@ - (void)invalidate } void (^mainThreadInvalidate)(void) = ^{ + RCTAssertMainThread(); [_mainDisplayLink invalidate]; _mainDisplayLink = nil; @@ -1221,7 +1222,7 @@ - (void)invalidate /** * Main Thread deallocations */ - mainThreadInvalidate(); + dispatch_async(dispatch_get_main_queue(), mainThreadInvalidate); }]; } From eedb880f6e6775855d8be8f0ba0d015f0a1b5228 Mon Sep 17 00:00:00 2001 From: Tadeu Zagallo Date: Sun, 17 May 2015 19:07:45 -0700 Subject: [PATCH 4/4] [ReactNative] Bump package.json version to 0.4.4 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 63ef2b058e6db8..3fffc54910936c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native", - "version": "0.4.1", + "version": "0.4.4", "description": "A framework for building native apps using React", "repository": { "type": "git",