This repository was archived by the owner on Dec 16, 2022. It is now read-only.
fix(deps): update dependency react-native to v0.56.0 #134
+1
−1
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.4tov0.56.0Note: 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.0Compare 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-nativepackage.jsondependency to^5.0.1or 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-bridgelibrary 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.0is released.WebViewwill 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
babelHelperswith Babel 7 support - facebook/react-native@fbd1beaFlatListis now Strict Mode compliant - facebook/react-native@a90d0e3?.optional chaining operator plugins - facebook/react-native@aa6f394flexWrap: 'wrap-reverse'- facebook/react-native@d69e550accessibilityTraitstoText- facebook/react-native@654435dSpringInterpolator- facebook/react-native@1dde989Android specific additions
react-native link- facebook/react-native@843cfc3Image.defaultSource- facebook/react-native@b0fa322getParentmethods 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 initwill use Babel 7 - facebook/react-native@e315ec9WebViewto only http(s) URLs: facebook/react-native@634e7e1 facebook/react-native@23f8f7aCannot resolve module Xisse due to removal of@providesModule- facebook/react-native@843a433YellowBox- facebook/react-native@d0219a0$FlowFixMeto 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$FlowFixMeinTouchableBounce- facebook/react-native@ffda017$FlowFixMeinScrollView- facebook/react-native@af6e2eb$FlowFixMeinListView- facebook/react-native@af6e2eb$FlowFixMeinText- facebook/react-native@6042592$FlowFixMeinRTLExample- facebook/react-native@206ef54$FlowFixMeinAppContainer- facebook/react-native@a956551$FlowFixMeinSlider- facebook/react-native@1615f9dStyleSheet: Support animated values for border dimensions - facebook/react-native@3e3b10freact-devtools-coreandplistto include security fixes reported bynpm audit- facebook/react-native@3a1d949Switchto ES6 Class - facebook/react-native@970caa4Sliderto ES6 Class - facebook/react-native@5259450ActivityIndicatorto ES6 Class - facebook/react-native@edd7acbRefreshControlto ES6 Class - facebook/react-native@a35a238KeyboardAvoidingViewto ES6 Class - facebook/react-native@c017dcbDatePickerIOSto ES6 Class - facebook/react-native@f8c8231Textto ES6 Class - facebook/react-native@ab92c00context.isInAParentTextw/React.createContext- facebook/react-native@e1339bcTextimplementation - facebook/react-native@06c05e7TexttoReact.forwardRef- facebook/react-native@e708010ViewtoReact.forwardRef- facebook/react-native@3e534b9genMockFunctionandgenMockFntofnin tests - facebook/react-native@390ded8ViewPropsexact - facebook/react-native@65c336fTVViewPropsintoViewPropsinstead of intersection - facebook/react-native@bc658d3let/const- facebook/react-native@8f5ebe5MockNativeMethodsin Jest - facebook/react-native@5d4c542app.jsonafter ejecting - facebook/react-native@57774a4git apply --rejectfor failed upgrades - facebook/react-native@4fbd244TouchHistoryMathfrom React to React Native - facebook/react-native@06085d3RCTInputAccessoryView- facebook/react-native@c136c54ListEmptyComponentin an extra view - facebook/react-native@db061eaTextPropTypes to its own file - facebook/react-native@cd8128bReactNative.NativeComponentnative methods in Jest - facebook/react-native@3e9a371ViewandVirtualizedList- facebook/react-native@5035af8ViewPropTypes- facebook/react-native@f1316caStyletoDangerouslyImpreciseStyle- facebook/react-native@4895c64iOS specific changes
RCTFontsize overrides - facebook/react-native@6611fefAndroid specific changes
ReactFragmentActivitydeprecated as it's not necessary when targeting API level 14 and above - facebook/react-native@8ea8dd6underlineColorAndroidto transparent - facebook/react-native@a3a98ebWebViewgeolocation by default - facebook/react-native@23d61b3ReadableNativeMap- facebook/react-native@30d06b4react-native linkwill 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
VirtualizedListnow accounts forListHeaderComponentlength when calculating offset - facebook/react-native@537731fModal+FlatListscrolling - facebook/react-native@8799047RCTNetworkingwhere not all tasks/handlers were being cleared during invalidation - facebook/react-native@b805172keyboardShouldPersistTaps: never- facebook/react-native@ffe6c11Text- facebook/react-native@e2ce22bVirtualizedSectionListlint warnings - facebook/react-native@26a1ebaVirtualizedSectionList:ItemWithSeparators- facebook/react-native@488a4c7TextInput's initial layout measurements - facebook/react-native@c6b4f9frequireNativeComponentcheck - facebook/react-native@1c90a2bTextInputautocapitalization 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 initprojects - facebook/react-native@27a497dreact-native-windows- facebook/react-native@600747fiOS specific fixes
react-native run-ioscommand play nicely with multiple Xcode versions - facebook/react-native@302699aTextInputby an empty string - facebook/react-native@1ffb2b6InputAccessoryViewso it can be imported - facebook/react-native@80fc415InputAccessoryViewsafe area comformance - facebook/react-native@490f22arun-ios- facebook/react-native@0934c17run-iosnot turning on Simulator - facebook/react-native@9736ddconChangeevent 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.hto use namespaced includes - facebook/react-native@128c934-Wenum-conversion- facebook/react-native@b8f30dbAndroid specific fixes
TextInputslowness on Android - facebook/react-native@1b4187frequireNativeComponentin.android.jsfiles - facebook/react-native@a51e8b1RefreshControlfrom getting stuck when a parent is scrolled horizontally - facebook/react-native@33ffa79DevServerHelper- facebook/react-native@56d48bdReactInstanceManagerunmountApplication to supportReactRootViewrecycling - facebook/react-native@4a9b2a7NullPointerExceptionwhen emiting event usingUIManagerModule- facebook/react-native@291c01fScrollViewwith aTextInput- facebook/react-native@2f1421dRemoved: features that have been removed; these are breaking
focusTextInputandblurTextInput- facebook/react-native@ce3b7b8Android specific removals
iOS specific removals
UIActionSheetDelegatemethods - 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.