Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[0.21] Commits to cherry-pick into 0.21-stable #6087

Closed
3 tasks
bestander opened this issue Feb 22, 2016 · 12 comments
Closed
3 tasks

[0.21] Commits to cherry-pick into 0.21-stable #6087

bestander opened this issue Feb 22, 2016 · 12 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@bestander
Copy link
Contributor

  • 78a9125 Update ScrollResponder.js to use new scrollTo API. This fixes a warning in the current release version.
  • ecf6981 Only freeze valid attributes in mountComponent
  • Disable HMR menu option on Android, not ready for prime time just yet: f514409
@bestander
Copy link
Contributor Author

@mkonicek, should we make more changes to cli upgrade command?
It seems that Gradle still downloads react-native 0.20.1 from Maven.
We need to link gradle to the .jar in node_modules.

@janicduplessis
Copy link
Contributor

78a9125 Update ScrollResponder.js to use new scrollTo API. This fixes a warning in the current release version.

@mkonicek
Copy link
Contributor

👍 Thanks @janicduplessis!

@bestander The artifacts should be loaded from node_modules, here's the commit which implemented that: 702f999.

To test this I just did the following:

Created a new app using 0.21.0-rc. react-native init still uses 0.20.0 because that's marked as latest in npm.

In package.json, I changed the RN dependency to 0.21.0-rc, rm -rf node_modules, npm install.

Ran:

$ cd android
$ ./gradlew app:dependencies
...    
com.facebook.react:react-native:+ -> 0.21.0
...

Just to double check, I did rm -rf ~/.gradle/cache and ran react-native run-android:

Saw the POM file is still downloaded (this is indeed surprising, good catch!):

Download https://jcenter.bintray.com/com/facebook/react/react-native/0.20.1/react-native-0.20.1.pom
...
Download https://jcenter.bintray.com/com/facebook/fresco/imagepipeline-okhttp/0.8.1/imagepipeline-okhttp-0.8.1.aar

But the .aar file wasn't downloaded and the app builds.

Based on the above I'm pretty sure the app uses 0.21 artifacts from node_modules.

@jsierles
Copy link
Contributor

If #5084 is ready in the next day or so, it would be great to get it in, so Relay can be used out of the box with React Native!

@lostintangent
Copy link

It would be awesome if #6119 could be considered as well, since this has been a source of confusion for a lot of users.

@Kureev
Copy link
Contributor

Kureev commented Feb 25, 2016

Also looking forward for #5084

@mkonicek
Copy link
Contributor

Hey guys, I'm looking forward to #5084 landing as well. David Aurelio is working hard to merge it into the fb codebase. Our internal setup makes it not trivial to merge unfortunately.

@lostintangent The cherry-picks are intended for small and completely safe bug-fixes. #6119 looks great but by looking at the code I can't tell with 100% confidence it won't break anything for anyone so prefer to release it in 0.22.0-rc next week and let people test it for 2 weeks before shipping it in 0.22.

@matthewwithanm
Copy link
Contributor

Could you please grab ecf6981? It's kind of a follow-up to bb3d8d5 (which I think is already in).

@mkonicek
Copy link
Contributor

@spicyj Should we cherry-pick ecf6981 into the release? bb3d8d5 is in, not sure if it makes sense without the followup commit?

@sophiebits
Copy link
Contributor

The latter stands alone as an improvement, but the former is a bug fix that we could include. I am fine either way.

@lostintangent
Copy link

@mkonicek Makes sense, I just thought I would ask :) Thanks!

@matthewwithanm
Copy link
Contributor

ecf6981 is needed to avoid an error in Nuclide debugging so I would really appreciate it!

@mkonicek mkonicek changed the title [0.21] Issues to cherry-pick int 0.21-stable [0.21] Commits to cherry-pick into 0.21-stable Feb 29, 2016
@facebook facebook locked as resolved and limited conversation to collaborators May 24, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 20, 2018
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

10 participants