Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello lovely humans,
react-native just published its new version 0.42.2.
This version is covered by your current version range, but I could not detect automated tests for this project. Without a test suite I can not really tell whether your project still works.
I was looking at the latest commit of your default branch, but GitHub said there is no status attached to it.
Do you have any ideas how I could improve these pull requests? Did I report anything you think isn’t right?
Are you unsure about how things are supposed to work?
There is a collection of frequently asked questions and while I’m just a bot, there is a group of people who are happy to teach me new things. Let them know.
Good luck with your project ✨
You rock!
🌴
GitHub Release
This is February 2017 release, also known as
0.42.0
.Breaking changes
Android: windowSoftInputMode for new apps
All new apps created with
react-native init
are going to havewindowSoftInputMode:``adjustResize
instead ofadjustUnspecified
, which is default. That change makes keyboard handling on Android automatic and doesn't require any Javascript solutions, likeKeyboardAvoidingView
to be used. You can see the rationale behind that change along the screenshots here. It shouldn't be breaking for most of the users.Android: (Re)move
JSBundleLoader.getSourceUrl()
If you are using any of the following API's to access the Source URL of the bundle:
JSBundleLoader.getSourceUrl()
ReactInstanceManager.getSourceUrl()
ReactInstanceManager.getJSBundleFile()
you have to now refer to the source of truth for this information, which is at
CatalystInstance.getSourceURL()
, or the return value ofJSBundleLoader.loadScript()
.Android: Remove
RecyclerViewBackedScrollView
RecyclerViewBackedScrollView
was added a long time ago to work around the scroll-back-when-data-is-added bug, but that has now been fixed directly in theScrollView
(ReactScrollView.java
) in open source and internally.Both: Improve validation of
transform
propertyThis commit improves validations of the
transform
object that are done on the Javascript side and makes it a bit stricter (hence the breaking change). When moving transform objects parsing to native the validations got out of sync a bit. In this change we make sure JS validations are the same or stricter than the native ones to make sure we get consistent errors across platforms.General
Bugfixes
New features and enahcements
Android
Bugfixes
New features and enahcements
FallbackJSBundleLoader
(c3892fa) - @amnniOS
Bugfixes
New features and enhancements
intrinsicContentSize
(d1990f8) - @sherginsetFrame
,setLeftTop
, and co. (f33f84e) - @sherginUIManager.measure()
now respects anyzoom
affected view hierarchy (f839b58) - @sherginGeneral
Bugfixes
New features and enhancements
style
andimageStyle
props to Navigation.Header.BackButton (7812b82) - @danscaninit
(Chat) (3ee3d2b) - @mkonicekfbjs/lib/invariant
instead ofinvariant
(517abba) - @davidaurelioScreencast
Try it today. Free for private repositories during beta.