React-native: Issue to track 0.22 stability

Created on 8 Mar 2016  Â·  27Comments  Â·  Source: facebook/react-native

List of commits to cherry-pick into 0.22-stable branch

  • [x] node-haste fix Windows compat fd816b1
  • [x] live reload 2e9c888dcd9bf1dbfe62282caa9cf35b91630d0a 972395a7c9a72d746bd9baead803e5caa4c071a2
  • [x] netinfo fetch 336dbe4
  • [x] new npm publish script with CI ceb6bd5272f7d6971fef8ee9647213ba40e9fd9c
  • [ ] fix HMR variable namings d0caf7e48b12e9a11185eb86e0a17017c9a3287c - not importing this
  • [x] source maps fix bcb37c0b6ae6c319bc99b569a2253c30c3715a07
  • [x] revert f538032888976f0199659645ddecf0650133cc62
Locked

Most helpful comment

0.22.0 is released.

All 27 comments

For HMR, we need to do disable the HMR menu on Android when Dev is disabled. I'll do it. Just mentioning here.

6260 When the node-haste stuff is resolved.


added

https://github.com/facebook/react-native/pull/6325 when it lands in a few minutes


added

https://github.com/facebook/react-native/pull/6373 fixes NetInfo.fetch returning undefined.


addded

6325 landed in 2e9c888dcd9bf1dbfe62282caa9cf35b91630d0a


added

@davidaurelio if we cherry pick https://github.com/facebook/react-native/pull/6260 wouldn't we need to pick https://github.com/facebook/react-native/commit/972395a7c9a72d746bd9baead803e5caa4c071a2 as well so that HMR doesn't break?

cc @bestander


added

releasing 0.22.0-rc1 automatically with CI for the first time
The first 4 ticks were cherry-picked

Are you guys able to add in this one?

it should be in RC already

On Tue, Mar 15, 2016 at 6:06 PM, Richard Lai [email protected]
wrote:

Are you guys able to add in this one
https://github.com/facebook/react-native/commit/0176ac488e57b77dfa82984c114901d884e90b53
?

—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/facebook/react-native/issues/6366#issuecomment-196952020

Will 0.22.0-rc1 be on npm? If it is I can tell users that had issues on windows to update to that.

Will this also contain all the various changes for relay compatibility?

yes, once this is green
https://circleci.com/gh/facebook/react-native/tree/0.22-stable
You can do npm install [email protected]

On Tue, Mar 15, 2016 at 6:31 PM, Janic Duplessis [email protected]
wrote:

Will 0.22.0-rc1 be on npm? If it is I can tell users that had issues on
windows to update to that.

—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/facebook/react-native/issues/6366#issuecomment-196962703

FYI [email protected] has been published to npm.
It includes cherry-picked commits from the list above.
If no more things to be picked till Monday we will release it as [email protected]

@pthrasher [email protected] has react as peer dependency installed at the root of node_modules. This should allow Relay compatibility afaik.

@bestander thanks! :-)

need to cherry pick this one as well: d0caf7e48b12e9a11185eb86e0a17017c9a3287c


After talking to Martin decided not to cherry pick considering that it requires a few commits to be picked

Are you aware that rc4 seems to include different versions of css-layout for iOS and Android?

See https://github.com/facebook/react-native/issues/6447 and @vjeux's comments in https://github.com/facebook/react-native/issues/6237 and https://github.com/facebook/react-native/commit/f538032888976f0199659645ddecf0650133cc62.

It seems the fix from https://github.com/facebook/css-layout/pull/145 was merged for Android, but not for iOS. It would be great if you could get it merged for iOS, too, before releasing 0.22.0.


For IOS this commit was done 6c5195fb3aa175ea416eb53e2c10720089dd8c85
But it was reverted in c1762c7bdb35b9454a6d0c7a37e5b99649ffc246
The issue related to this is opened here: https://github.com/facebook/css-layout/issues/175

We don't have a quick fix in the master branch for that.
To make the both platforms consistent I'll revert the fix for Android only for 0.22 branch.
In the next week or so @javache will work on having a consistent fix for both platforms.

When I run 0.22.0-rc4, my app hangs at the following code.

NSArray<NSHTTPCookie *> *cookies = [[NSHTTPCookieStorage sharedHTTPCookieStorage] cookiesForURL:components.URL];
Libraries/WebSocket/RCTSRWebSocket.m line 290

I think this happens when my app tries to fetch remote javascript code. Are anyone else having this issue? Could someone guess what might be the problem?

A wild guess - JavaScript did not compile and server can't start.
Can you do 'npm start' in terminal?

Sure. I tried running the app several times and sometimes the server is accessed and other times the server is not even accessed.

I mean I see the following output on the console, only some of the times when I run the app.

[10:58:15 AM] <START> request:/index.ios.bundle?platform=ios&dev=false
[10:58:15 AM] <END> request:/index.ios.bundle?platform=ios&dev=false (34ms)

Also the following is the error I see on XCode.

screenshot


added comment below

@bestander need to cherry pick this one as well: https://github.com/facebook/react-native/commit/bcb37c0b6ae6c319bc99b569a2253c30c3715a07


added to the list

Thanks for more details, @daesan.
This issue is created for tracking what needs to be cherry-picked into the release, i.e. things that are already in master branch.
In your case better create a standalone issue and help us track it and land a fix into master branch. Only then we could cherry-pick it into release.
BTW, there are quite a few issues with this error https://github.com/facebook/react-native/search?q=EXC_BAD_ACCESS&type=Issues&utf8=%E2%9C%93, are they related to your problem?
0.22 is due to release today, most likely your issue won't be fixed by then, let's try to get it fixed in the next RC coming this week

0.22.0-rc5 is being released to npm.
Cherry-picking d0caf7e is a bit involved, delaying 0.22.0 release while resolving it

0.22.0 is released.

@bestander Got you. I thought this could be a release holding issue but it turns out that this only arises when JSX bundle is hosted on Linux server.

I created a new issue as you suggested. #6581 If someone has a clue about this error please talk about it there.

Was this page helpful?
0 / 5 - 0 ratings