This repository has been archived by the owner on Dec 16, 2022. It is now read-only.
fix(deps): update dependency react-native to v0.56.0 #134
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.
This Pull Request updates dependency react-native from
v0.55.4
tov0.56.0
Note: This PR was created on a configured schedule ("every weekend" in timezone
Europe/Paris
) and will not receive updates outside those times.Release Notes
v0.56.0
Compare Source
Welcome to the June 2018 release of React Native!
Over 60 contributors made 816 commits since March - and we are extremely grateful to every single one of you.
As you'll see in a second, this new version has some important breaking changes that required a lot of extra efforts to bring to a stable 0.56. This was the main reason behind skipping April and May from the monthly release cycle, but looking forward we are planning on going back to do a rollout every month.
Highlights
React Native now uses Babel 7
When upgrading to 0.56, make sure to bump your
babel-preset-react-native
package.json
dependency to^5.0.1
or newer.React Native library authors will need to update their libraries to make use of the updated Babel preset as Babel 7 is not backwards compatible.
If you have issues upgrading to Babel 7, please double check the related documentation, in particular the sections related to Package Renames and Scoped Packages.
The
babel-bridge
library may be used if you need to use libraries that have not yet upgraded to Babel 7. You may also enforce the Babel 7 dependency via tools like yarn resolutions.Node 8 is now the minimum required version.
Trailing commas are now allowed.
iOS 9 is now the minimum required version.
Any device that can run iOS 8, can upgrade to iOS 9. Developers who support iOS 8 in their apps may continue doing so as this is a Xcode-level setting (
IPHONEOS_DEPLOYMENT_TARGET
).Xcode 9 is now the minimum required version.
We recommend using Xcode 9.4 as that is what we use to run our tests.
Android projects are now compiled using the Android 26 SDK.
The target API level is left unchanged in this release.
Starting August 2018, new apps submitted to the Play Store will need to target API 26 as a minimum. You can now opt your project in to use API 26 (or newer) as the target. Please let us know about any issues, as we'd like to finalize support for Android API 26 by the time
0.57.0
is released.WebView
will only load http(s) URLs by defaultGeolocation is disabled by default.
Flow improvements, migrating away from PropTypes.
Added Flow types for several components.
We're migrating away from PropTypes and runtime checks and instead relying on Flow. You'll notice many improvements related to Flow in this release.
YellowBox
.Sort warnings by recency, group warnings by format string, present stack traces, show status of loading source maps, support inspecting each occurrence of a warning, and bug fixes.
State of React Native
Heads-up: the Facebook internal team is currently working on a rewrite of some core architecture pieces. This is a work in progress and we do not expect it to be ready for use in open source quite yet, but we felt the need to let you know what those commits mentioning Fabric are about.
Added: new features
babelHelpers
with Babel 7 support - facebook/react-native@fbd1beaFlatList
is now Strict Mode compliant - facebook/react-native@a90d0e3?.
optional chaining operator plugins - facebook/react-native@aa6f394flexWrap: 'wrap-reverse'
- facebook/react-native@d69e550accessibilityTraits
toText
- facebook/react-native@654435dSpringInterpolator
- facebook/react-native@1dde989Android specific additions
react-native link
- facebook/react-native@843cfc3Image.defaultSource
- facebook/react-native@b0fa322getParent
methods for non-breaking API change - facebook/react-native@c3c5c3ciOS specific additions
RCTBridgeModule.h
- facebook/react-native@ca898f4Changes: existing functionality that is now different
react-native init
will use Babel 7 - facebook/react-native@e315ec9WebView
to only http(s) URLs: facebook/react-native@634e7e1 facebook/react-native@23f8f7aCannot resolve module X
isse due to removal of@providesModule
- facebook/react-native@843a433YellowBox
- facebook/react-native@d0219a0$FlowFixMe
to invalid prop accesses where Flow wasn't complaining before - facebook/react-native@f19ee28Image
- facebook/react-native@8bac869SegmentedControlIOS
- facebook/react-native@113f009ProgressViewIOS
- facebook/react-native@c87701bPickerIOS
- facebook/react-native@1c66cdcSwitch
- facebook/react-native@06052a2Slider
- facebook/react-native@cbe045aRefreshControl
- facebook/react-native@891dfc3ListView
- facebook/react-native@4b1ecb6TextInput
- facebook/react-native@c8bcda8TouchableBounce
- facebook/react-native@8454a36TouchableOpacity
- facebook/react-native@44743c0TouchableHighlight
- facebook/react-native@f0c18dcTouchableWithoutFeedback
- facebook/react-native@0b79d1fScrollView
- facebook/react-native@b127662DatePickerIOS
- facebook/react-native@97e572eKeyboardAvoidingView
- facebook/react-native@188b118ActivityIndicator
- facebook/react-native@0b71d1d$FlowFixMe
inTouchableBounce
- facebook/react-native@ffda017$FlowFixMe
inScrollView
- facebook/react-native@af6e2eb$FlowFixMe
inListView
- facebook/react-native@af6e2eb$FlowFixMe
inText
- facebook/react-native@6042592$FlowFixMe
inRTLExample
- facebook/react-native@206ef54$FlowFixMe
inAppContainer
- facebook/react-native@a956551$FlowFixMe
inSlider
- facebook/react-native@1615f9dStyleSheet
: Support animated values for border dimensions - facebook/react-native@3e3b10freact-devtools-core
andplist
to include security fixes reported bynpm audit
- facebook/react-native@3a1d949Switch
to ES6 Class - facebook/react-native@970caa4Slider
to ES6 Class - facebook/react-native@5259450ActivityIndicator
to ES6 Class - facebook/react-native@edd7acbRefreshControl
to ES6 Class - facebook/react-native@a35a238KeyboardAvoidingView
to ES6 Class - facebook/react-native@c017dcbDatePickerIOS
to ES6 Class - facebook/react-native@f8c8231Text
to ES6 Class - facebook/react-native@ab92c00context.isInAParentText
w/React.createContext
- facebook/react-native@e1339bcText
implementation - facebook/react-native@06c05e7Text
toReact.forwardRef
- facebook/react-native@e708010View
toReact.forwardRef
- facebook/react-native@3e534b9genMockFunction
andgenMockFn
tofn
in tests - facebook/react-native@390ded8ViewProps
exact - facebook/react-native@65c336fTVViewProps
intoViewProps
instead of intersection - facebook/react-native@bc658d3let
/const
- facebook/react-native@8f5ebe5MockNativeMethods
in Jest - facebook/react-native@5d4c542app.json
after ejecting - facebook/react-native@57774a4git apply --reject
for failed upgrades - facebook/react-native@4fbd244TouchHistoryMath
from React to React Native - facebook/react-native@06085d3RCTInputAccessoryView
- facebook/react-native@c136c54ListEmptyComponent
in an extra view - facebook/react-native@db061eaText
PropTypes to its own file - facebook/react-native@cd8128bReactNative.NativeComponent
native methods in Jest - facebook/react-native@3e9a371View
andVirtualizedList
- facebook/react-native@5035af8ViewPropTypes
- facebook/react-native@f1316caStyle
toDangerouslyImpreciseStyle
- facebook/react-native@4895c64iOS specific changes
RCTFont
size overrides - facebook/react-native@6611fefAndroid specific changes
ReactFragmentActivity
deprecated as it's not necessary when targeting API level 14 and above - facebook/react-native@8ea8dd6underlineColorAndroid
to transparent - facebook/react-native@a3a98ebWebView
geolocation by default - facebook/react-native@23d61b3ReadableNativeMap
- facebook/react-native@30d06b4react-native link
will now replace '/' by '_' when linking projects. If you previously linked scoped packages, they will get linked again. - facebook/react-native@dbd4759Fixed: bugs that have been resolved
VirtualizedList
now accounts forListHeaderComponent
length when calculating offset - facebook/react-native@537731fModal
+FlatList
scrolling - facebook/react-native@8799047RCTNetworking
where not all tasks/handlers were being cleared during invalidation - facebook/react-native@b805172keyboardShouldPersistTaps: never
- facebook/react-native@ffe6c11Text
- facebook/react-native@e2ce22bVirtualizedSectionList
lint warnings - facebook/react-native@26a1ebaVirtualizedSectionList:ItemWithSeparators
- facebook/react-native@488a4c7TextInput
's initial layout measurements - facebook/react-native@c6b4f9frequireNativeComponent
check - facebook/react-native@1c90a2bTextInput
autocapitalization bug - facebook/react-native@ff70ecfViewPropTypes
- facebook/react-native@41a9403StatusBarManager
- facebook/react-native@4a2c560ReactNative.NativeComponent
(1/2) - facebook/react-native@de11ba2ReactNative.NativeComponent
(2/2) - facebook/react-native@7528636react-native init
projects - facebook/react-native@27a497dreact-native-windows
- facebook/react-native@600747fiOS specific fixes
react-native run-ios
command play nicely with multiple Xcode versions - facebook/react-native@302699aTextInput
by an empty string - facebook/react-native@1ffb2b6InputAccessoryView
so it can be imported - facebook/react-native@80fc415InputAccessoryView
safe area comformance - facebook/react-native@490f22arun-ios
- facebook/react-native@0934c17run-ios
not turning on Simulator - facebook/react-native@9736ddconChange
event definition toDatePickerIOS
- facebook/react-native@3b53091RNTesterPods
: Add missing folly include - facebook/react-native@128c934RNTesterPods
: folly::Optional'shas_value()
tohasValue()
until folly is upgraded - facebook/react-native@128c934RNTesterPods
: Fix import forRCTTestAttributes.h
- facebook/react-native@128c934RNTesterPods
: Fixconversions.h
to use namespaced includes - facebook/react-native@128c934-Wenum-conversion
- facebook/react-native@b8f30dbAndroid specific fixes
TextInput
slowness on Android - facebook/react-native@1b4187frequireNativeComponent
in.android.js
files - facebook/react-native@a51e8b1RefreshControl
from getting stuck when a parent is scrolled horizontally - facebook/react-native@33ffa79DevServerHelper
- facebook/react-native@56d48bdReactInstanceManager
unmountApplication to supportReactRootView
recycling - facebook/react-native@4a9b2a7NullPointerException
when emiting event usingUIManagerModule
- facebook/react-native@291c01fScrollView
with aTextInput
- facebook/react-native@2f1421dRemoved: features that have been removed; these are breaking
focusTextInput
andblurTextInput
- facebook/react-native@ce3b7b8Android specific removals
iOS specific removals
UIActionSheetDelegate
methods - facebook/react-native@5863b56Known issues
During the RC testing of this version, a few issues that have been opened don't have yet a finalized solution ( 19827, 19763, 19859, 19955 ). We are aware of them and we hope that by releasing 0.56.0 the surface of developers interacting to find solutions to them will allow for faster resolution and an even better 0.56.1 release. So please check the already opened issues before submitting new ones.
This PR has been generated by Renovate Bot.