Skip to content
This repository has been archived by the owner on Jun 17, 2022. It is now read-only.

0.58.x Discussion #41

Closed
grabbou opened this issue Sep 12, 2018 · 71 comments
Closed

0.58.x Discussion #41

grabbou opened this issue Sep 12, 2018 · 71 comments
Labels
rc Release candidate

Comments

@grabbou
Copy link
Member

grabbou commented Sep 12, 2018

Conversation on this thread are limited to 0.58 releases major issues and backport (cherry-pick) requests from commits that are already on master.

An example of a good such request is a bug fix for a serious issue that has been merged into master but did not make the 0.58 RC cut.

In other words, if you cannot point to a particular commit on master, then your request likely belongs as a new issue in http://github.com/facebook/react-native/issues.

@grabbou
Copy link
Member Author

grabbou commented Sep 12, 2018

Making this issue as a placeholder for upcoming 0.58.x release candidate. Going to cut a new release once 0.57 goes stable (which should happen later today). We can now all go and watch WWDC in the meantime.

@grabbou grabbou added backport request Cherry picking a change into an existing release rc Release candidate labels Sep 12, 2018
@aaronschubert0
Copy link

Would be good to cherry pick facebook/react-native@22cf5dc to match the iOS support already in place for text transform.

@kelset
Copy link
Member

kelset commented Sep 18, 2018

We haven't cut 0.58 yet, so everything that you see on master at the moment will be in the 0.58 branch.

@aaronschubert0
Copy link

@kelset Ah awesome, sorry about that, thanks for clarifying 👍

@kelset
Copy link
Member

kelset commented Sep 18, 2018

NP - as a rough estimate, we'll probably try to first get a 0.57.1 up & running and then cut 0.58.

@grabbou
Copy link
Member Author

grabbou commented Sep 18, 2018 via email

@kelset
Copy link
Member

kelset commented Sep 28, 2018

Quick update: after some conversation with the Core and the internal FB team, we decided to delay the cut and release of 0.58.x until the JSI feature lands into master - this also allow us to treat 0.57.x as as more "long term support" release (for, probably, at least another month) so that most developers will have time to update to it without the anxiety of having to do yet another upgrade right after.

@pvinis

This comment has been minimized.

@xzilja

This comment has been minimized.

@rafaellincoln

This comment has been minimized.

@kelset
Copy link
Member

kelset commented Oct 9, 2018

@iljadaderko please limit the conversation to commits already on master.

@rafaellincoln there are a couple issues in the dedicated discussion repo (react-native-community/discussions-and-proposals#7 and react-native-community/discussions-and-proposals#11), and I'm sure that after it lands, some more content will be produced to explain more.

@EdwardDrapkin
Copy link

Will the flow upgrade (to 0.85) make it into 0.58?

@kelset
Copy link
Member

kelset commented Nov 2, 2018

@EdwardDrapkin yes. Since JSI landed, we are just waiting for the React sync to 16.6.0 commit to land and then we'll cut the first RC for 0.58.

So basically everything you see on master right now will be on that rc.

@Monte9
Copy link
Member

Monte9 commented Nov 6, 2018

@kelset just curious, is there an eta for 0.58 stable release? Even a rough timeline based on current release velocity would help. 30-45 days or sooner?

@kelset
Copy link
Member

kelset commented Nov 7, 2018

No idea on my side tbh, because 0.58 will have a lot of changes 🤷‍♂️

So the 0.58.0 I don't know when will land - likely that it will be before end of the year, but no real ideas on it. (once rc0 will be out and we gather some feedback on it we'll surely have a better understanding)

@kelset kelset removed the backport request Cherry picking a change into an existing release label Nov 16, 2018
@kelset
Copy link
Member

kelset commented Nov 16, 2018

Hey everyone - quick update. The reason why currently there is not yet an 0.58 rc is because a PR 'broke' Android - but, as weird as it may sound, this is sort of good: we are now discussing how to upgrade to new & better Android, supporting 64bits and a new JSC.

The discussion & PRs related to that are still ongoing, but probably next week we'll reach a decision of 'how much' 0.58 will jump forward in terms of Android support, and cut the rc.

@grabbou
Copy link
Member Author

grabbou commented Nov 17, 2018

We already cut the 0.58-stable branch that serves as a base for upcoming 0.58.0-rc.0 version. Right now, as it's been already mentioned, there is an issue related to Android and the way JSC version is specified that breaks all freshly created React Native apps.

Once the above issue gets addressed, we will most likely sync the 0.58-stable branch once again with the master as long as there are no in-progress rewrites happening at that time.

@grabbou
Copy link
Member Author

grabbou commented Nov 23, 2018

0.58.0-rc.0 is now out on npm.

Note to Xcode 10 users: It still requires you to use legacy build system. We have a fix in place and will ship as a part of rc.1 soon.

@mjmasn
Copy link
Contributor

mjmasn commented Nov 23, 2018

@grabbou React is still at 16.6.1 for this rc right?

@kelset
Copy link
Member

kelset commented Nov 23, 2018

@mjmasn yes, there have not been new React sync commits since the one to 16.6.1

@pedpess
Copy link

pedpess commented Nov 23, 2018

Nice gals/guys! Good work you all involved 💯

@EdwardDrapkin
Copy link

A couple of the other recent RN point releases have been pinned to alpha React releases, 0.57.1 iirc... are there plans for the latest React (with hooks support) to make it to the 58 series or is that something that will likely have to wait for 59 or 60?

@jakst
Copy link

jakst commented Nov 23, 2018

@EdwardDrapkin that is answered by @kelset two comments above. You'll have to wait unfortunately

@grabbou
Copy link
Member Author

grabbou commented Nov 28, 2018

We have cherry-picked
facebook/react-native@19a7ecc to fix Xcode 10 build issues.

I am going to cherry-pick remaining commits tomorrow (including a fix for broken TextInput that is being worked on in 0.57 release) and will push next RC.

Let me know how it works for you and whether there's anything we should fix or pay extra attention to.

@jp928
Copy link

jp928 commented Nov 29, 2018

I would like to have suspense and lazy working in 0.58.

@grabbou
Copy link
Member Author

grabbou commented Nov 29, 2018 via email

@grabbou
Copy link
Member Author

grabbou commented Dec 25, 2018

Unfortunately, the Detox tests are still failing. I am pretty sure the fix is quite easy, but it's going to take a bit of time due to Christmas break.

The issues are due to cherry-picking additional tests that has helped us identify additional issues present in this release (and master branch too).

I am going to post an update regarding that later this week (around Friday).

Meanwhile, I wish everyone following this thread - Merry Christmas and a Happy new Year!

@grabbou
Copy link
Member Author

grabbou commented Jan 1, 2019

Due to Facebook team being on the break, we have decided to postpone the release till the team is back tomorrow.

Will keep you updated. We need to chat and see when 0.58 can be promoted to a stable released. I think this can happen around week or two from 0.58.0-rc.2

@grabbou
Copy link
Member Author

grabbou commented Jan 3, 2019

Managed to fix Detox and iOS snapshot tests. CircleCI is now processing 0.58.0-rc.2 build -> https://circleci.com/gh/facebook/react-native/tree/0.58-stable. If it goes green, the release will be available in around 30 minutes from this comment.

Will check in the morning. It's up on npm.

I think this is the last RC before 0.58 hits stable. We are considering cherry-picking one more commit into 0.58.0-rc.3 (facebook/react-native@f3e5cce) in the meantime.

@abbasfreestyle
Copy link

abbasfreestyle commented Jan 10, 2019

Just a heads up, building a fresh react-native init with 0.58.0-rc.2 causes the app to crash on a real OnePlus 6 device.

Device Builds Crashes
Android real device (OnePlus 6) Yes Yes
Android simulators Yes No
iOS simulators Yes No
iOS real device Not tested N/A

However, building a fresh react-native init with 0.57.8 works on OnePlus 6

This is all i see with react-native log-android

01-10 09:05:28.034 26227 26227 D ReactNative: ReactInstanceManager.ctor()
01-10 09:05:28.073 26227 26227 D ReactNative: ReactInstanceManager.createReactContextInBackground()
01-10 09:05:28.073 26227 26227 D ReactNative: ReactInstanceManager.recreateReactContextInBackgroundInner()
01-10 09:05:28.517 26227 26227 D ReactNative: ReactInstanceManager.onJSBundleLoadedFromServer()
01-10 09:05:28.518 26227 26227 D ReactNative: ReactInstanceManager.recreateReactContextInBackground()
01-10 09:05:28.518 26227 26227 D ReactNative: ReactInstanceManager.runCreateReactContextOnNewThread()

Phone specs
screenshot_20190110-081241

Hopefully, that might be of some use to you guys 👍

@mjmasn
Copy link
Contributor

mjmasn commented Jan 14, 2019

I can also replicate the crash discovered by @abbasfreestyle. Seems to be a problem in all the rc versions.

Logs from my Samsung S9+ (Android 8.0.0):

E SoLoader: Error when loading lib: dlopen failed: library "libicu_common.so" not found lib hash: 84bb138b763a0f08c540b9e8b55b1fb0 search path is /data/app/com.x-paJWHXc7oE5jhXyBULvxmg==/lib/arm64
E SoLoader: couldn't find DSO to load: libreactnativejni.so caused by: dlopen failed: library "libicu_common.so" not found
E AndroidRuntime: FATAL EXCEPTION: create_react_context
E AndroidRuntime: Process: com.x, PID: 16386
E AndroidRuntime: java.lang.UnsatisfiedLinkError: couldn't find DSO to load: libreactnativejni.so caused by: dlopen failed: library "libicu_common.so" not found
E AndroidRuntime: 	at com.facebook.soloader.SoLoader.doLoadLibraryBySoName(SoLoader.java:703)
E AndroidRuntime: 	at com.facebook.soloader.SoLoader.loadLibraryBySoName(SoLoader.java:564)
E AndroidRuntime: 	at com.facebook.soloader.SoLoader.loadLibrary(SoLoader.java:500)
E AndroidRuntime: 	at com.facebook.soloader.SoLoader.loadLibrary(SoLoader.java:455)
E AndroidRuntime: 	at com.facebook.react.bridge.ReactBridge.staticInit(ReactBridge.java:30)
E AndroidRuntime: 	at com.facebook.react.bridge.NativeMap.<clinit>(NativeMap.java:19)
E AndroidRuntime: 	at com.facebook.react.jscexecutor.JSCExecutorFactory.create(JSCExecutorFactory.java:25)
E AndroidRuntime: 	at com.facebook.react.ReactInstanceManager$5.run(ReactInstanceManager.java:944)
E AndroidRuntime: 	at java.lang.Thread.run(Thread.java:764)

@dulmandakh
Copy link
Contributor

dulmandakh commented Jan 15, 2019

Cherry picks:

@Monte9
Copy link
Member

Monte9 commented Jan 15, 2019

Cherry pick:

@dulmandakh
Copy link
Contributor

dulmandakh commented Jan 16, 2019

Cherry picks:

@dulmandakh
Copy link
Contributor

cherry picks:

@grabbou
Copy link
Member Author

grabbou commented Jan 16, 2019

@dulmandakh is the last "Android Crash fix" solving the issue presented by @abbasfreestyle?

BTW, thank you @abbasfreestyle and @mjmasn for doing research and being on top of this! It's really valuable to be able to rely on the community and that we can work together on making the next release even better!

If there's anything we can do to make RC testing even smoother, please let me know!

==

Meanwhile, I am going to cherry-pick all the aforementioned commits and will release another RC for a while, before it is promoted to stable.

Regarding 0.59 - we are wrapping up remaining pieces of CLI work that are holding us off. This is also to land later today or tomorrow.

@dulmandakh
Copy link
Contributor

dulmandakh commented Jan 16, 2019 via email

@dulmandakh
Copy link
Contributor

Cherry picks:

@grabbou
Copy link
Member Author

grabbou commented Jan 17, 2019

Didn't cherry-pick the last commit and this one as it was depending on other non-trivial commit.

0.58.0-rc.3 is out on Circle, waiting for tests to pass.

@mjmasn
Copy link
Contributor

mjmasn commented Jan 17, 2019

Thanks @grabbou, looks good re the UnsatisfiedLinkError - I can now get to the Welcome to React Native! screen with a freshly react-native inited app 👍 🎉

@grabbou
Copy link
Member Author

grabbou commented Jan 17, 2019

Great @mjmasn!

0.58.0-rc.3 is out on npm. This is the last RC - please no more cherry-picks. We are moving straight to the stable channel.

I am going to open 0.59 thread in the meantime.

@EdwardDrapkin
Copy link

So the new JSC (facebook/react-native@f3e5cce) won't be available without the 3rd party package until 0.59? :(

@dulmandakh
Copy link
Contributor

last cherry pick:

@kelset
Copy link
Member

kelset commented Jan 21, 2019

@EdwardDrapkin yes we prefer to take it slow with it - but 0.59 is not as far as you may think: 0.58 won't have the "long term" approach used for 0.57 :)

@danielgindi
Copy link

Something about the changes around jschelpers in the podspec should be mentioned in the changelog. If people don't know what to do with it, it breaks the next pod update command.

@royisch

This comment has been minimized.

@grabbou
Copy link
Member Author

grabbou commented Jan 23, 2019

Waiting for few commits to fix the bugs we have just discovered. Generally speaking it's "few days" away.

Just cherry-picked another round of Android-related fixes.

@estevaolucas
Copy link

@grabbou we have this new Text/TextField's maxFontSizeMultiplier prop for iOS in v0.58.0-rc.3 facebook/react-native@01d5eff

Could we cherry-pick the Android commit for 0.58 as well? facebook/react-native@4936d28.

Thanks

@grabbou
Copy link
Member Author

grabbou commented Jan 24, 2019

CI is processing 0.58.0 build right now.

@elucaswork, unfortunately, the commit you requested was non-trivial to cherry-pick (it depends on another Android commit which is quite heavy).

I have discussed this with the team and we have came to the conclusion that although keeping APIs in sync and as cross-platform as possible is our priority, this feature wasn't added to both platforms concurrently either. There was a fair gap in between landing them and we have decided to move it into 0.59.

I hope it's not a deal breaker for you! Thank you for raising this question :)

@Monte9
Copy link
Member

Monte9 commented Jan 24, 2019

Excited to finally see 0.58 in action. 🎉

Wanted to thank @grabbou for all your work on RN OSS and coordinating these releases. 💪 It's not an easy task, but you manage to do a fantastic job at it! 👏 You are a real asset to the community! 🥇 🙌

@grabbou
Copy link
Member Author

grabbou commented Jan 24, 2019

Thank you @Monte9 - I really appreciate your feedback, it's encouraging! It's worth mentioning it's not just me working on the releases - I just happen to be the one facing the community end of it!

I wanted to thank everyone, especially @dulmandakh for helping with Android so much! We would be stuck few days or weeks if it wasn't for your help!

Going to close this issue for now and open up a new one for stable channel.

@grabbou grabbou closed this as completed Jan 24, 2019
@react-native-community react-native-community locked as resolved and limited conversation to collaborators Jan 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
rc Release candidate
Projects
None yet
Development

No branches or pull requests