Closed kelset closed 4 years ago
Is this a bug? Or is Animated.Text.propTypes.style deprecated?
TypeError: undefined is not an object (evaluating '_reactNative.Animated.Text.propTypes.style')
Example project:
RN062-undefined-style-propType.zip
Thanks @alloy for shipping RC4!
Looking at the upgrade-helper for 61.5 to RC4,
@jan-happy, that was intentionally removed in this commit: https://github.com/facebook/react-native/commit/86d90c03ebe39ebc4b2c6dcc0747b4f3a34f5f2f#diff-bba74f532799108778119f8c45105443
React Native is moving away from PropTypes. We recommend using TypeScript or Flow instead. To unblock yourself, use Text.propTypes.style, not Animated's Text.propTypes.style. That API will still exist for a few more releases.
The gradlew file is again changed the line endings.
The xcode stuff I made some screenshots and guide on how to change them based on rc3. I haven't uploaded yet but it I'll do it probably Sunday.
I was able to pick all the Hermes fixes, plus other fixes that have landed in master
, and published v0.62.0-rc.4 🎉 This may be the one, friends! 🤞
Alas, there were those that didn’t make the cut:
Regression in Vibrate.vibrate(): facebook/react-native/issues/27920
For 0.62.0-rc.3, with the hermes engine enabled, fetch() leaks memory […] https://github.com/facebook/hermes/issues/164#issuecomment-591431693
I'm still encountering https://github.com/facebook/react-native/issues/27845 / https://github.com/facebook/flipper/issues/834
@TheSavior for the addition @passy mentioned something here: https://github.com/facebook/react-native/pull/28052#discussion_r378879042
added dark mode support for
RCTPerfMonitor
https://github.com/facebook/react-native/commit/576ddfb3a84a5461679959f0d3f229a000dcea8d
Fixed issue in 0.62.0-rc.3 where the iOS default template depends on a too old version of FlipperKit for iOS + react-native-flipper. https://github.com/facebook/react-native/pull/28225
Turns out that https://github.com/facebook/react-native/commit/233fdfc014bb4b919c7624c90e5dac614479076f introduced a regression that already had been fixed in master
with https://github.com/facebook/react-native/commit/26d5faf379c6fc13678f697ec22c1cc6e96a949d. I’ve picked that as well and immediately released v0.62.0-rc.5 so nobody wastes time testing and/or reporting.
Hi alloy, has https://github.com/facebook/react-native/issues/28163 been solved in v0.62.0-rc.5?
It still insta-crashes on the emulator (with Android R), but it works for me on my real device.
Thats good enough for me! I'll try it tonight
Also getting release version instacrashes, Hermes or JSC doesn't matter. On emulated and device
hsjoberg, is this with the newest version (v0.62.0-rc.5)?
@bmbmjmdm Yes, not working on v0.62.0-rc.5.
Which version of Android? My working device has version 9.
For those having issues with android builds or experiencing crashes, it its worth invalidating caches in android studio, this solved these issues I was having, so it may (or may not) also help others.
Given 0.62 will be targeting Hermes engine 4.0.0, is there a way we can test or include the -Xes6-proxy
flag, as I believe only a patch is required in the RN package? Or is this going to be part of the next release cycle?
@darkbasic @hsjoberg can you please move the conversation about Android crashes in the dedicated issue @bmbmjmdm created for it -> https://github.com/facebook/react-native/issues/28163
It helps keeping this issue on track.
@owinter86 could you please post a detailed description of your solution
For those having issues with android builds or experiencing crashes, it its worth invalidating caches in android studio, this solved these issues I was having, so it may (or may not) also help others.
in the issue too? So that we can keep it all in the same place (atm my brain can't remember how to invalidate Android Studio's cache btw 😓)
in the issue too? So that we can keep it all in the same place (atm my brain can't remember how to invalidate Android Studio's cache btw 😓)
Delete all .iml
files in ./android
and ./android/app
and the ./android/.idea
directory. Then start Android Studio and it will treat it like a fresh project.
From Android Studio File-menu, you also have Invalidate Caches / Restart...
).
Release build of Hermes + ProGuard crashes on 0.62.0-rc.5. This is not related to the crash above.
About to load: libhermes.so
libhermes.so not found on /data/data/com.rn062/lib-main
libhermes.so found on /data/app/com.rn062-Fjs_ZyNxAT33Mc4PFvqS7Q==/lib/x86
Not resolving dependencies for libhermes.so
I can replicate this on the crna-template project;
npx react-native init RN062 --version 0.62.0-rc.5
android/app/build.gradle
android/app/proguard-rules.pro
: -keep class com.facebook.hermes.unicode.** { *; }
.npx react-native run-android --variant release
. The app will instacrash.@hsjoberg can you please move that report for Hermes + ProGuard to a dedicated issue in the main repo and only put the link in the comments here instead?
@kelset Sure thing. https://github.com/facebook/react-native/issues/28270
EDIT by @alloy: This is regarding an Android+ProGuard crash.
@owinter86 Re Hermes Proxy support, this is what I was told:
We aren't comfortable enabling Proxy right now as it will change the behavior of plugins which optionally use it, and that needs more testing. We plan to publish instructions for how to enable Proxy in 0.62+0.4.0, so people can test mobx, immer, etc, but this will happen outside the release.
In short, this is out of scope for this release.
Hi. Is https://github.com/facebook/react-native/issues/25927 included in 0.62.0-rc.5?
@eugene-nefedov the link you posted doesn't lead do a PR or a cherry-pick so there's nothing that is per-se "included" in the RC about it. If there are some repro steps in that issue maybe try init'ing a fresh react native project in RC5 and see if it still happens & report in the issue the result of your testing?
I saw that rc.5 fixed the gradle.bat
file again, which is great. To make sure this doesn't happen again, I made https://github.com/facebook/react-native/pull/28274. If we end up making another rc, let's throw that in too. If we don't then it's totally fine to be just in master.
@alloy can you share an update on the current status? Are there currently issues we are waiting to get resolved? Are we just giving RC5 a couple days to soak? What else is blocking this from going stable that you know of (the changelog is one example).
We tried 0.62.0-rc.5 both on Android and iOS and our experience was:
As for iOS react-native-firebase and flipper causes duplicate symbol conflicts, which I think will be addressed soon, since I think a lots of project uses firebase. Already there was an issue about this problem on stackoverflow from 2019 july, which talks about the problem.
As for Android the new 6.0.1-all gradle causes an issue in the react-native-ble-plx library, since it uses "groovy" in their Android codes.
Apart from these 2 bugs(as for us) the upgrade went smooth and fast. Great work, keep it up!
P.s still haven't created issues about the two issues in their specific repos.
It would be very helpful to have issues for those that we can keep an eye on.
@alloy can you share an update on the current status? Are there currently issues we are waiting to get resolved? Are we just giving RC5 a couple days to soak? What else is blocking this from going stable that you know of (the changelog is one example).
@TheSavior Initially I was keeping an eye on those Android crashes, but by now it seems like those are addressable outside of any release changes. So now it was only a matter of letting it soak a bit more.
Work we need done to finalise the release are:
So perhaps we can aim for a stable release (not RC) by Monday?
@grabbou @kelset Are you available then to assist me?
So perhaps we can aim for a release by Monday?
@alloy do you mean a stable release (not RC)?
@SaeedZhiany Yes 👍 I’ll update my comment to reflect that and then hide out comments to keep things tidy.
@alloy not sure what you mean about the Android crashes being addressable. I still can't get a successful release launch (though as I said in my thread I still need to try on rc-5)
@bmbmjmdm From what limited judging I can do at this time, your issue seems like it may be an issue we can solve in user-land (see my comment on your issue https://github.com/facebook/react-native/issues/28163#issuecomment-597563008) and is currently not being reported by others. If it turns out to be an issue that needs fixing in RN after all, then we can release a fix in a subsequent patch release. For now, my personal opinion is that we should get this long overdue release out and then iterate faster in the future.
Do these flipper commits need to get picked? https://github.com/facebook/react-native/commit/db12255645204541b102300feaf3e640411a4596 https://github.com/facebook/react-native/commit/85a4b0f5bda71470a8323596ed5422982f4c7a03
@TheSavior preferably yes, otherwise people will have to bump manually if they want to use all features of the integration.
The Android changes are optional-ish. The iOS fix includes the lowering of the SDK min version back to 9. Ultimately, it's probably better to keep the two in sync, though.
We just got an internal report about long press inconsistently firing on the touchables due to a refactor of the internal state machine that landed in 0.62 in a stack of commits starting with https://github.com/facebook/react-native/commit/ebf7d758164873169937321a4dccc3782359a0d3
@yungsters is able to repro and will investigate a fix tomorrow. I wanted to flag here as a known problem with 0.62 right now.
Long press fix landed here: https://github.com/facebook/react-native/commit/5ca1d8f260bfb64111a6ba39f76a0a935829c0f2.
We haven’t soaked this fix internally yet, we’ll let you know if we hear any additional issues from our internal users from this.
FWIW, I think this issue is a pretty minor edge case as we had been running with this bug in production for at least 6 months and hadn’t heard it surfaced until now.
What is the status please?
Hey folks - given how the situation of CoVid-19 is spreading through the world, we are discussing if it's a sensible thing to proceed with 0.62.0 this week.
It's likely that we will still proceed but no ultimate decision out atm. We will keep you updated - we are just as eager as you to finally have it out in the wild, but we need to be considerate towards everyone and this new balance that is shaping up all over the world 🤗💗
@kelset hopefully you guys are going to work this out 🙌 IMO there's certainly little need to rush out releases like this given what's happening around
Is there a plan to solve the increased apk size caused by gradle version bump? Or should we just stick to the workaround as https://github.com/react-native-community/releases/issues/157#issuecomment-593103576 suggested for the time being?
Thanks!
@robertying Afaik there’s no progress on that atm, so expect to use the workaround for the time being. Having said that, it doesn’t seem like there’s a ticket tracking this issue, at least I haven’t seen it mentioned, so perhaps you could create one that combines @willholen’s and @ArrayZoneYour’s comments.
I'll link the issue here.
Android APK size increases after Gradle version bump: https://github.com/facebook/react-native/issues/28330
(just FYI @alloy updated the top post of this issue with the checklist of things we are working on for 0.62.0)
As discussed with @alloy, jumping on the commits to do the cherry-picks. Will report with the update.
Is a 0.62 release still being planned for the next couple of days?
@codecog if you check the original post at the top, you'll see that the checklist is not yet complete. At the moment we are focusing on completing those tasks, once they will be done we will be able to proceed.
As mentioned, just like everyone else all around the world, the CoVid-19 situation is also affecting the amount of time the developers involved in this phase are able to dedicate to the process. We will communicate once the release is going to be out... when it's going to be ready. No deadlines nor fixed dates atm - please be patient 💕
@kelset anything i can help with to get us there faster?
@kelset and @alloy do you think we can have this PR: https://github.com/facebook/react-native/pull/28332 cherry-picked for the release?
EDIT by @alloy:
The current version is
v0.62.0-rc.5
and appears to be the golden one ✨TODOs: