Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Bump react-native from 0.55.4 to 0.56.0 #159

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dependabot-preview[bot]
Copy link
Contributor

@dependabot-preview dependabot-preview bot commented Jul 10, 2018

Bumps react-native from 0.55.4 to 0.56.0.

Release notes

Sourced from react-native's releases.

June 2018

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 default

Geolocation 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.

  • Fix project settings warnings on newer Xcode versions, remove unnecessary console logging.
  • Modernized 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.
  • Prettier files!
... (truncated)
Changelog

Sourced from react-native's changelog.

Releases Guide

This document serves as guide for release coordinators. You can find a list of releases and their release notes at https://github.com/facebook/react-native/releases

Release schedule

React Native follows a monthly release train. Every month, a new branch created off master enters the Release Candidate phase, and the previous Release Candidate branch is released and considered stable.

Version RC release Stable release
0.38.0 week of November 7 November 21
0.39.0 week of November 21 December 2
0.40.0 1st of December 1st of January
0.41.0 1st of January 1st of February
0.42.0 1st of February 1st of March
... ... ...
0.56.0 1st of June 1st of July
0.57.0 1st of July 1st of August
0.58.0 1st of August 1st of September
... ... ...

How to cut a new release branch

Prerequisites

The following are required for the local test suite to run:

Step 1: Check everything works

Before cutting a release branch, make sure Circle CI system is green.

Before executing the following script, make sure you have:

  • An Android emulator / Genymotion device running
  • No packager running in any of the projects
./scripts/test-manual-e2e.sh

This script bundles a react-native package locally and passes it to the react-native cli that creates a test project inside /tmp folder using that version.

After npm install completes, the script prints a set of manual checks you have to do to ensure the release you are preparing is working as expected on both platforms.

... (truncated)
Commits
  • 3c6a916 [0.56.0] Bump version numbers
  • 93379b6 [0.56.0-rc.5] Bump version numbers
  • 48341c8 Deploy Flow v0.75.0 to fbsource
  • ba9d41d Revert "[0.56.0-rc.5] Bump version numbers"
  • 3047670 [0.56.0-rc.5] Bump version numbers
  • 600747f Hotfix to include react-native-windows in hasteImpl accepted paths (#20007)
  • 3861dbe fix undefined_arch error in Xcode 10 beta (#19841)
  • ca515e9 - Correct fishhook import in RCTReconnectingWebSocket Fixes #16039 (#16271)
  • 537731f fix: account for ListHeaderComponent length when calculating offset… (#17415)
  • 5ae80f9 gradle to set project-wide properties (#19845)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

Dependabot will not automatically merge this PR because this dependency is pre-1.0.0.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

@dependabot-preview
Copy link
Contributor Author

A newer version of react-native exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants