From 5d3583f6750252c12b61ce8c9b3e8592f04996dd Mon Sep 17 00:00:00 2001 From: Dani Akash Date: Sat, 3 Nov 2018 11:50:08 +0530 Subject: [PATCH 01/58] 0.57 upgrade Added steps to upgrade gradle version Fixes react-native-community/react-native-releases#59 --- CHANGELOG.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2ae217a..2f1d366 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,4 @@ + # Changelog ## [0.57.4] @@ -268,7 +269,12 @@ As mentioned a few times in the past, the core team is reviewing the repository ``` 3. Ensure that you have all the babel dependencies to version `^7.0.0` (you may also need to add `"babel-core": "7.0.0-bridge.0"` as a yarn resolution to ensure retro-compatibility) -4. If you have a custom packager configuration via `rn-cli.config.js`, you probably need to update it to work with the updated Metro configuration structure (for full detail refer to Metro's [documentation](https://facebook.github.io/metro/docs/en/configuration)); here are some commonly encountered changes to `rn-cli.config.js`: +4. Upgrading android gradle version to 4.4 + 1. In your project's `android/gradle/wrapper/gradle-wrapper.properties` file, change the `distributionUrl` to `https\://services.gradle.org/distributions/gradle-4.4-all.zip` + 2. In `android/build.gradle` file add `google()` right above `jcenter()` in both `buildscript` and `allprojects` repositories. Then change Android build tools to version 3.1.3 `classpath 'com.android.tools.build:gradle:3.1.3'` + 3. In `android/app/build.gradle` file update all your `compile` statements to be `implementation`, e.g. `implementation 'com.facebook.fresco:animated-gif:1.10.0'` + 4. Do note that when running your app from within Android Studio, you may encounter `Missing Byte Code`errors. This is due to a known issue with version 3.1.x of the android tools plugin: [https://issuetracker.google.com/issues/72811718](https://issuetracker.google.com/issues/72811718). You'll need to disable Instant Run to get past this error. +5. If you have a custom packager configuration via `rn-cli.config.js`, you probably need to update it to work with the updated Metro configuration structure (for full detail refer to Metro's [documentation](https://facebook.github.io/metro/docs/en/configuration)); here are some commonly encountered changes to `rn-cli.config.js`: ```diff -const blacklist = require('metro/src/blacklist') @@ -296,7 +302,7 @@ As mentioned a few times in the past, the core team is reviewing the repository } ``` -5. Run `yarn` to ensure that all the new dependencies have been installed +6. Run `yarn` to ensure that all the new dependencies have been installed ### Added: new features From afc59e1d521818b29ab312b5ca1f862195de1ac6 Mon Sep 17 00:00:00 2001 From: Ryan Turner Date: Tue, 6 Nov 2018 08:24:21 -0600 Subject: [PATCH 02/58] Add changelog-generator based on prior work by @satya164 (#61) I added the changelog-generator from https://github.com/callstack/react-native-releases-script with some updates: it now follows keep a changelog's format and implements yargs to make it more user friendly. Give it a shot using changelog-generator.js. --- changelog-generator.js | 272 +++++++++++ package-lock.json | 827 ---------------------------------- package.json | 3 +- yarn.lock | 991 +++++++++++++++++++++++++++++++++++++++++ 4 files changed, 1265 insertions(+), 828 deletions(-) create mode 100755 changelog-generator.js delete mode 100644 package-lock.json create mode 100644 yarn.lock diff --git a/changelog-generator.js b/changelog-generator.js new file mode 100755 index 0000000..bb01bd0 --- /dev/null +++ b/changelog-generator.js @@ -0,0 +1,272 @@ +#!/usr/bin/env node + +'use strict'; + +const argv = require('yargs') + .usage('$0 [args]', 'Generate a React Native changelog from the commits and PRs') + .options({ + 'base': { + alias: 'b', + describe: 'the base version to compare against (most often, this is the current stable)', + demandOption: true + }, + 'compare': { + alias: 'c', + describe: 'the new version (most often, this is the release candidate)', + demandOption: true + } + }) + .version(false) + .help('help') + .argv + +const base = argv.base + '-stable'; +const compare = argv.compare + '-stable'; + +function fetchJSON(host, path) { + return new Promise((resolve, reject) => { + let data = ''; + + require('https').get({ + host, + path, + headers: { 'User-Agent': 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)' }, + }).on('response', response => { + response.on('data', chunk => { + data += chunk; + }); + + response.on('end', () => { + try { + const json = JSON.parse(data); + resolve(json); + } catch (e) { + reject(e); + } + }); + + response.on('error', error => { + reject(error); + }); + }); + }); +} + +function filterCICommits(commits) { + return commits.filter(item => { + const text = item.commit.message.toLowerCase(); + return !(text.includes('travis') || text.includes('circleci') || text.includes('circle ci') || text.includes('bump version numbers')); + }); +} + +function isAndroidCommit(change) { + return /\b(android|java)\b/i.test(change) || /android/i.test(change); +} + +function isIOSCommit(change) { + return /\b(ios|xcode|swift|objective-c|iphone|ipad)\b/i.test(change) || /ios\b/i.test(change) || /\brct/i.test(change); +} + +function isAdded(change) { + return /\b(add|adds|added)\b/i.test(change); +} + +function isChanged(change) { + return /\b(changes|changed)\b/i.test(change); +} + +function isDeprecated(change) { + return /\b(deprecated|deprecate)\b/i.test(change); +} + +function isRemoved(change) { + return /\b(remove|removed)\b/i.test(change); +} + +function isFixed(change) { + return /\b(fix|fixes|fixed)\b/i.test(change); +} + +function isSecurity(change) { + return /\b(security)\b/i.test(change); + } + +function getChangeMessage(item) { + return `- ${item.commit.message.split('\n')[0]} ([${item.sha.slice(0, 7)}](https://github.com/facebook/react-native/commit/${item.sha.slice(0, 7)})${item.author ? ' by [@' + item.author.login + '](https://github.com/' + item.author.login + ')' : ''})`; +} + +function getChangelogDesc(commits) { + const acc = { + added: { android: [], ios: [], general: [] }, + changed: { android: [], ios: [], general: [] }, + deprecated: { android: [], ios: [], general: [] }, + removed: { android: [], ios: [], general: [] }, + fixed: { android: [], ios: [], general: [] }, + security: { android: [], ios: [], general: [] }, + unknown: { android: [], ios: [], general: [] }, + }; + + commits.forEach(item => { + const change = item.commit.message.split('\n')[0]; + const message = getChangeMessage(item); + + if (isAdded(change)) { + if (isAndroidCommit(change)) { + acc.added.android.push(message); + } else if (isIOSCommit(change)) { + acc.added.ios.push(message); + } else { + acc.added.general.push(message); + } + } else if (isChanged(change)) { + if (isAndroidCommit(change)) { + acc.changed.android.push(message); + } else if (isIOSCommit(change)) { + acc.changed.ios.push(message); + } else { + acc.changed.general.push(message); + } + } else if (isDeprecated(change)) { + if (isAndroidCommit(change)) { + acc.deprecated.android.push(message); + } else if (isIOSCommit(change)) { + acc.deprecated.ios.push(message); + } else { + acc.deprecated.general.push(message); + } + } else if (isRemoved(change)) { + if (isAndroidCommit(change)) { + acc.removed.android.push(message); + } else if (isIOSCommit(change)) { + acc.removed.ios.push(message); + } else { + acc.removed.general.push(message); + } + } else if (isFixed(change)) { + if (isAndroidCommit(change)) { + acc.fixed.android.push(message); + } else if (isIOSCommit(change)) { + acc.fixed.ios.push(message); + } else { + acc.fixed.general.push(message); + } + } else if (isSecurity(change)) { + if (isAndroidCommit(change)) { + acc.security.android.push(message); + } else if (isIOSCommit(change)) { + acc.security.ios.push(message); + } else { + acc.security.general.push(message); + } + } else { + if (isAndroidCommit(change)) { + acc.unknown.android.push(message); + } else if (isIOSCommit(change)) { + acc.unknown.ios.push(message); + } else { + acc.unknown.general.push(message); + } + } + }); + + return acc; +} + +function buildMarkDown(data) { + return ` + +## [${argv.compare}.0] + +### Added + +${data.added.general.join('\n')} + +#### Android specific + +${data.added.android.join('\n')} + +#### iOS specific + +${data.added.ios.join('\n')} + +### Changed + +${data.changed.general.join('\n')} + +#### Android specific + +${data.changed.android.join('\n')} + +#### iOS specific + +${data.changed.ios.join('\n')} + +### Deprecated + +${data.deprecated.general.join('\n')} + +#### Android specific + +${data.deprecated.android.join('\n')} + +#### iOS specific + +${data.deprecated.ios.join('\n')} + +### Removed + +${data.removed.general.join('\n')} + +#### Android specific + +${data.removed.android.join('\n')} + +#### iOS specific + +${data.removed.ios.join('\n')} + +### Fixed + +${data.fixed.general.join('\n')} + +#### Android specific + +${data.fixed.android.join('\n')} + +#### iOS specific + +${data.fixed.ios.join('\n')} + +### Security + +${data.security.general.join('\n')} + +#### Android specific + +${data.security.android.join('\n')} + +#### iOS specific + +${data.security.ios.join('\n')} + +### Unknown + +${data.unknown.general.join('\n')} + +#### Android Unknown + +${data.unknown.android.join('\n')} + +#### iOS Unkown + +${data.unknown.ios.join('\n')} +`; +} + +fetchJSON('api.github.com', '/repos/facebook/react-native/compare/' + base + '...' + compare) + .then(data => data.commits) + .then(filterCICommits) + .then(getChangelogDesc) + .then(buildMarkDown) + .then(data => console.log(data)) + .catch(e => console.error(e)); diff --git a/package-lock.json b/package-lock.json deleted file mode 100644 index 8e9f493..0000000 --- a/package-lock.json +++ /dev/null @@ -1,827 +0,0 @@ -{ - "name": "react-native-changelog", - "version": "1.0.0", - "lockfileVersion": 1, - "requires": true, - "dependencies": { - "ansi-escapes": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-1.4.0.tgz", - "integrity": "sha1-06ioOzGapneTZisT52HHkRQiMG4=", - "dev": true - }, - "ansi-regex": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", - "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", - "dev": true - }, - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "requires": { - "color-convert": "1.9.1" - } - }, - "argparse": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.9.tgz", - "integrity": "sha1-c9g7wmP4bpf4zE9rrhsOkKfSLIY=", - "dev": true, - "requires": { - "sprintf-js": "1.0.3" - } - }, - "array-union": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/array-union/-/array-union-1.0.2.tgz", - "integrity": "sha1-mjRBDk9OPaI96jdb5b5w8kd47Dk=", - "dev": true, - "requires": { - "array-uniq": "1.0.3" - } - }, - "array-uniq": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.3.tgz", - "integrity": "sha1-r2rId6Jcx/dOBYiUdThY39sk/bY=", - "dev": true - }, - "async": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/async/-/async-2.6.0.tgz", - "integrity": "sha512-xAfGg1/NTLBBKlHFmnd7PlmUW9KhVQIUuSrYem9xzFUZy13ScvtyGGejaae9iAVRiRq9+Cx7DPFaAAhCpyxyPw==", - "dev": true, - "requires": { - "lodash": "4.17.5" - } - }, - "balanced-match": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", - "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", - "dev": true - }, - "brace-expansion": { - "version": "1.1.8", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.8.tgz", - "integrity": "sha1-wHshHHyVLsH479Uad+8NHTmQopI=", - "dev": true, - "requires": { - "balanced-match": "1.0.0", - "concat-map": "0.0.1" - } - }, - "buffer-from": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.0.0.tgz", - "integrity": "sha512-83apNb8KK0Se60UE1+4Ukbe3HbfELJ6UlI4ldtOGs7So4KD26orJM8hIY9lxdzP+UpItH1Yh/Y8GUvNFWFFRxA==", - "dev": true - }, - "chalk": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.3.2.tgz", - "integrity": "sha512-ZM4j2/ld/YZDc3Ma8PgN7gyAk+kHMMMyzLNryCPGhWrsfAuDVeuid5bpRFTDgMH9JBK2lA4dyyAkkZYF/WcqDQ==", - "dev": true, - "requires": { - "ansi-styles": "3.2.1", - "escape-string-regexp": "1.0.5", - "supports-color": "5.3.0" - } - }, - "ci-info": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-1.1.2.tgz", - "integrity": "sha512-uTGIPNx/nSpBdsF6xnseRXLLtfr9VLqkz8ZqHXr3Y7b6SftyRxBGjwMtJj1OhNbmlc1wZzLNAlAcvyIiE8a6ZA==", - "dev": true - }, - "cli-cursor": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-1.0.2.tgz", - "integrity": "sha1-ZNo/fValRBLll5S9Ytw1KV6PKYc=", - "dev": true, - "requires": { - "restore-cursor": "1.0.1" - } - }, - "cli-width": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-2.2.0.tgz", - "integrity": "sha1-/xnt6Kml5XkyQUewwR8PvLq+1jk=", - "dev": true - }, - "code-point-at": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", - "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=", - "dev": true - }, - "color-convert": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.1.tgz", - "integrity": "sha512-mjGanIiwQJskCC18rPR6OmrZ6fm2Lc7PeGFYwCmy5J34wC6F1PzdGL6xeMfmgicfYcNLGuVFA3WzXtIDCQSZxQ==", - "dev": true, - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", - "dev": true - }, - "commander": { - "version": "2.9.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.9.0.tgz", - "integrity": "sha1-nJkJQXbhIkDLItbFFGCYQA/g99Q=", - "dev": true, - "requires": { - "graceful-readlink": "1.0.1" - } - }, - "concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", - "dev": true - }, - "concat-stream": { - "version": "1.6.2", - "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz", - "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==", - "dev": true, - "requires": { - "buffer-from": "1.0.0", - "inherits": "2.0.3", - "readable-stream": "2.3.6", - "typedarray": "0.0.6" - } - }, - "core-util-is": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", - "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=", - "dev": true - }, - "create-thenable": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/create-thenable/-/create-thenable-1.0.2.tgz", - "integrity": "sha1-4gMXIMzJV12M+jH1wUbnYqgMBTQ=", - "dev": true, - "requires": { - "object.omit": "2.0.1", - "unique-concat": "0.2.2" - } - }, - "deep-extend": { - "version": "0.4.2", - "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.4.2.tgz", - "integrity": "sha1-SLaZwn4zS/ifEIkr5DL25MfTSn8=", - "dev": true - }, - "entities": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/entities/-/entities-1.1.1.tgz", - "integrity": "sha1-blwtClYhtdra7O+AuQ7ftc13cvA=", - "dev": true - }, - "escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", - "dev": true - }, - "esprima": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.0.tgz", - "integrity": "sha512-oftTcaMu/EGrEIu904mWteKIv8vMuOgGYo7EhVJJN00R/EED9DCua/xxHRdYnKtcECzVg7xOWhflvJMnqcFZjw==", - "dev": true - }, - "exit-hook": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/exit-hook/-/exit-hook-1.1.1.tgz", - "integrity": "sha1-8FyiM7SMBdVP/wd2XfhQfpXAL/g=", - "dev": true - }, - "extend": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.1.tgz", - "integrity": "sha1-p1Xqe8Gt/MWjHOfnYtuq3F5jZEQ=", - "dev": true - }, - "external-editor": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-1.1.1.tgz", - "integrity": "sha1-Etew24UPf/fnCBuvQAVwAGDEYAs=", - "dev": true, - "requires": { - "extend": "3.0.1", - "spawn-sync": "1.0.15", - "tmp": "0.0.29" - } - }, - "figures": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/figures/-/figures-1.7.0.tgz", - "integrity": "sha1-y+Hjr/zxzUS4DK3+0o3Hk6lwHS4=", - "dev": true, - "requires": { - "escape-string-regexp": "1.0.5", - "object-assign": "4.1.1" - } - }, - "for-in": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz", - "integrity": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=", - "dev": true - }, - "for-own": { - "version": "0.1.5", - "resolved": "https://registry.npmjs.org/for-own/-/for-own-0.1.5.tgz", - "integrity": "sha1-UmXGgaTylNq78XyVCbZ2OqhFEM4=", - "dev": true, - "requires": { - "for-in": "1.0.2" - } - }, - "fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", - "dev": true - }, - "glob": { - "version": "7.0.6", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.0.6.tgz", - "integrity": "sha1-IRuvr0nlJbjNkyYNFKsTYVKz9Xo=", - "dev": true, - "requires": { - "fs.realpath": "1.0.0", - "inflight": "1.0.6", - "inherits": "2.0.3", - "minimatch": "3.0.4", - "once": "1.4.0", - "path-is-absolute": "1.0.1" - } - }, - "globby": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/globby/-/globby-6.1.0.tgz", - "integrity": "sha1-9abXDoOV4hyFj7BInWTfAkJNUGw=", - "dev": true, - "requires": { - "array-union": "1.0.2", - "glob": "7.0.6", - "object-assign": "4.1.1", - "pify": "2.3.0", - "pinkie-promise": "2.0.1" - } - }, - "graceful-readlink": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/graceful-readlink/-/graceful-readlink-1.0.1.tgz", - "integrity": "sha1-TK+tdrxi8C+gObL5Tpo906ORpyU=", - "dev": true - }, - "has-ansi": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", - "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=", - "dev": true, - "requires": { - "ansi-regex": "2.1.1" - } - }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", - "dev": true - }, - "hunspell-spellchecker": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/hunspell-spellchecker/-/hunspell-spellchecker-1.0.2.tgz", - "integrity": "sha1-oQsL0voAplq2Kkxrc0zkltMYkQ4=", - "dev": true - }, - "husky": { - "version": "0.14.3", - "resolved": "https://registry.npmjs.org/husky/-/husky-0.14.3.tgz", - "integrity": "sha512-e21wivqHpstpoiWA/Yi8eFti8E+sQDSS53cpJsPptPs295QTOQR0ZwnHo2TXy1XOpZFD9rPOd3NpmqTK6uMLJA==", - "dev": true, - "requires": { - "is-ci": "1.1.0", - "normalize-path": "1.0.0", - "strip-indent": "2.0.0" - } - }, - "inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", - "dev": true, - "requires": { - "once": "1.4.0", - "wrappy": "1.0.2" - } - }, - "inherits": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", - "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=", - "dev": true - }, - "ini": { - "version": "1.3.5", - "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.5.tgz", - "integrity": "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==", - "dev": true - }, - "inquirer": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-1.2.3.tgz", - "integrity": "sha1-TexvMvN+97sLLtPx0aXD9UUHSRg=", - "dev": true, - "requires": { - "ansi-escapes": "1.4.0", - "chalk": "1.1.3", - "cli-cursor": "1.0.2", - "cli-width": "2.2.0", - "external-editor": "1.1.1", - "figures": "1.7.0", - "lodash": "4.17.5", - "mute-stream": "0.0.6", - "pinkie-promise": "2.0.1", - "run-async": "2.3.0", - "rx": "4.1.0", - "string-width": "1.0.2", - "strip-ansi": "3.0.1", - "through": "2.3.8" - }, - "dependencies": { - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=", - "dev": true - }, - "chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "dev": true, - "requires": { - "ansi-styles": "2.2.1", - "escape-string-regexp": "1.0.5", - "has-ansi": "2.0.0", - "strip-ansi": "3.0.1", - "supports-color": "2.0.0" - } - }, - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=", - "dev": true - } - } - }, - "is-ci": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-1.1.0.tgz", - "integrity": "sha512-c7TnwxLePuqIlxHgr7xtxzycJPegNHFuIrBkwbf8hc58//+Op1CqFkyS+xnIMkwn9UsJIwc174BIjkyBmSpjKg==", - "dev": true, - "requires": { - "ci-info": "1.1.2" - } - }, - "is-extendable": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", - "dev": true - }, - "is-fullwidth-code-point": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", - "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", - "dev": true, - "requires": { - "number-is-nan": "1.0.1" - } - }, - "is-promise": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.1.0.tgz", - "integrity": "sha1-eaKp7OfwlugPNtKy87wWwf9L8/o=", - "dev": true - }, - "isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", - "dev": true - }, - "js-yaml": { - "version": "3.11.0", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.11.0.tgz", - "integrity": "sha512-saJstZWv7oNeOyBh3+Dx1qWzhW0+e6/8eDzo7p5rDFqxntSztloLtuKu+Ejhtq82jsilwOIZYsCz+lIjthg1Hw==", - "dev": true, - "requires": { - "argparse": "1.0.9", - "esprima": "4.0.0" - } - }, - "linkify-it": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/linkify-it/-/linkify-it-2.0.3.tgz", - "integrity": "sha1-2UpGSPmxwXnWT6lykSaL22zpQ08=", - "dev": true, - "requires": { - "uc.micro": "1.0.3" - } - }, - "lodash": { - "version": "4.17.5", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.5.tgz", - "integrity": "sha512-svL3uiZf1RwhH+cWrfZn3A4+U58wbP0tGVTLQPbjplZxZ8ROD9VLuNgsRniTlLe7OlSqR79RUehXgpBW/s0IQw==", - "dev": true - }, - "lodash.flatten": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/lodash.flatten/-/lodash.flatten-4.3.0.tgz", - "integrity": "sha1-5exO/ofvxZzlL5F8uovxYGNkac8=", - "dev": true - }, - "lodash.values": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/lodash.values/-/lodash.values-4.2.0.tgz", - "integrity": "sha1-kyYl99LJVLY9uJUlVUjztJ8SDpo=", - "dev": true - }, - "markdown-it": { - "version": "8.3.2", - "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-8.3.2.tgz", - "integrity": "sha512-4J92IhJq1kGoyXddwzzfjr9cEKGexBfFsZooKYMhMLLlWa4+dlSPDUUP7y+xQOCebIj61aLmKlowg//YcdPP1w==", - "dev": true, - "requires": { - "argparse": "1.0.9", - "entities": "1.1.1", - "linkify-it": "2.0.3", - "mdurl": "1.0.1", - "uc.micro": "1.0.3" - } - }, - "markdown-spellcheck": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/markdown-spellcheck/-/markdown-spellcheck-1.3.1.tgz", - "integrity": "sha512-9uyovbDg3Kh2H89VDtqOkXKS9wuRgpLvOHXzPYWMR71tHQZWt2CAf28EIpXNhkFqqoEjXYAx+fXLuKufApYHRQ==", - "dev": true, - "requires": { - "async": "2.6.0", - "chalk": "2.3.2", - "commander": "2.9.0", - "globby": "6.1.0", - "hunspell-spellchecker": "1.0.2", - "inquirer": "1.2.3", - "js-yaml": "3.11.0", - "marked": "0.3.19", - "sinon-as-promised": "4.0.3" - } - }, - "markdownlint": { - "version": "0.6.4", - "resolved": "https://registry.npmjs.org/markdownlint/-/markdownlint-0.6.4.tgz", - "integrity": "sha512-gcojwPjnWIE6qJh16veEN2k62rkJdXEznAaupbNiBpwHlMqFqh5SMA5/YPJO6/uEpwn2NJjSYkYk2OcIWvgkeQ==", - "dev": true, - "requires": { - "markdown-it": "8.3.2" - } - }, - "markdownlint-cli": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/markdownlint-cli/-/markdownlint-cli-0.6.0.tgz", - "integrity": "sha512-gRkrvv2WrUTp/jbY+GZxyKPc10Bad5AmX0pnJWHX2eoaRDzFcrTGKTHzSXkyyy0fhBoXF7kgR/7FLvlz+agi3A==", - "dev": true, - "requires": { - "commander": "2.9.0", - "deep-extend": "0.4.2", - "glob": "7.0.6", - "lodash.flatten": "4.3.0", - "lodash.values": "4.2.0", - "markdownlint": "0.6.4", - "rc": "1.1.7" - } - }, - "marked": { - "version": "0.3.19", - "resolved": "https://registry.npmjs.org/marked/-/marked-0.3.19.tgz", - "integrity": "sha512-ea2eGWOqNxPcXv8dyERdSr/6FmzvWwzjMxpfGB/sbMccXoct+xY+YukPD+QTUZwyvK7BZwcr4m21WBOW41pAkg==", - "dev": true - }, - "mdurl": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/mdurl/-/mdurl-1.0.1.tgz", - "integrity": "sha1-/oWy7HWlkDfyrf7BAP1sYBdhFS4=", - "dev": true - }, - "minimatch": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", - "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", - "dev": true, - "requires": { - "brace-expansion": "1.1.8" - } - }, - "minimist": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", - "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", - "dev": true - }, - "mute-stream": { - "version": "0.0.6", - "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.6.tgz", - "integrity": "sha1-SJYrGeFp/R38JAs/HnMXYnu8R9s=", - "dev": true - }, - "native-promise-only": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/native-promise-only/-/native-promise-only-0.8.1.tgz", - "integrity": "sha1-IKMYwwy0X3H+et+/eyHJnBRy7xE=", - "dev": true - }, - "normalize-path": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-1.0.0.tgz", - "integrity": "sha1-MtDkcvkf80VwHBWoMRAY07CpA3k=", - "dev": true - }, - "number-is-nan": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", - "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=", - "dev": true - }, - "object-assign": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", - "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", - "dev": true - }, - "object.omit": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/object.omit/-/object.omit-2.0.1.tgz", - "integrity": "sha1-Gpx0SCnznbuFjHbKNXmuKlTr0fo=", - "dev": true, - "requires": { - "for-own": "0.1.5", - "is-extendable": "0.1.1" - } - }, - "once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", - "dev": true, - "requires": { - "wrappy": "1.0.2" - } - }, - "onetime": { - "version": "1.1.0", - "resolved": "http://registry.npmjs.org/onetime/-/onetime-1.1.0.tgz", - "integrity": "sha1-ofeDj4MUxRbwXs78vEzP4EtO14k=", - "dev": true - }, - "os-shim": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/os-shim/-/os-shim-0.1.3.tgz", - "integrity": "sha1-a2LDeRz3kJ6jXtRuF2WLtBfLORc=", - "dev": true - }, - "os-tmpdir": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", - "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=", - "dev": true - }, - "path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", - "dev": true - }, - "pify": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", - "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", - "dev": true - }, - "pinkie": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz", - "integrity": "sha1-clVrgM+g1IqXToDnckjoDtT3+HA=", - "dev": true - }, - "pinkie-promise": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz", - "integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o=", - "dev": true, - "requires": { - "pinkie": "2.0.4" - } - }, - "process-nextick-args": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.0.tgz", - "integrity": "sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw==", - "dev": true - }, - "rc": { - "version": "1.1.7", - "resolved": "https://registry.npmjs.org/rc/-/rc-1.1.7.tgz", - "integrity": "sha1-xepWS7B6/5/TpbMukGwdOmWUD+o=", - "dev": true, - "requires": { - "deep-extend": "0.4.2", - "ini": "1.3.5", - "minimist": "1.2.0", - "strip-json-comments": "2.0.1" - } - }, - "readable-stream": { - "version": "2.3.6", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", - "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", - "dev": true, - "requires": { - "core-util-is": "1.0.2", - "inherits": "2.0.3", - "isarray": "1.0.0", - "process-nextick-args": "2.0.0", - "safe-buffer": "5.1.1", - "string_decoder": "1.1.1", - "util-deprecate": "1.0.2" - } - }, - "restore-cursor": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-1.0.1.tgz", - "integrity": "sha1-NGYfRohjJ/7SmRR5FSJS35LapUE=", - "dev": true, - "requires": { - "exit-hook": "1.1.1", - "onetime": "1.1.0" - } - }, - "run-async": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.3.0.tgz", - "integrity": "sha1-A3GrSuC91yDUFm19/aZP96RFpsA=", - "dev": true, - "requires": { - "is-promise": "2.1.0" - } - }, - "rx": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/rx/-/rx-4.1.0.tgz", - "integrity": "sha1-pfE/957zt0D+MKqAP7CfmIBdR4I=", - "dev": true - }, - "safe-buffer": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.1.tgz", - "integrity": "sha512-kKvNJn6Mm93gAczWVJg7wH+wGYWNrDHdWvpUmHyEsgCtIwwo3bqPtV4tR5tuPaUhTOo/kvhVwd8XwwOllGYkbg==", - "dev": true - }, - "sinon-as-promised": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/sinon-as-promised/-/sinon-as-promised-4.0.3.tgz", - "integrity": "sha1-wFRbFoX9gTWIpO1pcBJIftEdFRs=", - "dev": true, - "requires": { - "create-thenable": "1.0.2", - "native-promise-only": "0.8.1" - } - }, - "spawn-sync": { - "version": "1.0.15", - "resolved": "https://registry.npmjs.org/spawn-sync/-/spawn-sync-1.0.15.tgz", - "integrity": "sha1-sAeZVX63+wyDdsKdROih6mfldHY=", - "dev": true, - "requires": { - "concat-stream": "1.6.2", - "os-shim": "0.1.3" - } - }, - "sprintf-js": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", - "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=", - "dev": true - }, - "string-width": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", - "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", - "dev": true, - "requires": { - "code-point-at": "1.1.0", - "is-fullwidth-code-point": "1.0.0", - "strip-ansi": "3.0.1" - } - }, - "string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "dev": true, - "requires": { - "safe-buffer": "5.1.1" - } - }, - "strip-ansi": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", - "dev": true, - "requires": { - "ansi-regex": "2.1.1" - } - }, - "strip-indent": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-2.0.0.tgz", - "integrity": "sha1-XvjbKV0B5u1sv3qrlpmNeCJSe2g=", - "dev": true - }, - "strip-json-comments": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", - "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=", - "dev": true - }, - "supports-color": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.3.0.tgz", - "integrity": "sha512-0aP01LLIskjKs3lq52EC0aGBAJhLq7B2Rd8HC/DR/PtNNpcLilNmHC12O+hu0usQpo7wtHNRqtrhBwtDb0+dNg==", - "dev": true, - "requires": { - "has-flag": "3.0.0" - } - }, - "through": { - "version": "2.3.8", - "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", - "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=", - "dev": true - }, - "tmp": { - "version": "0.0.29", - "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.29.tgz", - "integrity": "sha1-8lEl/w3Z2jzLDC3Tce4SiLuRKMA=", - "dev": true, - "requires": { - "os-tmpdir": "1.0.2" - } - }, - "typedarray": { - "version": "0.0.6", - "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", - "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=", - "dev": true - }, - "uc.micro": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/uc.micro/-/uc.micro-1.0.3.tgz", - "integrity": "sha1-ftUNXg+an7ClczeSWfKndFjVAZI=", - "dev": true - }, - "unique-concat": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/unique-concat/-/unique-concat-0.2.2.tgz", - "integrity": "sha1-khD5vcqsxeHjkpSQ18AZ35bxhxI=", - "dev": true - }, - "util-deprecate": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", - "dev": true - }, - "wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", - "dev": true - } - } -} diff --git a/package.json b/package.json index 86e9f50..0992064 100644 --- a/package.json +++ b/package.json @@ -20,8 +20,9 @@ "homepage": "https://github.com/react-native-community/react-native-releases#readme", "devDependencies": { "husky": "^0.14.3", + "markdown-spellcheck": "^1.3.1", "markdownlint-cli": "^0.6.0", - "markdown-spellcheck": "^1.3.1" + "yargs": "^12.0.2" }, "dependencies": {} } diff --git a/yarn.lock b/yarn.lock new file mode 100644 index 0000000..4079bf2 --- /dev/null +++ b/yarn.lock @@ -0,0 +1,991 @@ +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# yarn lockfile v1 + + +ansi-escapes@^1.1.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-1.4.0.tgz#d3a8a83b319aa67793662b13e761c7911422306e" + integrity sha1-06ioOzGapneTZisT52HHkRQiMG4= + +ansi-regex@^2.0.0: + version "2.1.1" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df" + integrity sha1-w7M6te42DYbg5ijwRorn7yfWVN8= + +ansi-regex@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-3.0.0.tgz#ed0317c322064f79466c02966bddb605ab37d998" + integrity sha1-7QMXwyIGT3lGbAKWa922Bas32Zg= + +ansi-styles@^2.2.1: + version "2.2.1" + resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe" + integrity sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4= + +ansi-styles@^3.2.1: + version "3.2.1" + resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" + integrity sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA== + dependencies: + color-convert "^1.9.0" + +argparse@^1.0.7: + version "1.0.10" + resolved "https://registry.yarnpkg.com/argparse/-/argparse-1.0.10.tgz#bcd6791ea5ae09725e17e5ad988134cd40b3d911" + integrity sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg== + dependencies: + sprintf-js "~1.0.2" + +array-union@^1.0.1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/array-union/-/array-union-1.0.2.tgz#9a34410e4f4e3da23dea375be5be70f24778ec39" + integrity sha1-mjRBDk9OPaI96jdb5b5w8kd47Dk= + dependencies: + array-uniq "^1.0.1" + +array-uniq@^1.0.1: + version "1.0.3" + resolved "https://registry.yarnpkg.com/array-uniq/-/array-uniq-1.0.3.tgz#af6ac877a25cc7f74e058894753858dfdb24fdb6" + integrity sha1-r2rId6Jcx/dOBYiUdThY39sk/bY= + +async@^2.1.4: + version "2.6.1" + resolved "https://registry.yarnpkg.com/async/-/async-2.6.1.tgz#b245a23ca71930044ec53fa46aa00a3e87c6a610" + integrity sha512-fNEiL2+AZt6AlAw/29Cr0UDe4sRAHCpEHh54WMz+Bb7QfNcFw4h3loofyJpLeQs4Yx7yuqu/2dLgM5hKOs6HlQ== + dependencies: + lodash "^4.17.10" + +balanced-match@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767" + integrity sha1-ibTRmasr7kneFk6gK4nORi1xt2c= + +brace-expansion@^1.1.7: + version "1.1.11" + resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" + integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA== + dependencies: + balanced-match "^1.0.0" + concat-map "0.0.1" + +buffer-from@^1.0.0: + version "1.1.1" + resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.1.tgz#32713bc028f75c02fdb710d7c7bcec1f2c6070ef" + integrity sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A== + +camelcase@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-4.1.0.tgz#d545635be1e33c542649c69173e5de6acfae34dd" + integrity sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0= + +chalk@^1.0.0: + version "1.1.3" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98" + integrity sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg= + dependencies: + ansi-styles "^2.2.1" + escape-string-regexp "^1.0.2" + has-ansi "^2.0.0" + strip-ansi "^3.0.0" + supports-color "^2.0.0" + +chalk@^2.0.1: + version "2.4.1" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.1.tgz#18c49ab16a037b6eb0152cc83e3471338215b66e" + integrity sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ== + dependencies: + ansi-styles "^3.2.1" + escape-string-regexp "^1.0.5" + supports-color "^5.3.0" + +ci-info@^1.5.0: + version "1.6.0" + resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-1.6.0.tgz#2ca20dbb9ceb32d4524a683303313f0304b1e497" + integrity sha512-vsGdkwSCDpWmP80ncATX7iea5DWQemg1UgCW5J8tqjU3lYw4FBYuj89J0CTVomA7BEfvSZd84GmHko+MxFQU2A== + +cli-cursor@^1.0.1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-1.0.2.tgz#64da3f7d56a54412e59794bd62dc35295e8f2987" + integrity sha1-ZNo/fValRBLll5S9Ytw1KV6PKYc= + dependencies: + restore-cursor "^1.0.1" + +cli-width@^2.0.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-2.2.0.tgz#ff19ede8a9a5e579324147b0c11f0fbcbabed639" + integrity sha1-/xnt6Kml5XkyQUewwR8PvLq+1jk= + +cliui@^4.0.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/cliui/-/cliui-4.1.0.tgz#348422dbe82d800b3022eef4f6ac10bf2e4d1b49" + integrity sha512-4FG+RSG9DL7uEwRUZXZn3SS34DiDPfzP0VOiEwtUWlE+AR2EIg+hSyvrIgUUfhdgR/UkAeW2QHgeP+hWrXs7jQ== + dependencies: + string-width "^2.1.1" + strip-ansi "^4.0.0" + wrap-ansi "^2.0.0" + +code-point-at@^1.0.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77" + integrity sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c= + +color-convert@^1.9.0: + version "1.9.3" + resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8" + integrity sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg== + dependencies: + color-name "1.1.3" + +color-name@1.1.3: + version "1.1.3" + resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" + integrity sha1-p9BVi9icQveV3UIyj3QIMcpTvCU= + +commander@^2.8.1: + version "2.19.0" + resolved "https://registry.yarnpkg.com/commander/-/commander-2.19.0.tgz#f6198aa84e5b83c46054b94ddedbfed5ee9ff12a" + integrity sha512-6tvAOO+D6OENvRAh524Dh9jcfKTYDQAqvqezbCW82xj5X0pSrcpxtvRKHLG0yBY6SD7PSDrJaj+0AiOcKVd1Xg== + +commander@~2.9.0: + version "2.9.0" + resolved "https://registry.yarnpkg.com/commander/-/commander-2.9.0.tgz#9c99094176e12240cb22d6c5146098400fe0f7d4" + integrity sha1-nJkJQXbhIkDLItbFFGCYQA/g99Q= + dependencies: + graceful-readlink ">= 1.0.0" + +concat-map@0.0.1: + version "0.0.1" + resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" + integrity sha1-2Klr13/Wjfd5OnMDajug1UBdR3s= + +concat-stream@^1.4.7: + version "1.6.2" + resolved "https://registry.yarnpkg.com/concat-stream/-/concat-stream-1.6.2.tgz#904bdf194cd3122fc675c77fc4ac3d4ff0fd1a34" + integrity sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw== + dependencies: + buffer-from "^1.0.0" + inherits "^2.0.3" + readable-stream "^2.2.2" + typedarray "^0.0.6" + +core-util-is@~1.0.0: + version "1.0.2" + resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" + integrity sha1-tf1UIgqivFq1eqtxQMlAdUUDwac= + +create-thenable@~1.0.0: + version "1.0.2" + resolved "https://registry.yarnpkg.com/create-thenable/-/create-thenable-1.0.2.tgz#e2031720ccc9575d8cfa31f5c146e762a80c0534" + integrity sha1-4gMXIMzJV12M+jH1wUbnYqgMBTQ= + dependencies: + object.omit "~2.0.0" + unique-concat "~0.2.2" + +cross-spawn@^6.0.0: + version "6.0.5" + resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4" + integrity sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ== + dependencies: + nice-try "^1.0.4" + path-key "^2.0.1" + semver "^5.5.0" + shebang-command "^1.2.0" + which "^1.2.9" + +decamelize@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-2.0.0.tgz#656d7bbc8094c4c788ea53c5840908c9c7d063c7" + integrity sha512-Ikpp5scV3MSYxY39ymh45ZLEecsTdv/Xj2CaQfI8RLMuwi7XvjX9H/fhraiSuU+C5w5NTDu4ZU72xNiZnurBPg== + dependencies: + xregexp "4.0.0" + +deep-extend@~0.4.0, deep-extend@~0.4.1: + version "0.4.2" + resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.4.2.tgz#48b699c27e334bf89f10892be432f6e4c7d34a7f" + integrity sha1-SLaZwn4zS/ifEIkr5DL25MfTSn8= + +entities@~1.1.1: + version "1.1.2" + resolved "https://registry.yarnpkg.com/entities/-/entities-1.1.2.tgz#bdfa735299664dfafd34529ed4f8522a275fea56" + integrity sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w== + +escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" + integrity sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ= + +esprima@^4.0.0: + version "4.0.1" + resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71" + integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A== + +execa@^0.10.0: + version "0.10.0" + resolved "https://registry.yarnpkg.com/execa/-/execa-0.10.0.tgz#ff456a8f53f90f8eccc71a96d11bdfc7f082cb50" + integrity sha512-7XOMnz8Ynx1gGo/3hyV9loYNPWM94jG3+3T3Y8tsfSstFmETmENCMU/A/zj8Lyaj1lkgEepKepvd6240tBRvlw== + dependencies: + cross-spawn "^6.0.0" + get-stream "^3.0.0" + is-stream "^1.1.0" + npm-run-path "^2.0.0" + p-finally "^1.0.0" + signal-exit "^3.0.0" + strip-eof "^1.0.0" + +exit-hook@^1.0.0: + version "1.1.1" + resolved "https://registry.yarnpkg.com/exit-hook/-/exit-hook-1.1.1.tgz#f05ca233b48c05d54fff07765df8507e95c02ff8" + integrity sha1-8FyiM7SMBdVP/wd2XfhQfpXAL/g= + +extend@^3.0.0: + version "3.0.2" + resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.2.tgz#f8b1136b4071fbd8eb140aff858b1019ec2915fa" + integrity sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g== + +external-editor@^1.1.0: + version "1.1.1" + resolved "https://registry.yarnpkg.com/external-editor/-/external-editor-1.1.1.tgz#12d7b0db850f7ff7e7081baf4005700060c4600b" + integrity sha1-Etew24UPf/fnCBuvQAVwAGDEYAs= + dependencies: + extend "^3.0.0" + spawn-sync "^1.0.15" + tmp "^0.0.29" + +figures@^1.3.5: + version "1.7.0" + resolved "https://registry.yarnpkg.com/figures/-/figures-1.7.0.tgz#cbe1e3affcf1cd44b80cadfed28dc793a9701d2e" + integrity sha1-y+Hjr/zxzUS4DK3+0o3Hk6lwHS4= + dependencies: + escape-string-regexp "^1.0.5" + object-assign "^4.1.0" + +find-up@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/find-up/-/find-up-3.0.0.tgz#49169f1d7993430646da61ecc5ae355c21c97b73" + integrity sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg== + dependencies: + locate-path "^3.0.0" + +for-in@^1.0.1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80" + integrity sha1-gQaNKVqBQuwKxybG4iAMMPttXoA= + +for-own@^0.1.4: + version "0.1.5" + resolved "https://registry.yarnpkg.com/for-own/-/for-own-0.1.5.tgz#5265c681a4f294dabbf17c9509b6763aa84510ce" + integrity sha1-UmXGgaTylNq78XyVCbZ2OqhFEM4= + dependencies: + for-in "^1.0.1" + +fs.realpath@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" + integrity sha1-FQStJSMVjKpA20onh8sBQRmU6k8= + +get-caller-file@^1.0.1: + version "1.0.3" + resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-1.0.3.tgz#f978fa4c90d1dfe7ff2d6beda2a515e713bdcf4a" + integrity sha512-3t6rVToeoZfYSGd8YoLFR2DJkiQrIiUrGcjvFX2mDw3bn6k2OtwHN0TNCLbBO+w8qTvimhDkv+LSscbJY1vE6w== + +get-stream@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-3.0.0.tgz#8e943d1358dc37555054ecbe2edb05aa174ede14" + integrity sha1-jpQ9E1jcN1VQVOy+LtsFqhdO3hQ= + +glob@^7.0.3: + version "7.1.3" + resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.3.tgz#3960832d3f1574108342dafd3a67b332c0969df1" + integrity sha512-vcfuiIxogLV4DlGBHIUOwI0IbrJ8HWPc4MU7HzviGeNho/UJDfi6B5p3sHeWIQ0KGIU0Jpxi5ZHxemQfLkkAwQ== + dependencies: + fs.realpath "^1.0.0" + inflight "^1.0.4" + inherits "2" + minimatch "^3.0.4" + once "^1.3.0" + path-is-absolute "^1.0.0" + +glob@~7.0.3: + version "7.0.6" + resolved "https://registry.yarnpkg.com/glob/-/glob-7.0.6.tgz#211bafaf49e525b8cd93260d14ab136152b3f57a" + integrity sha1-IRuvr0nlJbjNkyYNFKsTYVKz9Xo= + dependencies: + fs.realpath "^1.0.0" + inflight "^1.0.4" + inherits "2" + minimatch "^3.0.2" + once "^1.3.0" + path-is-absolute "^1.0.0" + +globby@^6.1.0: + version "6.1.0" + resolved "https://registry.yarnpkg.com/globby/-/globby-6.1.0.tgz#f5a6d70e8395e21c858fb0489d64df02424d506c" + integrity sha1-9abXDoOV4hyFj7BInWTfAkJNUGw= + dependencies: + array-union "^1.0.1" + glob "^7.0.3" + object-assign "^4.0.1" + pify "^2.0.0" + pinkie-promise "^2.0.0" + +"graceful-readlink@>= 1.0.0": + version "1.0.1" + resolved "https://registry.yarnpkg.com/graceful-readlink/-/graceful-readlink-1.0.1.tgz#4cafad76bc62f02fa039b2f94e9a3dd3a391a725" + integrity sha1-TK+tdrxi8C+gObL5Tpo906ORpyU= + +has-ansi@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/has-ansi/-/has-ansi-2.0.0.tgz#34f5049ce1ecdf2b0649af3ef24e45ed35416d91" + integrity sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE= + dependencies: + ansi-regex "^2.0.0" + +has-flag@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" + integrity sha1-tdRU3CGZriJWmfNGfloH87lVuv0= + +hunspell-spellchecker@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/hunspell-spellchecker/-/hunspell-spellchecker-1.0.2.tgz#a10b0bd2fa00a65ab62a4c6b734ce496d318910e" + integrity sha1-oQsL0voAplq2Kkxrc0zkltMYkQ4= + +husky@^0.14.3: + version "0.14.3" + resolved "https://registry.yarnpkg.com/husky/-/husky-0.14.3.tgz#c69ed74e2d2779769a17ba8399b54ce0b63c12c3" + integrity sha512-e21wivqHpstpoiWA/Yi8eFti8E+sQDSS53cpJsPptPs295QTOQR0ZwnHo2TXy1XOpZFD9rPOd3NpmqTK6uMLJA== + dependencies: + is-ci "^1.0.10" + normalize-path "^1.0.0" + strip-indent "^2.0.0" + +inflight@^1.0.4: + version "1.0.6" + resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" + integrity sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk= + dependencies: + once "^1.3.0" + wrappy "1" + +inherits@2, inherits@^2.0.3, inherits@~2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" + integrity sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4= + +ini@~1.3.0: + version "1.3.5" + resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.5.tgz#eee25f56db1c9ec6085e0c22778083f596abf927" + integrity sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw== + +inquirer@^1.0.0: + version "1.2.3" + resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-1.2.3.tgz#4dec6f32f37ef7bb0b2ed3f1d1a5c3f545074918" + integrity sha1-TexvMvN+97sLLtPx0aXD9UUHSRg= + dependencies: + ansi-escapes "^1.1.0" + chalk "^1.0.0" + cli-cursor "^1.0.1" + cli-width "^2.0.0" + external-editor "^1.1.0" + figures "^1.3.5" + lodash "^4.3.0" + mute-stream "0.0.6" + pinkie-promise "^2.0.0" + run-async "^2.2.0" + rx "^4.1.0" + string-width "^1.0.1" + strip-ansi "^3.0.0" + through "^2.3.6" + +invert-kv@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/invert-kv/-/invert-kv-2.0.0.tgz#7393f5afa59ec9ff5f67a27620d11c226e3eec02" + integrity sha512-wPVv/y/QQ/Uiirj/vh3oP+1Ww+AWehmi1g5fFWGPF6IpCBCDVrhgHRMvrLfdYcwDh3QJbGXDW4JAuzxElLSqKA== + +is-ci@^1.0.10: + version "1.2.1" + resolved "https://registry.yarnpkg.com/is-ci/-/is-ci-1.2.1.tgz#e3779c8ee17fccf428488f6e281187f2e632841c" + integrity sha512-s6tfsaQaQi3JNciBH6shVqEDvhGut0SUXr31ag8Pd8BBbVVlcGfWhpPmEOoM6RJ5TFhbypvf5yyRw/VXW1IiWg== + dependencies: + ci-info "^1.5.0" + +is-extendable@^0.1.1: + version "0.1.1" + resolved "https://registry.yarnpkg.com/is-extendable/-/is-extendable-0.1.1.tgz#62b110e289a471418e3ec36a617d472e301dfc89" + integrity sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik= + +is-fullwidth-code-point@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz#ef9e31386f031a7f0d643af82fde50c457ef00cb" + integrity sha1-754xOG8DGn8NZDr4L95QxFfvAMs= + dependencies: + number-is-nan "^1.0.0" + +is-fullwidth-code-point@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz#a3b30a5c4f199183167aaab93beefae3ddfb654f" + integrity sha1-o7MKXE8ZkYMWeqq5O+764937ZU8= + +is-promise@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/is-promise/-/is-promise-2.1.0.tgz#79a2a9ece7f096e80f36d2b2f3bc16c1ff4bf3fa" + integrity sha1-eaKp7OfwlugPNtKy87wWwf9L8/o= + +is-stream@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44" + integrity sha1-EtSj3U5o4Lec6428hBc66A2RykQ= + +isarray@~1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" + integrity sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE= + +isexe@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" + integrity sha1-6PvzdNxVb/iUehDcsFctYz8s+hA= + +js-yaml@^3.10.0: + version "3.12.0" + resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.12.0.tgz#eaed656ec8344f10f527c6bfa1b6e2244de167d1" + integrity sha512-PIt2cnwmPfL4hKNwqeiuz4bKfnzHTBv6HyVgjahA6mPLwPDzjDWrplJBMjHUFxku/N3FlmrbyPclad+I+4mJ3A== + dependencies: + argparse "^1.0.7" + esprima "^4.0.0" + +lcid@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/lcid/-/lcid-2.0.0.tgz#6ef5d2df60e52f82eb228a4c373e8d1f397253cf" + integrity sha512-avPEb8P8EGnwXKClwsNUgryVjllcRqtMYa49NTsbQagYuT1DcXnl1915oxWjoyGrXR6zH/Y0Zc96xWsPcoDKeA== + dependencies: + invert-kv "^2.0.0" + +linkify-it@^2.0.0: + version "2.0.3" + resolved "https://registry.yarnpkg.com/linkify-it/-/linkify-it-2.0.3.tgz#d94a4648f9b1c179d64fa97291268bdb6ce9434f" + integrity sha1-2UpGSPmxwXnWT6lykSaL22zpQ08= + dependencies: + uc.micro "^1.0.1" + +locate-path@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-3.0.0.tgz#dbec3b3ab759758071b58fe59fc41871af21400e" + integrity sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A== + dependencies: + p-locate "^3.0.0" + path-exists "^3.0.0" + +lodash.flatten@~4.3.0: + version "4.3.0" + resolved "https://registry.yarnpkg.com/lodash.flatten/-/lodash.flatten-4.3.0.tgz#e5ec4efe87efc59ce52f917cba8bf160636469cf" + integrity sha1-5exO/ofvxZzlL5F8uovxYGNkac8= + +lodash.values@~4.2.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/lodash.values/-/lodash.values-4.2.0.tgz#932625f7d2c954b63db895255548f3b49f120e9a" + integrity sha1-kyYl99LJVLY9uJUlVUjztJ8SDpo= + +lodash@^4.17.10, lodash@^4.3.0: + version "4.17.11" + resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.11.tgz#b39ea6229ef607ecd89e2c8df12536891cac9b8d" + integrity sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg== + +map-age-cleaner@^0.1.1: + version "0.1.2" + resolved "https://registry.yarnpkg.com/map-age-cleaner/-/map-age-cleaner-0.1.2.tgz#098fb15538fd3dbe461f12745b0ca8568d4e3f74" + integrity sha512-UN1dNocxQq44IhJyMI4TU8phc2m9BddacHRPRjKGLYaF0jqd3xLz0jS0skpAU9WgYyoR4gHtUpzytNBS385FWQ== + dependencies: + p-defer "^1.0.0" + +markdown-it@8.3.2: + version "8.3.2" + resolved "https://registry.yarnpkg.com/markdown-it/-/markdown-it-8.3.2.tgz#df4b86530d17c3bc9beec3b68d770b92ea17ae96" + integrity sha512-4J92IhJq1kGoyXddwzzfjr9cEKGexBfFsZooKYMhMLLlWa4+dlSPDUUP7y+xQOCebIj61aLmKlowg//YcdPP1w== + dependencies: + argparse "^1.0.7" + entities "~1.1.1" + linkify-it "^2.0.0" + mdurl "^1.0.1" + uc.micro "^1.0.3" + +markdown-spellcheck@^1.3.1: + version "1.3.1" + resolved "https://registry.yarnpkg.com/markdown-spellcheck/-/markdown-spellcheck-1.3.1.tgz#e901b04631e759ad8903470db3261013c2712602" + integrity sha512-9uyovbDg3Kh2H89VDtqOkXKS9wuRgpLvOHXzPYWMR71tHQZWt2CAf28EIpXNhkFqqoEjXYAx+fXLuKufApYHRQ== + dependencies: + async "^2.1.4" + chalk "^2.0.1" + commander "^2.8.1" + globby "^6.1.0" + hunspell-spellchecker "^1.0.2" + inquirer "^1.0.0" + js-yaml "^3.10.0" + marked "^0.3.5" + sinon-as-promised "^4.0.0" + +markdownlint-cli@^0.6.0: + version "0.6.0" + resolved "https://registry.yarnpkg.com/markdownlint-cli/-/markdownlint-cli-0.6.0.tgz#f712e814d2909ea757724a31ccd96dabc21554ef" + integrity sha512-gRkrvv2WrUTp/jbY+GZxyKPc10Bad5AmX0pnJWHX2eoaRDzFcrTGKTHzSXkyyy0fhBoXF7kgR/7FLvlz+agi3A== + dependencies: + commander "~2.9.0" + deep-extend "~0.4.1" + glob "~7.0.3" + lodash.flatten "~4.3.0" + lodash.values "~4.2.0" + markdownlint "~0.6.4" + rc "~1.1.6" + +markdownlint@~0.6.4: + version "0.6.4" + resolved "https://registry.yarnpkg.com/markdownlint/-/markdownlint-0.6.4.tgz#7fa77e0d8c1b1c3ed7978761ce664bd23e7328ef" + integrity sha512-gcojwPjnWIE6qJh16veEN2k62rkJdXEznAaupbNiBpwHlMqFqh5SMA5/YPJO6/uEpwn2NJjSYkYk2OcIWvgkeQ== + dependencies: + markdown-it "8.3.2" + +marked@^0.3.5: + version "0.3.19" + resolved "https://registry.yarnpkg.com/marked/-/marked-0.3.19.tgz#5d47f709c4c9fc3c216b6d46127280f40b39d790" + integrity sha512-ea2eGWOqNxPcXv8dyERdSr/6FmzvWwzjMxpfGB/sbMccXoct+xY+YukPD+QTUZwyvK7BZwcr4m21WBOW41pAkg== + +mdurl@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/mdurl/-/mdurl-1.0.1.tgz#fe85b2ec75a59037f2adfec100fd6c601761152e" + integrity sha1-/oWy7HWlkDfyrf7BAP1sYBdhFS4= + +mem@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/mem/-/mem-4.0.0.tgz#6437690d9471678f6cc83659c00cbafcd6b0cdaf" + integrity sha512-WQxG/5xYc3tMbYLXoXPm81ET2WDULiU5FxbuIoNbJqLOOI8zehXFdZuiUEgfdrU2mVB1pxBZUGlYORSrpuJreA== + dependencies: + map-age-cleaner "^0.1.1" + mimic-fn "^1.0.0" + p-is-promise "^1.1.0" + +mimic-fn@^1.0.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-1.2.0.tgz#820c86a39334640e99516928bd03fca88057d022" + integrity sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ== + +minimatch@^3.0.2, minimatch@^3.0.4: + version "3.0.4" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" + integrity sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA== + dependencies: + brace-expansion "^1.1.7" + +minimist@^1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284" + integrity sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ= + +mute-stream@0.0.6: + version "0.0.6" + resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.6.tgz#48962b19e169fd1dfc240b3f1e7317627bbc47db" + integrity sha1-SJYrGeFp/R38JAs/HnMXYnu8R9s= + +native-promise-only@~0.8.1: + version "0.8.1" + resolved "https://registry.yarnpkg.com/native-promise-only/-/native-promise-only-0.8.1.tgz#20a318c30cb45f71fe7adfbf7b21c99c1472ef11" + integrity sha1-IKMYwwy0X3H+et+/eyHJnBRy7xE= + +nice-try@^1.0.4: + version "1.0.5" + resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366" + integrity sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ== + +normalize-path@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-1.0.0.tgz#32d0e472f91ff345701c15a8311018d3b0a90379" + integrity sha1-MtDkcvkf80VwHBWoMRAY07CpA3k= + +npm-run-path@^2.0.0: + version "2.0.2" + resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-2.0.2.tgz#35a9232dfa35d7067b4cb2ddf2357b1871536c5f" + integrity sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8= + dependencies: + path-key "^2.0.0" + +number-is-nan@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d" + integrity sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0= + +object-assign@^4.0.1, object-assign@^4.1.0: + version "4.1.1" + resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" + integrity sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM= + +object.omit@~2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/object.omit/-/object.omit-2.0.1.tgz#1a9c744829f39dbb858c76ca3579ae2a54ebd1fa" + integrity sha1-Gpx0SCnznbuFjHbKNXmuKlTr0fo= + dependencies: + for-own "^0.1.4" + is-extendable "^0.1.1" + +once@^1.3.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" + integrity sha1-WDsap3WWHUsROsF9nFC6753Xa9E= + dependencies: + wrappy "1" + +onetime@^1.0.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/onetime/-/onetime-1.1.0.tgz#a1f7838f8314c516f05ecefcbc4ccfe04b4ed789" + integrity sha1-ofeDj4MUxRbwXs78vEzP4EtO14k= + +os-locale@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/os-locale/-/os-locale-3.0.1.tgz#3b014fbf01d87f60a1e5348d80fe870dc82c4620" + integrity sha512-7g5e7dmXPtzcP4bgsZ8ixDVqA7oWYuEz4lOSujeWyliPai4gfVDiFIcwBg3aGCPnmSGfzOKTK3ccPn0CKv3DBw== + dependencies: + execa "^0.10.0" + lcid "^2.0.0" + mem "^4.0.0" + +os-shim@^0.1.2: + version "0.1.3" + resolved "https://registry.yarnpkg.com/os-shim/-/os-shim-0.1.3.tgz#6b62c3791cf7909ea35ed46e17658bb417cb3917" + integrity sha1-a2LDeRz3kJ6jXtRuF2WLtBfLORc= + +os-tmpdir@~1.0.1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" + integrity sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ= + +p-defer@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/p-defer/-/p-defer-1.0.0.tgz#9f6eb182f6c9aa8cd743004a7d4f96b196b0fb0c" + integrity sha1-n26xgvbJqozXQwBKfU+WsZaw+ww= + +p-finally@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae" + integrity sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4= + +p-is-promise@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/p-is-promise/-/p-is-promise-1.1.0.tgz#9c9456989e9f6588017b0434d56097675c3da05e" + integrity sha1-nJRWmJ6fZYgBewQ01WCXZ1w9oF4= + +p-limit@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-2.0.0.tgz#e624ed54ee8c460a778b3c9f3670496ff8a57aec" + integrity sha512-fl5s52lI5ahKCernzzIyAP0QAZbGIovtVHGwpcu1Jr/EpzLVDI2myISHwGqK7m8uQFugVWSrbxH7XnhGtvEc+A== + dependencies: + p-try "^2.0.0" + +p-locate@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-3.0.0.tgz#322d69a05c0264b25997d9f40cd8a891ab0064a4" + integrity sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ== + dependencies: + p-limit "^2.0.0" + +p-try@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/p-try/-/p-try-2.0.0.tgz#85080bb87c64688fa47996fe8f7dfbe8211760b1" + integrity sha512-hMp0onDKIajHfIkdRk3P4CdCmErkYAxxDtP3Wx/4nZ3aGlau2VKh3mZpcuFkH27WQkL/3WBCPOktzA9ZOAnMQQ== + +path-exists@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515" + integrity sha1-zg6+ql94yxiSXqfYENe1mwEP1RU= + +path-is-absolute@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" + integrity sha1-F0uSaHNVNP+8es5r9TpanhtcX18= + +path-key@^2.0.0, path-key@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/path-key/-/path-key-2.0.1.tgz#411cadb574c5a140d3a4b1910d40d80cc9f40b40" + integrity sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A= + +pify@^2.0.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" + integrity sha1-7RQaasBDqEnqWISY59yosVMw6Qw= + +pinkie-promise@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/pinkie-promise/-/pinkie-promise-2.0.1.tgz#2135d6dfa7a358c069ac9b178776288228450ffa" + integrity sha1-ITXW36ejWMBprJsXh3YogihFD/o= + dependencies: + pinkie "^2.0.0" + +pinkie@^2.0.0: + version "2.0.4" + resolved "https://registry.yarnpkg.com/pinkie/-/pinkie-2.0.4.tgz#72556b80cfa0d48a974e80e77248e80ed4f7f870" + integrity sha1-clVrgM+g1IqXToDnckjoDtT3+HA= + +process-nextick-args@~2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.0.tgz#a37d732f4271b4ab1ad070d35508e8290788ffaa" + integrity sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw== + +rc@~1.1.6: + version "1.1.7" + resolved "https://registry.yarnpkg.com/rc/-/rc-1.1.7.tgz#c5ea564bb07aff9fd3a5b32e906c1d3a65940fea" + integrity sha1-xepWS7B6/5/TpbMukGwdOmWUD+o= + dependencies: + deep-extend "~0.4.0" + ini "~1.3.0" + minimist "^1.2.0" + strip-json-comments "~2.0.1" + +readable-stream@^2.2.2: + version "2.3.6" + resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.6.tgz#b11c27d88b8ff1fbe070643cf94b0c79ae1b0aaf" + integrity sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw== + dependencies: + core-util-is "~1.0.0" + inherits "~2.0.3" + isarray "~1.0.0" + process-nextick-args "~2.0.0" + safe-buffer "~5.1.1" + string_decoder "~1.1.1" + util-deprecate "~1.0.1" + +require-directory@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" + integrity sha1-jGStX9MNqxyXbiNE/+f3kqam30I= + +require-main-filename@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-1.0.1.tgz#97f717b69d48784f5f526a6c5aa8ffdda055a4d1" + integrity sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE= + +restore-cursor@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-1.0.1.tgz#34661f46886327fed2991479152252df92daa541" + integrity sha1-NGYfRohjJ/7SmRR5FSJS35LapUE= + dependencies: + exit-hook "^1.0.0" + onetime "^1.0.0" + +run-async@^2.2.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/run-async/-/run-async-2.3.0.tgz#0371ab4ae0bdd720d4166d7dfda64ff7a445a6c0" + integrity sha1-A3GrSuC91yDUFm19/aZP96RFpsA= + dependencies: + is-promise "^2.1.0" + +rx@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/rx/-/rx-4.1.0.tgz#a5f13ff79ef3b740fe30aa803fb09f98805d4782" + integrity sha1-pfE/957zt0D+MKqAP7CfmIBdR4I= + +safe-buffer@~5.1.0, safe-buffer@~5.1.1: + version "5.1.2" + resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" + integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== + +semver@^5.5.0: + version "5.6.0" + resolved "https://registry.yarnpkg.com/semver/-/semver-5.6.0.tgz#7e74256fbaa49c75aa7c7a205cc22799cac80004" + integrity sha512-RS9R6R35NYgQn++fkDWaOmqGoj4Ek9gGs+DPxNUZKuwE183xjJroKvyo1IzVFeXvUrvmALy6FWD5xrdJT25gMg== + +set-blocking@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" + integrity sha1-BF+XgtARrppoA93TgrJDkrPYkPc= + +shebang-command@^1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea" + integrity sha1-RKrGW2lbAzmJaMOfNj/uXer98eo= + dependencies: + shebang-regex "^1.0.0" + +shebang-regex@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-1.0.0.tgz#da42f49740c0b42db2ca9728571cb190c98efea3" + integrity sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM= + +signal-exit@^3.0.0: + version "3.0.2" + resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d" + integrity sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0= + +sinon-as-promised@^4.0.0: + version "4.0.3" + resolved "https://registry.yarnpkg.com/sinon-as-promised/-/sinon-as-promised-4.0.3.tgz#c0545b1685fd813588a4ed697012487ed11d151b" + integrity sha1-wFRbFoX9gTWIpO1pcBJIftEdFRs= + dependencies: + create-thenable "~1.0.0" + native-promise-only "~0.8.1" + +spawn-sync@^1.0.15: + version "1.0.15" + resolved "https://registry.yarnpkg.com/spawn-sync/-/spawn-sync-1.0.15.tgz#b00799557eb7fb0c8376c29d44e8a1ea67e57476" + integrity sha1-sAeZVX63+wyDdsKdROih6mfldHY= + dependencies: + concat-stream "^1.4.7" + os-shim "^0.1.2" + +sprintf-js@~1.0.2: + version "1.0.3" + resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" + integrity sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw= + +string-width@^1.0.1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-1.0.2.tgz#118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3" + integrity sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M= + dependencies: + code-point-at "^1.0.0" + is-fullwidth-code-point "^1.0.0" + strip-ansi "^3.0.0" + +string-width@^2.0.0, string-width@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e" + integrity sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw== + dependencies: + is-fullwidth-code-point "^2.0.0" + strip-ansi "^4.0.0" + +string_decoder@~1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.1.1.tgz#9cf1611ba62685d7030ae9e4ba34149c3af03fc8" + integrity sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg== + dependencies: + safe-buffer "~5.1.0" + +strip-ansi@^3.0.0, strip-ansi@^3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf" + integrity sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8= + dependencies: + ansi-regex "^2.0.0" + +strip-ansi@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-4.0.0.tgz#a8479022eb1ac368a871389b635262c505ee368f" + integrity sha1-qEeQIusaw2iocTibY1JixQXuNo8= + dependencies: + ansi-regex "^3.0.0" + +strip-eof@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/strip-eof/-/strip-eof-1.0.0.tgz#bb43ff5598a6eb05d89b59fcd129c983313606bf" + integrity sha1-u0P/VZim6wXYm1n80SnJgzE2Br8= + +strip-indent@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/strip-indent/-/strip-indent-2.0.0.tgz#5ef8db295d01e6ed6cbf7aab96998d7822527b68" + integrity sha1-XvjbKV0B5u1sv3qrlpmNeCJSe2g= + +strip-json-comments@~2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" + integrity sha1-PFMZQukIwml8DsNEhYwobHygpgo= + +supports-color@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7" + integrity sha1-U10EXOa2Nj+kARcIRimZXp3zJMc= + +supports-color@^5.3.0: + version "5.5.0" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f" + integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow== + dependencies: + has-flag "^3.0.0" + +through@^2.3.6: + version "2.3.8" + resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" + integrity sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU= + +tmp@^0.0.29: + version "0.0.29" + resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.0.29.tgz#f25125ff0dd9da3ccb0c2dd371ee1288bb9128c0" + integrity sha1-8lEl/w3Z2jzLDC3Tce4SiLuRKMA= + dependencies: + os-tmpdir "~1.0.1" + +typedarray@^0.0.6: + version "0.0.6" + resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" + integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c= + +uc.micro@^1.0.1, uc.micro@^1.0.3: + version "1.0.5" + resolved "https://registry.yarnpkg.com/uc.micro/-/uc.micro-1.0.5.tgz#0c65f15f815aa08b560a61ce8b4db7ffc3f45376" + integrity sha512-JoLI4g5zv5qNyT09f4YAvEZIIV1oOjqnewYg5D38dkQljIzpPT296dbIGvKro3digYI1bkb7W6EP1y4uDlmzLg== + +unique-concat@~0.2.2: + version "0.2.2" + resolved "https://registry.yarnpkg.com/unique-concat/-/unique-concat-0.2.2.tgz#9210f9bdcaacc5e1e3929490d7c019df96f18712" + integrity sha1-khD5vcqsxeHjkpSQ18AZ35bxhxI= + +util-deprecate@~1.0.1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" + integrity sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8= + +which-module@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a" + integrity sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho= + +which@^1.2.9: + version "1.3.1" + resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a" + integrity sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ== + dependencies: + isexe "^2.0.0" + +wrap-ansi@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-2.1.0.tgz#d8fc3d284dd05794fe84973caecdd1cf824fdd85" + integrity sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU= + dependencies: + string-width "^1.0.1" + strip-ansi "^3.0.1" + +wrappy@1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" + integrity sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8= + +xregexp@4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/xregexp/-/xregexp-4.0.0.tgz#e698189de49dd2a18cc5687b05e17c8e43943020" + integrity sha512-PHyM+sQouu7xspQQwELlGwwd05mXUFqwFYfqPO0cC7x4fxyHnnuetmQr6CjJiafIDoH4MogHb9dOoJzR/Y4rFg== + +"y18n@^3.2.1 || ^4.0.0": + version "4.0.0" + resolved "https://registry.yarnpkg.com/y18n/-/y18n-4.0.0.tgz#95ef94f85ecc81d007c264e190a120f0a3c8566b" + integrity sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w== + +yargs-parser@^10.1.0: + version "10.1.0" + resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-10.1.0.tgz#7202265b89f7e9e9f2e5765e0fe735a905edbaa8" + integrity sha512-VCIyR1wJoEBZUqk5PA+oOBF6ypbwh5aNB3I50guxAL/quggdfs4TtNHQrSazFA3fYZ+tEqfs0zIGlv0c/rgjbQ== + dependencies: + camelcase "^4.1.0" + +yargs@^12.0.2: + version "12.0.2" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-12.0.2.tgz#fe58234369392af33ecbef53819171eff0f5aadc" + integrity sha512-e7SkEx6N6SIZ5c5H22RTZae61qtn3PYUE8JYbBFlK9sYmh3DMQ6E5ygtaG/2BW0JZi4WGgTR2IV5ChqlqrDGVQ== + dependencies: + cliui "^4.0.0" + decamelize "^2.0.0" + find-up "^3.0.0" + get-caller-file "^1.0.1" + os-locale "^3.0.0" + require-directory "^2.1.1" + require-main-filename "^1.0.1" + set-blocking "^2.0.0" + string-width "^2.0.0" + which-module "^2.0.0" + y18n "^3.2.1 || ^4.0.0" + yargs-parser "^10.1.0" From 8117a3d2fb808d32cd09e5c1b0cf559b65a99135 Mon Sep 17 00:00:00 2001 From: Ryan Turner Date: Tue, 6 Nov 2018 08:24:34 -0600 Subject: [PATCH 03/58] Fix markdownlint errors in (#62) Cleaned up some things that markdownlint was complaining about. Part of this included added a markdownlint config that permits numbered lists with the actual number. --- .markdownlint.json | 3 ++- CHANGELOG.md | 19 ++++++++++--------- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/.markdownlint.json b/.markdownlint.json index d309f56..e1c9c9a 100644 --- a/.markdownlint.json +++ b/.markdownlint.json @@ -1,5 +1,6 @@ { "default": true, "line-length": false, - "no-duplicate-header": false + "no-duplicate-header": false, + "MD029": { "style": "ordered" } } diff --git a/CHANGELOG.md b/CHANGELOG.md index 2ae217a..5eb4ccc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,7 +21,7 @@ Thanks to everyone that contributed to the [discussion](https://github.com/react - Consolidate native dependencies versions ([ba608a2](https://github.com/facebook/react-native/commit/ba608a2db786a8e983a6e30b31662fac254286c0) by [@dulmandakh](https://github.com/dulmandakh)) - bump okhttp3 to 3.11 ([10fc548](https://github.com/facebook/react-native/commit/10fc548809cc08db209ae6696b723341925137d1) by [@dulmandakh](https://github.com/dulmandakh)) -- Android: Send metrics in onTextLayout events ([737f937](https://github.com/facebook/react-native/commit/737f93705ca8b5d3fdd207f870cf27adcf1e885b) by [@mmmulani](https://github.com/mmmulani)) +- Android: Send `` metrics in onTextLayout events ([737f937](https://github.com/facebook/react-native/commit/737f93705ca8b5d3fdd207f870cf27adcf1e885b) by [@mmmulani](https://github.com/mmmulani)) - Use TextLegend example in Android as well ([335927d](https://github.com/facebook/react-native/commit/335927db44fe47e20db4503a1ab5fcf8d62144a8) by [@mmmulani](https://github.com/mmmulani)) #### iOS specific changes @@ -59,15 +59,16 @@ Thanks to everyone that contributed to the [discussion](https://github.com/react There are a few issues that don't have a finalized solution (as it happens for 0.x projects). In particular: -* when using Xcode 10 and `react-native init`, your build may fail due to third-party build steps ([#20774](https://github.com/facebook/react-native/issues/20774)). There is a [commit](https://github.com/facebook/react-native/commit/b44c5ae92eb08125d466cf151cb804dabfbbc690) we are planning to cherry pick in a future release that should help - in the meantime, you should be able to run these commands from the project folder to fix the issue (you should need to do it only once per project): -``` -$ cd node_modules/react-native -$ scripts/ios-install-third-party.sh -$ cd third-party/glog-0.3.5/ -$ ../../scripts/ios-configure-glog.sh -``` +- when using Xcode 10 and `react-native init`, your build may fail due to third-party build steps ([#20774](https://github.com/facebook/react-native/issues/20774)). There is a [commit](https://github.com/facebook/react-native/commit/b44c5ae92eb08125d466cf151cb804dabfbbc690) we are planning to cherry pick in a future release that should help - in the meantime, you should be able to run these commands from the project folder to fix the issue (you should need to do it only once per project): -* React `16.6.0` works for the most part, aside from the Context API (check [this issue](https://github.com/facebook/react-native/issues/21975)) - and if you are eager to test the new React Hooks you will have to be patient, as they are not production ready and `16.7.alpha` is **not** yet [supported](https://github.com/facebook/react-native/issues/21967) by React Native. + ```bash + cd node_modules/react-native + scripts/ios-install-third-party.sh + cd third-party/glog-0.3.5/ + ../../scripts/ios-configure-glog.sh + ``` + +- React `16.6.0` works for the most part, aside from the Context API (check [this issue](https://github.com/facebook/react-native/issues/21975)) - and if you are eager to test the new React Hooks you will have to be patient, as they are not production ready and `16.7.alpha` is **not** yet [supported](https://github.com/facebook/react-native/issues/21967) by React Native. ## [0.57.3] From 7a9c6e632e00dd069fcd3e9926103c1d5bc4248e Mon Sep 17 00:00:00 2001 From: Ryan Turner Date: Wed, 7 Nov 2018 11:03:18 +0530 Subject: [PATCH 04/58] use shorter version of URI Co-Authored-By: DaniAkash --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2f1d366..cc105c2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -273,7 +273,7 @@ As mentioned a few times in the past, the core team is reviewing the repository 1. In your project's `android/gradle/wrapper/gradle-wrapper.properties` file, change the `distributionUrl` to `https\://services.gradle.org/distributions/gradle-4.4-all.zip` 2. In `android/build.gradle` file add `google()` right above `jcenter()` in both `buildscript` and `allprojects` repositories. Then change Android build tools to version 3.1.3 `classpath 'com.android.tools.build:gradle:3.1.3'` 3. In `android/app/build.gradle` file update all your `compile` statements to be `implementation`, e.g. `implementation 'com.facebook.fresco:animated-gif:1.10.0'` - 4. Do note that when running your app from within Android Studio, you may encounter `Missing Byte Code`errors. This is due to a known issue with version 3.1.x of the android tools plugin: [https://issuetracker.google.com/issues/72811718](https://issuetracker.google.com/issues/72811718). You'll need to disable Instant Run to get past this error. + 4. Do note that when running your app from within Android Studio, you may encounter `Missing Byte Code` errors. This is due to [a known issue](https://issuetracker.google.com/issues/72811718) with version 3.1.x of the android tools plugin. You'll need to disable Instant Run to get past this error. 5. If you have a custom packager configuration via `rn-cli.config.js`, you probably need to update it to work with the updated Metro configuration structure (for full detail refer to Metro's [documentation](https://facebook.github.io/metro/docs/en/configuration)); here are some commonly encountered changes to `rn-cli.config.js`: ```diff From e0295408343ea1ea6e428668abac1cdbb9453a09 Mon Sep 17 00:00:00 2001 From: Lorenzo Sciandra Date: Thu, 8 Nov 2018 11:11:28 +0530 Subject: [PATCH 05/58] Update CHANGELOG.md Co-Authored-By: DaniAkash --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cc105c2..da80095 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -269,7 +269,7 @@ As mentioned a few times in the past, the core team is reviewing the repository ``` 3. Ensure that you have all the babel dependencies to version `^7.0.0` (you may also need to add `"babel-core": "7.0.0-bridge.0"` as a yarn resolution to ensure retro-compatibility) -4. Upgrading android gradle version to 4.4 +4. Upgrade the Android configuration: 1. In your project's `android/gradle/wrapper/gradle-wrapper.properties` file, change the `distributionUrl` to `https\://services.gradle.org/distributions/gradle-4.4-all.zip` 2. In `android/build.gradle` file add `google()` right above `jcenter()` in both `buildscript` and `allprojects` repositories. Then change Android build tools to version 3.1.3 `classpath 'com.android.tools.build:gradle:3.1.3'` 3. In `android/app/build.gradle` file update all your `compile` statements to be `implementation`, e.g. `implementation 'com.facebook.fresco:animated-gif:1.10.0'` From a9504b5f1638a705fe4ff4d63d6d92032f0990d7 Mon Sep 17 00:00:00 2001 From: wlfcss Date: Tue, 13 Nov 2018 23:38:12 +0800 Subject: [PATCH 06/58] CHANGELOG - Correct spelling mistakes (#63) --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5eb4ccc..588116f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -642,7 +642,7 @@ Heads-up: the Facebook internal team is [currently working on a rewrite of some - Update Yoga to handle being in a Xcode framework project ([cf036db](https://github.com/facebook/react-native/commit/cf036dbc7af16a8453c115372694dc51e8086fcf)) - Fix Blob memory leak ([122b379](https://github.com/facebook/react-native/commit/122b3791ede095345f44666691aa9ce5aa7f725a)) - Avoid double reload event when reloading JS ([b348aa1](https://github.com/facebook/react-native/commit/b348aa14d483cc6b33ba92637647c4987c9478c1)) -- Suppres spurious warning about RCTCxxModule ([af76473](https://github.com/facebook/react-native/commit/af76473c2e344c13ecac054b5a5568a0b94128e5)) +- Suppress spurious warning about RCTCxxModule ([af76473](https://github.com/facebook/react-native/commit/af76473c2e344c13ecac054b5a5568a0b94128e5)) #### Android specific fixes From d24262a59bdcfae82886420b4e96e79e73c6b471 Mon Sep 17 00:00:00 2001 From: Lorenzo Sciandra Date: Tue, 13 Nov 2018 15:56:34 +0000 Subject: [PATCH 07/58] quick placeholder for 0.57.5 changelog (#65) --- CHANGELOG.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 588116f..ac05820 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +## [0.57.5] + +**NOTE WELL**: when you upgrade to this version you **NEED** to upgrade `react` and `react-test-renderer` to version `"16.6.1"`. + +Thanks to everyone that contributed to the [discussion](https://github.com/react-native-community/react-native-releases/issues/54) for cherry-picking the commits that landed in this release, and the developers who submitted those commits! + +[ full commit list coming soon] + +### Known issues + +There are a few issues that don't have a finalized solution (as it happens for 0.x projects). But earlier versions issues with Xcode 10 and hooks should be fixed with this new version. + ## [0.57.4] **NOTE WELL**: when you upgrade to this version you **NEED** to upgrade `react` and `react-test-renderer` to version `"16.6.0-alpha.8af6728"` (next version, 0.57.5, will update to `16.6.0`, and it will come soon). Also, please check the _Known issues_ section below, especially if you are using Xcode 10. From 62ab652b677c2c47f93fe06031d1e583fd6df539 Mon Sep 17 00:00:00 2001 From: Ryan Turner Date: Tue, 13 Nov 2018 20:05:50 -0600 Subject: [PATCH 08/58] Add 0.57.5 changelog (#66) Add the 0.57.5 changelog and fix the changelog generator so that it works for patch releases (as referenced via commit hashes). --- CHANGELOG.md | 30 ++++++++++++++++++++++++++---- changelog-generator.js | 8 ++++---- 2 files changed, 30 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ac05820..8d6ae07 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,13 +4,35 @@ **NOTE WELL**: when you upgrade to this version you **NEED** to upgrade `react` and `react-test-renderer` to version `"16.6.1"`. -Thanks to everyone that contributed to the [discussion](https://github.com/react-native-community/react-native-releases/issues/54) for cherry-picking the commits that landed in this release, and the developers who submitted those commits! +This patch release fixes a number of crashes, resolves build issues (both for iOS and Android), and brings React to v16.6.1. Thanks everyone who contributed code or participated in the [discussion](https://github.com/react-native-community/react-native-releases/issues/54) for cherry-picking commits. -[ full commit list coming soon] +### Changed -### Known issues +- React is now at v16.6.1 ([19c8164](https://github.com/facebook/react-native/commit/19c8164) and [76c99f2](https://github.com/facebook/react-native/commit/76c99f2) by [@yungsters](https://github.com/yungsters)) + +#### iOS specific + +- Performance improvement for loading cached images ([ce09d6e](https://github.com/facebook/react-native/commit/ce09d6e) and [68dee8a](https://github.com/facebook/react-native/commit/68dee8a) by [@esamelson](https://github.com/esamelson) and others) + +### Fixed + +- Fix crash in **VirtualizedList** during pagination ([483d4e2](https://github.com/facebook/react-native/commit/483d4e2)) +- Fix polyfilling of **regeneratorRuntime** to avoid setting it to undefined in some situations ([53616e6](https://github.com/facebook/react-native/commit/53616e6) by [@rafeca](https://github.com/rafeca)) +- Fix **View** and **Text**'s `displayName` ([311ba9a](https://github.com/facebook/react-native/commit/311ba9a) by [@rajivshah3](https://github.com/rajivshah3)) +- Fix crash that happens when a component throws an exception that contains a null message ([e8c9f3c](https://github.com/facebook/react-native/commit/e8c9f3c) by [@mdvacca](https://github.com/mdvacca)) + +#### Android specific + +- Fix incorrect merged asset path with flavor for Android Gradle Plugin 3.2 ([09184a7](https://github.com/facebook/react-native/commit/09184a7) by [@yatatsu](https://github.com/yatatsu)) +- Fix crash in **ReadableNativeArray.getType** when size of ReadableNativeArray's length > 512 ([8206122](https://github.com/facebook/react-native/commit/8206122) by [@dryganets](https://github.com/dryganets)) + +#### iOS specific -There are a few issues that don't have a finalized solution (as it happens for 0.x projects). But earlier versions issues with Xcode 10 and hooks should be fixed with this new version. +- Fix crash in rapid use of **NetInfo.getCurrentConnectivity** ([03bc46d](https://github.com/facebook/react-native/commit/03bc46d) by [@mmmulani](https://github.com/mmmulani)) +- Fix Xcode 10 errors relating to third-party ([277c19c](https://github.com/facebook/react-native/commit/277c19c) by [@mmccartney](https://github.com/mmccartney)) +- Fix build errors when path to `$NODE_BINARY` contains spaces ([ce25c54](https://github.com/facebook/react-native/commit/ce25c54) by [@sundbry](https://github.com/sundbry)) +- Fix case where content of inline views didn't get relaid out ([1131463](https://github.com/facebook/react-native/commit/1131463) by [@rigdern](https://github.com/rigdern)) +- Fix **InputAccessoryView**'s safe area when not attached to a **TextInput** ([4420e39](https://github.com/facebook/react-native/commit/4420e39) by [@janicduplessis](https://github.com/janicduplessis)) ## [0.57.4] diff --git a/changelog-generator.js b/changelog-generator.js index bb01bd0..4876e04 100755 --- a/changelog-generator.js +++ b/changelog-generator.js @@ -7,12 +7,12 @@ const argv = require('yargs') .options({ 'base': { alias: 'b', - describe: 'the base version to compare against (most often, this is the current stable)', + describe: 'the base version branch or commit to compare against (most often, this is the current stable)', demandOption: true }, 'compare': { alias: 'c', - describe: 'the new version (most often, this is the release candidate)', + describe: 'the new version branch or commit (most often, this is the release candidate)', demandOption: true } }) @@ -20,8 +20,8 @@ const argv = require('yargs') .help('help') .argv -const base = argv.base + '-stable'; -const compare = argv.compare + '-stable'; +const base = argv.base; +const compare = argv.compare; function fetchJSON(host, path) { return new Promise((resolve, reject) => { From 29c9b92483004c48a3f4b8d7a6abc20362dc9238 Mon Sep 17 00:00:00 2001 From: Luke Williams <19214773+lukewlms@users.noreply.github.com> Date: Tue, 20 Nov 2018 06:21:50 -0300 Subject: [PATCH 09/58] Add suggestion to use babel upgrade (#67) --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d6ae07..c554adc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -302,7 +302,7 @@ As mentioned a few times in the past, the core team is reviewing the repository } ``` -3. Ensure that you have all the babel dependencies to version `^7.0.0` (you may also need to add `"babel-core": "7.0.0-bridge.0"` as a yarn resolution to ensure retro-compatibility) +3. Ensure that you have all the babel dependencies to version `^7.0.0` (you may also need to add `"babel-core": "7.0.0-bridge.0"` as a yarn resolution to ensure retro-compatibility). The Babel team has released a tool, [babel-upgrade](https://github.com/babel/babel-upgrade), that should help you in this migration. 4. If you have a custom packager configuration via `rn-cli.config.js`, you probably need to update it to work with the updated Metro configuration structure (for full detail refer to Metro's [documentation](https://facebook.github.io/metro/docs/en/configuration)); here are some commonly encountered changes to `rn-cli.config.js`: ```diff From 14bcb96fd07502c20348da253839b2bb82fe4d1b Mon Sep 17 00:00:00 2001 From: Ryan Turner Date: Mon, 26 Nov 2018 12:29:12 +0000 Subject: [PATCH 10/58] Add initial version of changelog as generated using ## [0.58-stable.0] ### Added - Add end point for initializecore ([9687090](https://github.com/facebook/react-native/commit/9687090) by [@ejanzer](https://github.com/ejanzer)) - Add no-dupe-class-members to RN ESLint fonfig ([88e736c](https://github.com/facebook/react-native/commit/88e736c) by [@TheSavior](https://github.com/TheSavior)) - Add tracing for loading .so files during startup ([b3b6749](https://github.com/facebook/react-native/commit/b3b6749) by [@axe-fb](https://github.com/axe-fb)) - Added lock around RN module initialization to fix crash ([6770b53](https://github.com/facebook/react-native/commit/6770b53) by [@PeteTheHeat](https://github.com/PeteTheHeat)) - Added locking around RN bridge cxx module registry to avoid crash ([1c31919](https://github.com/facebook/react-native/commit/1c31919) by [@PeteTheHeat](https://github.com/PeteTheHeat)) - Add Yoga JNI bindings to libcoldstart ([2a8f6c3](https://github.com/facebook/react-native/commit/2a8f6c3) by [@davidaurelio](https://github.com/davidaurelio)) - TextInput add back propTypes ([e6a8dca](https://github.com/facebook/react-native/commit/e6a8dca) by [@TheSavior](https://github.com/TheSavior)) - Add systrace support in Fabric C++ ([7b04f6a](https://github.com/facebook/react-native/commit/7b04f6a) by [@mdvacca](https://github.com/mdvacca)) - Adds support for `publicPath` to enable serving assets from different locations. (#299) ([0b31496](https://github.com/facebook/react-native/commit/0b31496) by [@gdborton](https://github.com/gdborton)) - Add copyright header into ContextUtils class ([fba7c1e](https://github.com/facebook/react-native/commit/fba7c1e) by [@mdvacca](https://github.com/mdvacca)) - Add another guard to lazilyLoadView ([d7865eb](https://github.com/facebook/react-native/commit/d7865eb) by [@mmmulani](https://github.com/mmmulani)) - Add a marker to indicate when JS thread priority is lowered ([d4aef08](https://github.com/facebook/react-native/commit/d4aef08) by [@axe-fb](https://github.com/axe-fb)) - added functionality using which child node can tell parent node to use it as a reference baseline ([6eb5bd3](https://github.com/facebook/react-native/commit/6eb5bd3) by [@SidharthGuglani](https://github.com/SidharthGuglani)) - Add bounce method to TouchableBounce ([383ea99](https://github.com/facebook/react-native/commit/383ea99)) - Add test for WritableNativeMap ([17ced57](https://github.com/facebook/react-native/commit/17ced57) by [@ayc1](https://github.com/ayc1)) - Add getUndefined() method to obtain the undefined value ([3337a1d](https://github.com/facebook/react-native/commit/3337a1d) by [@amir-shalem](https://github.com/amir-shalem)) - Add missing Metro Config ([e0ea58e](https://github.com/facebook/react-native/commit/e0ea58e) by [@grabbou](https://github.com/grabbou)) #### Android specific #### iOS specific - iOS: add moduleForNameForcedLoad: to lookup modules by name and force load them ([d7a0c44](https://github.com/facebook/react-native/commit/d7a0c44) by [@fkgozali](https://github.com/fkgozali)) ### Changed - Changed front-facing camera so that it shows consistent image during capture and preview ([4aeea4d](https://github.com/facebook/react-native/commit/4aeea4d)) - then to thenValue changes to allow deletion of value-taking continuation form of then ([1f32b5d](https://github.com/facebook/react-native/commit/1f32b5d) by [@LeeHowes](https://github.com/LeeHowes)) #### Android specific #### iOS specific ### Deprecated #### Android specific #### iOS specific - Fabric: Removing deprecated leftovers from RCTScheduler and RCTSurfacePresenter ([e88db99](https://github.com/facebook/react-native/commit/e88db99) by [@shergin](https://github.com/shergin)) ### Removed - Fix checkout_code: Remove Metro cache check (#21998) ([bb93abf](https://github.com/facebook/react-native/commit/bb93abf) by [@hramos](https://github.com/hramos)) - Remove view managers from @ReactModuleList ([c91a2b3](https://github.com/facebook/react-native/commit/c91a2b3) by [@axe-fb](https://github.com/axe-fb)) - Remove var in Libraries/Component (#22020) ([a06c0da](https://github.com/facebook/react-native/commit/a06c0da) by [@nd-02110114](https://github.com/nd-02110114)) - Remove var in RNTester (#22017) ([7a9d860](https://github.com/facebook/react-native/commit/7a9d860) by [@nd-02110114](https://github.com/nd-02110114)) - Remove var in RNTester (#22019) ([a21b8b7](https://github.com/facebook/react-native/commit/a21b8b7) by [@nd-02110114](https://github.com/nd-02110114)) - Remove var in RNTester (#22015) ([2648f47](https://github.com/facebook/react-native/commit/2648f47) by [@nd-02110114](https://github.com/nd-02110114)) - Remove var in RNTester (#22018) ([6b29b90](https://github.com/facebook/react-native/commit/6b29b90) by [@nd-02110114](https://github.com/nd-02110114)) - Remove var in RNTester (#22016) ([791fa2d](https://github.com/facebook/react-native/commit/791fa2d) by [@nd-02110114](https://github.com/nd-02110114)) - Remove var in RNTester (#22014) ([5af5774](https://github.com/facebook/react-native/commit/5af5774) by [@nd-02110114](https://github.com/nd-02110114)) - Remove var in RNTester (#22013) ([811a99c](https://github.com/facebook/react-native/commit/811a99c) by [@nd-02110114](https://github.com/nd-02110114)) - Remove undefined value on init cli command (#22045) ([58732a8](https://github.com/facebook/react-native/commit/58732a8) by [@ignacioola](https://github.com/ignacioola)) - Remove createReactClass from SwipeableRow (#21876) ([14e1628](https://github.com/facebook/react-native/commit/14e1628) by [@exced](https://github.com/exced)) - Remove var in Libraries/emitter/* (#22087) ([cf70870](https://github.com/facebook/react-native/commit/cf70870) by [@Tnarita0000](https://github.com/Tnarita0000)) - Remove flow-strict from polyfillPromise (#22048) ([01b7c48](https://github.com/facebook/react-native/commit/01b7c48) by [@empyrical](https://github.com/empyrical)) - Remove unused variables (#22097) ([6ebee18](https://github.com/facebook/react-native/commit/6ebee18) by [@ignacioola](https://github.com/ignacioola)) - Remove var in Libraries/vendor/core/merge.js (#22108) ([3f069f3](https://github.com/facebook/react-native/commit/3f069f3) by [@yushimatenjin](https://github.com/yushimatenjin)) - Remove var in Libraries/Utilities/MatrixMath.js (#22111) ([368518e](https://github.com/facebook/react-native/commit/368518e) by [@ggtmtmgg](https://github.com/ggtmtmgg)) - Remove var in Libraries/Utilities/buildStyleInterpolator.js (#22112) ([b01bf06](https://github.com/facebook/react-native/commit/b01bf06) by [@mottox2](https://github.com/mottox2)) - Remove unused styles (#22083) ([ffd7195](https://github.com/facebook/react-native/commit/ffd7195) by [@vcalvello](https://github.com/vcalvello)) - Fix `no-shadow` eslint warning & remove var (#22124) ([f8040ed](https://github.com/facebook/react-native/commit/f8040ed) by [@Tnarita0000](https://github.com/Tnarita0000)) - Removed unnecessary code in Libraries/Text/Text.js (#22132) ([0d4f627](https://github.com/facebook/react-native/commit/0d4f627) by [@ifsnow](https://github.com/ifsnow)) - Remove var in /Libralies/Experimental/IncrementalPresenter.js (#22144) ([cc90c20](https://github.com/facebook/react-native/commit/cc90c20) by [@soyanakagawa](https://github.com/soyanakagawa)) - Remove var in Libraries/Utilities/deepFreezeAndThrowOnMutationInDev.js (#22126) ([0a39cda](https://github.com/facebook/react-native/commit/0a39cda) by [@nabettu](https://github.com/nabettu)) - TextInput: Remove PropTypes, NativeMethodsMixin; Convert to ES6 class (#21885) ([70e9e26](https://github.com/facebook/react-native/commit/70e9e26) by [@empyrical](https://github.com/empyrical)) - Remove unused loads from xplat. ([9b781bd](https://github.com/facebook/react-native/commit/9b781bd) by [@ttsugriy](https://github.com/ttsugriy)) - Remove dynamic exception specification in RN MethodCall.h/cpp ([5b71408](https://github.com/facebook/react-native/commit/5b71408) by [@yiding](https://github.com/yiding)) - NIT remove unnecessary cast in measure ([2dbe769](https://github.com/facebook/react-native/commit/2dbe769) by [@mdvacca](https://github.com/mdvacca)) - Remove useless additionnal blur call (#22156) ([27cfba2](https://github.com/facebook/react-native/commit/27cfba2)) - `YGNodeComputeFlexBasisForChildren`: remove output param ([8f283b9](https://github.com/facebook/react-native/commit/8f283b9) by [@davidaurelio](https://github.com/davidaurelio)) #### Android specific - Remove AndroidManifest.xml from UIManager (#22044) ([7f79254](https://github.com/facebook/react-native/commit/7f79254) by [@radeno](https://github.com/radeno)) - Remove createReactClass from ProgressBarAndroidExample (#21874) ([81e5d64](https://github.com/facebook/react-native/commit/81e5d64) by [@exced](https://github.com/exced)) - remove var in ReactAndroid/src/androidTest (#22136) ([0beb1cc](https://github.com/facebook/react-native/commit/0beb1cc) by [@nd-02110114](https://github.com/nd-02110114)) - remove var in ReactAndroid/src/androidTest. (#22137) ([6f781d9](https://github.com/facebook/react-native/commit/6f781d9) by [@nd-02110114](https://github.com/nd-02110114)) - Remove var in ReactAndroid/src/androidTest (#22135) ([9d13233](https://github.com/facebook/react-native/commit/9d13233) by [@nd-02110114](https://github.com/nd-02110114)) - remove createReactClass from ToolbarAndroid/ToolbarAndroid.android.js (#21893) ([147c38a](https://github.com/facebook/react-native/commit/147c38a) by [@nd-02110114](https://github.com/nd-02110114)) #### iOS specific - remove createReactClass from SegmentedControlIOS.ios.js (#21888) ([0ea95e7](https://github.com/facebook/react-native/commit/0ea95e7) by [@nd-02110114](https://github.com/nd-02110114)) ### Fixed - Fix View/Text displayName (#21950) ([7a914fc](https://github.com/facebook/react-native/commit/7a914fc) by [@rajivshah3](https://github.com/rajivshah3)) - Fix the lazily LaodedView to avoid weird naming issues ([cae2534](https://github.com/facebook/react-native/commit/cae2534) by [@spredolac](https://github.com/spredolac)) - Fix relayout of inline views (#21968) ([798517a](https://github.com/facebook/react-native/commit/798517a) by [@rigdern](https://github.com/rigdern)) - Fix ReactRootView mount/unmount race condition ([309f85a](https://github.com/facebook/react-native/commit/309f85a) by [@ayc1](https://github.com/ayc1)) - Fix linting issues (#22062) ([ae8ec39](https://github.com/facebook/react-native/commit/ae8ec39) by [@ignacioola](https://github.com/ignacioola)) - Fix IllegalStateException when dismissing DialogManager ([38e01a2](https://github.com/facebook/react-native/commit/38e01a2) by [@mdvacca](https://github.com/mdvacca)) - Fix duplicate function declaration in WebSockets (#22098) ([b03b9d5](https://github.com/facebook/react-native/commit/b03b9d5) by [@ignacioola](https://github.com/ignacioola)) - Fix rn-cli linting issues (#22099) ([7b10a02](https://github.com/facebook/react-native/commit/7b10a02) by [@ignacioola](https://github.com/ignacioola)) - TouchEventEmitter: Fix assignment of Y coordinates (#22160) ([6b6a27c](https://github.com/facebook/react-native/commit/6b6a27c) by [@empyrical](https://github.com/empyrical)) - Fix inline styles in IntegrationTests (#22165) ([1d62e94](https://github.com/facebook/react-native/commit/1d62e94) by [@ignacioola](https://github.com/ignacioola)) - Fix inline styles warning in Libraries (#22161) ([41eb2da](https://github.com/facebook/react-native/commit/41eb2da) by [@ignacioola](https://github.com/ignacioola)) - Fix build error caused by -Werror=class-memaccess (#823) ([31439f8](https://github.com/facebook/react-native/commit/31439f8) by [@hooddanielc](https://github.com/hooddanielc)) - Fix IllegalArgumentException when dismissing ReactModalHostView ([e57ad4e](https://github.com/facebook/react-native/commit/e57ad4e) by [@mdvacca](https://github.com/mdvacca)) - Fix internal types on top of TextInput refactor ([ad7d8f8](https://github.com/facebook/react-native/commit/ad7d8f8) by [@TheSavior](https://github.com/TheSavior)) - Fix inline styles eslint warnings for examples (#22123) ([7b3c91e](https://github.com/facebook/react-native/commit/7b3c91e) by [@ignacioola](https://github.com/ignacioola)) - Fix ReactInstanceManager deadlock ([df7e8c6](https://github.com/facebook/react-native/commit/df7e8c6) by [@ayc1](https://github.com/ayc1)) - Fix ReactRootView attachRootView race condition ([be282b5](https://github.com/facebook/react-native/commit/be282b5) by [@ayc1](https://github.com/ayc1)) - UITemplateProcessor: Fix case of include path (#22239) ([0436bfc](https://github.com/facebook/react-native/commit/0436bfc) by [@empyrical](https://github.com/empyrical)) - Fix regression in StyleSheet.setStyleAttributePreprocessor (#22262) ([0408533](https://github.com/facebook/react-native/commit/0408533) by [@brentvatne](https://github.com/brentvatne)) - Fix crash when releasing RN views ([83405ff](https://github.com/facebook/react-native/commit/83405ff) by [@ayc1](https://github.com/ayc1)) - Fix crash when removing root nodes ([b649fa9](https://github.com/facebook/react-native/commit/b649fa9) by [@ayc1](https://github.com/ayc1)) - Fix React Native AsyncMode and DevTools ([aacb06c](https://github.com/facebook/react-native/commit/aacb06c) by [@bvaughn](https://github.com/bvaughn)) - reapply TextInput es6 conversion with fixes, attemps to fix ([9ea1295](https://github.com/facebook/react-native/commit/9ea1295) by [@sahrens](https://github.com/sahrens)) - Back out "reapply TextInput es6 conversion with fixes, attemps to fix" ([6f34bc4](https://github.com/facebook/react-native/commit/6f34bc4) by [@sahrens](https://github.com/sahrens)) - Fix scrolling with multiple fingers in RN Fabric scrollView ([d3a7325](https://github.com/facebook/react-native/commit/d3a7325) by [@mdvacca](https://github.com/mdvacca)) - Fix padding for Text Views in Fabric ([7b2030b](https://github.com/facebook/react-native/commit/7b2030b) by [@mdvacca](https://github.com/mdvacca)) - Replace global.alert use to fix eslint warnings (#22184) ([55994f5](https://github.com/facebook/react-native/commit/55994f5) by [@vcalvello](https://github.com/vcalvello)) - Fix jsc regression.Fixes #22274 (#22293) ([f22473e](https://github.com/facebook/react-native/commit/f22473e) by [@gengjiawen](https://github.com/gengjiawen)) - Fix allocating Buffer in early commit (#22379) ([02a3517](https://github.com/facebook/react-native/commit/02a3517) by [@radeno](https://github.com/radeno)) - Fabric: Fixed `AttributedString::operator==` ([ecc7012](https://github.com/facebook/react-native/commit/ecc7012) by [@shergin](https://github.com/shergin)) - Fix jsc regression.Fixes #22274 (#22293) ([d4d457b](https://github.com/facebook/react-native/commit/d4d457b) by [@gengjiawen](https://github.com/gengjiawen)) #### Android specific - fix android ci (#21913) ([99632e1](https://github.com/facebook/react-native/commit/99632e1) by [@dulmandakh](https://github.com/dulmandakh)) - Fix incorrect merged asset path with flavor for Android Gradle Plugin 3.2. (#21782) ([e90319e](https://github.com/facebook/react-native/commit/e90319e) by [@yatatsu](https://github.com/yatatsu)) - bump buck to 2018.10.29.01. fixes Android CI (#22049) ([b40e23d](https://github.com/facebook/react-native/commit/b40e23d) by [@dulmandakh](https://github.com/dulmandakh)) - Fix the comment for getSize in Image.android.js (#22092) ([a09aca5](https://github.com/facebook/react-native/commit/a09aca5) by [@wd39](https://github.com/wd39)) - Fix inline styles in ReactAndroid (#22166) ([8b46c9a](https://github.com/facebook/react-native/commit/8b46c9a) by [@ignacioola](https://github.com/ignacioola)) - Fix args passed when measuring Androidwitch ([54e8d6c](https://github.com/facebook/react-native/commit/54e8d6c) by [@axe-fb](https://github.com/axe-fb)) - Fix Shimmer in Fabric Android ([28278e1](https://github.com/facebook/react-native/commit/28278e1) by [@mdvacca](https://github.com/mdvacca)) - Fixed HTTP connection timeout on Android (#22164) ([a508134](https://github.com/facebook/react-native/commit/a508134)) - Fix compatibility issue for android 16 device.Fixes #22294 (#22295) ([5939d07](https://github.com/facebook/react-native/commit/5939d07) by [@gengjiawen](https://github.com/gengjiawen)) #### iOS specific - Fix LazilyLoadView lookup so that it can drop RCT prefixes. ([6534718](https://github.com/facebook/react-native/commit/6534718) by [@dshahidehpour](https://github.com/dshahidehpour)) - Fabric: Fixed bug in RCTSurfaceTouchHandler::PointerHasher ([1de79e1](https://github.com/facebook/react-native/commit/1de79e1) by [@shergin](https://github.com/shergin)) ### Security #### Android specific #### iOS specific ### Unknown - Replaced default constructors with member assignments ([d743989](https://github.com/facebook/react-native/commit/d743989) by [@SidharthGuglani](https://github.com/SidharthGuglani)) - @allow-large-files flow 0.84 xplat deploy ([11552a7](https://github.com/facebook/react-native/commit/11552a7) by [@avikchaudhuri](https://github.com/avikchaudhuri)) - Upgrade jest to v24.0.0-alpha.2 ([1b4fd64](https://github.com/facebook/react-native/commit/1b4fd64) by [@rafeca](https://github.com/rafeca)) - Bump metro@0.48.2 ([f867db3](https://github.com/facebook/react-native/commit/f867db3) by [@rafeca](https://github.com/rafeca)) - Refactor shutdown so that debug asserts can pass ([2a44054](https://github.com/facebook/react-native/commit/2a44054) by [@mhorowitz](https://github.com/mhorowitz)) - Make SystemJSC on macosx actually use the system JSC framework ([5d38264](https://github.com/facebook/react-native/commit/5d38264) by [@mhorowitz](https://github.com/mhorowitz)) - Modularize InitializeCore ([df2eaa9](https://github.com/facebook/react-native/commit/df2eaa9) by [@ejanzer](https://github.com/ejanzer)) - Bump metro@0.48.3 ([8888295](https://github.com/facebook/react-native/commit/8888295) by [@rafeca](https://github.com/rafeca)) - Update the Delta/HMR format ([1eedf05](https://github.com/facebook/react-native/commit/1eedf05) by [@alexkirsz](https://github.com/alexkirsz)) - Fabric: New UIManager registration process (beginning) ([8f04699](https://github.com/facebook/react-native/commit/8f04699) by [@shergin](https://github.com/shergin)) - Bump metro@0.49.0 ([31bb551](https://github.com/facebook/react-native/commit/31bb551) by [@alexkirsz](https://github.com/alexkirsz)) - Bump fbjs-scripts to ^1.0.0 (#21880) ([cdbf719](https://github.com/facebook/react-native/commit/cdbf719) by [@jmheik](https://github.com/jmheik)) - Fabric: Removing accidental unnecessary BUCK dep ([18423fe](https://github.com/facebook/react-native/commit/18423fe) by [@shergin](https://github.com/shergin)) - Prepend passed sourceExts to default ones and pass them to metro (#21855) ([ce86080](https://github.com/facebook/react-native/commit/ce86080) by [@elyalvarado](https://github.com/elyalvarado)) - Wrap measureLayoutRelativeToContainingList in try-catch to mitigate crash ([5803772](https://github.com/facebook/react-native/commit/5803772)) - RN: Missing Copyright Headers ([a689711](https://github.com/facebook/react-native/commit/a689711) by [@yungsters](https://github.com/yungsters)) - Use fb_native_wrapper for all targets ([c147073](https://github.com/facebook/react-native/commit/c147073) by [@scottrice](https://github.com/scottrice)) - gradle repo priority (#22041) ([2a349f8](https://github.com/facebook/react-native/commit/2a349f8) by [@dulmandakh](https://github.com/dulmandakh)) - jest: upgrade to 24.0.0-alpha.4 ([66aba09](https://github.com/facebook/react-native/commit/66aba09) by [@rubennorte](https://github.com/rubennorte)) - Flow strictifying AdsManagerAudienceImages.js ([136dfc8](https://github.com/facebook/react-native/commit/136dfc8)) - BUCKFORMAT: apply on all of fbsource ([2b603fd](https://github.com/facebook/react-native/commit/2b603fd) by [@luciang](https://github.com/luciang)) - Improved Types ([17fd1bc](https://github.com/facebook/react-native/commit/17fd1bc) by [@nmn](https://github.com/nmn)) - Modified declarations from vars to const (#22070) ([efc9506](https://github.com/facebook/react-native/commit/efc9506) by [@fernando-sendMail](https://github.com/fernando-sendMail)) - Deploy Flow v0.85 to xplat/js ([adc8a33](https://github.com/facebook/react-native/commit/adc8a33) by [@samwgoldman](https://github.com/samwgoldman)) - CheckBox: Convert NativeMethodsMixin to forwardedRef, convert to class (#21585) ([28de61e](https://github.com/facebook/react-native/commit/28de61e) by [@empyrical](https://github.com/empyrical)) - more lint auto fixing ([10d41d4](https://github.com/facebook/react-native/commit/10d41d4) by [@sahrens](https://github.com/sahrens)) - lint autofixes ([2486d12](https://github.com/facebook/react-native/commit/2486d12) by [@sahrens](https://github.com/sahrens)) - React sync for revisions 4773fdf...bf9fadf ([8b275a8](https://github.com/facebook/react-native/commit/8b275a8) by [@yungsters](https://github.com/yungsters)) - Trivial cleanup in ReactRootView ([83c7303](https://github.com/facebook/react-native/commit/83c7303) by [@mdvacca](https://github.com/mdvacca)) - Improving Modal `visible` prop check to handle undefined and null (#22072) ([cc13a73](https://github.com/facebook/react-native/commit/cc13a73) by [@MateusAndrade](https://github.com/MateusAndrade)) - Flow strict ScrollViewMock (#22103) ([499c195](https://github.com/facebook/react-native/commit/499c195) by [@exced](https://github.com/exced)) - RN: Revert React 16.6 Sync ([6448f4e](https://github.com/facebook/react-native/commit/6448f4e) by [@yungsters](https://github.com/yungsters)) - Replace var to const in Libraries/Utilities/deepFreezeAndThrowOnMutationInDev-test.js (#22110) ([e835c6d](https://github.com/facebook/react-native/commit/e835c6d) by [@watanabeyu](https://github.com/watanabeyu)) - Make PR template consistent with Changelog (#22117) ([ce18036](https://github.com/facebook/react-native/commit/ce18036) by [@turnrye](https://github.com/turnrye)) - Turn Flow strict mode on for KeyBoard (#22114) ([fbc5a4f](https://github.com/facebook/react-native/commit/fbc5a4f) by [@nd-02110114](https://github.com/nd-02110114)) - Increase cache and file size limits ([3a98318](https://github.com/facebook/react-native/commit/3a98318) by [@fatalsun](https://github.com/fatalsun)) - Disallow Optional::operator=(nullptr_t) unless T is a pointer ([79712c3](https://github.com/facebook/react-native/commit/79712c3) by [@chadaustin](https://github.com/chadaustin)) - Flow type RefreshControl (#22119) ([84c5416](https://github.com/facebook/react-native/commit/84c5416) by [@exced](https://github.com/exced)) - Flow strict StaticContainer (#22121) ([6476151](https://github.com/facebook/react-native/commit/6476151) by [@exced](https://github.com/exced)) - Flow strict DrawerLayout (#22152) ([f9050e0](https://github.com/facebook/react-native/commit/f9050e0) by [@flowkraD](https://github.com/flowkraD)) - Update and expand bytecode spec ([aab0160](https://github.com/facebook/react-native/commit/aab0160) by [@sahrens](https://github.com/sahrens)) - Cleanup a bunch of the JS stuff ([ccc8a42](https://github.com/facebook/react-native/commit/ccc8a42) by [@sahrens](https://github.com/sahrens)) - rename ReactBytecode -> UITemplate ([ac9e09d](https://github.com/facebook/react-native/commit/ac9e09d) by [@sahrens](https://github.com/sahrens)) - Fabric: Using RuntimeExecutor in concrete EventBeats ([98685e8](https://github.com/facebook/react-native/commit/98685e8) by [@shergin](https://github.com/shergin)) - Fabric: Explicit clearing std::vector after moving from it ([3110a67](https://github.com/facebook/react-native/commit/3110a67) by [@shergin](https://github.com/shergin)) - Fabric: Making jsi::Runtime a part of EventBeat and EventPipe ([df4521e](https://github.com/facebook/react-native/commit/df4521e) by [@shergin](https://github.com/shergin)) - Fabric: Some helper classes and functions were moved to uimanager/primitives ([ee50618](https://github.com/facebook/react-native/commit/ee50618) by [@shergin](https://github.com/shergin)) - Fabric: Introduced ComponentDescriptorRegistry::at() method family ([6c5b8c6](https://github.com/facebook/react-native/commit/6c5b8c6) by [@shergin](https://github.com/shergin)) - Fabric: A bunch of functions for converting JSI primitives to Fabric and vice-versa ([b9f9f32](https://github.com/facebook/react-native/commit/b9f9f32) by [@shergin](https://github.com/shergin)) - Fabric: Introducing UIManagerBinding, a replacement for JSIFabricUIManager ([18d8c48](https://github.com/facebook/react-native/commit/18d8c48) by [@shergin](https://github.com/shergin)) - Fabric: Making some picky compilers happy ([786df48](https://github.com/facebook/react-native/commit/786df48) by [@shergin](https://github.com/shergin)) - Types for BackHandler ([7dd2b0b](https://github.com/facebook/react-native/commit/7dd2b0b) by [@nmn](https://github.com/nmn)) - Flow strict Slider (#22127) ([c03fc40](https://github.com/facebook/react-native/commit/c03fc40) by [@exced](https://github.com/exced)) - Flow strict TouchableOpacity (#22146) ([69213ee](https://github.com/facebook/react-native/commit/69213ee) by [@exced](https://github.com/exced)) - Allow overriding Metro server host with a system prop ([e02a154](https://github.com/facebook/react-native/commit/e02a154) by [@stepanhruda](https://github.com/stepanhruda)) - console polyfill: pass unsupported messages to original console ([bccc454](https://github.com/facebook/react-native/commit/bccc454) by [@Hypuk](https://github.com/Hypuk)) - Fixing TextInput related jest tests ([7e818ae](https://github.com/facebook/react-native/commit/7e818ae) by [@TheSavior](https://github.com/TheSavior)) - React sync for revisions 4773fdf...3ff2c7c ([0cb59b5](https://github.com/facebook/react-native/commit/0cb59b5) by [@yungsters](https://github.com/yungsters)) - Enable unused-private-field warning (#13450) ([50e9b0f](https://github.com/facebook/react-native/commit/50e9b0f)) - Update oss lockfile ([8d5d144](https://github.com/facebook/react-native/commit/8d5d144) by [@ejanzer](https://github.com/ejanzer)) - Replace String with constants for Module names in Fb4aCoreInfraPackage ([fe49809](https://github.com/facebook/react-native/commit/fe49809) by [@axe-fb](https://github.com/axe-fb)) - Give eagerly loaded modules precedent over lazily loaded one. ([81b74ec](https://github.com/facebook/react-native/commit/81b74ec) by [@dshahidehpour](https://github.com/dshahidehpour)) - Stop mounting of Views when there is an exception in Native ([8329c10](https://github.com/facebook/react-native/commit/8329c10) by [@mdvacca](https://github.com/mdvacca)) - Force navigation to use root tag ([fe7eb61](https://github.com/facebook/react-native/commit/fe7eb61) by [@mdvacca](https://github.com/mdvacca)) - Expose rootTag / surfaceId as part of schedulerDidRequestPreliminaryViewAllocation method ([2b01da0](https://github.com/facebook/react-native/commit/2b01da0) by [@mdvacca](https://github.com/mdvacca)) - Switch to synchronous strategy for unprotect ([bf2500e](https://github.com/facebook/react-native/commit/bf2500e) by [@mhorowitz](https://github.com/mhorowitz)) - Back out TextInput es6 conversion ([f386f83](https://github.com/facebook/react-native/commit/f386f83) by [@TheSavior](https://github.com/TheSavior)) - `Removing UIManager.measureViewsInRect()` ([d623679](https://github.com/facebook/react-native/commit/d623679) by [@shergin](https://github.com/shergin)) - Turn off static linking for cxxreact:bridge ([918a7d5](https://github.com/facebook/react-native/commit/918a7d5) by [@christolliday](https://github.com/christolliday)) - Use static constants instead of strings when referring to View Managers and Native Modules ([803e993](https://github.com/facebook/react-native/commit/803e993) by [@axe-fb](https://github.com/axe-fb)) - Fabric: Making EventEmitter::setEnabled additive ([d2408dd](https://github.com/facebook/react-native/commit/d2408dd) by [@shergin](https://github.com/shergin)) - Use nativeQPLTimestamp for InitializeCore marker point ([1850906](https://github.com/facebook/react-native/commit/1850906) by [@ejanzer](https://github.com/ejanzer)) - Only include ServerHost constant in debug builds ([2bf0d54](https://github.com/facebook/react-native/commit/2bf0d54) by [@stepanhruda](https://github.com/stepanhruda)) - Reset module registry flag when resetting React Instance ([188cbb0](https://github.com/facebook/react-native/commit/188cbb0) by [@PeteTheHeat](https://github.com/PeteTheHeat)) - Fabric: Codemod: All ` folly::none in fbobjc/xplat ([56a416e](https://github.com/facebook/react-native/commit/56a416e) by [@chadaustin](https://github.com/chadaustin)) - Upgrade jest to v24.0.0-alpha.6 ([06c13b3](https://github.com/facebook/react-native/commit/06c13b3) by [@rafeca](https://github.com/rafeca)) - Flow v0.86.0 in xplat/js [3/n] ([43ad3a6](https://github.com/facebook/react-native/commit/43ad3a6) by [@panagosg7](https://github.com/panagosg7)) - Revert D12994045: Flow v0.86.0 in xplat/js [3/n] ([984eef8](https://github.com/facebook/react-native/commit/984eef8)) - Back to yearless format for MIT license ([619de16](https://github.com/facebook/react-native/commit/619de16) by [@davidaurelio](https://github.com/davidaurelio)) - JS: Switch from `new Buffer` to `Buffer.from` ([d9c2cda](https://github.com/facebook/react-native/commit/d9c2cda) by [@yungsters](https://github.com/yungsters)) - resizeMode applies to Image.defaultSource (#22216) ([673ef39](https://github.com/facebook/react-native/commit/673ef39) by [@dulmandakh](https://github.com/dulmandakh)) - New TextInput-test that would have prevented S168585 ([a009406](https://github.com/facebook/react-native/commit/a009406) by [@sahrens](https://github.com/sahrens)) - CxxReact: Silence 'unused lambda capture' warnings in open-source (#22240) ([0c05409](https://github.com/facebook/react-native/commit/0c05409) by [@empyrical](https://github.com/empyrical)) - Flow v0.86.0 in xplat/js ([8fb228f](https://github.com/facebook/react-native/commit/8fb228f) by [@panagosg7](https://github.com/panagosg7)) - create api to allow clients to present a client credential for authentication (#22316) ([8911353](https://github.com/facebook/react-native/commit/8911353) by [@mjhu](https://github.com/mjhu)) - Cleanup old Fabric methods from ReactShadowNodeImpl ([74f6575](https://github.com/facebook/react-native/commit/74f6575) by [@mdvacca](https://github.com/mdvacca)) - Change font size default from 12 to 14 ([dcf72ff](https://github.com/facebook/react-native/commit/dcf72ff) by [@mdvacca](https://github.com/mdvacca)) - Implement layout constraint when measuring text ([8367fa9](https://github.com/facebook/react-native/commit/8367fa9) by [@mdvacca](https://github.com/mdvacca)) - Surface: Using screen size as a default maximum size of Fabric Surface ([346c9d5](https://github.com/facebook/react-native/commit/346c9d5) by [@shergin](https://github.com/shergin)) - Rename requiresMainThreadSetup -> requiresMainQueueSetup in code comment (#22328) ([1fa56a0](https://github.com/facebook/react-native/commit/1fa56a0) by [@karanjthakkar](https://github.com/karanjthakkar)) - Flow strict TouchableBounce (#22197) ([45c5183](https://github.com/facebook/react-native/commit/45c5183) by [@exced](https://github.com/exced)) - Flow strict TextProps (#22122) ([7927497](https://github.com/facebook/react-native/commit/7927497) by [@exced](https://github.com/exced)) - Flow strict TextInput (#22250) ([35a65cd](https://github.com/facebook/react-native/commit/35a65cd) by [@exced](https://github.com/exced)) - Improve Flow types ([da0b139](https://github.com/facebook/react-native/commit/da0b139) by [@RSNara](https://github.com/RSNara)) - Flow strict TouchableHighlight (#22173) ([a97d104](https://github.com/facebook/react-native/commit/a97d104) by [@exced](https://github.com/exced)) - Flow strict ScrollResponder (#22181) ([fb4825a](https://github.com/facebook/react-native/commit/fb4825a) by [@saitoxu](https://github.com/saitoxu)) - Flow strict StatusBar (#22282) ([6fa997d](https://github.com/facebook/react-native/commit/6fa997d) by [@watanabeyu](https://github.com/watanabeyu)) - Fabric: ShadowNode::backtrackAncestors(...) ([3ecf4ea](https://github.com/facebook/react-native/commit/3ecf4ea) by [@shergin](https://github.com/shergin)) - Fabric: LayoutableShadowNode::getRelativeLayoutMetrics() ([9eec2c3](https://github.com/facebook/react-native/commit/9eec2c3) by [@shergin](https://github.com/shergin)) - Fabric: Getting rid of leftovers in Scheduler ([71208f0](https://github.com/facebook/react-native/commit/71208f0) by [@shergin](https://github.com/shergin)) - Fabric: Introducing ShadowTreeRegistry ([b4fa1fa](https://github.com/facebook/react-native/commit/b4fa1fa) by [@shergin](https://github.com/shergin)) - Fabric: Sharing a pointer to ShadowTreeRegister with UIManager ([f8be867](https://github.com/facebook/react-native/commit/f8be867) by [@shergin](https://github.com/shergin)) - Fabric: `UIManager::getRelativeLayoutMetrics` ([7e57755](https://github.com/facebook/react-native/commit/7e57755) by [@shergin](https://github.com/shergin)) - Fabric: `ParagraphShadowNode::updateLocalDataIfNeeded()` ([9c96133](https://github.com/facebook/react-native/commit/9c96133) by [@shergin](https://github.com/shergin)) - Pass primitives by value ([f8ff6bd](https://github.com/facebook/react-native/commit/f8ff6bd) by [@davidaurelio](https://github.com/davidaurelio)) - Dealloc JNI implementation experiment ([64d162e](https://github.com/facebook/react-native/commit/64d162e) by [@davidaurelio](https://github.com/davidaurelio)) - Pass enums by value ([c34ad17](https://github.com/facebook/react-native/commit/c34ad17) by [@davidaurelio](https://github.com/davidaurelio)) - Merge branch 'master' into 0.58-stable ([696bd89](https://github.com/facebook/react-native/commit/696bd89) by [@grabbou](https://github.com/grabbou)) - Revert "Merge branch 'master' into 0.58-stable" ([b864e7e](https://github.com/facebook/react-native/commit/b864e7e) by [@grabbou](https://github.com/grabbou)) - Make Metro untyped instead of ignored to let Metro-config resolve type annotations ([26bdd5b](https://github.com/facebook/react-native/commit/26bdd5b) by [@grabbou](https://github.com/grabbou)) #### Android Unknown - Upgrade folly to v2018.10.22.00 for Android (#21977) ([a316dc6](https://github.com/facebook/react-native/commit/a316dc6) by [@Kudo](https://github.com/Kudo)) - RN: Copyright Header for `ReactInstanceManagerTest.java` ([4d16a0e](https://github.com/facebook/react-native/commit/4d16a0e) by [@yungsters](https://github.com/yungsters)) - Flow strict in ViewPagerAndroid.android.js (#22134) ([636e146](https://github.com/facebook/react-native/commit/636e146) by [@nd-02110114](https://github.com/nd-02110114)) - mostly working on Android + OTA ([7b5277b](https://github.com/facebook/react-native/commit/7b5277b) by [@sahrens](https://github.com/sahrens)) - Temporary disable AndroidSwipeRefreshLayout ([cd5009f](https://github.com/facebook/react-native/commit/cd5009f) by [@mdvacca](https://github.com/mdvacca)) - Refactor 'induce' of events in Fabric Android ([95b21b4](https://github.com/facebook/react-native/commit/95b21b4) by [@mdvacca](https://github.com/mdvacca)) - Moved androidID constant to a method ([9f9390d](https://github.com/facebook/react-native/commit/9f9390d) by [@axe-fb](https://github.com/axe-fb)) - Android: Close websocket properly when remote server initiates close (#22248) ([2e465bc](https://github.com/facebook/react-native/commit/2e465bc) by [@syaau](https://github.com/syaau)) - Workaround a wrong fling direction for inverted ScrollViews on Android P (#21117) ([b971c5b](https://github.com/facebook/react-native/commit/b971c5b) by [@mandrigin](https://github.com/mandrigin)) - DrawerLayoutAndroid: Convert to ES6 class (#21980) ([bea3bb6](https://github.com/facebook/react-native/commit/bea3bb6) by [@empyrical](https://github.com/empyrical)) - Flow strict-local in TimePickerAndroid.android.js (#22188) ([c127000](https://github.com/facebook/react-native/commit/c127000) by [@Tnarita0000](https://github.com/Tnarita0000)) - Flow TouchableNativeFeedback.android.js (#22176) ([3649a50](https://github.com/facebook/react-native/commit/3649a50) by [@mottox2](https://github.com/mottox2)) - Apply same config for Android ([e71fb64](https://github.com/facebook/react-native/commit/e71fb64) by [@grabbou](https://github.com/grabbou)) #### iOS Unkown - Quote "$NODE_BINARY" in react-native-xcode.sh (#21383) ([7d4e94e](https://github.com/facebook/react-native/commit/7d4e94e) by [@sundbry](https://github.com/sundbry)) - Upgrade folly to v2018.10.22.00 for iOS (#21976) ([a70625a](https://github.com/facebook/react-native/commit/a70625a) by [@Kudo](https://github.com/Kudo)) - iOS: supress yellow box about missing export for native modules ([5431607](https://github.com/facebook/react-native/commit/5431607) by [@fkgozali](https://github.com/fkgozali)) - iOS: register lazy nativemodules on startup when Chrome is attached ([04ea976](https://github.com/facebook/react-native/commit/04ea976) by [@fkgozali](https://github.com/fkgozali)) - Turn Flow strict mode on for DatePickerIOS (#22105) ([3c0211b](https://github.com/facebook/react-native/commit/3c0211b) by [@nd-02110114](https://github.com/nd-02110114)) - Performance improvement for loading cached images on iOS (#20356) ([54f7eb3](https://github.com/facebook/react-native/commit/54f7eb3) by [@esamelson](https://github.com/esamelson)) - iOS: Attempt to load lazy modules when asked from native ([1f394fa](https://github.com/facebook/react-native/commit/1f394fa) by [@fkgozali](https://github.com/fkgozali)) - iOS: ignore double registration of lazy modules with chrome attached ([80f92ad](https://github.com/facebook/react-native/commit/80f92ad) by [@fkgozali](https://github.com/fkgozali)) - iOS TM: Rename RCTJSINativeModule => RCTTurboModule ([39b8fa9](https://github.com/facebook/react-native/commit/39b8fa9) by [@fkgozali](https://github.com/fkgozali)) - Defining explicit clang-format for Objective-C part of React Native ([271ace9](https://github.com/facebook/react-native/commit/271ace9) by [@shergin](https://github.com/shergin)) - Fabric: Using non-mutating `at` instead of `[]` for `-[RCTSurfaceTouchHandler _activeTouches]` ([868406d](https://github.com/facebook/react-native/commit/868406d) by [@shergin](https://github.com/shergin)) - Fabric: Proper implementation `-[RCTSurfaceTouchHandler reset]` ([560652c](https://github.com/facebook/react-native/commit/560652c) by [@shergin](https://github.com/shergin)) - iOS: Support inline view truncation (#21456) ([70826db](https://github.com/facebook/react-native/commit/70826db) by [@rigdern](https://github.com/rigdern)) - iOS TM: RCTEnableJSINativeModule => RCTEnableTurboModule ([aad83cc](https://github.com/facebook/react-native/commit/aad83cc) by [@fkgozali](https://github.com/fkgozali)) --- CHANGELOG.md | 306 ++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 305 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c554adc..d20d8fe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,309 @@ # Changelog +## [0.58.0] + +### Added + +- Add end point for initializecore ([9687090](https://github.com/facebook/react-native/commit/9687090) by [@ejanzer](https://github.com/ejanzer)) +- Add no-dupe-class-members to RN ESLint fonfig ([88e736c](https://github.com/facebook/react-native/commit/88e736c) by [@TheSavior](https://github.com/TheSavior)) +- Add tracing for loading .so files during startup ([b3b6749](https://github.com/facebook/react-native/commit/b3b6749) by [@axe-fb](https://github.com/axe-fb)) +- Added lock around RN module initialization to fix crash ([6770b53](https://github.com/facebook/react-native/commit/6770b53) by [@PeteTheHeat](https://github.com/PeteTheHeat)) +- Added locking around RN bridge cxx module registry to avoid crash ([1c31919](https://github.com/facebook/react-native/commit/1c31919) by [@PeteTheHeat](https://github.com/PeteTheHeat)) +- Add Yoga JNI bindings to libcoldstart ([2a8f6c3](https://github.com/facebook/react-native/commit/2a8f6c3) by [@davidaurelio](https://github.com/davidaurelio)) +- TextInput add back propTypes ([e6a8dca](https://github.com/facebook/react-native/commit/e6a8dca) by [@TheSavior](https://github.com/TheSavior)) +- Add systrace support in Fabric C++ ([7b04f6a](https://github.com/facebook/react-native/commit/7b04f6a) by [@mdvacca](https://github.com/mdvacca)) +- Adds support for `publicPath` to enable serving assets from different locations. (#299) ([0b31496](https://github.com/facebook/react-native/commit/0b31496) by [@gdborton](https://github.com/gdborton)) +- Add copyright header into ContextUtils class ([fba7c1e](https://github.com/facebook/react-native/commit/fba7c1e) by [@mdvacca](https://github.com/mdvacca)) +- Add another guard to lazilyLoadView ([d7865eb](https://github.com/facebook/react-native/commit/d7865eb) by [@mmmulani](https://github.com/mmmulani)) +- Add a marker to indicate when JS thread priority is lowered ([d4aef08](https://github.com/facebook/react-native/commit/d4aef08) by [@axe-fb](https://github.com/axe-fb)) +- added functionality using which child node can tell parent node to use it as a reference baseline ([6eb5bd3](https://github.com/facebook/react-native/commit/6eb5bd3) by [@SidharthGuglani](https://github.com/SidharthGuglani)) +- Add bounce method to TouchableBounce ([383ea99](https://github.com/facebook/react-native/commit/383ea99)) +- Add test for WritableNativeMap ([17ced57](https://github.com/facebook/react-native/commit/17ced57) by [@ayc1](https://github.com/ayc1)) +- Add getUndefined() method to obtain the undefined value ([3337a1d](https://github.com/facebook/react-native/commit/3337a1d) by [@amir-shalem](https://github.com/amir-shalem)) +- Add missing Metro Config ([e0ea58e](https://github.com/facebook/react-native/commit/e0ea58e) by [@grabbou](https://github.com/grabbou)) + +#### Android specific + +#### iOS specific + +- iOS: add moduleForNameForcedLoad: to lookup modules by name and force load them ([d7a0c44](https://github.com/facebook/react-native/commit/d7a0c44) by [@fkgozali](https://github.com/fkgozali)) + +### Changed + +- Changed front-facing camera so that it shows consistent image during capture and preview ([4aeea4d](https://github.com/facebook/react-native/commit/4aeea4d)) +- then to thenValue changes to allow deletion of value-taking continuation form of then ([1f32b5d](https://github.com/facebook/react-native/commit/1f32b5d) by [@LeeHowes](https://github.com/LeeHowes)) + +#### Android specific + +#### iOS specific + +### Deprecated + +#### Android specific + +#### iOS specific + +- Fabric: Removing deprecated leftovers from RCTScheduler and RCTSurfacePresenter ([e88db99](https://github.com/facebook/react-native/commit/e88db99) by [@shergin](https://github.com/shergin)) + +### Removed + +- Fix checkout_code: Remove Metro cache check (#21998) ([bb93abf](https://github.com/facebook/react-native/commit/bb93abf) by [@hramos](https://github.com/hramos)) +- Remove view managers from @ReactModuleList ([c91a2b3](https://github.com/facebook/react-native/commit/c91a2b3) by [@axe-fb](https://github.com/axe-fb)) +- Remove var in Libraries/Component (#22020) ([a06c0da](https://github.com/facebook/react-native/commit/a06c0da) by [@nd-02110114](https://github.com/nd-02110114)) +- Remove var in RNTester (#22017) ([7a9d860](https://github.com/facebook/react-native/commit/7a9d860) by [@nd-02110114](https://github.com/nd-02110114)) +- Remove var in RNTester (#22019) ([a21b8b7](https://github.com/facebook/react-native/commit/a21b8b7) by [@nd-02110114](https://github.com/nd-02110114)) +- Remove var in RNTester (#22015) ([2648f47](https://github.com/facebook/react-native/commit/2648f47) by [@nd-02110114](https://github.com/nd-02110114)) +- Remove var in RNTester (#22018) ([6b29b90](https://github.com/facebook/react-native/commit/6b29b90) by [@nd-02110114](https://github.com/nd-02110114)) +- Remove var in RNTester (#22016) ([791fa2d](https://github.com/facebook/react-native/commit/791fa2d) by [@nd-02110114](https://github.com/nd-02110114)) +- Remove var in RNTester (#22014) ([5af5774](https://github.com/facebook/react-native/commit/5af5774) by [@nd-02110114](https://github.com/nd-02110114)) +- Remove var in RNTester (#22013) ([811a99c](https://github.com/facebook/react-native/commit/811a99c) by [@nd-02110114](https://github.com/nd-02110114)) +- Remove undefined value on init cli command (#22045) ([58732a8](https://github.com/facebook/react-native/commit/58732a8) by [@ignacioola](https://github.com/ignacioola)) +- Remove createReactClass from SwipeableRow (#21876) ([14e1628](https://github.com/facebook/react-native/commit/14e1628) by [@exced](https://github.com/exced)) +- Remove var in Libraries/emitter/* (#22087) ([cf70870](https://github.com/facebook/react-native/commit/cf70870) by [@Tnarita0000](https://github.com/Tnarita0000)) +- Remove flow-strict from polyfillPromise (#22048) ([01b7c48](https://github.com/facebook/react-native/commit/01b7c48) by [@empyrical](https://github.com/empyrical)) +- Remove unused variables (#22097) ([6ebee18](https://github.com/facebook/react-native/commit/6ebee18) by [@ignacioola](https://github.com/ignacioola)) +- Remove var in Libraries/vendor/core/merge.js (#22108) ([3f069f3](https://github.com/facebook/react-native/commit/3f069f3) by [@yushimatenjin](https://github.com/yushimatenjin)) +- Remove var in Libraries/Utilities/MatrixMath.js (#22111) ([368518e](https://github.com/facebook/react-native/commit/368518e) by [@ggtmtmgg](https://github.com/ggtmtmgg)) +- Remove var in Libraries/Utilities/buildStyleInterpolator.js (#22112) ([b01bf06](https://github.com/facebook/react-native/commit/b01bf06) by [@mottox2](https://github.com/mottox2)) +- Remove unused styles (#22083) ([ffd7195](https://github.com/facebook/react-native/commit/ffd7195) by [@vcalvello](https://github.com/vcalvello)) +- Fix `no-shadow` eslint warning & remove var (#22124) ([f8040ed](https://github.com/facebook/react-native/commit/f8040ed) by [@Tnarita0000](https://github.com/Tnarita0000)) +- Removed unnecessary code in Libraries/Text/Text.js (#22132) ([0d4f627](https://github.com/facebook/react-native/commit/0d4f627) by [@ifsnow](https://github.com/ifsnow)) +- Remove var in /Libralies/Experimental/IncrementalPresenter.js (#22144) ([cc90c20](https://github.com/facebook/react-native/commit/cc90c20) by [@soyanakagawa](https://github.com/soyanakagawa)) +- Remove var in Libraries/Utilities/deepFreezeAndThrowOnMutationInDev.js (#22126) ([0a39cda](https://github.com/facebook/react-native/commit/0a39cda) by [@nabettu](https://github.com/nabettu)) +- TextInput: Remove PropTypes, NativeMethodsMixin; Convert to ES6 class (#21885) ([70e9e26](https://github.com/facebook/react-native/commit/70e9e26) by [@empyrical](https://github.com/empyrical)) +- Remove unused loads from xplat. ([9b781bd](https://github.com/facebook/react-native/commit/9b781bd) by [@ttsugriy](https://github.com/ttsugriy)) +- Remove dynamic exception specification in RN MethodCall.h/cpp ([5b71408](https://github.com/facebook/react-native/commit/5b71408) by [@yiding](https://github.com/yiding)) +- NIT remove unnecessary cast in measure ([2dbe769](https://github.com/facebook/react-native/commit/2dbe769) by [@mdvacca](https://github.com/mdvacca)) +- Remove useless additionnal blur call (#22156) ([27cfba2](https://github.com/facebook/react-native/commit/27cfba2)) +- `YGNodeComputeFlexBasisForChildren`: remove output param ([8f283b9](https://github.com/facebook/react-native/commit/8f283b9) by [@davidaurelio](https://github.com/davidaurelio)) + +#### Android specific + +- Remove AndroidManifest.xml from UIManager (#22044) ([7f79254](https://github.com/facebook/react-native/commit/7f79254) by [@radeno](https://github.com/radeno)) +- Remove createReactClass from ProgressBarAndroidExample (#21874) ([81e5d64](https://github.com/facebook/react-native/commit/81e5d64) by [@exced](https://github.com/exced)) +- remove var in ReactAndroid/src/androidTest (#22136) ([0beb1cc](https://github.com/facebook/react-native/commit/0beb1cc) by [@nd-02110114](https://github.com/nd-02110114)) +- remove var in ReactAndroid/src/androidTest. (#22137) ([6f781d9](https://github.com/facebook/react-native/commit/6f781d9) by [@nd-02110114](https://github.com/nd-02110114)) +- Remove var in ReactAndroid/src/androidTest (#22135) ([9d13233](https://github.com/facebook/react-native/commit/9d13233) by [@nd-02110114](https://github.com/nd-02110114)) +- remove createReactClass from ToolbarAndroid/ToolbarAndroid.android.js (#21893) ([147c38a](https://github.com/facebook/react-native/commit/147c38a) by [@nd-02110114](https://github.com/nd-02110114)) + +#### iOS specific + +- remove createReactClass from SegmentedControlIOS.ios.js (#21888) ([0ea95e7](https://github.com/facebook/react-native/commit/0ea95e7) by [@nd-02110114](https://github.com/nd-02110114)) + +### Fixed + +- Fix View/Text displayName (#21950) ([7a914fc](https://github.com/facebook/react-native/commit/7a914fc) by [@rajivshah3](https://github.com/rajivshah3)) +- Fix the lazily LaodedView to avoid weird naming issues ([cae2534](https://github.com/facebook/react-native/commit/cae2534) by [@spredolac](https://github.com/spredolac)) +- Fix relayout of inline views (#21968) ([798517a](https://github.com/facebook/react-native/commit/798517a) by [@rigdern](https://github.com/rigdern)) +- Fix ReactRootView mount/unmount race condition ([309f85a](https://github.com/facebook/react-native/commit/309f85a) by [@ayc1](https://github.com/ayc1)) +- Fix linting issues (#22062) ([ae8ec39](https://github.com/facebook/react-native/commit/ae8ec39) by [@ignacioola](https://github.com/ignacioola)) +- Fix IllegalStateException when dismissing DialogManager ([38e01a2](https://github.com/facebook/react-native/commit/38e01a2) by [@mdvacca](https://github.com/mdvacca)) +- Fix duplicate function declaration in WebSockets (#22098) ([b03b9d5](https://github.com/facebook/react-native/commit/b03b9d5) by [@ignacioola](https://github.com/ignacioola)) +- Fix rn-cli linting issues (#22099) ([7b10a02](https://github.com/facebook/react-native/commit/7b10a02) by [@ignacioola](https://github.com/ignacioola)) +- TouchEventEmitter: Fix assignment of Y coordinates (#22160) ([6b6a27c](https://github.com/facebook/react-native/commit/6b6a27c) by [@empyrical](https://github.com/empyrical)) +- Fix inline styles in IntegrationTests (#22165) ([1d62e94](https://github.com/facebook/react-native/commit/1d62e94) by [@ignacioola](https://github.com/ignacioola)) +- Fix inline styles warning in Libraries (#22161) ([41eb2da](https://github.com/facebook/react-native/commit/41eb2da) by [@ignacioola](https://github.com/ignacioola)) +- Fix build error caused by -Werror=class-memaccess (#823) ([31439f8](https://github.com/facebook/react-native/commit/31439f8) by [@hooddanielc](https://github.com/hooddanielc)) +- Fix IllegalArgumentException when dismissing ReactModalHostView ([e57ad4e](https://github.com/facebook/react-native/commit/e57ad4e) by [@mdvacca](https://github.com/mdvacca)) +- Fix internal types on top of TextInput refactor ([ad7d8f8](https://github.com/facebook/react-native/commit/ad7d8f8) by [@TheSavior](https://github.com/TheSavior)) +- Fix inline styles eslint warnings for examples (#22123) ([7b3c91e](https://github.com/facebook/react-native/commit/7b3c91e) by [@ignacioola](https://github.com/ignacioola)) +- Fix ReactInstanceManager deadlock ([df7e8c6](https://github.com/facebook/react-native/commit/df7e8c6) by [@ayc1](https://github.com/ayc1)) +- Fix ReactRootView attachRootView race condition ([be282b5](https://github.com/facebook/react-native/commit/be282b5) by [@ayc1](https://github.com/ayc1)) +- UITemplateProcessor: Fix case of include path (#22239) ([0436bfc](https://github.com/facebook/react-native/commit/0436bfc) by [@empyrical](https://github.com/empyrical)) +- Fix regression in StyleSheet.setStyleAttributePreprocessor (#22262) ([0408533](https://github.com/facebook/react-native/commit/0408533) by [@brentvatne](https://github.com/brentvatne)) +- Fix crash when releasing RN views ([83405ff](https://github.com/facebook/react-native/commit/83405ff) by [@ayc1](https://github.com/ayc1)) +- Fix crash when removing root nodes ([b649fa9](https://github.com/facebook/react-native/commit/b649fa9) by [@ayc1](https://github.com/ayc1)) +- Fix React Native AsyncMode and DevTools ([aacb06c](https://github.com/facebook/react-native/commit/aacb06c) by [@bvaughn](https://github.com/bvaughn)) +- reapply TextInput es6 conversion with fixes, attemps to fix ([9ea1295](https://github.com/facebook/react-native/commit/9ea1295) by [@sahrens](https://github.com/sahrens)) +- Back out "reapply TextInput es6 conversion with fixes, attemps to fix" ([6f34bc4](https://github.com/facebook/react-native/commit/6f34bc4) by [@sahrens](https://github.com/sahrens)) +- Fix scrolling with multiple fingers in RN Fabric scrollView ([d3a7325](https://github.com/facebook/react-native/commit/d3a7325) by [@mdvacca](https://github.com/mdvacca)) +- Fix padding for Text Views in Fabric ([7b2030b](https://github.com/facebook/react-native/commit/7b2030b) by [@mdvacca](https://github.com/mdvacca)) +- Replace global.alert use to fix eslint warnings (#22184) ([55994f5](https://github.com/facebook/react-native/commit/55994f5) by [@vcalvello](https://github.com/vcalvello)) +- Fix jsc regression.Fixes #22274 (#22293) ([f22473e](https://github.com/facebook/react-native/commit/f22473e) by [@gengjiawen](https://github.com/gengjiawen)) +- Fix allocating Buffer in early commit (#22379) ([02a3517](https://github.com/facebook/react-native/commit/02a3517) by [@radeno](https://github.com/radeno)) +- Fabric: Fixed `AttributedString::operator==` ([ecc7012](https://github.com/facebook/react-native/commit/ecc7012) by [@shergin](https://github.com/shergin)) +- Fix jsc regression.Fixes #22274 (#22293) ([d4d457b](https://github.com/facebook/react-native/commit/d4d457b) by [@gengjiawen](https://github.com/gengjiawen)) + +#### Android specific + +- fix android ci (#21913) ([99632e1](https://github.com/facebook/react-native/commit/99632e1) by [@dulmandakh](https://github.com/dulmandakh)) +- Fix incorrect merged asset path with flavor for Android Gradle Plugin 3.2. (#21782) ([e90319e](https://github.com/facebook/react-native/commit/e90319e) by [@yatatsu](https://github.com/yatatsu)) +- bump buck to 2018.10.29.01. fixes Android CI (#22049) ([b40e23d](https://github.com/facebook/react-native/commit/b40e23d) by [@dulmandakh](https://github.com/dulmandakh)) +- Fix the comment for getSize in Image.android.js (#22092) ([a09aca5](https://github.com/facebook/react-native/commit/a09aca5) by [@wd39](https://github.com/wd39)) +- Fix inline styles in ReactAndroid (#22166) ([8b46c9a](https://github.com/facebook/react-native/commit/8b46c9a) by [@ignacioola](https://github.com/ignacioola)) +- Fix args passed when measuring Androidwitch ([54e8d6c](https://github.com/facebook/react-native/commit/54e8d6c) by [@axe-fb](https://github.com/axe-fb)) +- Fix Shimmer in Fabric Android ([28278e1](https://github.com/facebook/react-native/commit/28278e1) by [@mdvacca](https://github.com/mdvacca)) +- Fixed HTTP connection timeout on Android (#22164) ([a508134](https://github.com/facebook/react-native/commit/a508134)) +- Fix compatibility issue for android 16 device.Fixes #22294 (#22295) ([5939d07](https://github.com/facebook/react-native/commit/5939d07) by [@gengjiawen](https://github.com/gengjiawen)) + +#### iOS specific + +- Fix LazilyLoadView lookup so that it can drop RCT prefixes. ([6534718](https://github.com/facebook/react-native/commit/6534718) by [@dshahidehpour](https://github.com/dshahidehpour)) +- Fabric: Fixed bug in RCTSurfaceTouchHandler::PointerHasher ([1de79e1](https://github.com/facebook/react-native/commit/1de79e1) by [@shergin](https://github.com/shergin)) + +### Security + +#### Android specific + +#### iOS specific + +### Unknown + +- Replaced default constructors with member assignments ([d743989](https://github.com/facebook/react-native/commit/d743989) by [@SidharthGuglani](https://github.com/SidharthGuglani)) +- @allow-large-files flow 0.84 xplat deploy ([11552a7](https://github.com/facebook/react-native/commit/11552a7) by [@avikchaudhuri](https://github.com/avikchaudhuri)) +- Upgrade jest to v24.0.0-alpha.2 ([1b4fd64](https://github.com/facebook/react-native/commit/1b4fd64) by [@rafeca](https://github.com/rafeca)) +- Bump metro@0.48.2 ([f867db3](https://github.com/facebook/react-native/commit/f867db3) by [@rafeca](https://github.com/rafeca)) +- Refactor shutdown so that debug asserts can pass ([2a44054](https://github.com/facebook/react-native/commit/2a44054) by [@mhorowitz](https://github.com/mhorowitz)) +- Make SystemJSC on macosx actually use the system JSC framework ([5d38264](https://github.com/facebook/react-native/commit/5d38264) by [@mhorowitz](https://github.com/mhorowitz)) +- Modularize InitializeCore ([df2eaa9](https://github.com/facebook/react-native/commit/df2eaa9) by [@ejanzer](https://github.com/ejanzer)) +- Bump metro@0.48.3 ([8888295](https://github.com/facebook/react-native/commit/8888295) by [@rafeca](https://github.com/rafeca)) +- Update the Delta/HMR format ([1eedf05](https://github.com/facebook/react-native/commit/1eedf05) by [@alexkirsz](https://github.com/alexkirsz)) +- Fabric: New UIManager registration process (beginning) ([8f04699](https://github.com/facebook/react-native/commit/8f04699) by [@shergin](https://github.com/shergin)) +- Bump metro@0.49.0 ([31bb551](https://github.com/facebook/react-native/commit/31bb551) by [@alexkirsz](https://github.com/alexkirsz)) +- Bump fbjs-scripts to ^1.0.0 (#21880) ([cdbf719](https://github.com/facebook/react-native/commit/cdbf719) by [@jmheik](https://github.com/jmheik)) +- Fabric: Removing accidental unnecessary BUCK dep ([18423fe](https://github.com/facebook/react-native/commit/18423fe) by [@shergin](https://github.com/shergin)) +- Prepend passed sourceExts to default ones and pass them to metro (#21855) ([ce86080](https://github.com/facebook/react-native/commit/ce86080) by [@elyalvarado](https://github.com/elyalvarado)) +- Wrap measureLayoutRelativeToContainingList in try-catch to mitigate crash ([5803772](https://github.com/facebook/react-native/commit/5803772)) +- RN: Missing Copyright Headers ([a689711](https://github.com/facebook/react-native/commit/a689711) by [@yungsters](https://github.com/yungsters)) +- Use fb_native_wrapper for all targets ([c147073](https://github.com/facebook/react-native/commit/c147073) by [@scottrice](https://github.com/scottrice)) +- gradle repo priority (#22041) ([2a349f8](https://github.com/facebook/react-native/commit/2a349f8) by [@dulmandakh](https://github.com/dulmandakh)) +- jest: upgrade to 24.0.0-alpha.4 ([66aba09](https://github.com/facebook/react-native/commit/66aba09) by [@rubennorte](https://github.com/rubennorte)) +- Flow strictifying AdsManagerAudienceImages.js ([136dfc8](https://github.com/facebook/react-native/commit/136dfc8)) +- BUCKFORMAT: apply on all of fbsource ([2b603fd](https://github.com/facebook/react-native/commit/2b603fd) by [@luciang](https://github.com/luciang)) +- Improved Types ([17fd1bc](https://github.com/facebook/react-native/commit/17fd1bc) by [@nmn](https://github.com/nmn)) +- Modified declarations from vars to const (#22070) ([efc9506](https://github.com/facebook/react-native/commit/efc9506) by [@fernando-sendMail](https://github.com/fernando-sendMail)) +- Deploy Flow v0.85 to xplat/js ([adc8a33](https://github.com/facebook/react-native/commit/adc8a33) by [@samwgoldman](https://github.com/samwgoldman)) +- CheckBox: Convert NativeMethodsMixin to forwardedRef, convert to class (#21585) ([28de61e](https://github.com/facebook/react-native/commit/28de61e) by [@empyrical](https://github.com/empyrical)) +- more lint auto fixing ([10d41d4](https://github.com/facebook/react-native/commit/10d41d4) by [@sahrens](https://github.com/sahrens)) +- lint autofixes ([2486d12](https://github.com/facebook/react-native/commit/2486d12) by [@sahrens](https://github.com/sahrens)) +- React sync for revisions 4773fdf...bf9fadf ([8b275a8](https://github.com/facebook/react-native/commit/8b275a8) by [@yungsters](https://github.com/yungsters)) +- Trivial cleanup in ReactRootView ([83c7303](https://github.com/facebook/react-native/commit/83c7303) by [@mdvacca](https://github.com/mdvacca)) +- Improving Modal `visible` prop check to handle undefined and null (#22072) ([cc13a73](https://github.com/facebook/react-native/commit/cc13a73) by [@MateusAndrade](https://github.com/MateusAndrade)) +- Flow strict ScrollViewMock (#22103) ([499c195](https://github.com/facebook/react-native/commit/499c195) by [@exced](https://github.com/exced)) +- RN: Revert React 16.6 Sync ([6448f4e](https://github.com/facebook/react-native/commit/6448f4e) by [@yungsters](https://github.com/yungsters)) +- Replace var to const in Libraries/Utilities/deepFreezeAndThrowOnMutationInDev-test.js (#22110) ([e835c6d](https://github.com/facebook/react-native/commit/e835c6d) by [@watanabeyu](https://github.com/watanabeyu)) +- Make PR template consistent with Changelog (#22117) ([ce18036](https://github.com/facebook/react-native/commit/ce18036) by [@turnrye](https://github.com/turnrye)) +- Turn Flow strict mode on for KeyBoard (#22114) ([fbc5a4f](https://github.com/facebook/react-native/commit/fbc5a4f) by [@nd-02110114](https://github.com/nd-02110114)) +- Increase cache and file size limits ([3a98318](https://github.com/facebook/react-native/commit/3a98318) by [@fatalsun](https://github.com/fatalsun)) +- Disallow Optional::operator=(nullptr_t) unless T is a pointer ([79712c3](https://github.com/facebook/react-native/commit/79712c3) by [@chadaustin](https://github.com/chadaustin)) +- Flow type RefreshControl (#22119) ([84c5416](https://github.com/facebook/react-native/commit/84c5416) by [@exced](https://github.com/exced)) +- Flow strict StaticContainer (#22121) ([6476151](https://github.com/facebook/react-native/commit/6476151) by [@exced](https://github.com/exced)) +- Flow strict DrawerLayout (#22152) ([f9050e0](https://github.com/facebook/react-native/commit/f9050e0) by [@flowkraD](https://github.com/flowkraD)) +- Update and expand bytecode spec ([aab0160](https://github.com/facebook/react-native/commit/aab0160) by [@sahrens](https://github.com/sahrens)) +- Cleanup a bunch of the JS stuff ([ccc8a42](https://github.com/facebook/react-native/commit/ccc8a42) by [@sahrens](https://github.com/sahrens)) +- rename ReactBytecode -> UITemplate ([ac9e09d](https://github.com/facebook/react-native/commit/ac9e09d) by [@sahrens](https://github.com/sahrens)) +- Fabric: Using RuntimeExecutor in concrete EventBeats ([98685e8](https://github.com/facebook/react-native/commit/98685e8) by [@shergin](https://github.com/shergin)) +- Fabric: Explicit clearing std::vector after moving from it ([3110a67](https://github.com/facebook/react-native/commit/3110a67) by [@shergin](https://github.com/shergin)) +- Fabric: Making jsi::Runtime a part of EventBeat and EventPipe ([df4521e](https://github.com/facebook/react-native/commit/df4521e) by [@shergin](https://github.com/shergin)) +- Fabric: Some helper classes and functions were moved to uimanager/primitives ([ee50618](https://github.com/facebook/react-native/commit/ee50618) by [@shergin](https://github.com/shergin)) +- Fabric: Introduced ComponentDescriptorRegistry::at() method family ([6c5b8c6](https://github.com/facebook/react-native/commit/6c5b8c6) by [@shergin](https://github.com/shergin)) +- Fabric: A bunch of functions for converting JSI primitives to Fabric and vice-versa ([b9f9f32](https://github.com/facebook/react-native/commit/b9f9f32) by [@shergin](https://github.com/shergin)) +- Fabric: Introducing UIManagerBinding, a replacement for JSIFabricUIManager ([18d8c48](https://github.com/facebook/react-native/commit/18d8c48) by [@shergin](https://github.com/shergin)) +- Fabric: Making some picky compilers happy ([786df48](https://github.com/facebook/react-native/commit/786df48) by [@shergin](https://github.com/shergin)) +- Types for BackHandler ([7dd2b0b](https://github.com/facebook/react-native/commit/7dd2b0b) by [@nmn](https://github.com/nmn)) +- Flow strict Slider (#22127) ([c03fc40](https://github.com/facebook/react-native/commit/c03fc40) by [@exced](https://github.com/exced)) +- Flow strict TouchableOpacity (#22146) ([69213ee](https://github.com/facebook/react-native/commit/69213ee) by [@exced](https://github.com/exced)) +- Allow overriding Metro server host with a system prop ([e02a154](https://github.com/facebook/react-native/commit/e02a154) by [@stepanhruda](https://github.com/stepanhruda)) +- console polyfill: pass unsupported messages to original console ([bccc454](https://github.com/facebook/react-native/commit/bccc454) by [@Hypuk](https://github.com/Hypuk)) +- Fixing TextInput related jest tests ([7e818ae](https://github.com/facebook/react-native/commit/7e818ae) by [@TheSavior](https://github.com/TheSavior)) +- React sync for revisions 4773fdf...3ff2c7c ([0cb59b5](https://github.com/facebook/react-native/commit/0cb59b5) by [@yungsters](https://github.com/yungsters)) +- Enable unused-private-field warning (#13450) ([50e9b0f](https://github.com/facebook/react-native/commit/50e9b0f)) +- Update oss lockfile ([8d5d144](https://github.com/facebook/react-native/commit/8d5d144) by [@ejanzer](https://github.com/ejanzer)) +- Replace String with constants for Module names in Fb4aCoreInfraPackage ([fe49809](https://github.com/facebook/react-native/commit/fe49809) by [@axe-fb](https://github.com/axe-fb)) +- Give eagerly loaded modules precedent over lazily loaded one. ([81b74ec](https://github.com/facebook/react-native/commit/81b74ec) by [@dshahidehpour](https://github.com/dshahidehpour)) +- Stop mounting of Views when there is an exception in Native ([8329c10](https://github.com/facebook/react-native/commit/8329c10) by [@mdvacca](https://github.com/mdvacca)) +- Force navigation to use root tag ([fe7eb61](https://github.com/facebook/react-native/commit/fe7eb61) by [@mdvacca](https://github.com/mdvacca)) +- Expose rootTag / surfaceId as part of schedulerDidRequestPreliminaryViewAllocation method ([2b01da0](https://github.com/facebook/react-native/commit/2b01da0) by [@mdvacca](https://github.com/mdvacca)) +- Switch to synchronous strategy for unprotect ([bf2500e](https://github.com/facebook/react-native/commit/bf2500e) by [@mhorowitz](https://github.com/mhorowitz)) +- Back out TextInput es6 conversion ([f386f83](https://github.com/facebook/react-native/commit/f386f83) by [@TheSavior](https://github.com/TheSavior)) +- `Removing UIManager.measureViewsInRect()` ([d623679](https://github.com/facebook/react-native/commit/d623679) by [@shergin](https://github.com/shergin)) +- Turn off static linking for cxxreact:bridge ([918a7d5](https://github.com/facebook/react-native/commit/918a7d5) by [@christolliday](https://github.com/christolliday)) +- Use static constants instead of strings when referring to View Managers and Native Modules ([803e993](https://github.com/facebook/react-native/commit/803e993) by [@axe-fb](https://github.com/axe-fb)) +- Fabric: Making EventEmitter::setEnabled additive ([d2408dd](https://github.com/facebook/react-native/commit/d2408dd) by [@shergin](https://github.com/shergin)) +- Use nativeQPLTimestamp for InitializeCore marker point ([1850906](https://github.com/facebook/react-native/commit/1850906) by [@ejanzer](https://github.com/ejanzer)) +- Only include ServerHost constant in debug builds ([2bf0d54](https://github.com/facebook/react-native/commit/2bf0d54) by [@stepanhruda](https://github.com/stepanhruda)) +- Reset module registry flag when resetting React Instance ([188cbb0](https://github.com/facebook/react-native/commit/188cbb0) by [@PeteTheHeat](https://github.com/PeteTheHeat)) +- Fabric: Codemod: All ` folly::none in fbobjc/xplat ([56a416e](https://github.com/facebook/react-native/commit/56a416e) by [@chadaustin](https://github.com/chadaustin)) +- Upgrade jest to v24.0.0-alpha.6 ([06c13b3](https://github.com/facebook/react-native/commit/06c13b3) by [@rafeca](https://github.com/rafeca)) +- Flow v0.86.0 in xplat/js [3/n] ([43ad3a6](https://github.com/facebook/react-native/commit/43ad3a6) by [@panagosg7](https://github.com/panagosg7)) +- Revert D12994045: Flow v0.86.0 in xplat/js [3/n] ([984eef8](https://github.com/facebook/react-native/commit/984eef8)) +- Back to yearless format for MIT license ([619de16](https://github.com/facebook/react-native/commit/619de16) by [@davidaurelio](https://github.com/davidaurelio)) +- JS: Switch from `new Buffer` to `Buffer.from` ([d9c2cda](https://github.com/facebook/react-native/commit/d9c2cda) by [@yungsters](https://github.com/yungsters)) +- resizeMode applies to Image.defaultSource (#22216) ([673ef39](https://github.com/facebook/react-native/commit/673ef39) by [@dulmandakh](https://github.com/dulmandakh)) +- New TextInput-test that would have prevented S168585 ([a009406](https://github.com/facebook/react-native/commit/a009406) by [@sahrens](https://github.com/sahrens)) +- CxxReact: Silence 'unused lambda capture' warnings in open-source (#22240) ([0c05409](https://github.com/facebook/react-native/commit/0c05409) by [@empyrical](https://github.com/empyrical)) +- Flow v0.86.0 in xplat/js ([8fb228f](https://github.com/facebook/react-native/commit/8fb228f) by [@panagosg7](https://github.com/panagosg7)) +- create api to allow clients to present a client credential for authentication (#22316) ([8911353](https://github.com/facebook/react-native/commit/8911353) by [@mjhu](https://github.com/mjhu)) +- Cleanup old Fabric methods from ReactShadowNodeImpl ([74f6575](https://github.com/facebook/react-native/commit/74f6575) by [@mdvacca](https://github.com/mdvacca)) +- Change font size default from 12 to 14 ([dcf72ff](https://github.com/facebook/react-native/commit/dcf72ff) by [@mdvacca](https://github.com/mdvacca)) +- Implement layout constraint when measuring text ([8367fa9](https://github.com/facebook/react-native/commit/8367fa9) by [@mdvacca](https://github.com/mdvacca)) +- Surface: Using screen size as a default maximum size of Fabric Surface ([346c9d5](https://github.com/facebook/react-native/commit/346c9d5) by [@shergin](https://github.com/shergin)) +- Rename requiresMainThreadSetup -> requiresMainQueueSetup in code comment (#22328) ([1fa56a0](https://github.com/facebook/react-native/commit/1fa56a0) by [@karanjthakkar](https://github.com/karanjthakkar)) +- Flow strict TouchableBounce (#22197) ([45c5183](https://github.com/facebook/react-native/commit/45c5183) by [@exced](https://github.com/exced)) +- Flow strict TextProps (#22122) ([7927497](https://github.com/facebook/react-native/commit/7927497) by [@exced](https://github.com/exced)) +- Flow strict TextInput (#22250) ([35a65cd](https://github.com/facebook/react-native/commit/35a65cd) by [@exced](https://github.com/exced)) +- Improve Flow types ([da0b139](https://github.com/facebook/react-native/commit/da0b139) by [@RSNara](https://github.com/RSNara)) +- Flow strict TouchableHighlight (#22173) ([a97d104](https://github.com/facebook/react-native/commit/a97d104) by [@exced](https://github.com/exced)) +- Flow strict ScrollResponder (#22181) ([fb4825a](https://github.com/facebook/react-native/commit/fb4825a) by [@saitoxu](https://github.com/saitoxu)) +- Flow strict StatusBar (#22282) ([6fa997d](https://github.com/facebook/react-native/commit/6fa997d) by [@watanabeyu](https://github.com/watanabeyu)) +- Fabric: ShadowNode::backtrackAncestors(...) ([3ecf4ea](https://github.com/facebook/react-native/commit/3ecf4ea) by [@shergin](https://github.com/shergin)) +- Fabric: LayoutableShadowNode::getRelativeLayoutMetrics() ([9eec2c3](https://github.com/facebook/react-native/commit/9eec2c3) by [@shergin](https://github.com/shergin)) +- Fabric: Getting rid of leftovers in Scheduler ([71208f0](https://github.com/facebook/react-native/commit/71208f0) by [@shergin](https://github.com/shergin)) +- Fabric: Introducing ShadowTreeRegistry ([b4fa1fa](https://github.com/facebook/react-native/commit/b4fa1fa) by [@shergin](https://github.com/shergin)) +- Fabric: Sharing a pointer to ShadowTreeRegister with UIManager ([f8be867](https://github.com/facebook/react-native/commit/f8be867) by [@shergin](https://github.com/shergin)) +- Fabric: `UIManager::getRelativeLayoutMetrics` ([7e57755](https://github.com/facebook/react-native/commit/7e57755) by [@shergin](https://github.com/shergin)) +- Fabric: `ParagraphShadowNode::updateLocalDataIfNeeded()` ([9c96133](https://github.com/facebook/react-native/commit/9c96133) by [@shergin](https://github.com/shergin)) +- Pass primitives by value ([f8ff6bd](https://github.com/facebook/react-native/commit/f8ff6bd) by [@davidaurelio](https://github.com/davidaurelio)) +- Dealloc JNI implementation experiment ([64d162e](https://github.com/facebook/react-native/commit/64d162e) by [@davidaurelio](https://github.com/davidaurelio)) +- Pass enums by value ([c34ad17](https://github.com/facebook/react-native/commit/c34ad17) by [@davidaurelio](https://github.com/davidaurelio)) +- Merge branch 'master' into 0.58-stable ([696bd89](https://github.com/facebook/react-native/commit/696bd89) by [@grabbou](https://github.com/grabbou)) +- Revert "Merge branch 'master' into 0.58-stable" ([b864e7e](https://github.com/facebook/react-native/commit/b864e7e) by [@grabbou](https://github.com/grabbou)) +- Make Metro untyped instead of ignored to let Metro-config resolve type annotations ([26bdd5b](https://github.com/facebook/react-native/commit/26bdd5b) by [@grabbou](https://github.com/grabbou)) + +#### Android Unknown + +- Upgrade folly to v2018.10.22.00 for Android (#21977) ([a316dc6](https://github.com/facebook/react-native/commit/a316dc6) by [@Kudo](https://github.com/Kudo)) +- RN: Copyright Header for `ReactInstanceManagerTest.java` ([4d16a0e](https://github.com/facebook/react-native/commit/4d16a0e) by [@yungsters](https://github.com/yungsters)) +- Flow strict in ViewPagerAndroid.android.js (#22134) ([636e146](https://github.com/facebook/react-native/commit/636e146) by [@nd-02110114](https://github.com/nd-02110114)) +- mostly working on Android + OTA ([7b5277b](https://github.com/facebook/react-native/commit/7b5277b) by [@sahrens](https://github.com/sahrens)) +- Temporary disable AndroidSwipeRefreshLayout ([cd5009f](https://github.com/facebook/react-native/commit/cd5009f) by [@mdvacca](https://github.com/mdvacca)) +- Refactor 'induce' of events in Fabric Android ([95b21b4](https://github.com/facebook/react-native/commit/95b21b4) by [@mdvacca](https://github.com/mdvacca)) +- Moved androidID constant to a method ([9f9390d](https://github.com/facebook/react-native/commit/9f9390d) by [@axe-fb](https://github.com/axe-fb)) +- Android: Close websocket properly when remote server initiates close (#22248) ([2e465bc](https://github.com/facebook/react-native/commit/2e465bc) by [@syaau](https://github.com/syaau)) +- Workaround a wrong fling direction for inverted ScrollViews on Android P (#21117) ([b971c5b](https://github.com/facebook/react-native/commit/b971c5b) by [@mandrigin](https://github.com/mandrigin)) +- DrawerLayoutAndroid: Convert to ES6 class (#21980) ([bea3bb6](https://github.com/facebook/react-native/commit/bea3bb6) by [@empyrical](https://github.com/empyrical)) +- Flow strict-local in TimePickerAndroid.android.js (#22188) ([c127000](https://github.com/facebook/react-native/commit/c127000) by [@Tnarita0000](https://github.com/Tnarita0000)) +- Flow TouchableNativeFeedback.android.js (#22176) ([3649a50](https://github.com/facebook/react-native/commit/3649a50) by [@mottox2](https://github.com/mottox2)) +- Apply same config for Android ([e71fb64](https://github.com/facebook/react-native/commit/e71fb64) by [@grabbou](https://github.com/grabbou)) + +#### iOS Unkown + +- Quote "$NODE_BINARY" in react-native-xcode.sh (#21383) ([7d4e94e](https://github.com/facebook/react-native/commit/7d4e94e) by [@sundbry](https://github.com/sundbry)) +- Upgrade folly to v2018.10.22.00 for iOS (#21976) ([a70625a](https://github.com/facebook/react-native/commit/a70625a) by [@Kudo](https://github.com/Kudo)) +- iOS: supress yellow box about missing export for native modules ([5431607](https://github.com/facebook/react-native/commit/5431607) by [@fkgozali](https://github.com/fkgozali)) +- iOS: register lazy nativemodules on startup when Chrome is attached ([04ea976](https://github.com/facebook/react-native/commit/04ea976) by [@fkgozali](https://github.com/fkgozali)) +- Turn Flow strict mode on for DatePickerIOS (#22105) ([3c0211b](https://github.com/facebook/react-native/commit/3c0211b) by [@nd-02110114](https://github.com/nd-02110114)) +- Performance improvement for loading cached images on iOS (#20356) ([54f7eb3](https://github.com/facebook/react-native/commit/54f7eb3) by [@esamelson](https://github.com/esamelson)) +- iOS: Attempt to load lazy modules when asked from native ([1f394fa](https://github.com/facebook/react-native/commit/1f394fa) by [@fkgozali](https://github.com/fkgozali)) +- iOS: ignore double registration of lazy modules with chrome attached ([80f92ad](https://github.com/facebook/react-native/commit/80f92ad) by [@fkgozali](https://github.com/fkgozali)) +- iOS TM: Rename RCTJSINativeModule => RCTTurboModule ([39b8fa9](https://github.com/facebook/react-native/commit/39b8fa9) by [@fkgozali](https://github.com/fkgozali)) +- Defining explicit clang-format for Objective-C part of React Native ([271ace9](https://github.com/facebook/react-native/commit/271ace9) by [@shergin](https://github.com/shergin)) +- Fabric: Using non-mutating `at` instead of `[]` for `-[RCTSurfaceTouchHandler _activeTouches]` ([868406d](https://github.com/facebook/react-native/commit/868406d) by [@shergin](https://github.com/shergin)) +- Fabric: Proper implementation `-[RCTSurfaceTouchHandler reset]` ([560652c](https://github.com/facebook/react-native/commit/560652c) by [@shergin](https://github.com/shergin)) +- iOS: Support inline view truncation (#21456) ([70826db](https://github.com/facebook/react-native/commit/70826db) by [@rigdern](https://github.com/rigdern)) +- iOS TM: RCTEnableJSINativeModule => RCTEnableTurboModule ([aad83cc](https://github.com/facebook/react-native/commit/aad83cc) by [@fkgozali](https://github.com/fkgozali)) + ## [0.57.5] **NOTE WELL**: when you upgrade to this version you **NEED** to upgrade `react` and `react-test-renderer` to version `"16.6.1"`. @@ -302,7 +606,7 @@ As mentioned a few times in the past, the core team is reviewing the repository } ``` -3. Ensure that you have all the babel dependencies to version `^7.0.0` (you may also need to add `"babel-core": "7.0.0-bridge.0"` as a yarn resolution to ensure retro-compatibility). The Babel team has released a tool, [babel-upgrade](https://github.com/babel/babel-upgrade), that should help you in this migration. +3. Ensure that you have all the babel dependencies to version `^7.0.0` (you may also need to add `"babel-core": "7.0.0-bridge.0"` as a yarn resolution to ensure retro-compatibility) 4. If you have a custom packager configuration via `rn-cli.config.js`, you probably need to update it to work with the updated Metro configuration structure (for full detail refer to Metro's [documentation](https://facebook.github.io/metro/docs/en/configuration)); here are some commonly encountered changes to `rn-cli.config.js`: ```diff From 703ba3d6c4a51883f6549c72e86c792d3177796f Mon Sep 17 00:00:00 2001 From: Jesse Stuart Date: Mon, 26 Nov 2018 20:21:54 -0600 Subject: [PATCH 11/58] Update CHANGELOG.md Co-Authored-By: turnrye --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d20d8fe..a644692 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ ### Added - Add end point for initializecore ([9687090](https://github.com/facebook/react-native/commit/9687090) by [@ejanzer](https://github.com/ejanzer)) -- Add no-dupe-class-members to RN ESLint fonfig ([88e736c](https://github.com/facebook/react-native/commit/88e736c) by [@TheSavior](https://github.com/TheSavior)) +- Add no-dupe-class-members to RN ESLint config ([88e736c](https://github.com/facebook/react-native/commit/88e736c) by [@TheSavior](https://github.com/TheSavior)) - Add tracing for loading .so files during startup ([b3b6749](https://github.com/facebook/react-native/commit/b3b6749) by [@axe-fb](https://github.com/axe-fb)) - Added lock around RN module initialization to fix crash ([6770b53](https://github.com/facebook/react-native/commit/6770b53) by [@PeteTheHeat](https://github.com/PeteTheHeat)) - Added locking around RN bridge cxx module registry to avoid crash ([1c31919](https://github.com/facebook/react-native/commit/1c31919) by [@PeteTheHeat](https://github.com/PeteTheHeat)) From 20deb97177141f2540225f6c577b44081d3220ed Mon Sep 17 00:00:00 2001 From: Ryan Turner Date: Tue, 27 Nov 2018 02:34:30 +0000 Subject: [PATCH 12/58] Remove commit entries that @TheSavior specifically called out --- CHANGELOG.md | 47 ----------------------------------------------- 1 file changed, 47 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d20d8fe..22087b8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,19 +5,14 @@ ### Added - Add end point for initializecore ([9687090](https://github.com/facebook/react-native/commit/9687090) by [@ejanzer](https://github.com/ejanzer)) -- Add no-dupe-class-members to RN ESLint fonfig ([88e736c](https://github.com/facebook/react-native/commit/88e736c) by [@TheSavior](https://github.com/TheSavior)) - Add tracing for loading .so files during startup ([b3b6749](https://github.com/facebook/react-native/commit/b3b6749) by [@axe-fb](https://github.com/axe-fb)) - Added lock around RN module initialization to fix crash ([6770b53](https://github.com/facebook/react-native/commit/6770b53) by [@PeteTheHeat](https://github.com/PeteTheHeat)) - Added locking around RN bridge cxx module registry to avoid crash ([1c31919](https://github.com/facebook/react-native/commit/1c31919) by [@PeteTheHeat](https://github.com/PeteTheHeat)) - Add Yoga JNI bindings to libcoldstart ([2a8f6c3](https://github.com/facebook/react-native/commit/2a8f6c3) by [@davidaurelio](https://github.com/davidaurelio)) -- TextInput add back propTypes ([e6a8dca](https://github.com/facebook/react-native/commit/e6a8dca) by [@TheSavior](https://github.com/TheSavior)) -- Add systrace support in Fabric C++ ([7b04f6a](https://github.com/facebook/react-native/commit/7b04f6a) by [@mdvacca](https://github.com/mdvacca)) - Adds support for `publicPath` to enable serving assets from different locations. (#299) ([0b31496](https://github.com/facebook/react-native/commit/0b31496) by [@gdborton](https://github.com/gdborton)) -- Add copyright header into ContextUtils class ([fba7c1e](https://github.com/facebook/react-native/commit/fba7c1e) by [@mdvacca](https://github.com/mdvacca)) - Add another guard to lazilyLoadView ([d7865eb](https://github.com/facebook/react-native/commit/d7865eb) by [@mmmulani](https://github.com/mmmulani)) - Add a marker to indicate when JS thread priority is lowered ([d4aef08](https://github.com/facebook/react-native/commit/d4aef08) by [@axe-fb](https://github.com/axe-fb)) - added functionality using which child node can tell parent node to use it as a reference baseline ([6eb5bd3](https://github.com/facebook/react-native/commit/6eb5bd3) by [@SidharthGuglani](https://github.com/SidharthGuglani)) -- Add bounce method to TouchableBounce ([383ea99](https://github.com/facebook/react-native/commit/383ea99)) - Add test for WritableNativeMap ([17ced57](https://github.com/facebook/react-native/commit/17ced57) by [@ayc1](https://github.com/ayc1)) - Add getUndefined() method to obtain the undefined value ([3337a1d](https://github.com/facebook/react-native/commit/3337a1d) by [@amir-shalem](https://github.com/amir-shalem)) - Add missing Metro Config ([e0ea58e](https://github.com/facebook/react-native/commit/e0ea58e) by [@grabbou](https://github.com/grabbou)) @@ -43,13 +38,10 @@ #### iOS specific -- Fabric: Removing deprecated leftovers from RCTScheduler and RCTSurfacePresenter ([e88db99](https://github.com/facebook/react-native/commit/e88db99) by [@shergin](https://github.com/shergin)) - ### Removed - Fix checkout_code: Remove Metro cache check (#21998) ([bb93abf](https://github.com/facebook/react-native/commit/bb93abf) by [@hramos](https://github.com/hramos)) - Remove view managers from @ReactModuleList ([c91a2b3](https://github.com/facebook/react-native/commit/c91a2b3) by [@axe-fb](https://github.com/axe-fb)) -- Remove var in Libraries/Component (#22020) ([a06c0da](https://github.com/facebook/react-native/commit/a06c0da) by [@nd-02110114](https://github.com/nd-02110114)) - Remove var in RNTester (#22017) ([7a9d860](https://github.com/facebook/react-native/commit/7a9d860) by [@nd-02110114](https://github.com/nd-02110114)) - Remove var in RNTester (#22019) ([a21b8b7](https://github.com/facebook/react-native/commit/a21b8b7) by [@nd-02110114](https://github.com/nd-02110114)) - Remove var in RNTester (#22015) ([2648f47](https://github.com/facebook/react-native/commit/2648f47) by [@nd-02110114](https://github.com/nd-02110114)) @@ -70,7 +62,6 @@ - Removed unnecessary code in Libraries/Text/Text.js (#22132) ([0d4f627](https://github.com/facebook/react-native/commit/0d4f627) by [@ifsnow](https://github.com/ifsnow)) - Remove var in /Libralies/Experimental/IncrementalPresenter.js (#22144) ([cc90c20](https://github.com/facebook/react-native/commit/cc90c20) by [@soyanakagawa](https://github.com/soyanakagawa)) - Remove var in Libraries/Utilities/deepFreezeAndThrowOnMutationInDev.js (#22126) ([0a39cda](https://github.com/facebook/react-native/commit/0a39cda) by [@nabettu](https://github.com/nabettu)) -- TextInput: Remove PropTypes, NativeMethodsMixin; Convert to ES6 class (#21885) ([70e9e26](https://github.com/facebook/react-native/commit/70e9e26) by [@empyrical](https://github.com/empyrical)) - Remove unused loads from xplat. ([9b781bd](https://github.com/facebook/react-native/commit/9b781bd) by [@ttsugriy](https://github.com/ttsugriy)) - Remove dynamic exception specification in RN MethodCall.h/cpp ([5b71408](https://github.com/facebook/react-native/commit/5b71408) by [@yiding](https://github.com/yiding)) - NIT remove unnecessary cast in measure ([2dbe769](https://github.com/facebook/react-native/commit/2dbe769) by [@mdvacca](https://github.com/mdvacca)) @@ -80,7 +71,6 @@ #### Android specific - Remove AndroidManifest.xml from UIManager (#22044) ([7f79254](https://github.com/facebook/react-native/commit/7f79254) by [@radeno](https://github.com/radeno)) -- Remove createReactClass from ProgressBarAndroidExample (#21874) ([81e5d64](https://github.com/facebook/react-native/commit/81e5d64) by [@exced](https://github.com/exced)) - remove var in ReactAndroid/src/androidTest (#22136) ([0beb1cc](https://github.com/facebook/react-native/commit/0beb1cc) by [@nd-02110114](https://github.com/nd-02110114)) - remove var in ReactAndroid/src/androidTest. (#22137) ([6f781d9](https://github.com/facebook/react-native/commit/6f781d9) by [@nd-02110114](https://github.com/nd-02110114)) - Remove var in ReactAndroid/src/androidTest (#22135) ([9d13233](https://github.com/facebook/react-native/commit/9d13233) by [@nd-02110114](https://github.com/nd-02110114)) @@ -88,15 +78,12 @@ #### iOS specific -- remove createReactClass from SegmentedControlIOS.ios.js (#21888) ([0ea95e7](https://github.com/facebook/react-native/commit/0ea95e7) by [@nd-02110114](https://github.com/nd-02110114)) - ### Fixed - Fix View/Text displayName (#21950) ([7a914fc](https://github.com/facebook/react-native/commit/7a914fc) by [@rajivshah3](https://github.com/rajivshah3)) - Fix the lazily LaodedView to avoid weird naming issues ([cae2534](https://github.com/facebook/react-native/commit/cae2534) by [@spredolac](https://github.com/spredolac)) - Fix relayout of inline views (#21968) ([798517a](https://github.com/facebook/react-native/commit/798517a) by [@rigdern](https://github.com/rigdern)) - Fix ReactRootView mount/unmount race condition ([309f85a](https://github.com/facebook/react-native/commit/309f85a) by [@ayc1](https://github.com/ayc1)) -- Fix linting issues (#22062) ([ae8ec39](https://github.com/facebook/react-native/commit/ae8ec39) by [@ignacioola](https://github.com/ignacioola)) - Fix IllegalStateException when dismissing DialogManager ([38e01a2](https://github.com/facebook/react-native/commit/38e01a2) by [@mdvacca](https://github.com/mdvacca)) - Fix duplicate function declaration in WebSockets (#22098) ([b03b9d5](https://github.com/facebook/react-native/commit/b03b9d5) by [@ignacioola](https://github.com/ignacioola)) - Fix rn-cli linting issues (#22099) ([7b10a02](https://github.com/facebook/react-native/commit/7b10a02) by [@ignacioola](https://github.com/ignacioola)) @@ -116,12 +103,9 @@ - Fix React Native AsyncMode and DevTools ([aacb06c](https://github.com/facebook/react-native/commit/aacb06c) by [@bvaughn](https://github.com/bvaughn)) - reapply TextInput es6 conversion with fixes, attemps to fix ([9ea1295](https://github.com/facebook/react-native/commit/9ea1295) by [@sahrens](https://github.com/sahrens)) - Back out "reapply TextInput es6 conversion with fixes, attemps to fix" ([6f34bc4](https://github.com/facebook/react-native/commit/6f34bc4) by [@sahrens](https://github.com/sahrens)) -- Fix scrolling with multiple fingers in RN Fabric scrollView ([d3a7325](https://github.com/facebook/react-native/commit/d3a7325) by [@mdvacca](https://github.com/mdvacca)) -- Fix padding for Text Views in Fabric ([7b2030b](https://github.com/facebook/react-native/commit/7b2030b) by [@mdvacca](https://github.com/mdvacca)) - Replace global.alert use to fix eslint warnings (#22184) ([55994f5](https://github.com/facebook/react-native/commit/55994f5) by [@vcalvello](https://github.com/vcalvello)) - Fix jsc regression.Fixes #22274 (#22293) ([f22473e](https://github.com/facebook/react-native/commit/f22473e) by [@gengjiawen](https://github.com/gengjiawen)) - Fix allocating Buffer in early commit (#22379) ([02a3517](https://github.com/facebook/react-native/commit/02a3517) by [@radeno](https://github.com/radeno)) -- Fabric: Fixed `AttributedString::operator==` ([ecc7012](https://github.com/facebook/react-native/commit/ecc7012) by [@shergin](https://github.com/shergin)) - Fix jsc regression.Fixes #22274 (#22293) ([d4d457b](https://github.com/facebook/react-native/commit/d4d457b) by [@gengjiawen](https://github.com/gengjiawen)) #### Android specific @@ -132,14 +116,12 @@ - Fix the comment for getSize in Image.android.js (#22092) ([a09aca5](https://github.com/facebook/react-native/commit/a09aca5) by [@wd39](https://github.com/wd39)) - Fix inline styles in ReactAndroid (#22166) ([8b46c9a](https://github.com/facebook/react-native/commit/8b46c9a) by [@ignacioola](https://github.com/ignacioola)) - Fix args passed when measuring Androidwitch ([54e8d6c](https://github.com/facebook/react-native/commit/54e8d6c) by [@axe-fb](https://github.com/axe-fb)) -- Fix Shimmer in Fabric Android ([28278e1](https://github.com/facebook/react-native/commit/28278e1) by [@mdvacca](https://github.com/mdvacca)) - Fixed HTTP connection timeout on Android (#22164) ([a508134](https://github.com/facebook/react-native/commit/a508134)) - Fix compatibility issue for android 16 device.Fixes #22294 (#22295) ([5939d07](https://github.com/facebook/react-native/commit/5939d07) by [@gengjiawen](https://github.com/gengjiawen)) #### iOS specific - Fix LazilyLoadView lookup so that it can drop RCT prefixes. ([6534718](https://github.com/facebook/react-native/commit/6534718) by [@dshahidehpour](https://github.com/dshahidehpour)) -- Fabric: Fixed bug in RCTSurfaceTouchHandler::PointerHasher ([1de79e1](https://github.com/facebook/react-native/commit/1de79e1) by [@shergin](https://github.com/shergin)) ### Security @@ -158,23 +140,18 @@ - Modularize InitializeCore ([df2eaa9](https://github.com/facebook/react-native/commit/df2eaa9) by [@ejanzer](https://github.com/ejanzer)) - Bump metro@0.48.3 ([8888295](https://github.com/facebook/react-native/commit/8888295) by [@rafeca](https://github.com/rafeca)) - Update the Delta/HMR format ([1eedf05](https://github.com/facebook/react-native/commit/1eedf05) by [@alexkirsz](https://github.com/alexkirsz)) -- Fabric: New UIManager registration process (beginning) ([8f04699](https://github.com/facebook/react-native/commit/8f04699) by [@shergin](https://github.com/shergin)) - Bump metro@0.49.0 ([31bb551](https://github.com/facebook/react-native/commit/31bb551) by [@alexkirsz](https://github.com/alexkirsz)) - Bump fbjs-scripts to ^1.0.0 (#21880) ([cdbf719](https://github.com/facebook/react-native/commit/cdbf719) by [@jmheik](https://github.com/jmheik)) -- Fabric: Removing accidental unnecessary BUCK dep ([18423fe](https://github.com/facebook/react-native/commit/18423fe) by [@shergin](https://github.com/shergin)) - Prepend passed sourceExts to default ones and pass them to metro (#21855) ([ce86080](https://github.com/facebook/react-native/commit/ce86080) by [@elyalvarado](https://github.com/elyalvarado)) - Wrap measureLayoutRelativeToContainingList in try-catch to mitigate crash ([5803772](https://github.com/facebook/react-native/commit/5803772)) -- RN: Missing Copyright Headers ([a689711](https://github.com/facebook/react-native/commit/a689711) by [@yungsters](https://github.com/yungsters)) - Use fb_native_wrapper for all targets ([c147073](https://github.com/facebook/react-native/commit/c147073) by [@scottrice](https://github.com/scottrice)) - gradle repo priority (#22041) ([2a349f8](https://github.com/facebook/react-native/commit/2a349f8) by [@dulmandakh](https://github.com/dulmandakh)) - jest: upgrade to 24.0.0-alpha.4 ([66aba09](https://github.com/facebook/react-native/commit/66aba09) by [@rubennorte](https://github.com/rubennorte)) - Flow strictifying AdsManagerAudienceImages.js ([136dfc8](https://github.com/facebook/react-native/commit/136dfc8)) - BUCKFORMAT: apply on all of fbsource ([2b603fd](https://github.com/facebook/react-native/commit/2b603fd) by [@luciang](https://github.com/luciang)) - Improved Types ([17fd1bc](https://github.com/facebook/react-native/commit/17fd1bc) by [@nmn](https://github.com/nmn)) -- Modified declarations from vars to const (#22070) ([efc9506](https://github.com/facebook/react-native/commit/efc9506) by [@fernando-sendMail](https://github.com/fernando-sendMail)) - Deploy Flow v0.85 to xplat/js ([adc8a33](https://github.com/facebook/react-native/commit/adc8a33) by [@samwgoldman](https://github.com/samwgoldman)) - CheckBox: Convert NativeMethodsMixin to forwardedRef, convert to class (#21585) ([28de61e](https://github.com/facebook/react-native/commit/28de61e) by [@empyrical](https://github.com/empyrical)) -- more lint auto fixing ([10d41d4](https://github.com/facebook/react-native/commit/10d41d4) by [@sahrens](https://github.com/sahrens)) - lint autofixes ([2486d12](https://github.com/facebook/react-native/commit/2486d12) by [@sahrens](https://github.com/sahrens)) - React sync for revisions 4773fdf...bf9fadf ([8b275a8](https://github.com/facebook/react-native/commit/8b275a8) by [@yungsters](https://github.com/yungsters)) - Trivial cleanup in ReactRootView ([83c7303](https://github.com/facebook/react-native/commit/83c7303) by [@mdvacca](https://github.com/mdvacca)) @@ -192,20 +169,11 @@ - Update and expand bytecode spec ([aab0160](https://github.com/facebook/react-native/commit/aab0160) by [@sahrens](https://github.com/sahrens)) - Cleanup a bunch of the JS stuff ([ccc8a42](https://github.com/facebook/react-native/commit/ccc8a42) by [@sahrens](https://github.com/sahrens)) - rename ReactBytecode -> UITemplate ([ac9e09d](https://github.com/facebook/react-native/commit/ac9e09d) by [@sahrens](https://github.com/sahrens)) -- Fabric: Using RuntimeExecutor in concrete EventBeats ([98685e8](https://github.com/facebook/react-native/commit/98685e8) by [@shergin](https://github.com/shergin)) -- Fabric: Explicit clearing std::vector after moving from it ([3110a67](https://github.com/facebook/react-native/commit/3110a67) by [@shergin](https://github.com/shergin)) -- Fabric: Making jsi::Runtime a part of EventBeat and EventPipe ([df4521e](https://github.com/facebook/react-native/commit/df4521e) by [@shergin](https://github.com/shergin)) -- Fabric: Some helper classes and functions were moved to uimanager/primitives ([ee50618](https://github.com/facebook/react-native/commit/ee50618) by [@shergin](https://github.com/shergin)) -- Fabric: Introduced ComponentDescriptorRegistry::at() method family ([6c5b8c6](https://github.com/facebook/react-native/commit/6c5b8c6) by [@shergin](https://github.com/shergin)) -- Fabric: A bunch of functions for converting JSI primitives to Fabric and vice-versa ([b9f9f32](https://github.com/facebook/react-native/commit/b9f9f32) by [@shergin](https://github.com/shergin)) -- Fabric: Introducing UIManagerBinding, a replacement for JSIFabricUIManager ([18d8c48](https://github.com/facebook/react-native/commit/18d8c48) by [@shergin](https://github.com/shergin)) -- Fabric: Making some picky compilers happy ([786df48](https://github.com/facebook/react-native/commit/786df48) by [@shergin](https://github.com/shergin)) - Types for BackHandler ([7dd2b0b](https://github.com/facebook/react-native/commit/7dd2b0b) by [@nmn](https://github.com/nmn)) - Flow strict Slider (#22127) ([c03fc40](https://github.com/facebook/react-native/commit/c03fc40) by [@exced](https://github.com/exced)) - Flow strict TouchableOpacity (#22146) ([69213ee](https://github.com/facebook/react-native/commit/69213ee) by [@exced](https://github.com/exced)) - Allow overriding Metro server host with a system prop ([e02a154](https://github.com/facebook/react-native/commit/e02a154) by [@stepanhruda](https://github.com/stepanhruda)) - console polyfill: pass unsupported messages to original console ([bccc454](https://github.com/facebook/react-native/commit/bccc454) by [@Hypuk](https://github.com/Hypuk)) -- Fixing TextInput related jest tests ([7e818ae](https://github.com/facebook/react-native/commit/7e818ae) by [@TheSavior](https://github.com/TheSavior)) - React sync for revisions 4773fdf...3ff2c7c ([0cb59b5](https://github.com/facebook/react-native/commit/0cb59b5) by [@yungsters](https://github.com/yungsters)) - Enable unused-private-field warning (#13450) ([50e9b0f](https://github.com/facebook/react-native/commit/50e9b0f)) - Update oss lockfile ([8d5d144](https://github.com/facebook/react-native/commit/8d5d144) by [@ejanzer](https://github.com/ejanzer)) @@ -219,11 +187,9 @@ - `Removing UIManager.measureViewsInRect()` ([d623679](https://github.com/facebook/react-native/commit/d623679) by [@shergin](https://github.com/shergin)) - Turn off static linking for cxxreact:bridge ([918a7d5](https://github.com/facebook/react-native/commit/918a7d5) by [@christolliday](https://github.com/christolliday)) - Use static constants instead of strings when referring to View Managers and Native Modules ([803e993](https://github.com/facebook/react-native/commit/803e993) by [@axe-fb](https://github.com/axe-fb)) -- Fabric: Making EventEmitter::setEnabled additive ([d2408dd](https://github.com/facebook/react-native/commit/d2408dd) by [@shergin](https://github.com/shergin)) - Use nativeQPLTimestamp for InitializeCore marker point ([1850906](https://github.com/facebook/react-native/commit/1850906) by [@ejanzer](https://github.com/ejanzer)) - Only include ServerHost constant in debug builds ([2bf0d54](https://github.com/facebook/react-native/commit/2bf0d54) by [@stepanhruda](https://github.com/stepanhruda)) - Reset module registry flag when resetting React Instance ([188cbb0](https://github.com/facebook/react-native/commit/188cbb0) by [@PeteTheHeat](https://github.com/PeteTheHeat)) -- Fabric: Codemod: All ` requiresMainQueueSetup in code comment (#22328) ([1fa56a0](https://github.com/facebook/react-native/commit/1fa56a0) by [@karanjthakkar](https://github.com/karanjthakkar)) - Flow strict TouchableBounce (#22197) ([45c5183](https://github.com/facebook/react-native/commit/45c5183) by [@exced](https://github.com/exced)) - Flow strict TextProps (#22122) ([7927497](https://github.com/facebook/react-native/commit/7927497) by [@exced](https://github.com/exced)) @@ -257,13 +221,6 @@ - Flow strict TouchableHighlight (#22173) ([a97d104](https://github.com/facebook/react-native/commit/a97d104) by [@exced](https://github.com/exced)) - Flow strict ScrollResponder (#22181) ([fb4825a](https://github.com/facebook/react-native/commit/fb4825a) by [@saitoxu](https://github.com/saitoxu)) - Flow strict StatusBar (#22282) ([6fa997d](https://github.com/facebook/react-native/commit/6fa997d) by [@watanabeyu](https://github.com/watanabeyu)) -- Fabric: ShadowNode::backtrackAncestors(...) ([3ecf4ea](https://github.com/facebook/react-native/commit/3ecf4ea) by [@shergin](https://github.com/shergin)) -- Fabric: LayoutableShadowNode::getRelativeLayoutMetrics() ([9eec2c3](https://github.com/facebook/react-native/commit/9eec2c3) by [@shergin](https://github.com/shergin)) -- Fabric: Getting rid of leftovers in Scheduler ([71208f0](https://github.com/facebook/react-native/commit/71208f0) by [@shergin](https://github.com/shergin)) -- Fabric: Introducing ShadowTreeRegistry ([b4fa1fa](https://github.com/facebook/react-native/commit/b4fa1fa) by [@shergin](https://github.com/shergin)) -- Fabric: Sharing a pointer to ShadowTreeRegister with UIManager ([f8be867](https://github.com/facebook/react-native/commit/f8be867) by [@shergin](https://github.com/shergin)) -- Fabric: `UIManager::getRelativeLayoutMetrics` ([7e57755](https://github.com/facebook/react-native/commit/7e57755) by [@shergin](https://github.com/shergin)) -- Fabric: `ParagraphShadowNode::updateLocalDataIfNeeded()` ([9c96133](https://github.com/facebook/react-native/commit/9c96133) by [@shergin](https://github.com/shergin)) - Pass primitives by value ([f8ff6bd](https://github.com/facebook/react-native/commit/f8ff6bd) by [@davidaurelio](https://github.com/davidaurelio)) - Dealloc JNI implementation experiment ([64d162e](https://github.com/facebook/react-native/commit/64d162e) by [@davidaurelio](https://github.com/davidaurelio)) - Pass enums by value ([c34ad17](https://github.com/facebook/react-native/commit/c34ad17) by [@davidaurelio](https://github.com/davidaurelio)) @@ -274,11 +231,9 @@ #### Android Unknown - Upgrade folly to v2018.10.22.00 for Android (#21977) ([a316dc6](https://github.com/facebook/react-native/commit/a316dc6) by [@Kudo](https://github.com/Kudo)) -- RN: Copyright Header for `ReactInstanceManagerTest.java` ([4d16a0e](https://github.com/facebook/react-native/commit/4d16a0e) by [@yungsters](https://github.com/yungsters)) - Flow strict in ViewPagerAndroid.android.js (#22134) ([636e146](https://github.com/facebook/react-native/commit/636e146) by [@nd-02110114](https://github.com/nd-02110114)) - mostly working on Android + OTA ([7b5277b](https://github.com/facebook/react-native/commit/7b5277b) by [@sahrens](https://github.com/sahrens)) - Temporary disable AndroidSwipeRefreshLayout ([cd5009f](https://github.com/facebook/react-native/commit/cd5009f) by [@mdvacca](https://github.com/mdvacca)) -- Refactor 'induce' of events in Fabric Android ([95b21b4](https://github.com/facebook/react-native/commit/95b21b4) by [@mdvacca](https://github.com/mdvacca)) - Moved androidID constant to a method ([9f9390d](https://github.com/facebook/react-native/commit/9f9390d) by [@axe-fb](https://github.com/axe-fb)) - Android: Close websocket properly when remote server initiates close (#22248) ([2e465bc](https://github.com/facebook/react-native/commit/2e465bc) by [@syaau](https://github.com/syaau)) - Workaround a wrong fling direction for inverted ScrollViews on Android P (#21117) ([b971c5b](https://github.com/facebook/react-native/commit/b971c5b) by [@mandrigin](https://github.com/mandrigin)) @@ -299,8 +254,6 @@ - iOS: ignore double registration of lazy modules with chrome attached ([80f92ad](https://github.com/facebook/react-native/commit/80f92ad) by [@fkgozali](https://github.com/fkgozali)) - iOS TM: Rename RCTJSINativeModule => RCTTurboModule ([39b8fa9](https://github.com/facebook/react-native/commit/39b8fa9) by [@fkgozali](https://github.com/fkgozali)) - Defining explicit clang-format for Objective-C part of React Native ([271ace9](https://github.com/facebook/react-native/commit/271ace9) by [@shergin](https://github.com/shergin)) -- Fabric: Using non-mutating `at` instead of `[]` for `-[RCTSurfaceTouchHandler _activeTouches]` ([868406d](https://github.com/facebook/react-native/commit/868406d) by [@shergin](https://github.com/shergin)) -- Fabric: Proper implementation `-[RCTSurfaceTouchHandler reset]` ([560652c](https://github.com/facebook/react-native/commit/560652c) by [@shergin](https://github.com/shergin)) - iOS: Support inline view truncation (#21456) ([70826db](https://github.com/facebook/react-native/commit/70826db) by [@rigdern](https://github.com/rigdern)) - iOS TM: RCTEnableJSINativeModule => RCTEnableTurboModule ([aad83cc](https://github.com/facebook/react-native/commit/aad83cc) by [@fkgozali](https://github.com/fkgozali)) From 4f28015feac199c3da12a4aabd3d80598c5a2a1b Mon Sep 17 00:00:00 2001 From: Lorenzo Sciandra Date: Fri, 30 Nov 2018 16:29:24 +0000 Subject: [PATCH 13/58] Changelog for 0.57.6 & 7 (#73) --- CHANGELOG.md | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ README.md | 11 ++++++++--- 2 files changed, 58 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c554adc..c459837 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,55 @@ # Changelog +## [0.57.7] + +**NOTE WELL**: when you upgrade to this version you **NEED** to upgrade `react` and `react-test-renderer` to version `"16.6.1"`. + +This patch release fixes version 0.57.6 about loosing focus in `TextInput` because of [356ac5d](https://github.com/facebook/react-native/commit/356ac5d). + +Thanks everyone who contributed code or participated in the [discussion](https://github.com/react-native-community/react-native-releases/issues/64) for cherry-picking commits. + +## [v0.57.6] + +**INFO NOTE**: It's highly recommended that you skip this version and upgrade to 0.57.7. + +**NOTE WELL**: when you upgrade to this version you **NEED** to upgrade `react` and `react-test-renderer` to version `"16.6.1"`. +This patch release fixes a number of crashes, resolves build issues (both for iOS and Android). Thanks everyone who contributed code or participated in the [discussion](https://github.com/react-native-community/react-native-releases/issues/64) for cherry-picking commits. + +### Added + +#### iOS specific + +- Add iOS 12 textContentType options (#21079) ([d0c8cb1](https://github.com/facebook/react-native/commit/d0c8cb1) by [@ultramiraculous](https://github.com/ultramiraculous)) + +### Removed + +- Remove useless additionnal blur call (#22156) ([356ac5d](https://github.com/facebook/react-native/commit/356ac5d)) + +### Fixed + +- Improving Modal `visible` prop check to handle undefined and null (#22072) ([6c85356](https://github.com/facebook/react-native/commit/6c85356) by [@MateusAndrade](https://github.com/MateusAndrade)) +- Fix crash in nativeInjectHMRUpdate (#22412) ([0b4fd62](https://github.com/facebook/react-native/commit/0b4fd62) by [@vovkasm](https://github.com/vovkasm)) +- Fix IllegalArgumentException when dismissing ReactModalHostView ([e360b0b](https://github.com/facebook/react-native/commit/e360b0b) by [@mdvacca](https://github.com/mdvacca)) +- Fix regression in StyleSheet.setStyleAttributePreprocessor (#22262) ([5ba44f7](https://github.com/facebook/react-native/commit/5ba44f7) by [@brentvatne](https://github.com/brentvatne)) +- Fix React Native AsyncMode and DevTools ([f41383f](https://github.com/facebook/react-native/commit/f41383f) by [@bvaughn](https://github.com/bvaughn)) +- CxxReact: Silence 'unused lambda capture' warnings in open-source (#22240) ([87c9d92](https://github.com/facebook/react-native/commit/87c9d92) by [@empyrical](https://github.com/empyrical)) + +#### Android specific + +- Fixed HTTP connection timeout on Android (#22164) ([695784a](https://github.com/facebook/react-native/commit/695784a)) +- resizeMode applies to Image.defaultSource (#22216) ([ec1bbfd](https://github.com/facebook/react-native/commit/ec1bbfd) by [@dulmandakh](https://github.com/dulmandakh)) +- Android: Close websocket properly when remote server initiates close (#22248) ([6e7576b](https://github.com/facebook/react-native/commit/6e7576b) by [@syaau](https://github.com/syaau)) +- Workaround a wrong fling direction for inverted ScrollViews on Android P (#21117) ([90cb45f](https://github.com/facebook/react-native/commit/90cb45f) by [@mandrigin](https://github.com/mandrigin)) +- Fix crash when releasing RN views ([de3711e](https://github.com/facebook/react-native/commit/de3711e) by [@ayc1](https://github.com/ayc1)) + +#### iOS specific + +- iOS: Support inline view truncation (#21456) ([ac5aaec](https://github.com/facebook/react-native/commit/ac5aaec) by [@rigdern](https://github.com/rigdern)) +- NetInfo: try to solve crash with releasing _firstTimeReachability ([35c1c27](https://github.com/facebook/react-native/commit/35c1c27) by [@mmmulani](https://github.com/mmmulani)) +- Generate ip.txt before SKIP_BUNDLING check (#20554) ([26b5a6e](https://github.com/facebook/react-native/commit/26b5a6e) by [@keatongreve](https://github.com/keatongreve)) +- Revert [Performance improvement for loading cached images on iOS ] ([7eeb305](https://github.com/facebook/react-native/commit/7eeb305) by [@kelset](https://github.com/kelset)) +- Fix inability to remove 'Disabled' state from AccessibilityStates ([79b3311](https://github.com/facebook/react-native/commit/79b3311)) + ## [0.57.5] **NOTE WELL**: when you upgrade to this version you **NEED** to upgrade `react` and `react-test-renderer` to version `"16.6.1"`. diff --git a/README.md b/README.md index e8c86e8..f3bad0e 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,6 @@ # React Native Releases -[![GitHub Issues](https://img.shields.io/github/issues/react-native-community/react-native-releases.svg)](https://github.com/react-native-community/react-native-releases/issues) -![Contributions welcome](https://img.shields.io/badge/contributions-welcome-orange.svg) +[![GitHub Issues](https://img.shields.io/github/issues/react-native-community/react-native-releases.svg)](https://github.com/react-native-community/react-native-releases/issues) ![Contributions welcome](https://img.shields.io/badge/contributions-welcome-orange.svg) Stay up-to-date with the release activities of [React Native](https://github.com/facebook/react-native/) by [watching](https://github.com/react-native-community/react-native-releases/subscription) for [status reports](https://github.com/react-native-community/react-native-releases/issues?q=is%3Aopen+is%3Aissue+label%3A%22release+status%22). Follow along as the release notes are prepared and review the overall [changelog](https://github.com/react-native-community/react-native-releases/blob/master/CHANGELOG.md). @@ -17,6 +16,12 @@ The changelog in this repository is a community-provided effort to provide a hel In order to allow additional research, the commits that relate to a change are listed. The revisions listed typically are the merge commits, so as to match the code that a user may find in their own copy. Authors are attributed to encourage recognizing the contributors for supporting React Native. +### Changelog helper script + +In order to generate the Changelog, we use a script that, given a base version and a target version, checks all the commits between the two versions and parses release notes and authors in the commit message - and then prints it in the terminal for easy/copy paste. + +To use it first off `git clone` the repo, then `yarn` and finally you can use it like in the following example: `./changelog-generator.js -b v0.57.5 -c v0.57.6`. + ## "When will my fix make it into a release?" React Native follows a [monthly release cycle](http://facebook.github.io/react-native/versions.html). Once a pull request is merged to the [core `react-native` repo](https://github.com/facebook/react-native), it may take one to two months for the changes to make it to a stable React Native release. @@ -29,6 +34,6 @@ If the commit is only present in `master` (i.e. has no tags), then the commit ha ## Backporting/cherry-picking of changes to existing builds -From time to time, [backporting](https://en.wikipedia.org/wiki/Backporting) a change to an existing release (including candidates) may be needed. Examples include security issues or critical regressions. If you believe a pull request on `react-native` is a candidate for backporting, please mention it in the version associated _backport request_ issue. +From time to time, [backporting](https://en.wikipedia.org/wiki/Backporting) a change to an existing release (including candidates) may be needed. Examples include security issues or critical regressions. If you believe a pull request on `react-native` is a candidate for backporting, please mention it in the version associated _backport request_ issue. Please note that, if the change hasn't landed on `react-native`'s master, it can't be cherry picked to a release tag yet. From 7960318b12edb8a9eb02eecdf3879998fd354af9 Mon Sep 17 00:00:00 2001 From: Vojtech Novak Date: Mon, 3 Dec 2018 10:25:33 +0100 Subject: [PATCH 14/58] fix typo (#74) --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c459837..201606f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ **NOTE WELL**: when you upgrade to this version you **NEED** to upgrade `react` and `react-test-renderer` to version `"16.6.1"`. -This patch release fixes version 0.57.6 about loosing focus in `TextInput` because of [356ac5d](https://github.com/facebook/react-native/commit/356ac5d). +This patch release fixes version 0.57.6 about losing focus in `TextInput` because of [356ac5d](https://github.com/facebook/react-native/commit/356ac5d). Thanks everyone who contributed code or participated in the [discussion](https://github.com/react-native-community/react-native-releases/issues/64) for cherry-picking commits. From c8d34a30ceebc24fcd831c61013cb0123ff43294 Mon Sep 17 00:00:00 2001 From: Ryan Turner Date: Wed, 5 Dec 2018 03:40:32 +0000 Subject: [PATCH 15/58] Various fixes for @TheSavior's read of things; still very rough --- CHANGELOG.md | 62 ++-------------------------------------------------- 1 file changed, 2 insertions(+), 60 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 22087b8..96b31bd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,18 +4,11 @@ ### Added -- Add end point for initializecore ([9687090](https://github.com/facebook/react-native/commit/9687090) by [@ejanzer](https://github.com/ejanzer)) -- Add tracing for loading .so files during startup ([b3b6749](https://github.com/facebook/react-native/commit/b3b6749) by [@axe-fb](https://github.com/axe-fb)) - Added lock around RN module initialization to fix crash ([6770b53](https://github.com/facebook/react-native/commit/6770b53) by [@PeteTheHeat](https://github.com/PeteTheHeat)) - Added locking around RN bridge cxx module registry to avoid crash ([1c31919](https://github.com/facebook/react-native/commit/1c31919) by [@PeteTheHeat](https://github.com/PeteTheHeat)) - Add Yoga JNI bindings to libcoldstart ([2a8f6c3](https://github.com/facebook/react-native/commit/2a8f6c3) by [@davidaurelio](https://github.com/davidaurelio)) - Adds support for `publicPath` to enable serving assets from different locations. (#299) ([0b31496](https://github.com/facebook/react-native/commit/0b31496) by [@gdborton](https://github.com/gdborton)) - Add another guard to lazilyLoadView ([d7865eb](https://github.com/facebook/react-native/commit/d7865eb) by [@mmmulani](https://github.com/mmmulani)) -- Add a marker to indicate when JS thread priority is lowered ([d4aef08](https://github.com/facebook/react-native/commit/d4aef08) by [@axe-fb](https://github.com/axe-fb)) -- added functionality using which child node can tell parent node to use it as a reference baseline ([6eb5bd3](https://github.com/facebook/react-native/commit/6eb5bd3) by [@SidharthGuglani](https://github.com/SidharthGuglani)) -- Add test for WritableNativeMap ([17ced57](https://github.com/facebook/react-native/commit/17ced57) by [@ayc1](https://github.com/ayc1)) -- Add getUndefined() method to obtain the undefined value ([3337a1d](https://github.com/facebook/react-native/commit/3337a1d) by [@amir-shalem](https://github.com/amir-shalem)) -- Add missing Metro Config ([e0ea58e](https://github.com/facebook/react-native/commit/e0ea58e) by [@grabbou](https://github.com/grabbou)) #### Android specific @@ -27,6 +20,8 @@ - Changed front-facing camera so that it shows consistent image during capture and preview ([4aeea4d](https://github.com/facebook/react-native/commit/4aeea4d)) - then to thenValue changes to allow deletion of value-taking continuation form of then ([1f32b5d](https://github.com/facebook/react-native/commit/1f32b5d) by [@LeeHowes](https://github.com/LeeHowes)) +- Major improvements to Flow types for Core Components ([499c195](https://github.com/facebook/react-native/commit/499c195), [fbc5a4f](https://github.com/facebook/react-native/commit/fbc5a4f), [f9050e0](https://github.com/facebook/react-native/commit/f9050e0), [6476151](https://github.com/facebook/react-native/commit/6476151), [c03fc40](https://github.com/facebook/react-native/commit/c03fc40), [69213ee](https://github.com/facebook/react-native/commit/69213ee), [136dfc8](https://github.com/facebook/react-native/commit/136dfc8), [3c0211b](https://github.com/facebook/react-native/commit/3c0211b), [c127000](https://github.com/facebook/react-native/commit/c127000), [636e146](https://github.com/facebook/react-native/commit/636e146), [6fa997d](https://github.com/facebook/react-native/commit/6fa997d), [35a65cd](https://github.com/facebook/react-native/commit/35a65cd), [7927497](https://github.com/facebook/react-native/commit/7927497), [45c5183](https://github.com/facebook/react-native/commit/45c5183), [a97d104](https://github.com/facebook/react-native/commit/a97d104), [fb4825a](https://github.com/facebook/react-native/commit/fb4825a), [84c5416](https://github.com/facebook/react-native/commit/84c5416), [3649a50](https://github.com/facebook/react-native/commit/3649a50) by [@mottox2](https://github.com/mottox2), [@saitoxu](https://github.com/saitoxu), [@RSNara](https://github.com/RSNara), [@watanabeyu](https://github.com/watanabeyu), [@Tnarita0000](https://github.com/Tnarita0000), [@exced](https://github.com/exced), [@nd-02110114](https://github.com/nd-02110114), [@flowkraD](https://github.com/flowkraD)) +- Flow dependency is now at v0.86.0 ([8fb228f](https://github.com/facebook/react-native/commit/8fb228f) by [@panagosg7](https://github.com/panagosg7)) #### Android specific @@ -42,18 +37,9 @@ - Fix checkout_code: Remove Metro cache check (#21998) ([bb93abf](https://github.com/facebook/react-native/commit/bb93abf) by [@hramos](https://github.com/hramos)) - Remove view managers from @ReactModuleList ([c91a2b3](https://github.com/facebook/react-native/commit/c91a2b3) by [@axe-fb](https://github.com/axe-fb)) -- Remove var in RNTester (#22017) ([7a9d860](https://github.com/facebook/react-native/commit/7a9d860) by [@nd-02110114](https://github.com/nd-02110114)) -- Remove var in RNTester (#22019) ([a21b8b7](https://github.com/facebook/react-native/commit/a21b8b7) by [@nd-02110114](https://github.com/nd-02110114)) -- Remove var in RNTester (#22015) ([2648f47](https://github.com/facebook/react-native/commit/2648f47) by [@nd-02110114](https://github.com/nd-02110114)) -- Remove var in RNTester (#22018) ([6b29b90](https://github.com/facebook/react-native/commit/6b29b90) by [@nd-02110114](https://github.com/nd-02110114)) -- Remove var in RNTester (#22016) ([791fa2d](https://github.com/facebook/react-native/commit/791fa2d) by [@nd-02110114](https://github.com/nd-02110114)) -- Remove var in RNTester (#22014) ([5af5774](https://github.com/facebook/react-native/commit/5af5774) by [@nd-02110114](https://github.com/nd-02110114)) -- Remove var in RNTester (#22013) ([811a99c](https://github.com/facebook/react-native/commit/811a99c) by [@nd-02110114](https://github.com/nd-02110114)) - Remove undefined value on init cli command (#22045) ([58732a8](https://github.com/facebook/react-native/commit/58732a8) by [@ignacioola](https://github.com/ignacioola)) - Remove createReactClass from SwipeableRow (#21876) ([14e1628](https://github.com/facebook/react-native/commit/14e1628) by [@exced](https://github.com/exced)) - Remove var in Libraries/emitter/* (#22087) ([cf70870](https://github.com/facebook/react-native/commit/cf70870) by [@Tnarita0000](https://github.com/Tnarita0000)) -- Remove flow-strict from polyfillPromise (#22048) ([01b7c48](https://github.com/facebook/react-native/commit/01b7c48) by [@empyrical](https://github.com/empyrical)) -- Remove unused variables (#22097) ([6ebee18](https://github.com/facebook/react-native/commit/6ebee18) by [@ignacioola](https://github.com/ignacioola)) - Remove var in Libraries/vendor/core/merge.js (#22108) ([3f069f3](https://github.com/facebook/react-native/commit/3f069f3) by [@yushimatenjin](https://github.com/yushimatenjin)) - Remove var in Libraries/Utilities/MatrixMath.js (#22111) ([368518e](https://github.com/facebook/react-native/commit/368518e) by [@ggtmtmgg](https://github.com/ggtmtmgg)) - Remove var in Libraries/Utilities/buildStyleInterpolator.js (#22112) ([b01bf06](https://github.com/facebook/react-native/commit/b01bf06) by [@mottox2](https://github.com/mottox2)) @@ -85,15 +71,9 @@ - Fix relayout of inline views (#21968) ([798517a](https://github.com/facebook/react-native/commit/798517a) by [@rigdern](https://github.com/rigdern)) - Fix ReactRootView mount/unmount race condition ([309f85a](https://github.com/facebook/react-native/commit/309f85a) by [@ayc1](https://github.com/ayc1)) - Fix IllegalStateException when dismissing DialogManager ([38e01a2](https://github.com/facebook/react-native/commit/38e01a2) by [@mdvacca](https://github.com/mdvacca)) -- Fix duplicate function declaration in WebSockets (#22098) ([b03b9d5](https://github.com/facebook/react-native/commit/b03b9d5) by [@ignacioola](https://github.com/ignacioola)) -- Fix rn-cli linting issues (#22099) ([7b10a02](https://github.com/facebook/react-native/commit/7b10a02) by [@ignacioola](https://github.com/ignacioola)) - TouchEventEmitter: Fix assignment of Y coordinates (#22160) ([6b6a27c](https://github.com/facebook/react-native/commit/6b6a27c) by [@empyrical](https://github.com/empyrical)) -- Fix inline styles in IntegrationTests (#22165) ([1d62e94](https://github.com/facebook/react-native/commit/1d62e94) by [@ignacioola](https://github.com/ignacioola)) -- Fix inline styles warning in Libraries (#22161) ([41eb2da](https://github.com/facebook/react-native/commit/41eb2da) by [@ignacioola](https://github.com/ignacioola)) - Fix build error caused by -Werror=class-memaccess (#823) ([31439f8](https://github.com/facebook/react-native/commit/31439f8) by [@hooddanielc](https://github.com/hooddanielc)) - Fix IllegalArgumentException when dismissing ReactModalHostView ([e57ad4e](https://github.com/facebook/react-native/commit/e57ad4e) by [@mdvacca](https://github.com/mdvacca)) -- Fix internal types on top of TextInput refactor ([ad7d8f8](https://github.com/facebook/react-native/commit/ad7d8f8) by [@TheSavior](https://github.com/TheSavior)) -- Fix inline styles eslint warnings for examples (#22123) ([7b3c91e](https://github.com/facebook/react-native/commit/7b3c91e) by [@ignacioola](https://github.com/ignacioola)) - Fix ReactInstanceManager deadlock ([df7e8c6](https://github.com/facebook/react-native/commit/df7e8c6) by [@ayc1](https://github.com/ayc1)) - Fix ReactRootView attachRootView race condition ([be282b5](https://github.com/facebook/react-native/commit/be282b5) by [@ayc1](https://github.com/ayc1)) - UITemplateProcessor: Fix case of include path (#22239) ([0436bfc](https://github.com/facebook/react-native/commit/0436bfc) by [@empyrical](https://github.com/empyrical)) @@ -101,8 +81,6 @@ - Fix crash when releasing RN views ([83405ff](https://github.com/facebook/react-native/commit/83405ff) by [@ayc1](https://github.com/ayc1)) - Fix crash when removing root nodes ([b649fa9](https://github.com/facebook/react-native/commit/b649fa9) by [@ayc1](https://github.com/ayc1)) - Fix React Native AsyncMode and DevTools ([aacb06c](https://github.com/facebook/react-native/commit/aacb06c) by [@bvaughn](https://github.com/bvaughn)) -- reapply TextInput es6 conversion with fixes, attemps to fix ([9ea1295](https://github.com/facebook/react-native/commit/9ea1295) by [@sahrens](https://github.com/sahrens)) -- Back out "reapply TextInput es6 conversion with fixes, attemps to fix" ([6f34bc4](https://github.com/facebook/react-native/commit/6f34bc4) by [@sahrens](https://github.com/sahrens)) - Replace global.alert use to fix eslint warnings (#22184) ([55994f5](https://github.com/facebook/react-native/commit/55994f5) by [@vcalvello](https://github.com/vcalvello)) - Fix jsc regression.Fixes #22274 (#22293) ([f22473e](https://github.com/facebook/react-native/commit/f22473e) by [@gengjiawen](https://github.com/gengjiawen)) - Fix allocating Buffer in early commit (#22379) ([02a3517](https://github.com/facebook/react-native/commit/02a3517) by [@radeno](https://github.com/radeno)) @@ -113,8 +91,6 @@ - fix android ci (#21913) ([99632e1](https://github.com/facebook/react-native/commit/99632e1) by [@dulmandakh](https://github.com/dulmandakh)) - Fix incorrect merged asset path with flavor for Android Gradle Plugin 3.2. (#21782) ([e90319e](https://github.com/facebook/react-native/commit/e90319e) by [@yatatsu](https://github.com/yatatsu)) - bump buck to 2018.10.29.01. fixes Android CI (#22049) ([b40e23d](https://github.com/facebook/react-native/commit/b40e23d) by [@dulmandakh](https://github.com/dulmandakh)) -- Fix the comment for getSize in Image.android.js (#22092) ([a09aca5](https://github.com/facebook/react-native/commit/a09aca5) by [@wd39](https://github.com/wd39)) -- Fix inline styles in ReactAndroid (#22166) ([8b46c9a](https://github.com/facebook/react-native/commit/8b46c9a) by [@ignacioola](https://github.com/ignacioola)) - Fix args passed when measuring Androidwitch ([54e8d6c](https://github.com/facebook/react-native/commit/54e8d6c) by [@axe-fb](https://github.com/axe-fb)) - Fixed HTTP connection timeout on Android (#22164) ([a508134](https://github.com/facebook/react-native/commit/a508134)) - Fix compatibility issue for android 16 device.Fixes #22294 (#22295) ([5939d07](https://github.com/facebook/react-native/commit/5939d07) by [@gengjiawen](https://github.com/gengjiawen)) @@ -132,7 +108,6 @@ ### Unknown - Replaced default constructors with member assignments ([d743989](https://github.com/facebook/react-native/commit/d743989) by [@SidharthGuglani](https://github.com/SidharthGuglani)) -- @allow-large-files flow 0.84 xplat deploy ([11552a7](https://github.com/facebook/react-native/commit/11552a7) by [@avikchaudhuri](https://github.com/avikchaudhuri)) - Upgrade jest to v24.0.0-alpha.2 ([1b4fd64](https://github.com/facebook/react-native/commit/1b4fd64) by [@rafeca](https://github.com/rafeca)) - Bump metro@0.48.2 ([f867db3](https://github.com/facebook/react-native/commit/f867db3) by [@rafeca](https://github.com/rafeca)) - Refactor shutdown so that debug asserts can pass ([2a44054](https://github.com/facebook/react-native/commit/2a44054) by [@mhorowitz](https://github.com/mhorowitz)) @@ -147,31 +122,18 @@ - Use fb_native_wrapper for all targets ([c147073](https://github.com/facebook/react-native/commit/c147073) by [@scottrice](https://github.com/scottrice)) - gradle repo priority (#22041) ([2a349f8](https://github.com/facebook/react-native/commit/2a349f8) by [@dulmandakh](https://github.com/dulmandakh)) - jest: upgrade to 24.0.0-alpha.4 ([66aba09](https://github.com/facebook/react-native/commit/66aba09) by [@rubennorte](https://github.com/rubennorte)) -- Flow strictifying AdsManagerAudienceImages.js ([136dfc8](https://github.com/facebook/react-native/commit/136dfc8)) - BUCKFORMAT: apply on all of fbsource ([2b603fd](https://github.com/facebook/react-native/commit/2b603fd) by [@luciang](https://github.com/luciang)) -- Improved Types ([17fd1bc](https://github.com/facebook/react-native/commit/17fd1bc) by [@nmn](https://github.com/nmn)) -- Deploy Flow v0.85 to xplat/js ([adc8a33](https://github.com/facebook/react-native/commit/adc8a33) by [@samwgoldman](https://github.com/samwgoldman)) - CheckBox: Convert NativeMethodsMixin to forwardedRef, convert to class (#21585) ([28de61e](https://github.com/facebook/react-native/commit/28de61e) by [@empyrical](https://github.com/empyrical)) - lint autofixes ([2486d12](https://github.com/facebook/react-native/commit/2486d12) by [@sahrens](https://github.com/sahrens)) -- React sync for revisions 4773fdf...bf9fadf ([8b275a8](https://github.com/facebook/react-native/commit/8b275a8) by [@yungsters](https://github.com/yungsters)) - Trivial cleanup in ReactRootView ([83c7303](https://github.com/facebook/react-native/commit/83c7303) by [@mdvacca](https://github.com/mdvacca)) - Improving Modal `visible` prop check to handle undefined and null (#22072) ([cc13a73](https://github.com/facebook/react-native/commit/cc13a73) by [@MateusAndrade](https://github.com/MateusAndrade)) -- Flow strict ScrollViewMock (#22103) ([499c195](https://github.com/facebook/react-native/commit/499c195) by [@exced](https://github.com/exced)) -- RN: Revert React 16.6 Sync ([6448f4e](https://github.com/facebook/react-native/commit/6448f4e) by [@yungsters](https://github.com/yungsters)) - Replace var to const in Libraries/Utilities/deepFreezeAndThrowOnMutationInDev-test.js (#22110) ([e835c6d](https://github.com/facebook/react-native/commit/e835c6d) by [@watanabeyu](https://github.com/watanabeyu)) -- Make PR template consistent with Changelog (#22117) ([ce18036](https://github.com/facebook/react-native/commit/ce18036) by [@turnrye](https://github.com/turnrye)) -- Turn Flow strict mode on for KeyBoard (#22114) ([fbc5a4f](https://github.com/facebook/react-native/commit/fbc5a4f) by [@nd-02110114](https://github.com/nd-02110114)) - Increase cache and file size limits ([3a98318](https://github.com/facebook/react-native/commit/3a98318) by [@fatalsun](https://github.com/fatalsun)) - Disallow Optional::operator=(nullptr_t) unless T is a pointer ([79712c3](https://github.com/facebook/react-native/commit/79712c3) by [@chadaustin](https://github.com/chadaustin)) -- Flow type RefreshControl (#22119) ([84c5416](https://github.com/facebook/react-native/commit/84c5416) by [@exced](https://github.com/exced)) -- Flow strict StaticContainer (#22121) ([6476151](https://github.com/facebook/react-native/commit/6476151) by [@exced](https://github.com/exced)) -- Flow strict DrawerLayout (#22152) ([f9050e0](https://github.com/facebook/react-native/commit/f9050e0) by [@flowkraD](https://github.com/flowkraD)) - Update and expand bytecode spec ([aab0160](https://github.com/facebook/react-native/commit/aab0160) by [@sahrens](https://github.com/sahrens)) - Cleanup a bunch of the JS stuff ([ccc8a42](https://github.com/facebook/react-native/commit/ccc8a42) by [@sahrens](https://github.com/sahrens)) - rename ReactBytecode -> UITemplate ([ac9e09d](https://github.com/facebook/react-native/commit/ac9e09d) by [@sahrens](https://github.com/sahrens)) - Types for BackHandler ([7dd2b0b](https://github.com/facebook/react-native/commit/7dd2b0b) by [@nmn](https://github.com/nmn)) -- Flow strict Slider (#22127) ([c03fc40](https://github.com/facebook/react-native/commit/c03fc40) by [@exced](https://github.com/exced)) -- Flow strict TouchableOpacity (#22146) ([69213ee](https://github.com/facebook/react-native/commit/69213ee) by [@exced](https://github.com/exced)) - Allow overriding Metro server host with a system prop ([e02a154](https://github.com/facebook/react-native/commit/e02a154) by [@stepanhruda](https://github.com/stepanhruda)) - console polyfill: pass unsupported messages to original console ([bccc454](https://github.com/facebook/react-native/commit/bccc454) by [@Hypuk](https://github.com/Hypuk)) - React sync for revisions 4773fdf...3ff2c7c ([0cb59b5](https://github.com/facebook/react-native/commit/0cb59b5) by [@yungsters](https://github.com/yungsters)) @@ -202,44 +164,28 @@ - Dispatch events asynchronously ([e02a24b](https://github.com/facebook/react-native/commit/e02a24b) by [@mdvacca](https://github.com/mdvacca)) - nullptr -> folly::none in fbobjc/xplat ([56a416e](https://github.com/facebook/react-native/commit/56a416e) by [@chadaustin](https://github.com/chadaustin)) - Upgrade jest to v24.0.0-alpha.6 ([06c13b3](https://github.com/facebook/react-native/commit/06c13b3) by [@rafeca](https://github.com/rafeca)) -- Flow v0.86.0 in xplat/js [3/n] ([43ad3a6](https://github.com/facebook/react-native/commit/43ad3a6) by [@panagosg7](https://github.com/panagosg7)) -- Revert D12994045: Flow v0.86.0 in xplat/js [3/n] ([984eef8](https://github.com/facebook/react-native/commit/984eef8)) - Back to yearless format for MIT license ([619de16](https://github.com/facebook/react-native/commit/619de16) by [@davidaurelio](https://github.com/davidaurelio)) - JS: Switch from `new Buffer` to `Buffer.from` ([d9c2cda](https://github.com/facebook/react-native/commit/d9c2cda) by [@yungsters](https://github.com/yungsters)) - resizeMode applies to Image.defaultSource (#22216) ([673ef39](https://github.com/facebook/react-native/commit/673ef39) by [@dulmandakh](https://github.com/dulmandakh)) - New TextInput-test that would have prevented S168585 ([a009406](https://github.com/facebook/react-native/commit/a009406) by [@sahrens](https://github.com/sahrens)) - CxxReact: Silence 'unused lambda capture' warnings in open-source (#22240) ([0c05409](https://github.com/facebook/react-native/commit/0c05409) by [@empyrical](https://github.com/empyrical)) -- Flow v0.86.0 in xplat/js ([8fb228f](https://github.com/facebook/react-native/commit/8fb228f) by [@panagosg7](https://github.com/panagosg7)) - create api to allow clients to present a client credential for authentication (#22316) ([8911353](https://github.com/facebook/react-native/commit/8911353) by [@mjhu](https://github.com/mjhu)) - Change font size default from 12 to 14 ([dcf72ff](https://github.com/facebook/react-native/commit/dcf72ff) by [@mdvacca](https://github.com/mdvacca)) - Implement layout constraint when measuring text ([8367fa9](https://github.com/facebook/react-native/commit/8367fa9) by [@mdvacca](https://github.com/mdvacca)) - Rename requiresMainThreadSetup -> requiresMainQueueSetup in code comment (#22328) ([1fa56a0](https://github.com/facebook/react-native/commit/1fa56a0) by [@karanjthakkar](https://github.com/karanjthakkar)) -- Flow strict TouchableBounce (#22197) ([45c5183](https://github.com/facebook/react-native/commit/45c5183) by [@exced](https://github.com/exced)) -- Flow strict TextProps (#22122) ([7927497](https://github.com/facebook/react-native/commit/7927497) by [@exced](https://github.com/exced)) -- Flow strict TextInput (#22250) ([35a65cd](https://github.com/facebook/react-native/commit/35a65cd) by [@exced](https://github.com/exced)) -- Improve Flow types ([da0b139](https://github.com/facebook/react-native/commit/da0b139) by [@RSNara](https://github.com/RSNara)) -- Flow strict TouchableHighlight (#22173) ([a97d104](https://github.com/facebook/react-native/commit/a97d104) by [@exced](https://github.com/exced)) -- Flow strict ScrollResponder (#22181) ([fb4825a](https://github.com/facebook/react-native/commit/fb4825a) by [@saitoxu](https://github.com/saitoxu)) -- Flow strict StatusBar (#22282) ([6fa997d](https://github.com/facebook/react-native/commit/6fa997d) by [@watanabeyu](https://github.com/watanabeyu)) - Pass primitives by value ([f8ff6bd](https://github.com/facebook/react-native/commit/f8ff6bd) by [@davidaurelio](https://github.com/davidaurelio)) - Dealloc JNI implementation experiment ([64d162e](https://github.com/facebook/react-native/commit/64d162e) by [@davidaurelio](https://github.com/davidaurelio)) - Pass enums by value ([c34ad17](https://github.com/facebook/react-native/commit/c34ad17) by [@davidaurelio](https://github.com/davidaurelio)) -- Merge branch 'master' into 0.58-stable ([696bd89](https://github.com/facebook/react-native/commit/696bd89) by [@grabbou](https://github.com/grabbou)) -- Revert "Merge branch 'master' into 0.58-stable" ([b864e7e](https://github.com/facebook/react-native/commit/b864e7e) by [@grabbou](https://github.com/grabbou)) -- Make Metro untyped instead of ignored to let Metro-config resolve type annotations ([26bdd5b](https://github.com/facebook/react-native/commit/26bdd5b) by [@grabbou](https://github.com/grabbou)) #### Android Unknown - Upgrade folly to v2018.10.22.00 for Android (#21977) ([a316dc6](https://github.com/facebook/react-native/commit/a316dc6) by [@Kudo](https://github.com/Kudo)) -- Flow strict in ViewPagerAndroid.android.js (#22134) ([636e146](https://github.com/facebook/react-native/commit/636e146) by [@nd-02110114](https://github.com/nd-02110114)) - mostly working on Android + OTA ([7b5277b](https://github.com/facebook/react-native/commit/7b5277b) by [@sahrens](https://github.com/sahrens)) - Temporary disable AndroidSwipeRefreshLayout ([cd5009f](https://github.com/facebook/react-native/commit/cd5009f) by [@mdvacca](https://github.com/mdvacca)) - Moved androidID constant to a method ([9f9390d](https://github.com/facebook/react-native/commit/9f9390d) by [@axe-fb](https://github.com/axe-fb)) - Android: Close websocket properly when remote server initiates close (#22248) ([2e465bc](https://github.com/facebook/react-native/commit/2e465bc) by [@syaau](https://github.com/syaau)) - Workaround a wrong fling direction for inverted ScrollViews on Android P (#21117) ([b971c5b](https://github.com/facebook/react-native/commit/b971c5b) by [@mandrigin](https://github.com/mandrigin)) - DrawerLayoutAndroid: Convert to ES6 class (#21980) ([bea3bb6](https://github.com/facebook/react-native/commit/bea3bb6) by [@empyrical](https://github.com/empyrical)) -- Flow strict-local in TimePickerAndroid.android.js (#22188) ([c127000](https://github.com/facebook/react-native/commit/c127000) by [@Tnarita0000](https://github.com/Tnarita0000)) -- Flow TouchableNativeFeedback.android.js (#22176) ([3649a50](https://github.com/facebook/react-native/commit/3649a50) by [@mottox2](https://github.com/mottox2)) - Apply same config for Android ([e71fb64](https://github.com/facebook/react-native/commit/e71fb64) by [@grabbou](https://github.com/grabbou)) #### iOS Unkown @@ -248,7 +194,6 @@ - Upgrade folly to v2018.10.22.00 for iOS (#21976) ([a70625a](https://github.com/facebook/react-native/commit/a70625a) by [@Kudo](https://github.com/Kudo)) - iOS: supress yellow box about missing export for native modules ([5431607](https://github.com/facebook/react-native/commit/5431607) by [@fkgozali](https://github.com/fkgozali)) - iOS: register lazy nativemodules on startup when Chrome is attached ([04ea976](https://github.com/facebook/react-native/commit/04ea976) by [@fkgozali](https://github.com/fkgozali)) -- Turn Flow strict mode on for DatePickerIOS (#22105) ([3c0211b](https://github.com/facebook/react-native/commit/3c0211b) by [@nd-02110114](https://github.com/nd-02110114)) - Performance improvement for loading cached images on iOS (#20356) ([54f7eb3](https://github.com/facebook/react-native/commit/54f7eb3) by [@esamelson](https://github.com/esamelson)) - iOS: Attempt to load lazy modules when asked from native ([1f394fa](https://github.com/facebook/react-native/commit/1f394fa) by [@fkgozali](https://github.com/fkgozali)) - iOS: ignore double registration of lazy modules with chrome attached ([80f92ad](https://github.com/facebook/react-native/commit/80f92ad) by [@fkgozali](https://github.com/fkgozali)) @@ -330,7 +275,6 @@ Thanks to everyone that contributed to the [discussion](https://github.com/react #### Android specific fixes -- reverted [Update bad method](https://github.com/facebook/react-native/commit/1592a8d) - Fix accessibility role crash ([139559f](https://github.com/facebook/react-native/commit/139559fc0716a9ab7b78c9524df5eb295d882547) by Haseeb Saeed) - Fix accessibilityRole value lookup ([1f96ff6](https://github.com/facebook/react-native/commit/1f96ff62cf786f93c91e6625bf2b819077902251) by [@ayc1](https://github.com/ayc1)) - Fix DynamicFromMap object pool synchronization ([b0d68c0](https://github.com/facebook/react-native/commit/b0d68c0bb971a44dfdf7722682933f1e96e1cd45) by [@haitaoli](https://github.com/haitaoli)) @@ -373,7 +317,6 @@ Thanks to everyone that contributed to the [discussion](https://github.com/react #### Android specific additions -- Add test for InterpolatorType ([69a51da](https://github.com/facebook/react-native/commit/69a51da3a1fa0e4d9bfeb54da73f1cdb50dc11d4) by [@ejanzer](https://github.com/ejanzer)) ### Changes: existing functionality that is now different @@ -412,7 +355,6 @@ Thanks to everyone that contributed to the [discussion](https://github.com/react - Fix CameraRoll.getPhotos() crash on Android if device has a problematic video asset ([2658048](https://github.com/facebook/react-native/commit/265804867cd6f0cd3b164c6ffe91bee08230dcaf) by [@naxel](https://github.com/naxel)) - Android ScrollView fix for snapToInterval not snapping to end ([1fa7150](https://github.com/facebook/react-native/commit/1fa7150ce984fae57898de0564f176eb02389098) by [@olegbl](https://github.com/olegbl)) - Fix for InterpolatorType crash ([300ba7a](https://github.com/facebook/react-native/commit/300ba7a87e254a2b044864736525530fa8d46576) by [@ejanzer](https://github.com/ejanzer)) -- Update bad method ([1592a8d](https://github.com/facebook/react-native/commit/1592a8d42411d1f91c8ceb738c0533c1cee73f71) by [@grabbou](https://github.com/grabbou)) #### iOS specific fixes From 0fbcd2d1e52a09c6b78004351031e95eefd61adf Mon Sep 17 00:00:00 2001 From: Dani Akash Date: Fri, 7 Dec 2018 11:24:36 +0530 Subject: [PATCH 16/58] Increase android build tools version --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index da80095..af3f782 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -271,7 +271,7 @@ As mentioned a few times in the past, the core team is reviewing the repository 3. Ensure that you have all the babel dependencies to version `^7.0.0` (you may also need to add `"babel-core": "7.0.0-bridge.0"` as a yarn resolution to ensure retro-compatibility) 4. Upgrade the Android configuration: 1. In your project's `android/gradle/wrapper/gradle-wrapper.properties` file, change the `distributionUrl` to `https\://services.gradle.org/distributions/gradle-4.4-all.zip` - 2. In `android/build.gradle` file add `google()` right above `jcenter()` in both `buildscript` and `allprojects` repositories. Then change Android build tools to version 3.1.3 `classpath 'com.android.tools.build:gradle:3.1.3'` + 2. In `android/build.gradle` file add `google()` right above `jcenter()` in both `buildscript` and `allprojects` repositories. Then change Android build tools to version 3.1.4 `classpath 'com.android.tools.build:gradle:3.1.4'` 3. In `android/app/build.gradle` file update all your `compile` statements to be `implementation`, e.g. `implementation 'com.facebook.fresco:animated-gif:1.10.0'` 4. Do note that when running your app from within Android Studio, you may encounter `Missing Byte Code` errors. This is due to [a known issue](https://issuetracker.google.com/issues/72811718) with version 3.1.x of the android tools plugin. You'll need to disable Instant Run to get past this error. 5. If you have a custom packager configuration via `rn-cli.config.js`, you probably need to update it to work with the updated Metro configuration structure (for full detail refer to Metro's [documentation](https://facebook.github.io/metro/docs/en/configuration)); here are some commonly encountered changes to `rn-cli.config.js`: From 8d47d44fead1b68cda5d46ed6ac3c818e2312bcf Mon Sep 17 00:00:00 2001 From: Dani Akash Date: Fri, 7 Dec 2018 11:25:40 +0530 Subject: [PATCH 17/58] Remove empty line --- CHANGELOG.md | 1 - 1 file changed, 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index af3f782..8cc4a5e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,3 @@ - # Changelog ## [0.57.4] From c84a64a6d989fb737453799fa494719f7703faaf Mon Sep 17 00:00:00 2001 From: Ryan Turner Date: Sat, 8 Dec 2018 00:21:22 +0000 Subject: [PATCH 18/58] A few small removals for non-user-impacting things; correct a typo --- CHANGELOG.md | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 96b31bd..469b17e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -67,7 +67,7 @@ ### Fixed - Fix View/Text displayName (#21950) ([7a914fc](https://github.com/facebook/react-native/commit/7a914fc) by [@rajivshah3](https://github.com/rajivshah3)) -- Fix the lazily LaodedView to avoid weird naming issues ([cae2534](https://github.com/facebook/react-native/commit/cae2534) by [@spredolac](https://github.com/spredolac)) +- Fix the lazily LoadedView to avoid weird naming issues ([cae2534](https://github.com/facebook/react-native/commit/cae2534) by [@spredolac](https://github.com/spredolac)) - Fix relayout of inline views (#21968) ([798517a](https://github.com/facebook/react-native/commit/798517a) by [@rigdern](https://github.com/rigdern)) - Fix ReactRootView mount/unmount race condition ([309f85a](https://github.com/facebook/react-native/commit/309f85a) by [@ayc1](https://github.com/ayc1)) - Fix IllegalStateException when dismissing DialogManager ([38e01a2](https://github.com/facebook/react-native/commit/38e01a2) by [@mdvacca](https://github.com/mdvacca)) @@ -88,9 +88,7 @@ #### Android specific -- fix android ci (#21913) ([99632e1](https://github.com/facebook/react-native/commit/99632e1) by [@dulmandakh](https://github.com/dulmandakh)) - Fix incorrect merged asset path with flavor for Android Gradle Plugin 3.2. (#21782) ([e90319e](https://github.com/facebook/react-native/commit/e90319e) by [@yatatsu](https://github.com/yatatsu)) -- bump buck to 2018.10.29.01. fixes Android CI (#22049) ([b40e23d](https://github.com/facebook/react-native/commit/b40e23d) by [@dulmandakh](https://github.com/dulmandakh)) - Fix args passed when measuring Androidwitch ([54e8d6c](https://github.com/facebook/react-native/commit/54e8d6c) by [@axe-fb](https://github.com/axe-fb)) - Fixed HTTP connection timeout on Android (#22164) ([a508134](https://github.com/facebook/react-native/commit/a508134)) - Fix compatibility issue for android 16 device.Fixes #22294 (#22295) ([5939d07](https://github.com/facebook/react-native/commit/5939d07) by [@gengjiawen](https://github.com/gengjiawen)) @@ -122,10 +120,7 @@ - Use fb_native_wrapper for all targets ([c147073](https://github.com/facebook/react-native/commit/c147073) by [@scottrice](https://github.com/scottrice)) - gradle repo priority (#22041) ([2a349f8](https://github.com/facebook/react-native/commit/2a349f8) by [@dulmandakh](https://github.com/dulmandakh)) - jest: upgrade to 24.0.0-alpha.4 ([66aba09](https://github.com/facebook/react-native/commit/66aba09) by [@rubennorte](https://github.com/rubennorte)) -- BUCKFORMAT: apply on all of fbsource ([2b603fd](https://github.com/facebook/react-native/commit/2b603fd) by [@luciang](https://github.com/luciang)) - CheckBox: Convert NativeMethodsMixin to forwardedRef, convert to class (#21585) ([28de61e](https://github.com/facebook/react-native/commit/28de61e) by [@empyrical](https://github.com/empyrical)) -- lint autofixes ([2486d12](https://github.com/facebook/react-native/commit/2486d12) by [@sahrens](https://github.com/sahrens)) -- Trivial cleanup in ReactRootView ([83c7303](https://github.com/facebook/react-native/commit/83c7303) by [@mdvacca](https://github.com/mdvacca)) - Improving Modal `visible` prop check to handle undefined and null (#22072) ([cc13a73](https://github.com/facebook/react-native/commit/cc13a73) by [@MateusAndrade](https://github.com/MateusAndrade)) - Replace var to const in Libraries/Utilities/deepFreezeAndThrowOnMutationInDev-test.js (#22110) ([e835c6d](https://github.com/facebook/react-native/commit/e835c6d) by [@watanabeyu](https://github.com/watanabeyu)) - Increase cache and file size limits ([3a98318](https://github.com/facebook/react-native/commit/3a98318) by [@fatalsun](https://github.com/fatalsun)) @@ -317,7 +312,6 @@ Thanks to everyone that contributed to the [discussion](https://github.com/react #### Android specific additions - ### Changes: existing functionality that is now different - React sync for revisions ade5e69...d836010 ([049e56e](https://github.com/facebook/react-native/commit/c9948d1d36eca633e62e4ea4ab530a865208d0e1) by [@yungsters](https://github.com/yungsters)) From 67750f288dedebf8856563b4ca5524d331b22939 Mon Sep 17 00:00:00 2001 From: Ryan Turner Date: Sat, 8 Dec 2018 01:22:09 +0000 Subject: [PATCH 19/58] Processed the existing 'added' and 'changed' sections --- CHANGELOG.md | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a8e03ac..9a07d81 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,22 +4,16 @@ ### Added -- Added lock around RN module initialization to fix crash ([6770b53](https://github.com/facebook/react-native/commit/6770b53) by [@PeteTheHeat](https://github.com/PeteTheHeat)) -- Added locking around RN bridge cxx module registry to avoid crash ([1c31919](https://github.com/facebook/react-native/commit/1c31919) by [@PeteTheHeat](https://github.com/PeteTheHeat)) -- Add Yoga JNI bindings to libcoldstart ([2a8f6c3](https://github.com/facebook/react-native/commit/2a8f6c3) by [@davidaurelio](https://github.com/davidaurelio)) -- Adds support for `publicPath` to enable serving assets from different locations. (#299) ([0b31496](https://github.com/facebook/react-native/commit/0b31496) by [@gdborton](https://github.com/gdborton)) -- Add another guard to lazilyLoadView ([d7865eb](https://github.com/facebook/react-native/commit/d7865eb) by [@mmmulani](https://github.com/mmmulani)) +- Add support for `publicPath` to enable serving static assets from different locations ([0b31496](https://github.com/facebook/react-native/commit/0b31496) by [@gdborton](https://github.com/gdborton)) #### Android specific #### iOS specific -- iOS: add moduleForNameForcedLoad: to lookup modules by name and force load them ([d7a0c44](https://github.com/facebook/react-native/commit/d7a0c44) by [@fkgozali](https://github.com/fkgozali)) +- Add `moduleForName: lazilyLoadIfNecessary` to **RCTBridge.h** to lookup modules by name and force load them ([d7a0c44](https://github.com/facebook/react-native/commit/d7a0c44) by [@fkgozali](https://github.com/fkgozali)) ### Changed -- Changed front-facing camera so that it shows consistent image during capture and preview ([4aeea4d](https://github.com/facebook/react-native/commit/4aeea4d)) -- then to thenValue changes to allow deletion of value-taking continuation form of then ([1f32b5d](https://github.com/facebook/react-native/commit/1f32b5d) by [@LeeHowes](https://github.com/LeeHowes)) - Major improvements to Flow types for Core Components ([499c195](https://github.com/facebook/react-native/commit/499c195), [fbc5a4f](https://github.com/facebook/react-native/commit/fbc5a4f), [f9050e0](https://github.com/facebook/react-native/commit/f9050e0), [6476151](https://github.com/facebook/react-native/commit/6476151), [c03fc40](https://github.com/facebook/react-native/commit/c03fc40), [69213ee](https://github.com/facebook/react-native/commit/69213ee), [136dfc8](https://github.com/facebook/react-native/commit/136dfc8), [3c0211b](https://github.com/facebook/react-native/commit/3c0211b), [c127000](https://github.com/facebook/react-native/commit/c127000), [636e146](https://github.com/facebook/react-native/commit/636e146), [6fa997d](https://github.com/facebook/react-native/commit/6fa997d), [35a65cd](https://github.com/facebook/react-native/commit/35a65cd), [7927497](https://github.com/facebook/react-native/commit/7927497), [45c5183](https://github.com/facebook/react-native/commit/45c5183), [a97d104](https://github.com/facebook/react-native/commit/a97d104), [fb4825a](https://github.com/facebook/react-native/commit/fb4825a), [84c5416](https://github.com/facebook/react-native/commit/84c5416), [3649a50](https://github.com/facebook/react-native/commit/3649a50) by [@mottox2](https://github.com/mottox2), [@saitoxu](https://github.com/saitoxu), [@RSNara](https://github.com/RSNara), [@watanabeyu](https://github.com/watanabeyu), [@Tnarita0000](https://github.com/Tnarita0000), [@exced](https://github.com/exced), [@nd-02110114](https://github.com/nd-02110114), [@flowkraD](https://github.com/flowkraD)) - Flow dependency is now at v0.86.0 ([8fb228f](https://github.com/facebook/react-native/commit/8fb228f) by [@panagosg7](https://github.com/panagosg7)) @@ -35,7 +29,6 @@ ### Removed -- Fix checkout_code: Remove Metro cache check (#21998) ([bb93abf](https://github.com/facebook/react-native/commit/bb93abf) by [@hramos](https://github.com/hramos)) - Remove view managers from @ReactModuleList ([c91a2b3](https://github.com/facebook/react-native/commit/c91a2b3) by [@axe-fb](https://github.com/axe-fb)) - Remove undefined value on init cli command (#22045) ([58732a8](https://github.com/facebook/react-native/commit/58732a8) by [@ignacioola](https://github.com/ignacioola)) - Remove createReactClass from SwipeableRow (#21876) ([14e1628](https://github.com/facebook/react-native/commit/14e1628) by [@exced](https://github.com/exced)) @@ -66,6 +59,8 @@ ### Fixed +- Fix potential UI thread stalling scenario from Yoga JNI bindings ([2a8f6c3](https://github.com/facebook/react-native/commit/2a8f6c3) by [@davidaurelio](https://github.com/davidaurelio)) +- Fix crash happening due to race condition around bridge cxx module registry ([6770b53](https://github.com/facebook/react-native/commit/6770b53) and [1c31919](https://github.com/facebook/react-native/commit/1c31919) by [@PeteTheHeat](https://github.com/PeteTheHeat)) - Fix View/Text displayName (#21950) ([7a914fc](https://github.com/facebook/react-native/commit/7a914fc) by [@rajivshah3](https://github.com/rajivshah3)) - Fix the lazily LoadedView to avoid weird naming issues ([cae2534](https://github.com/facebook/react-native/commit/cae2534) by [@spredolac](https://github.com/spredolac)) - Fix relayout of inline views (#21968) ([798517a](https://github.com/facebook/react-native/commit/798517a) by [@rigdern](https://github.com/rigdern)) @@ -95,7 +90,9 @@ #### iOS specific +- Fix issue with **ImagePickerIOS**'s inconsistent image when using the front-facing camera ([4aeea4d](https://github.com/facebook/react-native/commit/4aeea4d)) - Fix LazilyLoadView lookup so that it can drop RCT prefixes. ([6534718](https://github.com/facebook/react-native/commit/6534718) by [@dshahidehpour](https://github.com/dshahidehpour)) +- Add another guard to lazilyLoadView ([d7865eb](https://github.com/facebook/react-native/commit/d7865eb) by [@mmmulani](https://github.com/mmmulani)) ### Security @@ -196,6 +193,7 @@ - Defining explicit clang-format for Objective-C part of React Native ([271ace9](https://github.com/facebook/react-native/commit/271ace9) by [@shergin](https://github.com/shergin)) - iOS: Support inline view truncation (#21456) ([70826db](https://github.com/facebook/react-native/commit/70826db) by [@rigdern](https://github.com/rigdern)) - iOS TM: RCTEnableJSINativeModule => RCTEnableTurboModule ([aad83cc](https://github.com/facebook/react-native/commit/aad83cc) by [@fkgozali](https://github.com/fkgozali)) + ## [0.57.7] **NOTE WELL**: when you upgrade to this version you **NEED** to upgrade `react` and `react-test-renderer` to version `"16.6.1"`. From 8b946ac7454b6f03fa32c9b68a7bd344c9e05d1f Mon Sep 17 00:00:00 2001 From: Ryan Turner Date: Sat, 8 Dec 2018 17:53:38 +0000 Subject: [PATCH 20/58] Process 'removed' and 'fixed general' sections --- CHANGELOG.md | 59 ++++++++++++---------------------------------------- 1 file changed, 13 insertions(+), 46 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9a07d81..462ace0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## [0.58.0] +- A lot of community effort in [modernizing](https://github.com/facebook/react-native/issues/21581) and [stengthening flow types](https://github.com/facebook/react-native/issues/22100) for core components. Thank you [@TheSavior](https://github.com/TheSavior) for leading these efforts, and thank you to all of the community members who helped get this done. + ### Added - Add support for `publicPath` to enable serving static assets from different locations ([0b31496](https://github.com/facebook/react-native/commit/0b31496) by [@gdborton](https://github.com/gdborton)) @@ -29,67 +31,32 @@ ### Removed -- Remove view managers from @ReactModuleList ([c91a2b3](https://github.com/facebook/react-native/commit/c91a2b3) by [@axe-fb](https://github.com/axe-fb)) -- Remove undefined value on init cli command (#22045) ([58732a8](https://github.com/facebook/react-native/commit/58732a8) by [@ignacioola](https://github.com/ignacioola)) -- Remove createReactClass from SwipeableRow (#21876) ([14e1628](https://github.com/facebook/react-native/commit/14e1628) by [@exced](https://github.com/exced)) -- Remove var in Libraries/emitter/* (#22087) ([cf70870](https://github.com/facebook/react-native/commit/cf70870) by [@Tnarita0000](https://github.com/Tnarita0000)) -- Remove var in Libraries/vendor/core/merge.js (#22108) ([3f069f3](https://github.com/facebook/react-native/commit/3f069f3) by [@yushimatenjin](https://github.com/yushimatenjin)) -- Remove var in Libraries/Utilities/MatrixMath.js (#22111) ([368518e](https://github.com/facebook/react-native/commit/368518e) by [@ggtmtmgg](https://github.com/ggtmtmgg)) -- Remove var in Libraries/Utilities/buildStyleInterpolator.js (#22112) ([b01bf06](https://github.com/facebook/react-native/commit/b01bf06) by [@mottox2](https://github.com/mottox2)) -- Remove unused styles (#22083) ([ffd7195](https://github.com/facebook/react-native/commit/ffd7195) by [@vcalvello](https://github.com/vcalvello)) -- Fix `no-shadow` eslint warning & remove var (#22124) ([f8040ed](https://github.com/facebook/react-native/commit/f8040ed) by [@Tnarita0000](https://github.com/Tnarita0000)) -- Removed unnecessary code in Libraries/Text/Text.js (#22132) ([0d4f627](https://github.com/facebook/react-native/commit/0d4f627) by [@ifsnow](https://github.com/ifsnow)) -- Remove var in /Libralies/Experimental/IncrementalPresenter.js (#22144) ([cc90c20](https://github.com/facebook/react-native/commit/cc90c20) by [@soyanakagawa](https://github.com/soyanakagawa)) -- Remove var in Libraries/Utilities/deepFreezeAndThrowOnMutationInDev.js (#22126) ([0a39cda](https://github.com/facebook/react-native/commit/0a39cda) by [@nabettu](https://github.com/nabettu)) -- Remove unused loads from xplat. ([9b781bd](https://github.com/facebook/react-native/commit/9b781bd) by [@ttsugriy](https://github.com/ttsugriy)) -- Remove dynamic exception specification in RN MethodCall.h/cpp ([5b71408](https://github.com/facebook/react-native/commit/5b71408) by [@yiding](https://github.com/yiding)) -- NIT remove unnecessary cast in measure ([2dbe769](https://github.com/facebook/react-native/commit/2dbe769) by [@mdvacca](https://github.com/mdvacca)) -- Remove useless additionnal blur call (#22156) ([27cfba2](https://github.com/facebook/react-native/commit/27cfba2)) -- `YGNodeComputeFlexBasisForChildren`: remove output param ([8f283b9](https://github.com/facebook/react-native/commit/8f283b9) by [@davidaurelio](https://github.com/davidaurelio)) - #### Android specific -- Remove AndroidManifest.xml from UIManager (#22044) ([7f79254](https://github.com/facebook/react-native/commit/7f79254) by [@radeno](https://github.com/radeno)) -- remove var in ReactAndroid/src/androidTest (#22136) ([0beb1cc](https://github.com/facebook/react-native/commit/0beb1cc) by [@nd-02110114](https://github.com/nd-02110114)) -- remove var in ReactAndroid/src/androidTest. (#22137) ([6f781d9](https://github.com/facebook/react-native/commit/6f781d9) by [@nd-02110114](https://github.com/nd-02110114)) -- Remove var in ReactAndroid/src/androidTest (#22135) ([9d13233](https://github.com/facebook/react-native/commit/9d13233) by [@nd-02110114](https://github.com/nd-02110114)) -- remove createReactClass from ToolbarAndroid/ToolbarAndroid.android.js (#21893) ([147c38a](https://github.com/facebook/react-native/commit/147c38a) by [@nd-02110114](https://github.com/nd-02110114)) - #### iOS specific ### Fixed - Fix potential UI thread stalling scenario from Yoga JNI bindings ([2a8f6c3](https://github.com/facebook/react-native/commit/2a8f6c3) by [@davidaurelio](https://github.com/davidaurelio)) - Fix crash happening due to race condition around bridge cxx module registry ([6770b53](https://github.com/facebook/react-native/commit/6770b53) and [1c31919](https://github.com/facebook/react-native/commit/1c31919) by [@PeteTheHeat](https://github.com/PeteTheHeat)) -- Fix View/Text displayName (#21950) ([7a914fc](https://github.com/facebook/react-native/commit/7a914fc) by [@rajivshah3](https://github.com/rajivshah3)) -- Fix the lazily LoadedView to avoid weird naming issues ([cae2534](https://github.com/facebook/react-native/commit/cae2534) by [@spredolac](https://github.com/spredolac)) -- Fix relayout of inline views (#21968) ([798517a](https://github.com/facebook/react-native/commit/798517a) by [@rigdern](https://github.com/rigdern)) -- Fix ReactRootView mount/unmount race condition ([309f85a](https://github.com/facebook/react-native/commit/309f85a) by [@ayc1](https://github.com/ayc1)) -- Fix IllegalStateException when dismissing DialogManager ([38e01a2](https://github.com/facebook/react-native/commit/38e01a2) by [@mdvacca](https://github.com/mdvacca)) -- TouchEventEmitter: Fix assignment of Y coordinates (#22160) ([6b6a27c](https://github.com/facebook/react-native/commit/6b6a27c) by [@empyrical](https://github.com/empyrical)) -- Fix build error caused by -Werror=class-memaccess (#823) ([31439f8](https://github.com/facebook/react-native/commit/31439f8) by [@hooddanielc](https://github.com/hooddanielc)) -- Fix IllegalArgumentException when dismissing ReactModalHostView ([e57ad4e](https://github.com/facebook/react-native/commit/e57ad4e) by [@mdvacca](https://github.com/mdvacca)) -- Fix ReactInstanceManager deadlock ([df7e8c6](https://github.com/facebook/react-native/commit/df7e8c6) by [@ayc1](https://github.com/ayc1)) -- Fix ReactRootView attachRootView race condition ([be282b5](https://github.com/facebook/react-native/commit/be282b5) by [@ayc1](https://github.com/ayc1)) -- UITemplateProcessor: Fix case of include path (#22239) ([0436bfc](https://github.com/facebook/react-native/commit/0436bfc) by [@empyrical](https://github.com/empyrical)) -- Fix regression in StyleSheet.setStyleAttributePreprocessor (#22262) ([0408533](https://github.com/facebook/react-native/commit/0408533) by [@brentvatne](https://github.com/brentvatne)) -- Fix crash when releasing RN views ([83405ff](https://github.com/facebook/react-native/commit/83405ff) by [@ayc1](https://github.com/ayc1)) -- Fix crash when removing root nodes ([b649fa9](https://github.com/facebook/react-native/commit/b649fa9) by [@ayc1](https://github.com/ayc1)) -- Fix React Native AsyncMode and DevTools ([aacb06c](https://github.com/facebook/react-native/commit/aacb06c) by [@bvaughn](https://github.com/bvaughn)) -- Replace global.alert use to fix eslint warnings (#22184) ([55994f5](https://github.com/facebook/react-native/commit/55994f5) by [@vcalvello](https://github.com/vcalvello)) -- Fix jsc regression.Fixes #22274 (#22293) ([f22473e](https://github.com/facebook/react-native/commit/f22473e) by [@gengjiawen](https://github.com/gengjiawen)) -- Fix allocating Buffer in early commit (#22379) ([02a3517](https://github.com/facebook/react-native/commit/02a3517) by [@radeno](https://github.com/radeno)) -- Fix jsc regression.Fixes #22274 (#22293) ([d4d457b](https://github.com/facebook/react-native/commit/d4d457b) by [@gengjiawen](https://github.com/gengjiawen)) +- Fix **View** and **Text**'s displayName; show the specific name rather than generic "Component" ([7a914fc](https://github.com/facebook/react-native/commit/7a914fc) by [@rajivshah3](https://github.com/rajivshah3)) +- Fix `react-native init --help` so that it doesn't return `undefined` ([58732a8](https://github.com/facebook/react-native/commit/58732a8) by [@ignacioola](https://github.com/ignacioola)) #### Android specific -- Fix incorrect merged asset path with flavor for Android Gradle Plugin 3.2. (#21782) ([e90319e](https://github.com/facebook/react-native/commit/e90319e) by [@yatatsu](https://github.com/yatatsu)) +- Fix crash when removing root nodes ([b649fa9](https://github.com/facebook/react-native/commit/b649fa9) by [@ayc1](https://github.com/ayc1)) +- Fix various **ReactInstanceManager** deadlocks and race conditions ([df7e8c6](https://github.com/facebook/react-native/commit/df7e8c6), [309f85a](https://github.com/facebook/react-native/commit/309f85a), and [be282b5](https://github.com/facebook/react-native/commit/be282b5) by [@ayc1](https://github.com/ayc1)) +- Fix IllegalArgumentException when dismissing ReactModalHostView ([e57ad4e](https://github.com/facebook/react-native/commit/e57ad4e) by [@mdvacca](https://github.com/mdvacca)) +- Fix incorrect merged asset path with flavor for Android Gradle Plugin 3.2 ([e90319e](https://github.com/facebook/react-native/commit/e90319e) by [@yatatsu](https://github.com/yatatsu)) - Fix args passed when measuring Androidwitch ([54e8d6c](https://github.com/facebook/react-native/commit/54e8d6c) by [@axe-fb](https://github.com/axe-fb)) -- Fixed HTTP connection timeout on Android (#22164) ([a508134](https://github.com/facebook/react-native/commit/a508134)) -- Fix compatibility issue for android 16 device.Fixes #22294 (#22295) ([5939d07](https://github.com/facebook/react-native/commit/5939d07) by [@gengjiawen](https://github.com/gengjiawen)) +- Fix HTTP connection timeout ([a508134](https://github.com/facebook/react-native/commit/a508134)) +- Fix compatibility issue for Android 16 device.Fixes #22294 ([5939d07](https://github.com/facebook/react-native/commit/5939d07) by [@gengjiawen](https://github.com/gengjiawen)) +- Fix IllegalStateException when dismissing DialogManager ([38e01a2](https://github.com/facebook/react-native/commit/38e01a2) by [@mdvacca](https://github.com/mdvacca)) +- Fix jsc regression ([f22473e](https://github.com/facebook/react-native/commit/f22473e) and [d4d457b](https://github.com/facebook/react-native/commit/d4d457b) by [@gengjiawen](https://github.com/gengjiawen)) #### iOS specific +- Fix case where content of inline views didn't get relaid out ([798517a](https://github.com/facebook/react-native/commit/798517a) by [@rigdern](https://github.com/rigdern)) - Fix issue with **ImagePickerIOS**'s inconsistent image when using the front-facing camera ([4aeea4d](https://github.com/facebook/react-native/commit/4aeea4d)) - Fix LazilyLoadView lookup so that it can drop RCT prefixes. ([6534718](https://github.com/facebook/react-native/commit/6534718) by [@dshahidehpour](https://github.com/dshahidehpour)) - Add another guard to lazilyLoadView ([d7865eb](https://github.com/facebook/react-native/commit/d7865eb) by [@mmmulani](https://github.com/mmmulani)) From 61832498aafdd6229fb69f983d553b569578c338 Mon Sep 17 00:00:00 2001 From: Ryan Turner Date: Sat, 8 Dec 2018 19:39:06 +0000 Subject: [PATCH 21/58] Finished processing of the 'fixed' section --- CHANGELOG.md | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 462ace0..ffe5898 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,7 +12,7 @@ #### iOS specific -- Add `moduleForName: lazilyLoadIfNecessary` to **RCTBridge.h** to lookup modules by name and force load them ([d7a0c44](https://github.com/facebook/react-native/commit/d7a0c44) by [@fkgozali](https://github.com/fkgozali)) +- Add `moduleForName: lazilyLoadIfNecessary` to **RCTBridge.h** to lookup modules by name and force load them, plus various improvements to LazyLoading ([d7a0c44](https://github.com/facebook/react-native/commit/d7a0c44), [6534718](https://github.com/facebook/react-native/commit/6534718), and [d7865eb](https://github.com/facebook/react-native/commit/d7865eb) by [@dshahidehpour](https://github.com/dshahidehpour), [@fkgozali](https://github.com/fkgozali), and [@mmmulani](https://github.com/mmmulani)) ### Changed @@ -46,20 +46,15 @@ - Fix crash when removing root nodes ([b649fa9](https://github.com/facebook/react-native/commit/b649fa9) by [@ayc1](https://github.com/ayc1)) - Fix various **ReactInstanceManager** deadlocks and race conditions ([df7e8c6](https://github.com/facebook/react-native/commit/df7e8c6), [309f85a](https://github.com/facebook/react-native/commit/309f85a), and [be282b5](https://github.com/facebook/react-native/commit/be282b5) by [@ayc1](https://github.com/ayc1)) -- Fix IllegalArgumentException when dismissing ReactModalHostView ([e57ad4e](https://github.com/facebook/react-native/commit/e57ad4e) by [@mdvacca](https://github.com/mdvacca)) +- Fix IllegalArgumentException when dismissing ReactModalHostView and DialogManager ([e57ad4e](https://github.com/facebook/react-native/commit/e57ad4e) and [38e01a2](https://github.com/facebook/react-native/commit/38e01a2)by [@mdvacca](https://github.com/mdvacca)) - Fix incorrect merged asset path with flavor for Android Gradle Plugin 3.2 ([e90319e](https://github.com/facebook/react-native/commit/e90319e) by [@yatatsu](https://github.com/yatatsu)) -- Fix args passed when measuring Androidwitch ([54e8d6c](https://github.com/facebook/react-native/commit/54e8d6c) by [@axe-fb](https://github.com/axe-fb)) -- Fix HTTP connection timeout ([a508134](https://github.com/facebook/react-native/commit/a508134)) -- Fix compatibility issue for Android 16 device.Fixes #22294 ([5939d07](https://github.com/facebook/react-native/commit/5939d07) by [@gengjiawen](https://github.com/gengjiawen)) -- Fix IllegalStateException when dismissing DialogManager ([38e01a2](https://github.com/facebook/react-native/commit/38e01a2) by [@mdvacca](https://github.com/mdvacca)) -- Fix jsc regression ([f22473e](https://github.com/facebook/react-native/commit/f22473e) and [d4d457b](https://github.com/facebook/react-native/commit/d4d457b) by [@gengjiawen](https://github.com/gengjiawen)) +- Fix HTTP connection ontimeout callback ([a508134](https://github.com/facebook/react-native/commit/a508134)) +- Fix compatibility issue for Android 16 device ([5939d07](https://github.com/facebook/react-native/commit/5939d07), [f22473e](https://github.com/facebook/react-native/commit/f22473e), and [d4d457b](https://github.com/facebook/react-native/commit/d4d457b) by [@gengjiawen](https://github.com/gengjiawen)) #### iOS specific - Fix case where content of inline views didn't get relaid out ([798517a](https://github.com/facebook/react-native/commit/798517a) by [@rigdern](https://github.com/rigdern)) - Fix issue with **ImagePickerIOS**'s inconsistent image when using the front-facing camera ([4aeea4d](https://github.com/facebook/react-native/commit/4aeea4d)) -- Fix LazilyLoadView lookup so that it can drop RCT prefixes. ([6534718](https://github.com/facebook/react-native/commit/6534718) by [@dshahidehpour](https://github.com/dshahidehpour)) -- Add another guard to lazilyLoadView ([d7865eb](https://github.com/facebook/react-native/commit/d7865eb) by [@mmmulani](https://github.com/mmmulani)) ### Security From 73d418fc4363a736fb325a79f6aaf3b6adca621a Mon Sep 17 00:00:00 2001 From: Ryan Turner Date: Sat, 8 Dec 2018 22:39:20 +0000 Subject: [PATCH 22/58] Processed the main unknown section --- CHANGELOG.md | 99 +++++++++++++++------------------------------------- 1 file changed, 29 insertions(+), 70 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ffe5898..9224490 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## [0.58.0] - A lot of community effort in [modernizing](https://github.com/facebook/react-native/issues/21581) and [stengthening flow types](https://github.com/facebook/react-native/issues/22100) for core components. Thank you [@TheSavior](https://github.com/TheSavior) for leading these efforts, and thank you to all of the community members who helped get this done. +- There was great continued progress towards the new [Fabric re-architecture](https://github.com/react-native-community/discussions-and-proposals/issues/4) this month ### Added @@ -10,17 +11,29 @@ #### Android specific +- Bundler server host can now be set using Android System Properties, making for easier debugging across multiple apps or app installs `adb shell setprop metro.host` ([e02a154](https://github.com/facebook/react-native/commit/e02a154) by [@stepanhruda](https://github.com/stepanhruda)) + #### iOS specific -- Add `moduleForName: lazilyLoadIfNecessary` to **RCTBridge.h** to lookup modules by name and force load them, plus various improvements to LazyLoading ([d7a0c44](https://github.com/facebook/react-native/commit/d7a0c44), [6534718](https://github.com/facebook/react-native/commit/6534718), and [d7865eb](https://github.com/facebook/react-native/commit/d7865eb) by [@dshahidehpour](https://github.com/dshahidehpour), [@fkgozali](https://github.com/fkgozali), and [@mmmulani](https://github.com/mmmulani)) +- Add `moduleForName: lazilyLoadIfNecessary` to **RCTBridge.h** to lookup modules by name and force load them, plus various improvements to LazyLoading ([d7a0c44](https://github.com/facebook/react-native/commit/d7a0c44), [6534718](https://github.com/facebook/react-native/commit/6534718), [d7865eb](https://github.com/facebook/react-native/commit/d7865eb), and [81b74ec](https://github.com/facebook/react-native/commit/81b74ec) by [@dshahidehpour](https://github.com/dshahidehpour), [@fkgozali](https://github.com/fkgozali), and [@mmmulani](https://github.com/mmmulani)) +- Add ability for **WebView** to `setClientAuthenticationCredential` when `useWebKit={true}` for mutual TLS authentication ([8911353](https://github.com/facebook/react-native/commit/8911353) by [@mjhu](https://github.com/mjhu)) ### Changed - Major improvements to Flow types for Core Components ([499c195](https://github.com/facebook/react-native/commit/499c195), [fbc5a4f](https://github.com/facebook/react-native/commit/fbc5a4f), [f9050e0](https://github.com/facebook/react-native/commit/f9050e0), [6476151](https://github.com/facebook/react-native/commit/6476151), [c03fc40](https://github.com/facebook/react-native/commit/c03fc40), [69213ee](https://github.com/facebook/react-native/commit/69213ee), [136dfc8](https://github.com/facebook/react-native/commit/136dfc8), [3c0211b](https://github.com/facebook/react-native/commit/3c0211b), [c127000](https://github.com/facebook/react-native/commit/c127000), [636e146](https://github.com/facebook/react-native/commit/636e146), [6fa997d](https://github.com/facebook/react-native/commit/6fa997d), [35a65cd](https://github.com/facebook/react-native/commit/35a65cd), [7927497](https://github.com/facebook/react-native/commit/7927497), [45c5183](https://github.com/facebook/react-native/commit/45c5183), [a97d104](https://github.com/facebook/react-native/commit/a97d104), [fb4825a](https://github.com/facebook/react-native/commit/fb4825a), [84c5416](https://github.com/facebook/react-native/commit/84c5416), [3649a50](https://github.com/facebook/react-native/commit/3649a50) by [@mottox2](https://github.com/mottox2), [@saitoxu](https://github.com/saitoxu), [@RSNara](https://github.com/RSNara), [@watanabeyu](https://github.com/watanabeyu), [@Tnarita0000](https://github.com/Tnarita0000), [@exced](https://github.com/exced), [@nd-02110114](https://github.com/nd-02110114), [@flowkraD](https://github.com/flowkraD)) - Flow dependency is now at v0.86.0 ([8fb228f](https://github.com/facebook/react-native/commit/8fb228f) by [@panagosg7](https://github.com/panagosg7)) +- metro dependency is now at v0.49.1 ([f867db3](https://github.com/facebook/react-native/commit/f867db3), [8888295](https://github.com/facebook/react-native/commit/8888295), [31bb551](https://github.com/facebook/react-native/commit/31bb551), [de60e86](https://github.com/facebook/react-native/commit/de60e86), and [a525941](https://github.com/facebook/react-native/commit/a525941) by [@alexkirsz](https://github.com/alexkirsz) and [@rafeca](https://github.com/rafeca)) +- jest dependency is now at v24.0.0-alpha.6 ([1b4fd64](https://github.com/facebook/react-native/commit/1b4fd64), [66aba09](https://github.com/facebook/react-native/commit/66aba09), and [06c13b3](https://github.com/facebook/react-native/commit/06c13b3) by [@rafeca](https://github.com/rafeca) and [@rubennorte](https://github.com/rubennorte)) +- fbjs-scripts dependency is now at v1.0.0 (#21880) ([cdbf719](https://github.com/facebook/react-native/commit/cdbf719) by [@jmheik](https://github.com/jmheik)) +- folly dependency is now at v2018.10.22.00 ([a316dc6](https://github.com/facebook/react-native/commit/a316dc6) and [a70625a](https://github.com/facebook/react-native/commit/a70625a) by [@Kudo](https://github.com/Kudo)) +- React sync for revisions 4773fdf...3ff2c7c ([0cb59b5](https://github.com/facebook/react-native/commit/0cb59b5) by [@yungsters](https://github.com/yungsters)) +- Clearer error messages when hot reloading ([c787866](https://github.com/facebook/react-native/commit/c787866) by [@alexkirsz](https://github.com/alexkirsz)) +- Allow CxxModules to implement functions which take two callbacks ([8826d8b](https://github.com/facebook/react-native/commit/8826d8b) by [@acoates-ms](https://github.com/acoates-ms)) #### Android specific +- Optimize `PlatformConstants.ServerHost` and `PlatformConstants.isTesting` for performance ([2bf0d54](https://github.com/facebook/react-native/commit/2bf0d54) and [339d9d3](https://github.com/facebook/react-native/commit/339d9d3) by [@stepanhruda](https://github.com/stepanhruda) and [@fkgozali](https://github.com/fkgozali) + #### iOS specific ### Deprecated @@ -31,6 +44,8 @@ ### Removed +- Remove `UIManager.measureViewsInRect()` ([d623679](https://github.com/facebook/react-native/commit/d623679) by [@shergin](https://github.com/shergin)) + #### Android specific #### iOS specific @@ -38,9 +53,15 @@ ### Fixed - Fix potential UI thread stalling scenario from Yoga JNI bindings ([2a8f6c3](https://github.com/facebook/react-native/commit/2a8f6c3) by [@davidaurelio](https://github.com/davidaurelio)) -- Fix crash happening due to race condition around bridge cxx module registry ([6770b53](https://github.com/facebook/react-native/commit/6770b53) and [1c31919](https://github.com/facebook/react-native/commit/1c31919) by [@PeteTheHeat](https://github.com/PeteTheHeat)) +- Fix crash happening due to race condition around bridge cxx module registry ([6770b53](https://github.com/facebook/react-native/commit/6770b53), [1c31919](https://github.com/facebook/react-native/commit/1c31919), and [188cbb0](https://github.com/facebook/react-native/commit/188cbb0) by [@PeteTheHeat](https://github.com/PeteTheHeat)) - Fix **View** and **Text**'s displayName; show the specific name rather than generic "Component" ([7a914fc](https://github.com/facebook/react-native/commit/7a914fc) by [@rajivshah3](https://github.com/rajivshah3)) - Fix `react-native init --help` so that it doesn't return `undefined` ([58732a8](https://github.com/facebook/react-native/commit/58732a8) by [@ignacioola](https://github.com/ignacioola)) +- Fix `react-native --sourceExts` ([ce86080](https://github.com/facebook/react-native/commit/ce86080) by [@elyalvarado](https://github.com/elyalvarado)) +- Fix accidental showing of **Modal** when `visible` prop is undefined or null ([cc13a73](https://github.com/facebook/react-native/commit/cc13a73) by [@MateusAndrade](https://github.com/MateusAndrade)) +- Fix crash during **VirtualizedList** pagination ([5803772](https://github.com/facebook/react-native/commit/5803772)) +- Fix scenario where removing a module broke the bundle while reloading ([bea57d8](https://github.com/facebook/react-native/commit/bea57d8) by [@alexkirsz](https://github.com/alexkirsz)) + +TODO: confirm this with alexkirsz; waiting on DM reply #### Android specific @@ -50,11 +71,14 @@ - Fix incorrect merged asset path with flavor for Android Gradle Plugin 3.2 ([e90319e](https://github.com/facebook/react-native/commit/e90319e) by [@yatatsu](https://github.com/yatatsu)) - Fix HTTP connection ontimeout callback ([a508134](https://github.com/facebook/react-native/commit/a508134)) - Fix compatibility issue for Android 16 device ([5939d07](https://github.com/facebook/react-native/commit/5939d07), [f22473e](https://github.com/facebook/react-native/commit/f22473e), and [d4d457b](https://github.com/facebook/react-native/commit/d4d457b) by [@gengjiawen](https://github.com/gengjiawen)) +- Fix issue where `Image.resizeMode` isn't respected while source is loading, resulting in unexpected padding ([673ef39](https://github.com/facebook/react-native/commit/673ef39) by [@dulmandakh](https://github.com/dulmandakh)) #### iOS specific - Fix case where content of inline views didn't get relaid out ([798517a](https://github.com/facebook/react-native/commit/798517a) by [@rigdern](https://github.com/rigdern)) - Fix issue with **ImagePickerIOS**'s inconsistent image when using the front-facing camera ([4aeea4d](https://github.com/facebook/react-native/commit/4aeea4d)) +- Fix potential race condition and crash around shutdown of the JSC for iOS 11 and earlier ([bf2500e](https://github.com/facebook/react-native/commit/bf2500e) by [@mhorowitz](https://github.com/mhorowitz)) +- Fix crash in **NetInfo**'s _firstTimeReachability ([eebc8e2](https://github.com/facebook/react-native/commit/eebc8e2) by [@mmmulani](https://github.com/mmmulani)) ### Security @@ -64,76 +88,12 @@ ### Unknown -- Replaced default constructors with member assignments ([d743989](https://github.com/facebook/react-native/commit/d743989) by [@SidharthGuglani](https://github.com/SidharthGuglani)) -- Upgrade jest to v24.0.0-alpha.2 ([1b4fd64](https://github.com/facebook/react-native/commit/1b4fd64) by [@rafeca](https://github.com/rafeca)) -- Bump metro@0.48.2 ([f867db3](https://github.com/facebook/react-native/commit/f867db3) by [@rafeca](https://github.com/rafeca)) -- Refactor shutdown so that debug asserts can pass ([2a44054](https://github.com/facebook/react-native/commit/2a44054) by [@mhorowitz](https://github.com/mhorowitz)) -- Make SystemJSC on macosx actually use the system JSC framework ([5d38264](https://github.com/facebook/react-native/commit/5d38264) by [@mhorowitz](https://github.com/mhorowitz)) -- Modularize InitializeCore ([df2eaa9](https://github.com/facebook/react-native/commit/df2eaa9) by [@ejanzer](https://github.com/ejanzer)) -- Bump metro@0.48.3 ([8888295](https://github.com/facebook/react-native/commit/8888295) by [@rafeca](https://github.com/rafeca)) -- Update the Delta/HMR format ([1eedf05](https://github.com/facebook/react-native/commit/1eedf05) by [@alexkirsz](https://github.com/alexkirsz)) -- Bump metro@0.49.0 ([31bb551](https://github.com/facebook/react-native/commit/31bb551) by [@alexkirsz](https://github.com/alexkirsz)) -- Bump fbjs-scripts to ^1.0.0 (#21880) ([cdbf719](https://github.com/facebook/react-native/commit/cdbf719) by [@jmheik](https://github.com/jmheik)) -- Prepend passed sourceExts to default ones and pass them to metro (#21855) ([ce86080](https://github.com/facebook/react-native/commit/ce86080) by [@elyalvarado](https://github.com/elyalvarado)) -- Wrap measureLayoutRelativeToContainingList in try-catch to mitigate crash ([5803772](https://github.com/facebook/react-native/commit/5803772)) -- Use fb_native_wrapper for all targets ([c147073](https://github.com/facebook/react-native/commit/c147073) by [@scottrice](https://github.com/scottrice)) -- gradle repo priority (#22041) ([2a349f8](https://github.com/facebook/react-native/commit/2a349f8) by [@dulmandakh](https://github.com/dulmandakh)) -- jest: upgrade to 24.0.0-alpha.4 ([66aba09](https://github.com/facebook/react-native/commit/66aba09) by [@rubennorte](https://github.com/rubennorte)) -- CheckBox: Convert NativeMethodsMixin to forwardedRef, convert to class (#21585) ([28de61e](https://github.com/facebook/react-native/commit/28de61e) by [@empyrical](https://github.com/empyrical)) -- Improving Modal `visible` prop check to handle undefined and null (#22072) ([cc13a73](https://github.com/facebook/react-native/commit/cc13a73) by [@MateusAndrade](https://github.com/MateusAndrade)) -- Replace var to const in Libraries/Utilities/deepFreezeAndThrowOnMutationInDev-test.js (#22110) ([e835c6d](https://github.com/facebook/react-native/commit/e835c6d) by [@watanabeyu](https://github.com/watanabeyu)) -- Increase cache and file size limits ([3a98318](https://github.com/facebook/react-native/commit/3a98318) by [@fatalsun](https://github.com/fatalsun)) -- Disallow Optional::operator=(nullptr_t) unless T is a pointer ([79712c3](https://github.com/facebook/react-native/commit/79712c3) by [@chadaustin](https://github.com/chadaustin)) -- Update and expand bytecode spec ([aab0160](https://github.com/facebook/react-native/commit/aab0160) by [@sahrens](https://github.com/sahrens)) -- Cleanup a bunch of the JS stuff ([ccc8a42](https://github.com/facebook/react-native/commit/ccc8a42) by [@sahrens](https://github.com/sahrens)) -- rename ReactBytecode -> UITemplate ([ac9e09d](https://github.com/facebook/react-native/commit/ac9e09d) by [@sahrens](https://github.com/sahrens)) -- Types for BackHandler ([7dd2b0b](https://github.com/facebook/react-native/commit/7dd2b0b) by [@nmn](https://github.com/nmn)) -- Allow overriding Metro server host with a system prop ([e02a154](https://github.com/facebook/react-native/commit/e02a154) by [@stepanhruda](https://github.com/stepanhruda)) -- console polyfill: pass unsupported messages to original console ([bccc454](https://github.com/facebook/react-native/commit/bccc454) by [@Hypuk](https://github.com/Hypuk)) -- React sync for revisions 4773fdf...3ff2c7c ([0cb59b5](https://github.com/facebook/react-native/commit/0cb59b5) by [@yungsters](https://github.com/yungsters)) -- Enable unused-private-field warning (#13450) ([50e9b0f](https://github.com/facebook/react-native/commit/50e9b0f)) -- Update oss lockfile ([8d5d144](https://github.com/facebook/react-native/commit/8d5d144) by [@ejanzer](https://github.com/ejanzer)) -- Replace String with constants for Module names in Fb4aCoreInfraPackage ([fe49809](https://github.com/facebook/react-native/commit/fe49809) by [@axe-fb](https://github.com/axe-fb)) -- Give eagerly loaded modules precedent over lazily loaded one. ([81b74ec](https://github.com/facebook/react-native/commit/81b74ec) by [@dshahidehpour](https://github.com/dshahidehpour)) -- Stop mounting of Views when there is an exception in Native ([8329c10](https://github.com/facebook/react-native/commit/8329c10) by [@mdvacca](https://github.com/mdvacca)) -- Force navigation to use root tag ([fe7eb61](https://github.com/facebook/react-native/commit/fe7eb61) by [@mdvacca](https://github.com/mdvacca)) -- Expose rootTag / surfaceId as part of schedulerDidRequestPreliminaryViewAllocation method ([2b01da0](https://github.com/facebook/react-native/commit/2b01da0) by [@mdvacca](https://github.com/mdvacca)) -- Switch to synchronous strategy for unprotect ([bf2500e](https://github.com/facebook/react-native/commit/bf2500e) by [@mhorowitz](https://github.com/mhorowitz)) -- Back out TextInput es6 conversion ([f386f83](https://github.com/facebook/react-native/commit/f386f83) by [@TheSavior](https://github.com/TheSavior)) -- `Removing UIManager.measureViewsInRect()` ([d623679](https://github.com/facebook/react-native/commit/d623679) by [@shergin](https://github.com/shergin)) -- Turn off static linking for cxxreact:bridge ([918a7d5](https://github.com/facebook/react-native/commit/918a7d5) by [@christolliday](https://github.com/christolliday)) -- Use static constants instead of strings when referring to View Managers and Native Modules ([803e993](https://github.com/facebook/react-native/commit/803e993) by [@axe-fb](https://github.com/axe-fb)) -- Use nativeQPLTimestamp for InitializeCore marker point ([1850906](https://github.com/facebook/react-native/commit/1850906) by [@ejanzer](https://github.com/ejanzer)) -- Only include ServerHost constant in debug builds ([2bf0d54](https://github.com/facebook/react-native/commit/2bf0d54) by [@stepanhruda](https://github.com/stepanhruda)) -- Reset module registry flag when resetting React Instance ([188cbb0](https://github.com/facebook/react-native/commit/188cbb0) by [@PeteTheHeat](https://github.com/PeteTheHeat)) -- Avoid pre-allocating views for non-layoutable shadow nodes ([33b9661](https://github.com/facebook/react-native/commit/33b9661) by [@mdvacca](https://github.com/mdvacca)) -- DeltaPatcher: better support for the new Delta format ([bea57d8](https://github.com/facebook/react-native/commit/bea57d8) by [@alexkirsz](https://github.com/alexkirsz)) -- Clearer HMR error messages ([c787866](https://github.com/facebook/react-native/commit/c787866) by [@alexkirsz](https://github.com/alexkirsz)) -- NetInfo: try to solve crash with releasing _firstTimeReachability ([eebc8e2](https://github.com/facebook/react-native/commit/eebc8e2) by [@mmmulani](https://github.com/mmmulani)) -- Bump metro@0.49.1 ([de60e86](https://github.com/facebook/react-native/commit/de60e86) by [@rafeca](https://github.com/rafeca)) -- Bump metro@0.49.1 ([a525941](https://github.com/facebook/react-native/commit/a525941) by [@rafeca](https://github.com/rafeca)) -- Update React Native OSS Yarn and Gradle caches ([11d4512](https://github.com/facebook/react-native/commit/11d4512) by [@hramos](https://github.com/hramos)) -- Allow CxxModules to implement methods with two callbacks (#21586) ([8826d8b](https://github.com/facebook/react-native/commit/8826d8b)) -- Guard Platform.isTesting under __DEV__ ([339d9d3](https://github.com/facebook/react-native/commit/339d9d3) by [@fkgozali](https://github.com/fkgozali)) -- Dispatch events asynchronously ([e02a24b](https://github.com/facebook/react-native/commit/e02a24b) by [@mdvacca](https://github.com/mdvacca)) -- nullptr -> folly::none in fbobjc/xplat ([56a416e](https://github.com/facebook/react-native/commit/56a416e) by [@chadaustin](https://github.com/chadaustin)) -- Upgrade jest to v24.0.0-alpha.6 ([06c13b3](https://github.com/facebook/react-native/commit/06c13b3) by [@rafeca](https://github.com/rafeca)) -- Back to yearless format for MIT license ([619de16](https://github.com/facebook/react-native/commit/619de16) by [@davidaurelio](https://github.com/davidaurelio)) -- JS: Switch from `new Buffer` to `Buffer.from` ([d9c2cda](https://github.com/facebook/react-native/commit/d9c2cda) by [@yungsters](https://github.com/yungsters)) -- resizeMode applies to Image.defaultSource (#22216) ([673ef39](https://github.com/facebook/react-native/commit/673ef39) by [@dulmandakh](https://github.com/dulmandakh)) -- New TextInput-test that would have prevented S168585 ([a009406](https://github.com/facebook/react-native/commit/a009406) by [@sahrens](https://github.com/sahrens)) -- CxxReact: Silence 'unused lambda capture' warnings in open-source (#22240) ([0c05409](https://github.com/facebook/react-native/commit/0c05409) by [@empyrical](https://github.com/empyrical)) -- create api to allow clients to present a client credential for authentication (#22316) ([8911353](https://github.com/facebook/react-native/commit/8911353) by [@mjhu](https://github.com/mjhu)) -- Change font size default from 12 to 14 ([dcf72ff](https://github.com/facebook/react-native/commit/dcf72ff) by [@mdvacca](https://github.com/mdvacca)) -- Implement layout constraint when measuring text ([8367fa9](https://github.com/facebook/react-native/commit/8367fa9) by [@mdvacca](https://github.com/mdvacca)) -- Rename requiresMainThreadSetup -> requiresMainQueueSetup in code comment (#22328) ([1fa56a0](https://github.com/facebook/react-native/commit/1fa56a0) by [@karanjthakkar](https://github.com/karanjthakkar)) -- Pass primitives by value ([f8ff6bd](https://github.com/facebook/react-native/commit/f8ff6bd) by [@davidaurelio](https://github.com/davidaurelio)) -- Dealloc JNI implementation experiment ([64d162e](https://github.com/facebook/react-native/commit/64d162e) by [@davidaurelio](https://github.com/davidaurelio)) -- Pass enums by value ([c34ad17](https://github.com/facebook/react-native/commit/c34ad17) by [@davidaurelio](https://github.com/davidaurelio)) +- InitializeCore is now modular, allowing for you to pick and choose what's desired ([df2eaa9](https://github.com/facebook/react-native/commit/df2eaa9) by [@ejanzer](https://github.com/ejanzer)) + +TODO: what's the dev impact of this? Seems significant, but I can't find references of how this is used by devs in either brownfield or greenfield #### Android Unknown -- Upgrade folly to v2018.10.22.00 for Android (#21977) ([a316dc6](https://github.com/facebook/react-native/commit/a316dc6) by [@Kudo](https://github.com/Kudo)) - mostly working on Android + OTA ([7b5277b](https://github.com/facebook/react-native/commit/7b5277b) by [@sahrens](https://github.com/sahrens)) - Temporary disable AndroidSwipeRefreshLayout ([cd5009f](https://github.com/facebook/react-native/commit/cd5009f) by [@mdvacca](https://github.com/mdvacca)) - Moved androidID constant to a method ([9f9390d](https://github.com/facebook/react-native/commit/9f9390d) by [@axe-fb](https://github.com/axe-fb)) @@ -145,7 +105,6 @@ #### iOS Unkown - Quote "$NODE_BINARY" in react-native-xcode.sh (#21383) ([7d4e94e](https://github.com/facebook/react-native/commit/7d4e94e) by [@sundbry](https://github.com/sundbry)) -- Upgrade folly to v2018.10.22.00 for iOS (#21976) ([a70625a](https://github.com/facebook/react-native/commit/a70625a) by [@Kudo](https://github.com/Kudo)) - iOS: supress yellow box about missing export for native modules ([5431607](https://github.com/facebook/react-native/commit/5431607) by [@fkgozali](https://github.com/fkgozali)) - iOS: register lazy nativemodules on startup when Chrome is attached ([04ea976](https://github.com/facebook/react-native/commit/04ea976) by [@fkgozali](https://github.com/fkgozali)) - Performance improvement for loading cached images on iOS (#20356) ([54f7eb3](https://github.com/facebook/react-native/commit/54f7eb3) by [@esamelson](https://github.com/esamelson)) From 31dfe9b6343eb34b3ebffd8f86f4a778d3693d05 Mon Sep 17 00:00:00 2001 From: Ryan Turner Date: Sat, 8 Dec 2018 23:11:48 +0000 Subject: [PATCH 23/58] Finished processing; need to check for any recent changes since the script was run --- CHANGELOG.md | 48 +++++++----------------------------------------- 1 file changed, 7 insertions(+), 41 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9224490..dd14679 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,7 +15,7 @@ #### iOS specific -- Add `moduleForName: lazilyLoadIfNecessary` to **RCTBridge.h** to lookup modules by name and force load them, plus various improvements to LazyLoading ([d7a0c44](https://github.com/facebook/react-native/commit/d7a0c44), [6534718](https://github.com/facebook/react-native/commit/6534718), [d7865eb](https://github.com/facebook/react-native/commit/d7865eb), and [81b74ec](https://github.com/facebook/react-native/commit/81b74ec) by [@dshahidehpour](https://github.com/dshahidehpour), [@fkgozali](https://github.com/fkgozali), and [@mmmulani](https://github.com/mmmulani)) +- Add `moduleForName: lazilyLoadIfNecessary` to **RCTBridge.h** to lookup modules by name and force load them, plus various improvements to LazyLoading ([d7a0c44](https://github.com/facebook/react-native/commit/d7a0c44), [6534718](https://github.com/facebook/react-native/commit/6534718), [d7865eb](https://github.com/facebook/react-native/commit/d7865eb), [04ea976](https://github.com/facebook/react-native/commit/04ea976), [1f394fa](https://github.com/facebook/react-native/commit/1f394fa), [80f92ad](https://github.com/facebook/react-native/commit/80f92ad), and [81b74ec](https://github.com/facebook/react-native/commit/81b74ec) by [@dshahidehpour](https://github.com/dshahidehpour), [@fkgozali](https://github.com/fkgozali), and [@mmmulani](https://github.com/mmmulani)) - Add ability for **WebView** to `setClientAuthenticationCredential` when `useWebKit={true}` for mutual TLS authentication ([8911353](https://github.com/facebook/react-native/commit/8911353) by [@mjhu](https://github.com/mjhu)) ### Changed @@ -32,24 +32,16 @@ #### Android specific -- Optimize `PlatformConstants.ServerHost` and `PlatformConstants.isTesting` for performance ([2bf0d54](https://github.com/facebook/react-native/commit/2bf0d54) and [339d9d3](https://github.com/facebook/react-native/commit/339d9d3) by [@stepanhruda](https://github.com/stepanhruda) and [@fkgozali](https://github.com/fkgozali) +- Optimize `PlatformConstants.ServerHost`, `PlatformConstants.isTesting`, and `PlatformConstants.androidID` for performance ([2bf0d54](https://github.com/facebook/react-native/commit/2bf0d54), [339d9d3](https://github.com/facebook/react-native/commit/339d9d3), and [9f9390d](https://github.com/facebook/react-native/commit/9f9390d) by [@stepanhruda](https://github.com/stepanhruda), [@fkgozali](https://github.com/fkgozali), and [@axe-fb](https://github.com/axe-fb)) #### iOS specific -### Deprecated - -#### Android specific - -#### iOS specific +- Supress yellow box about missing export for native modules ([5431607](https://github.com/facebook/react-native/commit/5431607) by [@fkgozali](https://github.com/fkgozali)) ### Removed - Remove `UIManager.measureViewsInRect()` ([d623679](https://github.com/facebook/react-native/commit/d623679) by [@shergin](https://github.com/shergin)) -#### Android specific - -#### iOS specific - ### Fixed - Fix potential UI thread stalling scenario from Yoga JNI bindings ([2a8f6c3](https://github.com/facebook/react-native/commit/2a8f6c3) by [@davidaurelio](https://github.com/davidaurelio)) @@ -70,21 +62,18 @@ TODO: confirm this with alexkirsz; waiting on DM reply - Fix IllegalArgumentException when dismissing ReactModalHostView and DialogManager ([e57ad4e](https://github.com/facebook/react-native/commit/e57ad4e) and [38e01a2](https://github.com/facebook/react-native/commit/38e01a2)by [@mdvacca](https://github.com/mdvacca)) - Fix incorrect merged asset path with flavor for Android Gradle Plugin 3.2 ([e90319e](https://github.com/facebook/react-native/commit/e90319e) by [@yatatsu](https://github.com/yatatsu)) - Fix HTTP connection ontimeout callback ([a508134](https://github.com/facebook/react-native/commit/a508134)) +- Fix websocket properly closing when remote server initiates close ([2e465bc](https://github.com/facebook/react-native/commit/2e465bc) by [@syaau](https://github.com/syaau)) - Fix compatibility issue for Android 16 device ([5939d07](https://github.com/facebook/react-native/commit/5939d07), [f22473e](https://github.com/facebook/react-native/commit/f22473e), and [d4d457b](https://github.com/facebook/react-native/commit/d4d457b) by [@gengjiawen](https://github.com/gengjiawen)) - Fix issue where `Image.resizeMode` isn't respected while source is loading, resulting in unexpected padding ([673ef39](https://github.com/facebook/react-native/commit/673ef39) by [@dulmandakh](https://github.com/dulmandakh)) +- Fix Android 16's inverted **ScrollView** so that momentum is in the proper direction ([b971c5b](https://github.com/facebook/react-native/commit/b971c5b) by [@mandrigin](https://github.com/mandrigin)) #### iOS specific - Fix case where content of inline views didn't get relaid out ([798517a](https://github.com/facebook/react-native/commit/798517a) by [@rigdern](https://github.com/rigdern)) - Fix issue with **ImagePickerIOS**'s inconsistent image when using the front-facing camera ([4aeea4d](https://github.com/facebook/react-native/commit/4aeea4d)) -- Fix potential race condition and crash around shutdown of the JSC for iOS 11 and earlier ([bf2500e](https://github.com/facebook/react-native/commit/bf2500e) by [@mhorowitz](https://github.com/mhorowitz)) +- Fix race condition and crash around shutdown of the JSC for iOS 11 and earlier ([bf2500e](https://github.com/facebook/react-native/commit/bf2500e) by [@mhorowitz](https://github.com/mhorowitz)) - Fix crash in **NetInfo**'s _firstTimeReachability ([eebc8e2](https://github.com/facebook/react-native/commit/eebc8e2) by [@mmmulani](https://github.com/mmmulani)) - -### Security - -#### Android specific - -#### iOS specific +- Fix case where inline view is visible even though it should have been truncated ([70826db](https://github.com/facebook/react-native/commit/70826db) by [@rigdern](https://github.com/rigdern)) ### Unknown @@ -92,29 +81,6 @@ TODO: confirm this with alexkirsz; waiting on DM reply TODO: what's the dev impact of this? Seems significant, but I can't find references of how this is used by devs in either brownfield or greenfield -#### Android Unknown - -- mostly working on Android + OTA ([7b5277b](https://github.com/facebook/react-native/commit/7b5277b) by [@sahrens](https://github.com/sahrens)) -- Temporary disable AndroidSwipeRefreshLayout ([cd5009f](https://github.com/facebook/react-native/commit/cd5009f) by [@mdvacca](https://github.com/mdvacca)) -- Moved androidID constant to a method ([9f9390d](https://github.com/facebook/react-native/commit/9f9390d) by [@axe-fb](https://github.com/axe-fb)) -- Android: Close websocket properly when remote server initiates close (#22248) ([2e465bc](https://github.com/facebook/react-native/commit/2e465bc) by [@syaau](https://github.com/syaau)) -- Workaround a wrong fling direction for inverted ScrollViews on Android P (#21117) ([b971c5b](https://github.com/facebook/react-native/commit/b971c5b) by [@mandrigin](https://github.com/mandrigin)) -- DrawerLayoutAndroid: Convert to ES6 class (#21980) ([bea3bb6](https://github.com/facebook/react-native/commit/bea3bb6) by [@empyrical](https://github.com/empyrical)) -- Apply same config for Android ([e71fb64](https://github.com/facebook/react-native/commit/e71fb64) by [@grabbou](https://github.com/grabbou)) - -#### iOS Unkown - -- Quote "$NODE_BINARY" in react-native-xcode.sh (#21383) ([7d4e94e](https://github.com/facebook/react-native/commit/7d4e94e) by [@sundbry](https://github.com/sundbry)) -- iOS: supress yellow box about missing export for native modules ([5431607](https://github.com/facebook/react-native/commit/5431607) by [@fkgozali](https://github.com/fkgozali)) -- iOS: register lazy nativemodules on startup when Chrome is attached ([04ea976](https://github.com/facebook/react-native/commit/04ea976) by [@fkgozali](https://github.com/fkgozali)) -- Performance improvement for loading cached images on iOS (#20356) ([54f7eb3](https://github.com/facebook/react-native/commit/54f7eb3) by [@esamelson](https://github.com/esamelson)) -- iOS: Attempt to load lazy modules when asked from native ([1f394fa](https://github.com/facebook/react-native/commit/1f394fa) by [@fkgozali](https://github.com/fkgozali)) -- iOS: ignore double registration of lazy modules with chrome attached ([80f92ad](https://github.com/facebook/react-native/commit/80f92ad) by [@fkgozali](https://github.com/fkgozali)) -- iOS TM: Rename RCTJSINativeModule => RCTTurboModule ([39b8fa9](https://github.com/facebook/react-native/commit/39b8fa9) by [@fkgozali](https://github.com/fkgozali)) -- Defining explicit clang-format for Objective-C part of React Native ([271ace9](https://github.com/facebook/react-native/commit/271ace9) by [@shergin](https://github.com/shergin)) -- iOS: Support inline view truncation (#21456) ([70826db](https://github.com/facebook/react-native/commit/70826db) by [@rigdern](https://github.com/rigdern)) -- iOS TM: RCTEnableJSINativeModule => RCTEnableTurboModule ([aad83cc](https://github.com/facebook/react-native/commit/aad83cc) by [@fkgozali](https://github.com/fkgozali)) - ## [0.57.7] **NOTE WELL**: when you upgrade to this version you **NEED** to upgrade `react` and `react-test-renderer` to version `"16.6.1"`. From 3073b216c0a7105f2313e071bcc900471e9ce336 Mon Sep 17 00:00:00 2001 From: Ryan Turner Date: Mon, 10 Dec 2018 00:52:26 +0000 Subject: [PATCH 24/58] Address the two todos --- CHANGELOG.md | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dd14679..b9802db 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -51,9 +51,7 @@ - Fix `react-native --sourceExts` ([ce86080](https://github.com/facebook/react-native/commit/ce86080) by [@elyalvarado](https://github.com/elyalvarado)) - Fix accidental showing of **Modal** when `visible` prop is undefined or null ([cc13a73](https://github.com/facebook/react-native/commit/cc13a73) by [@MateusAndrade](https://github.com/MateusAndrade)) - Fix crash during **VirtualizedList** pagination ([5803772](https://github.com/facebook/react-native/commit/5803772)) -- Fix scenario where removing a module broke the bundle while reloading ([bea57d8](https://github.com/facebook/react-native/commit/bea57d8) by [@alexkirsz](https://github.com/alexkirsz)) - -TODO: confirm this with alexkirsz; waiting on DM reply +- Fix scenario where removing a module with remote debugging and Delta bundles may cause incorrect stack traces ([bea57d8](https://github.com/facebook/react-native/commit/bea57d8) by [@alexkirsz](https://github.com/alexkirsz)) #### Android specific @@ -75,12 +73,6 @@ TODO: confirm this with alexkirsz; waiting on DM reply - Fix crash in **NetInfo**'s _firstTimeReachability ([eebc8e2](https://github.com/facebook/react-native/commit/eebc8e2) by [@mmmulani](https://github.com/mmmulani)) - Fix case where inline view is visible even though it should have been truncated ([70826db](https://github.com/facebook/react-native/commit/70826db) by [@rigdern](https://github.com/rigdern)) -### Unknown - -- InitializeCore is now modular, allowing for you to pick and choose what's desired ([df2eaa9](https://github.com/facebook/react-native/commit/df2eaa9) by [@ejanzer](https://github.com/ejanzer)) - -TODO: what's the dev impact of this? Seems significant, but I can't find references of how this is used by devs in either brownfield or greenfield - ## [0.57.7] **NOTE WELL**: when you upgrade to this version you **NEED** to upgrade `react` and `react-test-renderer` to version `"16.6.1"`. From c9528548244d2535418004dbdf27122b3983e544 Mon Sep 17 00:00:00 2001 From: Ryan Turner Date: Mon, 10 Dec 2018 16:03:39 +0000 Subject: [PATCH 25/58] Add recent changes to the changelog; covered through c0bf7a1 now --- CHANGELOG.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b9802db..eb1d455 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,8 +25,8 @@ - metro dependency is now at v0.49.1 ([f867db3](https://github.com/facebook/react-native/commit/f867db3), [8888295](https://github.com/facebook/react-native/commit/8888295), [31bb551](https://github.com/facebook/react-native/commit/31bb551), [de60e86](https://github.com/facebook/react-native/commit/de60e86), and [a525941](https://github.com/facebook/react-native/commit/a525941) by [@alexkirsz](https://github.com/alexkirsz) and [@rafeca](https://github.com/rafeca)) - jest dependency is now at v24.0.0-alpha.6 ([1b4fd64](https://github.com/facebook/react-native/commit/1b4fd64), [66aba09](https://github.com/facebook/react-native/commit/66aba09), and [06c13b3](https://github.com/facebook/react-native/commit/06c13b3) by [@rafeca](https://github.com/rafeca) and [@rubennorte](https://github.com/rubennorte)) - fbjs-scripts dependency is now at v1.0.0 (#21880) ([cdbf719](https://github.com/facebook/react-native/commit/cdbf719) by [@jmheik](https://github.com/jmheik)) -- folly dependency is now at v2018.10.22.00 ([a316dc6](https://github.com/facebook/react-native/commit/a316dc6) and [a70625a](https://github.com/facebook/react-native/commit/a70625a) by [@Kudo](https://github.com/Kudo)) -- React sync for revisions 4773fdf...3ff2c7c ([0cb59b5](https://github.com/facebook/react-native/commit/0cb59b5) by [@yungsters](https://github.com/yungsters)) +- folly dependency is now at v2018.10.22.00 ([a316dc6](https://github.com/facebook/react-native/commit/a316dc6), [19a7ecc](https://github.com/facebook/react-native/commit/19a7ecc), and [a70625a](https://github.com/facebook/react-native/commit/a70625a) by [@Kudo](https://github.com/Kudo) and [@radko93](https://github.com/radko93)) +- React sync for revisions 4773fdf...6bf5e85 ([0cb59b5](https://github.com/facebook/react-native/commit/0cb59b5) and [e54d1e2](https://github.com/facebook/react-native/commit/e54d1e2) by [@yungsters](https://github.com/yungsters)) - Clearer error messages when hot reloading ([c787866](https://github.com/facebook/react-native/commit/c787866) by [@alexkirsz](https://github.com/alexkirsz)) - Allow CxxModules to implement functions which take two callbacks ([8826d8b](https://github.com/facebook/react-native/commit/8826d8b) by [@acoates-ms](https://github.com/acoates-ms)) @@ -72,6 +72,7 @@ - Fix race condition and crash around shutdown of the JSC for iOS 11 and earlier ([bf2500e](https://github.com/facebook/react-native/commit/bf2500e) by [@mhorowitz](https://github.com/mhorowitz)) - Fix crash in **NetInfo**'s _firstTimeReachability ([eebc8e2](https://github.com/facebook/react-native/commit/eebc8e2) by [@mmmulani](https://github.com/mmmulani)) - Fix case where inline view is visible even though it should have been truncated ([70826db](https://github.com/facebook/react-native/commit/70826db) by [@rigdern](https://github.com/rigdern)) +- Fix crash with **ScrollView** related to content offsets ([f6566c7](https://github.com/facebook/react-native/commit/f6566c7) by [@shergin](https://github.com/shergin)) ## [0.57.7] @@ -141,7 +142,7 @@ This patch release fixes a number of crashes, resolves build issues (both for iO - Fix crash in **VirtualizedList** during pagination ([483d4e2](https://github.com/facebook/react-native/commit/483d4e2)) - Fix polyfilling of **regeneratorRuntime** to avoid setting it to undefined in some situations ([53616e6](https://github.com/facebook/react-native/commit/53616e6) by [@rafeca](https://github.com/rafeca)) -- Fix **View** and **Text**'s `displayName` ([311ba9a](https://github.com/facebook/react-native/commit/311ba9a) by [@rajivshah3](https://github.com/rajivshah3)) +- Fix **View**, **Text**, and **ActivityIndicator**'s `displayName` ([311ba9a](https://github.com/facebook/react-native/commit/311ba9a) and [0b32a65](https://github.com/facebook/react-native/commit/0b32a65) by [@rajivshah3](https://github.com/rajivshah3) and others) - Fix crash that happens when a component throws an exception that contains a null message ([e8c9f3c](https://github.com/facebook/react-native/commit/e8c9f3c) by [@mdvacca](https://github.com/mdvacca)) #### Android specific From e224e26ce4ada73380254eefacbf636fead9b508 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Ramos?= <165856+hramos@users.noreply.github.com> Date: Mon, 10 Dec 2018 13:59:14 -0800 Subject: [PATCH 26/58] Update CHANGELOG.md --- CHANGELOG.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 201606f..5ed6a9f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -487,7 +487,7 @@ As mentioned a few times in the past, the core team is reviewing the repository ## [0.56] Welcome to the June 2018 release of React Native! -Over 60 contributors made [816 commits](https://github.com/facebook/react-native/compare/0.55-stable...0.56-stable) since March - and we are extremely grateful to every single one of you. +Over 60 contributors made [821 commits](https://github.com/facebook/react-native/compare/0.55-stable...0.56-stable) 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. @@ -525,6 +525,10 @@ Starting August 2018, new apps submitted to the Play Store will need to target A Geolocation is disabled by default. +#### Consistently Throw for + +Removes a pitfall that people may run into when releasing an app for Android if the bulk of the testing has been performed on iOS only. Nesting a within a component (e.g. ) is unsupported on Android, but using this pattern on iOS has not thrown errors in the past. With this release, nesting a inside a will now throw an error on iOS in order to reduce the parity gap between the platforms. + #### Flow improvements, migrating away from PropTypes Added Flow types for several components. @@ -760,6 +764,7 @@ Heads-up: the Facebook internal team is [currently working on a rewrite of some #### iOS specific removals +- Disallow nesting of within (e.g. ) ([6a1b416](https://github.com/facebook/react-native/commit/6a1b41643a5f5035c61a96263220d11d3462e8f2) - Removed deprecated `UIActionSheetDelegate` methods ([5863b56](https://github.com/facebook/react-native/commit/5863b564f84b9fe97b256f8cde0f7f2e1db9b641)) --- From b7ff29993b4747e0231ff2da7ed8f291e913070a Mon Sep 17 00:00:00 2001 From: Lorenzo Sciandra Date: Thu, 13 Dec 2018 11:40:41 +0000 Subject: [PATCH 27/58] changelog 0578 (#76) --- CHANGELOG.md | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5ed6a9f..fa474b5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,51 @@ # Changelog +## [0.57.8] + +**NOTE WELL**: when you upgrade to this version you **NEED** to upgrade `react` and `react-test-renderer` to version `"16.6.3"`. + +Thanks everyone who contributed code or participated in the [discussion](https://github.com/react-native-community/react-native-releases/issues/71) for cherry-picking commits - you can participate to the decision process for the next release [here](https://github.com/react-native-community/react-native-releases/issues/75). + +### Added + +- Fix: Add displayName to ActivityIndicator (#22417) ([1d8744f](https://github.com/facebook/react-native/commit/1d8744f)) + +### Changed + +- Switch: Improve Accessibility ([83d1e85](https://github.com/facebook/react-native/commit/83d1e85) by [@yungsters](https://github.com/yungsters)) +- React sync for revisions 3ff2c7c...6bf5e85 ([8d1d47a](https://github.com/facebook/react-native/commit/8d1d47a) by [@yungsters](https://github.com/yungsters)) + +#### iOS specific + +- Extend reason message for `RCTFatalException` (#22532) ([ba50151](https://github.com/facebook/react-native/commit/ba50151) by [@zackzachariah](https://github.com/zackzachariah)) + +### Removed + +- Remove trailing slash from origin header if no port is specified (#22290) ([f7e3def](https://github.com/facebook/react-native/commit/f7e3def)) + +### Fixed + +- Fix text alpha bug ([c43b741](https://github.com/facebook/react-native/commit/c43b741) by [@necolas](https://github.com/necolas)) +- fix possible NPE in StatusBarModule ([1b169fc](https://github.com/facebook/react-native/commit/1b169fc) by [@mdvacca](https://github.com/mdvacca)) +- Fixes animated gifs incorrectly looping/not stopping on last frame (#21999) ([95ef882](https://github.com/facebook/react-native/commit/95ef882) by [@staufman](https://github.com/staufman)) +- Fix ListEmptyComponent is rendered upside down when using inverted flag. (#21496) ([30c2fb8](https://github.com/facebook/react-native/commit/30c2fb8) by [@hyochans](https://github.com/hyochans)) +- Fix bug in comparison logic of object property (#22348) ([692fc2e](https://github.com/facebook/react-native/commit/692fc2e) by [@vreality64](https://github.com/vreality64)) +- Fix dispatch of OnLayout event for first render ([3576819](https://github.com/facebook/react-native/commit/3576819) by [@mdvacca](https://github.com/mdvacca)) +- KeyboardAvoidingView: Duration cannot be less then 10ms (#21858) ([472e978](https://github.com/facebook/react-native/commit/472e978)) +- default hitSlop values to 0 (#22281) ([274f5b8](https://github.com/facebook/react-native/commit/274f5b8) by [@Taylor123](https://github.com/Taylor123)) + +#### iOS specific + +- Fixed for supporting mediaPlaybackRequiresUserAction under iOS 10. (#22208) ([79011d7](https://github.com/facebook/react-native/commit/79011d7) by [@ifsnow](https://github.com/ifsnow)) +- Use main.jsbundle in iOS template for production build (#22531) ([8ba5d4c](https://github.com/facebook/react-native/commit/8ba5d4c) by [@radeno](https://github.com/radeno)) +- Use relative path for SCRIPTDIR (#22598) ([0301a2e](https://github.com/facebook/react-native/commit/0301a2e) by [@sunnylqm](https://github.com/sunnylqm)) +- Fix UIScrollView crash ([b739c11](https://github.com/facebook/react-native/commit/b739c11) by [@shergin](https://github.com/shergin)) +- Avoid using `-[UITextView setAttributedString:]` while user is typing (#19809) ([26775d5](https://github.com/facebook/react-native/commit/26775d5)) + +### Security + +- Bump ws package to 1.1.5 due to vulnerability issues (#21769) ([d350f37](https://github.com/facebook/react-native/commit/d350f37) by [@prog1dev](https://github.com/prog1dev)) + ## [0.57.7] **NOTE WELL**: when you upgrade to this version you **NEED** to upgrade `react` and `react-test-renderer` to version `"16.6.1"`. From 539e1568c7ad35129aacac4419a412f726e5e595 Mon Sep 17 00:00:00 2001 From: Ryan Turner Date: Wed, 19 Dec 2018 03:36:41 +0000 Subject: [PATCH 28/58] Fix typo --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8364d39..4597bed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -36,7 +36,7 @@ #### iOS specific -- Supress yellow box about missing export for native modules ([5431607](https://github.com/facebook/react-native/commit/5431607) by [@fkgozali](https://github.com/fkgozali)) +- Suppress yellow box about missing export for native modules ([5431607](https://github.com/facebook/react-native/commit/5431607) by [@fkgozali](https://github.com/fkgozali)) ### Removed From baf5747c65bd412c1d9f0d81b4380cb2f919cf8c Mon Sep 17 00:00:00 2001 From: Ryan Turner Date: Wed, 19 Dec 2018 03:38:03 +0000 Subject: [PATCH 29/58] Fix minor formatting issue --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4597bed..1d13f8a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -124,7 +124,7 @@ Thanks everyone who contributed code or participated in the [discussion](https:/ **NOTE WELL**: when you upgrade to this version you **NEED** to upgrade `react` and `react-test-renderer` to version `"16.6.1"`. -This patch release fixes version 0.57.6 about losing focus in `TextInput` because of [356ac5d](https://github.com/facebook/react-native/commit/356ac5d). +This patch release fixes version 0.57.6 about losing focus in `TextInput` because of [356ac5d](https://github.com/facebook/react-native/commit/356ac5d). Thanks everyone who contributed code or participated in the [discussion](https://github.com/react-native-community/react-native-releases/issues/64) for cherry-picking commits. From 64df6faef80f34d74800bd7eacd7c787a0af6b36 Mon Sep 17 00:00:00 2001 From: Johan Date: Wed, 9 Jan 2019 14:09:53 -0600 Subject: [PATCH 30/58] Update CHANGELOG.md Co-Authored-By: turnrye --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1d13f8a..06fabb3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -63,7 +63,7 @@ - Fix websocket properly closing when remote server initiates close ([2e465bc](https://github.com/facebook/react-native/commit/2e465bc) by [@syaau](https://github.com/syaau)) - Fix compatibility issue for Android 16 device ([5939d07](https://github.com/facebook/react-native/commit/5939d07), [f22473e](https://github.com/facebook/react-native/commit/f22473e), and [d4d457b](https://github.com/facebook/react-native/commit/d4d457b) by [@gengjiawen](https://github.com/gengjiawen)) - Fix issue where `Image.resizeMode` isn't respected while source is loading, resulting in unexpected padding ([673ef39](https://github.com/facebook/react-native/commit/673ef39) by [@dulmandakh](https://github.com/dulmandakh)) -- Fix Android 16's inverted **ScrollView** so that momentum is in the proper direction ([b971c5b](https://github.com/facebook/react-native/commit/b971c5b) by [@mandrigin](https://github.com/mandrigin)) +- Fix Android 28's inverted **ScrollView** so that momentum is in the proper direction ([b971c5b](https://github.com/facebook/react-native/commit/b971c5b) by [@mandrigin](https://github.com/mandrigin)) #### iOS specific From d1b491ad5fcca16b61f7862b00b3cf7aca4bf94a Mon Sep 17 00:00:00 2001 From: Ramanpreet Nara Date: Wed, 9 Jan 2019 14:01:31 -0800 Subject: [PATCH 31/58] docs(CHANGELOG.md): Document ScrollView ES6 conversion (#77) * docs(CHANGELOG.md): Document ScrollView ES6 conversion * docs(CHANGELOG.md): Introduce a Breaking Changes section --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 06fabb3..25a26e6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,7 @@ ### Changed - Major improvements to Flow types for Core Components ([499c195](https://github.com/facebook/react-native/commit/499c195), [fbc5a4f](https://github.com/facebook/react-native/commit/fbc5a4f), [f9050e0](https://github.com/facebook/react-native/commit/f9050e0), [6476151](https://github.com/facebook/react-native/commit/6476151), [c03fc40](https://github.com/facebook/react-native/commit/c03fc40), [69213ee](https://github.com/facebook/react-native/commit/69213ee), [136dfc8](https://github.com/facebook/react-native/commit/136dfc8), [3c0211b](https://github.com/facebook/react-native/commit/3c0211b), [c127000](https://github.com/facebook/react-native/commit/c127000), [636e146](https://github.com/facebook/react-native/commit/636e146), [6fa997d](https://github.com/facebook/react-native/commit/6fa997d), [35a65cd](https://github.com/facebook/react-native/commit/35a65cd), [7927497](https://github.com/facebook/react-native/commit/7927497), [45c5183](https://github.com/facebook/react-native/commit/45c5183), [a97d104](https://github.com/facebook/react-native/commit/a97d104), [fb4825a](https://github.com/facebook/react-native/commit/fb4825a), [84c5416](https://github.com/facebook/react-native/commit/84c5416), [3649a50](https://github.com/facebook/react-native/commit/3649a50) by [@mottox2](https://github.com/mottox2), [@saitoxu](https://github.com/saitoxu), [@RSNara](https://github.com/RSNara), [@watanabeyu](https://github.com/watanabeyu), [@Tnarita0000](https://github.com/Tnarita0000), [@exced](https://github.com/exced), [@nd-02110114](https://github.com/nd-02110114), [@flowkraD](https://github.com/flowkraD)) +- Components were converted to ES6 classes ([ScrollView](https://github.com/facebook/react-native/commit/221e2fe4095bc9ae15878725bdac4071d53e61f5)) by [@thymikee](https://github.com/thymikee). - Flow dependency is now at v0.86.0 ([8fb228f](https://github.com/facebook/react-native/commit/8fb228f) by [@panagosg7](https://github.com/panagosg7)) - metro dependency is now at v0.49.1 ([f867db3](https://github.com/facebook/react-native/commit/f867db3), [8888295](https://github.com/facebook/react-native/commit/8888295), [31bb551](https://github.com/facebook/react-native/commit/31bb551), [de60e86](https://github.com/facebook/react-native/commit/de60e86), and [a525941](https://github.com/facebook/react-native/commit/a525941) by [@alexkirsz](https://github.com/alexkirsz) and [@rafeca](https://github.com/rafeca)) - jest dependency is now at v24.0.0-alpha.6 ([1b4fd64](https://github.com/facebook/react-native/commit/1b4fd64), [66aba09](https://github.com/facebook/react-native/commit/66aba09), and [06c13b3](https://github.com/facebook/react-native/commit/06c13b3) by [@rafeca](https://github.com/rafeca) and [@rubennorte](https://github.com/rubennorte)) @@ -30,6 +31,9 @@ - Clearer error messages when hot reloading ([c787866](https://github.com/facebook/react-native/commit/c787866) by [@alexkirsz](https://github.com/alexkirsz)) - Allow CxxModules to implement functions which take two callbacks ([8826d8b](https://github.com/facebook/react-native/commit/8826d8b) by [@acoates-ms](https://github.com/acoates-ms)) +#### Breaking Changes +- Public methods of components converted to ES6 classes are no longer bound to their component instance. For `ScrollView`, the affected methods are `setNativeProps`, `getScrollResponder`, `getScrollableNode`, `getInnerViewNode`, `scrollTo`, `scrollToEnd`, `scrollWithoutAnimationTo`, and `flashScrollIndicators`. Therefore, it is no longer safe to pass these method by reference as callbacks to functions. Auto-binding of methods was a behaviour of `createReactClass` that we decided to not preserve when switching over to ES6 classes. + #### Android specific - Optimize `PlatformConstants.ServerHost`, `PlatformConstants.isTesting`, and `PlatformConstants.androidID` for performance ([2bf0d54](https://github.com/facebook/react-native/commit/2bf0d54), [339d9d3](https://github.com/facebook/react-native/commit/339d9d3), and [9f9390d](https://github.com/facebook/react-native/commit/9f9390d) by [@stepanhruda](https://github.com/stepanhruda), [@fkgozali](https://github.com/fkgozali), and [@axe-fb](https://github.com/axe-fb)) From 5dc31dadc996db3f5c49c0e3c0b3439f18cf5c12 Mon Sep 17 00:00:00 2001 From: Ramanpreet Nara Date: Tue, 15 Jan 2019 20:13:53 -0800 Subject: [PATCH 32/58] docs(CHANGELOG.md): Document other components converted to ES6 classes (#78) * xdocs(CHANGELOG.md): Document other components converted to ES6 classes * Document Text and Image breaking changes --- CHANGELOG.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 25a26e6..6a97e75 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,7 +21,7 @@ ### Changed - Major improvements to Flow types for Core Components ([499c195](https://github.com/facebook/react-native/commit/499c195), [fbc5a4f](https://github.com/facebook/react-native/commit/fbc5a4f), [f9050e0](https://github.com/facebook/react-native/commit/f9050e0), [6476151](https://github.com/facebook/react-native/commit/6476151), [c03fc40](https://github.com/facebook/react-native/commit/c03fc40), [69213ee](https://github.com/facebook/react-native/commit/69213ee), [136dfc8](https://github.com/facebook/react-native/commit/136dfc8), [3c0211b](https://github.com/facebook/react-native/commit/3c0211b), [c127000](https://github.com/facebook/react-native/commit/c127000), [636e146](https://github.com/facebook/react-native/commit/636e146), [6fa997d](https://github.com/facebook/react-native/commit/6fa997d), [35a65cd](https://github.com/facebook/react-native/commit/35a65cd), [7927497](https://github.com/facebook/react-native/commit/7927497), [45c5183](https://github.com/facebook/react-native/commit/45c5183), [a97d104](https://github.com/facebook/react-native/commit/a97d104), [fb4825a](https://github.com/facebook/react-native/commit/fb4825a), [84c5416](https://github.com/facebook/react-native/commit/84c5416), [3649a50](https://github.com/facebook/react-native/commit/3649a50) by [@mottox2](https://github.com/mottox2), [@saitoxu](https://github.com/saitoxu), [@RSNara](https://github.com/RSNara), [@watanabeyu](https://github.com/watanabeyu), [@Tnarita0000](https://github.com/Tnarita0000), [@exced](https://github.com/exced), [@nd-02110114](https://github.com/nd-02110114), [@flowkraD](https://github.com/flowkraD)) -- Components were converted to ES6 classes ([ScrollView](https://github.com/facebook/react-native/commit/221e2fe4095bc9ae15878725bdac4071d53e61f5)) by [@thymikee](https://github.com/thymikee). +- Many public components were converted to ES6 classes ([ScrollView](https://github.com/facebook/react-native/commit/221e2fe4095bc9ae15878725bdac4071d53e61f5) by [@thymikee](https://github.com/thymikee), [CameraRollView](https://github.com/facebook/react-native/pull/21619), [SwipeableRow](https://github.com/facebook/react-native/pull/21876/files) and [ProgressBarAndroid](https://github.com/facebook/react-native/pull/21874) by [@exceed](https://github.com/exceed), [ProgressViewIOS](https://github.com/facebook/react-native/pull/21588) by [@empyrical](https://github.com/empyrical), [SegmentedControlIOS](https://github.com/facebook/react-native/pull/21888/files), [ToolbarAndroid](https://github.com/facebook/react-native/pull/21893/files) by [@nd-02110114](https://github.com/nd-02110114) - Flow dependency is now at v0.86.0 ([8fb228f](https://github.com/facebook/react-native/commit/8fb228f) by [@panagosg7](https://github.com/panagosg7)) - metro dependency is now at v0.49.1 ([f867db3](https://github.com/facebook/react-native/commit/f867db3), [8888295](https://github.com/facebook/react-native/commit/8888295), [31bb551](https://github.com/facebook/react-native/commit/31bb551), [de60e86](https://github.com/facebook/react-native/commit/de60e86), and [a525941](https://github.com/facebook/react-native/commit/a525941) by [@alexkirsz](https://github.com/alexkirsz) and [@rafeca](https://github.com/rafeca)) - jest dependency is now at v24.0.0-alpha.6 ([1b4fd64](https://github.com/facebook/react-native/commit/1b4fd64), [66aba09](https://github.com/facebook/react-native/commit/66aba09), and [06c13b3](https://github.com/facebook/react-native/commit/06c13b3) by [@rafeca](https://github.com/rafeca) and [@rubennorte](https://github.com/rubennorte)) @@ -32,7 +32,7 @@ - Allow CxxModules to implement functions which take two callbacks ([8826d8b](https://github.com/facebook/react-native/commit/8826d8b) by [@acoates-ms](https://github.com/acoates-ms)) #### Breaking Changes -- Public methods of components converted to ES6 classes are no longer bound to their component instance. For `ScrollView`, the affected methods are `setNativeProps`, `getScrollResponder`, `getScrollableNode`, `getInnerViewNode`, `scrollTo`, `scrollToEnd`, `scrollWithoutAnimationTo`, and `flashScrollIndicators`. Therefore, it is no longer safe to pass these method by reference as callbacks to functions. Auto-binding of methods was a behaviour of `createReactClass` that we decided to not preserve when switching over to ES6 classes. +- Public methods of components converted to ES6 classes are no longer bound to their component instance. For `ScrollView`, the affected methods are `setNativeProps`, `getScrollResponder`, `getScrollableNode`, `getInnerViewNode`, `scrollTo`, `scrollToEnd`, `scrollWithoutAnimationTo`, and `flashScrollIndicators`. For `CameraRollView`, the affected methods are: `rendererChanged`. For `SwipeableRow`, the affected methods are: `close`. Therefore, it is no longer safe to pass these method by reference as callbacks to functions. Auto-binding methods to component instances was a behaviour of `createReactClass` that we decided to not preserve when switching over to ES6 classes. #### Android specific @@ -543,6 +543,9 @@ As mentioned a few times in the past, the core team is reviewing the repository - Whitelist `react-native-dom` in haste/cli config defaults ([c4bcca6](https://github.com/facebook/react-native/commit/c4bcca6) by [@vincentriemer](https://github.com/vincentriemer)) - In the CLI, don't override `metro.config.js` settings ([3afe711](https://github.com/facebook/react-native/commit/3afe711) by [@rozele](https://github.com/rozele)) +#### Breaking Changes +- Public methods of Image (`blur`, `focus`, `measure`, `measureInWindow`, `measureLayout`, `setNativeProps`) are no longer bound to the image component instance. Therefore, it is unsafe to pass these methods by reference (i.e: as callbacks) to functions. So, things like `setTimeout(this._imgRef.focus, 1000)` will no longer work. Please instead do: `setTimout(() => this._imgRef.focus(), 1000)`. + #### Android specific changes - `Image` source without a uri now returns null ([28c7ccf](https://github.com/facebook/react-native/commit/28c7ccf) by [@himabindugadupudi](https://github.com/himabindugadupudi)) @@ -768,6 +771,9 @@ Heads-up: the Facebook internal team is [currently working on a rewrite of some - Rename `Style` to `DangerouslyImpreciseStyle` ([4895c64](https://github.com/facebook/react-native/commit/4895c645ea17ff939811f3d5ec6218cd4e31c5fb)) - *[BREAKING]* `requireNativeComponent`'s signature has been simplified to only take extraOptions ([820673e](https://github.com/facebook/react-native/commit/820673e), [b549e36](https://github.com/facebook/react-native/commit/b549e36), [28d3778](https://github.com/facebook/react-native/commit/28d3778), [1c90a2b](https://github.com/facebook/react-native/commit/1c90a2b), and [1ab7d49](https://github.com/facebook/react-native/commit/1ab7d49) by [@yungsters](https://github.com/yungsters)) +#### Breaking Changes +- Public methods of Text (`blur`, `focus`, `measure`, `measureInWindow`, `measureLayout`, `setNativeProps`) are no longer bound to the text component instance. It is therefore unsafe to pass these methods by reference (i.e: as callbacks) to functions. So, things like `setTimeout(this._txtRef.focus, 1000)` will no longer work. Please instead do: `setTimout(() => this._txtRef.focus(), 1000)`. + ### iOS specific changes - *[BREAKING]* WebViews now can only use https; do not use it for `file://` ([634e7e1](https://github.com/facebook/react-native/commit/634e7e1) by [@mmmulani](https://github.com/mmmulani)) From f6c09a5f5a8f9e527eacb80213eb1ca5194b6de8 Mon Sep 17 00:00:00 2001 From: Ryan Turner Date: Wed, 16 Jan 2019 04:41:29 +0000 Subject: [PATCH 33/58] Fix linting issues related to new merge --- CHANGELOG.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6a97e75..dcbd397 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,7 +16,7 @@ #### iOS specific - Add `moduleForName: lazilyLoadIfNecessary` to **RCTBridge.h** to lookup modules by name and force load them, plus various improvements to LazyLoading ([d7a0c44](https://github.com/facebook/react-native/commit/d7a0c44), [6534718](https://github.com/facebook/react-native/commit/6534718), [d7865eb](https://github.com/facebook/react-native/commit/d7865eb), [04ea976](https://github.com/facebook/react-native/commit/04ea976), [1f394fa](https://github.com/facebook/react-native/commit/1f394fa), [80f92ad](https://github.com/facebook/react-native/commit/80f92ad), and [81b74ec](https://github.com/facebook/react-native/commit/81b74ec) by [@dshahidehpour](https://github.com/dshahidehpour), [@fkgozali](https://github.com/fkgozali), and [@mmmulani](https://github.com/mmmulani)) -- Add ability for **WebView** to `setClientAuthenticationCredential` when `useWebKit={true}` for mutual TLS authentication ([8911353](https://github.com/facebook/react-native/commit/8911353) by [@mjhu](https://github.com/mjhu)) +- Add ability for **WebView** to `setClientAuthenticationCredential` when `useWebKit={true}` for mutual TLS authentication ([8911353](https://github.com/facebook/react-native/commit/8911353) by [@mjhu](https://github.com/mjhu))rf ### Changed @@ -32,6 +32,7 @@ - Allow CxxModules to implement functions which take two callbacks ([8826d8b](https://github.com/facebook/react-native/commit/8826d8b) by [@acoates-ms](https://github.com/acoates-ms)) #### Breaking Changes + - Public methods of components converted to ES6 classes are no longer bound to their component instance. For `ScrollView`, the affected methods are `setNativeProps`, `getScrollResponder`, `getScrollableNode`, `getInnerViewNode`, `scrollTo`, `scrollToEnd`, `scrollWithoutAnimationTo`, and `flashScrollIndicators`. For `CameraRollView`, the affected methods are: `rendererChanged`. For `SwipeableRow`, the affected methods are: `close`. Therefore, it is no longer safe to pass these method by reference as callbacks to functions. Auto-binding methods to component instances was a behaviour of `createReactClass` that we decided to not preserve when switching over to ES6 classes. #### Android specific @@ -544,6 +545,7 @@ As mentioned a few times in the past, the core team is reviewing the repository - In the CLI, don't override `metro.config.js` settings ([3afe711](https://github.com/facebook/react-native/commit/3afe711) by [@rozele](https://github.com/rozele)) #### Breaking Changes + - Public methods of Image (`blur`, `focus`, `measure`, `measureInWindow`, `measureLayout`, `setNativeProps`) are no longer bound to the image component instance. Therefore, it is unsafe to pass these methods by reference (i.e: as callbacks) to functions. So, things like `setTimeout(this._imgRef.focus, 1000)` will no longer work. Please instead do: `setTimout(() => this._imgRef.focus(), 1000)`. #### Android specific changes @@ -772,6 +774,7 @@ Heads-up: the Facebook internal team is [currently working on a rewrite of some - *[BREAKING]* `requireNativeComponent`'s signature has been simplified to only take extraOptions ([820673e](https://github.com/facebook/react-native/commit/820673e), [b549e36](https://github.com/facebook/react-native/commit/b549e36), [28d3778](https://github.com/facebook/react-native/commit/28d3778), [1c90a2b](https://github.com/facebook/react-native/commit/1c90a2b), and [1ab7d49](https://github.com/facebook/react-native/commit/1ab7d49) by [@yungsters](https://github.com/yungsters)) #### Breaking Changes + - Public methods of Text (`blur`, `focus`, `measure`, `measureInWindow`, `measureLayout`, `setNativeProps`) are no longer bound to the text component instance. It is therefore unsafe to pass these methods by reference (i.e: as callbacks) to functions. So, things like `setTimeout(this._txtRef.focus, 1000)` will no longer work. Please instead do: `setTimout(() => this._txtRef.focus(), 1000)`. ### iOS specific changes From 24c2532ad4be1cd411b7004cba3ed84dc789425f Mon Sep 17 00:00:00 2001 From: Ryan Turner Date: Wed, 16 Jan 2019 04:43:49 +0000 Subject: [PATCH 34/58] Add back accidentally removed prior changes --- CHANGELOG.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dcbd397..d97be50 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -248,6 +248,7 @@ Thanks to everyone that contributed to the [discussion](https://github.com/react #### Android specific fixes +- reverted [Update bad method](https://github.com/facebook/react-native/commit/1592a8d) - Fix accessibility role crash ([139559f](https://github.com/facebook/react-native/commit/139559fc0716a9ab7b78c9524df5eb295d882547) by Haseeb Saeed) - Fix accessibilityRole value lookup ([1f96ff6](https://github.com/facebook/react-native/commit/1f96ff62cf786f93c91e6625bf2b819077902251) by [@ayc1](https://github.com/ayc1)) - Fix DynamicFromMap object pool synchronization ([b0d68c0](https://github.com/facebook/react-native/commit/b0d68c0bb971a44dfdf7722682933f1e96e1cd45) by [@haitaoli](https://github.com/haitaoli)) @@ -290,6 +291,8 @@ Thanks to everyone that contributed to the [discussion](https://github.com/react #### Android specific additions +- Add test for InterpolatorType ([69a51da](https://github.com/facebook/react-native/commit/69a51da3a1fa0e4d9bfeb54da73f1cdb50dc11d4) by [@ejanzer](https://github.com/ejanzer)) + ### Changes: existing functionality that is now different - React sync for revisions ade5e69...d836010 ([049e56e](https://github.com/facebook/react-native/commit/c9948d1d36eca633e62e4ea4ab530a865208d0e1) by [@yungsters](https://github.com/yungsters)) @@ -473,7 +476,7 @@ As mentioned a few times in the past, the core team is reviewing the repository } ``` -3. Ensure that you have all the babel dependencies to version `^7.0.0` (you may also need to add `"babel-core": "7.0.0-bridge.0"` as a yarn resolution to ensure retro-compatibility) +3. Ensure that you have all the babel dependencies to version `^7.0.0` (you may also need to add `"babel-core": "7.0.0-bridge.0"` as a yarn resolution to ensure retro-compatibility). The Babel team has released a tool, [babel-upgrade](https://github.com/babel/babel-upgrade), that should help you in this migration. 4. If you have a custom packager configuration via `rn-cli.config.js`, you probably need to update it to work with the updated Metro configuration structure (for full detail refer to Metro's [documentation](https://facebook.github.io/metro/docs/en/configuration)); here are some commonly encountered changes to `rn-cli.config.js`: ```diff From 14cb451f0f3b9ab1a036e736ce7b95162332564c Mon Sep 17 00:00:00 2001 From: Ryan Turner Date: Wed, 16 Jan 2019 04:44:41 +0000 Subject: [PATCH 35/58] Add back one last accidentally removed prior changes; probably due to a botched merge --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index d97be50..ee399aa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -330,6 +330,7 @@ Thanks to everyone that contributed to the [discussion](https://github.com/react - Fix CameraRoll.getPhotos() crash on Android if device has a problematic video asset ([2658048](https://github.com/facebook/react-native/commit/265804867cd6f0cd3b164c6ffe91bee08230dcaf) by [@naxel](https://github.com/naxel)) - Android ScrollView fix for snapToInterval not snapping to end ([1fa7150](https://github.com/facebook/react-native/commit/1fa7150ce984fae57898de0564f176eb02389098) by [@olegbl](https://github.com/olegbl)) - Fix for InterpolatorType crash ([300ba7a](https://github.com/facebook/react-native/commit/300ba7a87e254a2b044864736525530fa8d46576) by [@ejanzer](https://github.com/ejanzer)) +- Update bad method ([1592a8d](https://github.com/facebook/react-native/commit/1592a8d42411d1f91c8ceb738c0533c1cee73f71) by [@grabbou](https://github.com/grabbou)) #### iOS specific fixes From 2d6632e564b8cd5a43f49e76bb5d85e96e04af83 Mon Sep 17 00:00:00 2001 From: Ryan Turner Date: Wed, 16 Jan 2019 05:05:04 +0000 Subject: [PATCH 36/58] Add topmatter that highlights a few key things; open to input on what's 'headliner' still --- CHANGELOG.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ee399aa..e81d1eb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,8 +2,15 @@ ## [0.58.0] -- A lot of community effort in [modernizing](https://github.com/facebook/react-native/issues/21581) and [stengthening flow types](https://github.com/facebook/react-native/issues/22100) for core components. Thank you [@TheSavior](https://github.com/TheSavior) for leading these efforts, and thank you to all of the community members who helped get this done. -- There was great continued progress towards the new [Fabric re-architecture](https://github.com/react-native-community/discussions-and-proposals/issues/4) this month +Welcome to the January 2019 release of React Native. There are a number of significant changes in this version, and we'd like to especially call your attention to: + +- [Modernizing](https://github.com/facebook/react-native/issues/21581) and [stengthening flow types](https://github.com/facebook/react-native/issues/22100) for core components +- Break changes to `ScrollView`, `CameraRollView`, and `SwipeableRow` that make it no longer bound to the component instance in certain methods +- Support for mutual TLS in WebKit +- Asset serving from directories besides `/assets` +- Numerous crash fixes and resolutions for unexpected behavior + +Thanks to those who gave feedback on our release candidates. If you're interested in helping evaluate our next release, check you our tracking issue [here](data:,TODO%3A%20change%20this%20once%20the%20actual%20issue%20has%20been%20created). ### Added @@ -16,7 +23,7 @@ #### iOS specific - Add `moduleForName: lazilyLoadIfNecessary` to **RCTBridge.h** to lookup modules by name and force load them, plus various improvements to LazyLoading ([d7a0c44](https://github.com/facebook/react-native/commit/d7a0c44), [6534718](https://github.com/facebook/react-native/commit/6534718), [d7865eb](https://github.com/facebook/react-native/commit/d7865eb), [04ea976](https://github.com/facebook/react-native/commit/04ea976), [1f394fa](https://github.com/facebook/react-native/commit/1f394fa), [80f92ad](https://github.com/facebook/react-native/commit/80f92ad), and [81b74ec](https://github.com/facebook/react-native/commit/81b74ec) by [@dshahidehpour](https://github.com/dshahidehpour), [@fkgozali](https://github.com/fkgozali), and [@mmmulani](https://github.com/mmmulani)) -- Add ability for **WebView** to `setClientAuthenticationCredential` when `useWebKit={true}` for mutual TLS authentication ([8911353](https://github.com/facebook/react-native/commit/8911353) by [@mjhu](https://github.com/mjhu))rf +- Add ability for **WebView** to `setClientAuthenticationCredential` when `useWebKit={true}` for mutual TLS authentication ([8911353](https://github.com/facebook/react-native/commit/8911353) by [@mjhu](https://github.com/mjhu)) ### Changed From 9f01b745cbd0e84b0329194ad9b37c8d52fadee6 Mon Sep 17 00:00:00 2001 From: Eli White Date: Mon, 21 Jan 2019 13:57:57 -0800 Subject: [PATCH 37/58] Removing internal only changes from changelog (#80) --- CHANGELOG.md | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fa474b5..eed88b6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -144,7 +144,6 @@ Thanks to everyone that contributed to the [discussion](https://github.com/react ### Changes: existing functionality that is now different -- Do not use fbjs/emptyObject ([7541655](https://github.com/facebook/react-native/commit/75416553981a63e34635492c768c5a7763bf687b) by [@alunyov](https://github.com/alunyov)) - Add deprecation notice to SwipeableListView ([99471f8](https://github.com/facebook/react-native/commit/99471f87b944b26bbdaa0fb0881db91c1118b741) by [@TheSavior](https://github.com/TheSavior)) #### Android specific changes @@ -181,10 +180,6 @@ Thanks to everyone that contributed to the [discussion](https://github.com/react - Fix issue when inserting text at 0 when maxLength is set ([36507e4](https://github.com/facebook/react-native/commit/36507e4a3c2fa58dcfdc9bd389b37536c66006d0) by [@ejanzer](https://github.com/ejanzer)) -### Removed: features that have been removed; these are breaking - -- Remove TimerMixin from ListView ([8ceb158](https://github.com/facebook/react-native/commit/8ceb1586ee596a1bdf44bbb8e4c6ab54cbaa7c8b) by [@exced](https://github.com/exced)) - ### Known issues There are a few issues that don't have a finalized solution (as it happens for 0.x projects). In particular: @@ -223,12 +218,9 @@ Thanks to everyone that contributed to the [discussion](https://github.com/react - Update to Detox 9 ([47a1b04](https://github.com/facebook/react-native/commit/47a1b0461b92ca9146050f4770b6030b4de2ec32) by [@kelset](https://github.com/kelset)) - Add Deprecation Warning to ListView ([25a3cff](https://github.com/facebook/react-native/commit/25a3cff5a71b8f04a613f5987b90a56a82b960e8) by [@TheSavior](https://github.com/TheSavior)) - Deprecate legacyImplementation of FlatList ([131db26](https://github.com/facebook/react-native/commit/131db26cbd8c45dd08941e8a9677f7eb9165f080) by [@TheSavior](https://github.com/TheSavior)) -- Skip flaky Animated test ([c45007b](https://github.com/facebook/react-native/commit/c45007b771d469c503fe85e2ed13e0d871ea08c8) by [@TheSavior](https://github.com/TheSavior)) -- Move RN's DEFS.bzl to tools and rename to rn_defs.bzl ([5468aee](https://github.com/facebook/react-native/commit/5468aeef0397290720e91fce1508a57945116c63) by Jonathan Kim) #### Android specific changes -- Simplify OSS enums ([0df8e7d](https://github.com/facebook/react-native/commit/0df8e7d65b62544d6b9c34fba069466c23437602) by [@ejanzer](https://github.com/ejanzer)) - bump Android NDK to r17c ([b7d0594](https://github.com/facebook/react-native/commit/b7d0594dfc6ad3b48e21dfa2ffe20c431669483d) by [@dulmandakh](https://github.com/dulmandakh)) - Resolve protocol http, https when not in lowercase ([09178f8](https://github.com/facebook/react-native/commit/09178f8bb905e3c305f84833bdfc8d4c12f66618) by [@hyunjongL](https://github.com/hyunjongL)) - Normalize scheme for URL on Android ([b1aed4d](https://github.com/facebook/react-native/commit/b1aed4d376e39fafd3d43f0fb156b30211c9b007) by [@radeno](https://github.com/radeno)) @@ -240,8 +232,6 @@ Thanks to everyone that contributed to the [discussion](https://github.com/react ### Fixed: bugs that have been resolved - Fix deprecation warning message in Switch ([e7ea1f8](https://github.com/facebook/react-native/commit/e7ea1f840cc66bcc25113f0a8bbda1737529fc9f) by [@radko93](https://github.com/radko93)) -- RN: Fix `ReactNativeViewAttributes` Type Bugs ([5ec4bab](https://github.com/facebook/react-native/commit/5ec4bab51ddbe0f90a82a115ed3cd0eaeef7344f) by [@yungsters](https://github.com/yungsters)) -- Fix rntester buck build ([31c398e](https://github.com/facebook/react-native/commit/31c398ec283d8a1154729780a76a56b40270092d) by [@mmmulani](https://github.com/mmmulani)) #### Android specific fixes @@ -261,10 +251,6 @@ Thanks to everyone that contributed to the [discussion](https://github.com/react - check isAvailable key on simulator object ([9e6212a](https://github.com/facebook/react-native/commit/9e6212a8186c8f9585394b5f950861d146fec4ca) by [@antonychan](https://github.com/antonychan)) - ios-simulator: change default iphone version ([1d1a41e](https://github.com/facebook/react-native/commit/1d1a41e303c0af5acc1e05b2f5c7928809e6bf62) by Vitor Capretz) -### Removed: features that have been removed; these are breaking - -- Remove sinon dependency ([641f7e8](https://github.com/facebook/react-native/commit/641f7e8033c43dd5efae5a5ad1edad06d139f4b2) by [@rafeca](https://github.com/rafeca)) - ### Known issues There are a few issues that don't have a finalized solution. In particular, when using Xcode 10 and `react-native init`, your build may fail due to third-party build steps ([#20774](https://github.com/facebook/react-native/issues/20774)). There is an open pull request which we are testing and hope to land soon ([#21458](https://github.com/facebook/react-native/pull/21458)). In the meantime, you can find a workaround here: [https://github.com/facebook/react-native/issues/20774](https://github.com/facebook/react-native/issues/20774). From 1a6c5b0549fe78f8114e0424c3c2b2f22df89cb0 Mon Sep 17 00:00:00 2001 From: Michael Diarmid Date: Tue, 22 Jan 2019 22:13:43 -0600 Subject: [PATCH 38/58] Update CHANGELOG.md Co-Authored-By: turnrye --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e81d1eb..e15353f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,8 @@ Thanks to those who gave feedback on our release candidates. If you're intereste #### Android specific - Bundler server host can now be set using Android System Properties, making for easier debugging across multiple apps or app installs `adb shell setprop metro.host` ([e02a154](https://github.com/facebook/react-native/commit/e02a154) by [@stepanhruda](https://github.com/stepanhruda)) +- Native Modules can now reject a promise with an additional `WritableMap` arg for extra properties (`userInfo`). See the interface defined in [`Promise.java`](https://github.com/facebook/react-native/blob/60b3942389be508935589df41c2a7203922cc5a7/ReactAndroid/src/main/java/com/facebook/react/bridge/Promise.java) for available methods. This is accessible in JavaScript as `Error.userInfo`. This is to match iOS's existing `Error.userInfo` behaviour. See PR for examples. (#20940 by @Salakar) +- Native Modules now expose a `nativeStackAndroid` property to promises rejected with an Exception/Throwable - making native error stacks available inside Javascript: `Error.nativeStackAndroid`. This is to match iOS's existing `Error.nativeStackIOS` support. See PR for examples. (#20940 by @Salakar) #### iOS specific From 8f17023bf83485bf1463fe89574abd1ff192b745 Mon Sep 17 00:00:00 2001 From: Bardiamist <6ast3r@gmail.com> Date: Mon, 28 Jan 2019 22:50:30 +0700 Subject: [PATCH 39/58] Fix flow dependency version for 0.58.0 --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4cebd18..9d9176d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -31,7 +31,7 @@ Thanks to those who gave feedback on our release candidates. If you're intereste - Major improvements to Flow types for Core Components ([499c195](https://github.com/facebook/react-native/commit/499c195), [fbc5a4f](https://github.com/facebook/react-native/commit/fbc5a4f), [f9050e0](https://github.com/facebook/react-native/commit/f9050e0), [6476151](https://github.com/facebook/react-native/commit/6476151), [c03fc40](https://github.com/facebook/react-native/commit/c03fc40), [69213ee](https://github.com/facebook/react-native/commit/69213ee), [136dfc8](https://github.com/facebook/react-native/commit/136dfc8), [3c0211b](https://github.com/facebook/react-native/commit/3c0211b), [c127000](https://github.com/facebook/react-native/commit/c127000), [636e146](https://github.com/facebook/react-native/commit/636e146), [6fa997d](https://github.com/facebook/react-native/commit/6fa997d), [35a65cd](https://github.com/facebook/react-native/commit/35a65cd), [7927497](https://github.com/facebook/react-native/commit/7927497), [45c5183](https://github.com/facebook/react-native/commit/45c5183), [a97d104](https://github.com/facebook/react-native/commit/a97d104), [fb4825a](https://github.com/facebook/react-native/commit/fb4825a), [84c5416](https://github.com/facebook/react-native/commit/84c5416), [3649a50](https://github.com/facebook/react-native/commit/3649a50) by [@mottox2](https://github.com/mottox2), [@saitoxu](https://github.com/saitoxu), [@RSNara](https://github.com/RSNara), [@watanabeyu](https://github.com/watanabeyu), [@Tnarita0000](https://github.com/Tnarita0000), [@exced](https://github.com/exced), [@nd-02110114](https://github.com/nd-02110114), [@flowkraD](https://github.com/flowkraD)) - Many public components were converted to ES6 classes ([ScrollView](https://github.com/facebook/react-native/commit/221e2fe4095bc9ae15878725bdac4071d53e61f5) by [@thymikee](https://github.com/thymikee), [CameraRollView](https://github.com/facebook/react-native/pull/21619), [SwipeableRow](https://github.com/facebook/react-native/pull/21876/files) and [ProgressBarAndroid](https://github.com/facebook/react-native/pull/21874) by [@exceed](https://github.com/exceed), [ProgressViewIOS](https://github.com/facebook/react-native/pull/21588) by [@empyrical](https://github.com/empyrical), [SegmentedControlIOS](https://github.com/facebook/react-native/pull/21888/files), [ToolbarAndroid](https://github.com/facebook/react-native/pull/21893/files) by [@nd-02110114](https://github.com/nd-02110114) -- Flow dependency is now at v0.86.0 ([8fb228f](https://github.com/facebook/react-native/commit/8fb228f) by [@panagosg7](https://github.com/panagosg7)) +- Flow dependency is now at v0.85.0 ([adc8a33f](https://github.com/facebook/react-native/commit/adc8a33f) by [@samwgoldman](https://github.com/samwgoldman)) - metro dependency is now at v0.49.1 ([f867db3](https://github.com/facebook/react-native/commit/f867db3), [8888295](https://github.com/facebook/react-native/commit/8888295), [31bb551](https://github.com/facebook/react-native/commit/31bb551), [de60e86](https://github.com/facebook/react-native/commit/de60e86), and [a525941](https://github.com/facebook/react-native/commit/a525941) by [@alexkirsz](https://github.com/alexkirsz) and [@rafeca](https://github.com/rafeca)) - jest dependency is now at v24.0.0-alpha.6 ([1b4fd64](https://github.com/facebook/react-native/commit/1b4fd64), [66aba09](https://github.com/facebook/react-native/commit/66aba09), and [06c13b3](https://github.com/facebook/react-native/commit/06c13b3) by [@rafeca](https://github.com/rafeca) and [@rubennorte](https://github.com/rubennorte)) - fbjs-scripts dependency is now at v1.0.0 (#21880) ([cdbf719](https://github.com/facebook/react-native/commit/cdbf719) by [@jmheik](https://github.com/jmheik)) From 54468072598cce91ab4aa1111548cec53e2d8bfb Mon Sep 17 00:00:00 2001 From: Ryan Turner Date: Wed, 30 Jan 2019 03:49:19 -0600 Subject: [PATCH 40/58] 0.58.{1,2,3} (#82) This merge contains additional entries based off of community feedback. It adds brief entries at the top for the new patch releases, and it puts more detail in the minor release section around some manual steps that upgrading users will need to take. It also resolves a few linting issues. --- CHANGELOG.md | 38 +++++++++++++++++++++++++++++++++----- 1 file changed, 33 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9d9176d..c600d15 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,18 @@ # Changelog -## [0.58.0] +## [0.58.3] + +This release resolves a regression in **StatusBar** using [these fixes](https://github.com/facebook/react-native/compare/v0.58.2...v0.58.3). + +## [0.58.2] + +This release fixes issues caused by a short period of missed changes earlier in the release cycle. Those issues have been added to the 0.58 changelog below, as many are inter-twined with the original work. + +## [0.58.1] + +There were some regressions with developer tools that prevented `react-native run-ios` from working properly in 0.58.0; this patch fix addresses that. + +## [0.58] Welcome to the January 2019 release of React Native. There are a number of significant changes in this version, and we'd like to especially call your attention to: @@ -10,22 +22,27 @@ Welcome to the January 2019 release of React Native. There are a number of signi - Asset serving from directories besides `/assets` - Numerous crash fixes and resolutions for unexpected behavior -Thanks to those who gave feedback on our release candidates. If you're interested in helping evaluate our next release, check you our tracking issue [here](data:,TODO%3A%20change%20this%20once%20the%20actual%20issue%20has%20been%20created). +Please note that upgrading iOS users, you'll need to manually link `JavaScriptCore.framework`; this is done [here](https://camo.githubusercontent.com/c09cd42747364b498efa7c82fcb73978ba076eae/687474703a2f2f646f63732e6f6e656d6f62696c6573646b2e616f6c2e636f6d2f696f732d61642d73646b2f616464696e672d6672616d65776f726b732e706e67) in XCode. + +Additionally for upgrading Android users, please note that Android's target SDK 27 is supported. Work is still underway to land target SDK 28 support, and it will come soon. + +Thanks to those who gave feedback on our release candidates. If you're interested in helping evaluate our next release, check you our tracking issue [here](https://github.com/react-native-community/react-native-releases/issues/79). ### Added - Add support for `publicPath` to enable serving static assets from different locations ([0b31496](https://github.com/facebook/react-native/commit/0b31496) by [@gdborton](https://github.com/gdborton)) +- Add **TouchableBounce** now has a simple `bounce()` function that can be used to trigger a bounce without callbacks ([383ea99](https://github.com/facebook/react-native/commit/383ea99)) #### Android specific - Bundler server host can now be set using Android System Properties, making for easier debugging across multiple apps or app installs `adb shell setprop metro.host` ([e02a154](https://github.com/facebook/react-native/commit/e02a154) by [@stepanhruda](https://github.com/stepanhruda)) -- Native Modules can now reject a promise with an additional `WritableMap` arg for extra properties (`userInfo`). See the interface defined in [`Promise.java`](https://github.com/facebook/react-native/blob/60b3942389be508935589df41c2a7203922cc5a7/ReactAndroid/src/main/java/com/facebook/react/bridge/Promise.java) for available methods. This is accessible in JavaScript as `Error.userInfo`. This is to match iOS's existing `Error.userInfo` behaviour. See PR for examples. (#20940 by @Salakar) -- Native Modules now expose a `nativeStackAndroid` property to promises rejected with an Exception/Throwable - making native error stacks available inside Javascript: `Error.nativeStackAndroid`. This is to match iOS's existing `Error.nativeStackIOS` support. See PR for examples. (#20940 by @Salakar) +- Native Modules can now reject a promise with an additional `WritableMap` arg for extra properties (`userInfo`). See the interface defined in [`Promise.java`](https://github.com/facebook/react-native/blob/60b3942389be508935589df41c2a7203922cc5a7/ReactAndroid/src/main/java/com/facebook/react/bridge/Promise.java) for available methods. This is accessible in JavaScript as `Error.userInfo`. This is to match iOS's existing `Error.userInfo` behaviour. See PR for examples. (#20940 by @Salakar) +- Native Modules now expose a `nativeStackAndroid` property to promises rejected with an Exception/Throwable - making native error stacks available inside Javascript: `Error.nativeStackAndroid`. This is to match iOS's existing `Error.nativeStackIOS` support. See PR for examples. (#20940 by @Salakar) #### iOS specific - Add `moduleForName: lazilyLoadIfNecessary` to **RCTBridge.h** to lookup modules by name and force load them, plus various improvements to LazyLoading ([d7a0c44](https://github.com/facebook/react-native/commit/d7a0c44), [6534718](https://github.com/facebook/react-native/commit/6534718), [d7865eb](https://github.com/facebook/react-native/commit/d7865eb), [04ea976](https://github.com/facebook/react-native/commit/04ea976), [1f394fa](https://github.com/facebook/react-native/commit/1f394fa), [80f92ad](https://github.com/facebook/react-native/commit/80f92ad), and [81b74ec](https://github.com/facebook/react-native/commit/81b74ec) by [@dshahidehpour](https://github.com/dshahidehpour), [@fkgozali](https://github.com/fkgozali), and [@mmmulani](https://github.com/mmmulani)) -- Add ability for **WebView** to `setClientAuthenticationCredential` when `useWebKit={true}` for mutual TLS authentication ([8911353](https://github.com/facebook/react-native/commit/8911353) by [@mjhu](https://github.com/mjhu)) +- Add ability for **WebView** to `setClientAuthenticationCredential` when `useWebKit={true}` for mutual TLS authentication ([8911353](https://github.com/facebook/react-native/commit/8911353) and [8911353](https://github.com/facebook/react-native/commit/8911353) by [@mjhu](https://github.com/mjhu)) ### Changed @@ -66,6 +83,8 @@ Thanks to those who gave feedback on our release candidates. If you're intereste - Fix accidental showing of **Modal** when `visible` prop is undefined or null ([cc13a73](https://github.com/facebook/react-native/commit/cc13a73) by [@MateusAndrade](https://github.com/MateusAndrade)) - Fix crash during **VirtualizedList** pagination ([5803772](https://github.com/facebook/react-native/commit/5803772)) - Fix scenario where removing a module with remote debugging and Delta bundles may cause incorrect stack traces ([bea57d8](https://github.com/facebook/react-native/commit/bea57d8) by [@alexkirsz](https://github.com/alexkirsz)) +- Fix regression in **StyleSheet** `setStyleAttributePreprocessor` ([0408533](https://github.com/facebook/react-native/commit/0408533) by [@brentvatne](https://github.com/brentvatne)) +- Fix React Native AsyncMode and DevTools ([aacb06c](https://github.com/facebook/react-native/commit/aacb06c) by [@bvaughn](https://github.com/bvaughn)) #### Android specific @@ -78,6 +97,13 @@ Thanks to those who gave feedback on our release candidates. If you're intereste - Fix compatibility issue for Android 16 device ([5939d07](https://github.com/facebook/react-native/commit/5939d07), [f22473e](https://github.com/facebook/react-native/commit/f22473e), and [d4d457b](https://github.com/facebook/react-native/commit/d4d457b) by [@gengjiawen](https://github.com/gengjiawen)) - Fix issue where `Image.resizeMode` isn't respected while source is loading, resulting in unexpected padding ([673ef39](https://github.com/facebook/react-native/commit/673ef39) by [@dulmandakh](https://github.com/dulmandakh)) - Fix Android 28's inverted **ScrollView** so that momentum is in the proper direction ([b971c5b](https://github.com/facebook/react-native/commit/b971c5b) by [@mandrigin](https://github.com/mandrigin)) +- Fix HTTP connection timeout callback to be appropriately called ([a508134](https://github.com/facebook/react-native/commit/a508134)) +- Fix compatibility issue with Android 16 device ([5939d07](https://github.com/facebook/react-native/commit/5939d07) by [@gengjiawen](https://github.com/gengjiawen)) +- Fix crash when releasing RN views and removing root nodes([83405ff](https://github.com/facebook/react-native/commit/83405ff) and [b649fa9](https://github.com/facebook/react-native/commit/b649fa9) by [@ayc1](https://github.com/ayc1)) +- Close websocket properly when remote server initiates close ([2e465bc](https://github.com/facebook/react-native/commit/2e465bc) by [@syaau](https://github.com/syaau)) +- Workaround a wrong fling direction for inverted ScrollViews on Android P ([b971c5b](https://github.com/facebook/react-native/commit/b971c5b) by [@mandrigin](https://github.com/mandrigin)) +- Fix **Image** to respect `resizeMode` for `defaultSource` images rather than showing padding while loading ([673ef39](https://github.com/facebook/react-native/commit/673ef39) by [@dulmandakh](https://github.com/dulmandakh)) + #### iOS specific @@ -87,6 +113,8 @@ Thanks to those who gave feedback on our release candidates. If you're intereste - Fix crash in **NetInfo**'s _firstTimeReachability ([eebc8e2](https://github.com/facebook/react-native/commit/eebc8e2) by [@mmmulani](https://github.com/mmmulani)) - Fix case where inline view is visible even though it should have been truncated ([70826db](https://github.com/facebook/react-native/commit/70826db) by [@rigdern](https://github.com/rigdern)) - Fix crash with **ScrollView** related to content offsets ([f6566c7](https://github.com/facebook/react-native/commit/f6566c7) by [@shergin](https://github.com/shergin)) +- Fix an issue where **CameraRoll** wasn't showing the front-facing camera consistently during capture and preview ([4aeea4d](https://github.com/facebook/react-native/commit/4aeea4d)) +- Fix case where inline view is visible even though it should have been truncated ([70826db](https://github.com/facebook/react-native/commit/70826db) by [@rigdern](https://github.com/rigdern)) ## [0.57.8] From d2e18fdc7f2bc5be7fc02428727fa3ea2f47ce34 Mon Sep 17 00:00:00 2001 From: Oscar Franco Date: Wed, 6 Feb 2019 19:21:51 -0400 Subject: [PATCH 41/58] Update regarding 0.58 and build tools version 28.0.2 (#85) --- CHANGELOG.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c600d15..ab54ca0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,7 +24,9 @@ Welcome to the January 2019 release of React Native. There are a number of signi Please note that upgrading iOS users, you'll need to manually link `JavaScriptCore.framework`; this is done [here](https://camo.githubusercontent.com/c09cd42747364b498efa7c82fcb73978ba076eae/687474703a2f2f646f63732e6f6e656d6f62696c6573646b2e616f6c2e636f6d2f696f732d61642d73646b2f616464696e672d6672616d65776f726b732e706e67) in XCode. -Additionally for upgrading Android users, please note that Android's target SDK 27 is supported. Work is still underway to land target SDK 28 support, and it will come soon. +Additionally for upgrading Android users, please note that Android's target SDK 27 is supported. Work is still underway to land target SDK 28 support, and it will come soon. + +It is possible you face an AAPT error regarding missing resources, [here](https://github.com/infinitered/ignite-andross/issues/244) is an example of such error, in that case you should try to update the build tools versions to `buildToolsVersion = "28.0.2"` in your android/build.gradle file. If you maintain a react-native library which uses native code you should avoid using hardcoded versions of the build tools and use the packaged version numbers, here is an example you can [follow](https://github.com/react-native-community/react-native-linear-gradient/blob/master/android/build.gradle) Thanks to those who gave feedback on our release candidates. If you're interested in helping evaluate our next release, check you our tracking issue [here](https://github.com/react-native-community/react-native-releases/issues/79). From 972f6aaf470b3bbffdc92f6766101cc3b1aca23e Mon Sep 17 00:00:00 2001 From: Telmen Date: Mon, 11 Feb 2019 16:16:31 +0800 Subject: [PATCH 42/58] fix(typo): iOS Unkown to Unknown --- changelog-generator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changelog-generator.js b/changelog-generator.js index 4876e04..23a82d0 100755 --- a/changelog-generator.js +++ b/changelog-generator.js @@ -257,7 +257,7 @@ ${data.unknown.general.join('\n')} ${data.unknown.android.join('\n')} -#### iOS Unkown +#### iOS Unknown ${data.unknown.ios.join('\n')} `; From e3d65113247141c3c16ab6962a4daaaf790675c5 Mon Sep 17 00:00:00 2001 From: Lorenzo Sciandra Date: Wed, 13 Feb 2019 05:09:25 -0800 Subject: [PATCH 43/58] Chore: cleanup & 0.58.4 (#88) --- CHANGELOG.md | 75 +++++++++++++++++++++++++++++++++++++++++----------- README.md | 20 +++++++++----- 2 files changed, 72 insertions(+), 23 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ab54ca0..cd67121 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,34 +1,74 @@ # Changelog +## [0.58.4] + +This release resolves a few bugs and includes a few improvements, listed below. + +Thanks everyone who contributed code or participated in the [discussion](https://github.com/react-native-community/react-native-releases/issues/81) for cherry-picking commits - you can participate in the decision process for the next patch release [here](https://github.com/react-native-community/react-native-releases/issues/86). + +### Added + +#### Android specific + +- Add error description to Image onError callback ([2781ef0](https://github.com/facebook/react-native/commit/2781ef0) by [@Jyrno42](https://github.com/Jyrno42)) + +### Changed + +#### Android specific + +- bump soloader to `0.6.0` ([e1694ee](https://github.com/facebook/react-native/commit/e1694ee) by [@dulmandakh](https://github.com/dulmandakh)) + +### Removed + +- Remove jest and jest-junit from runtime dependencies (#23276) ([6943b2e](https://github.com/facebook/react-native/commit/6943b2e) by [@vovkasm](https://github.com/vovkasm)) + +### Fixed + +#### Android specific + +- Fixes Android crash on animated style with string rotation ([c3bd341](https://github.com/facebook/react-native/commit/c3bd341) by [@scisci](https://github.com/scisci)) + +#### iOS specific + +- fix incorrect type which makes animated gifs not loop forever on device (#22987) ([5e87547](https://github.com/facebook/react-native/commit/5e87547) by [@chrisnojima](https://github.com/chrisnojima)) +- Fixes for running the simulator ([9a8c959](https://github.com/facebook/react-native/commit/9a8c959) by [@osunnarvik](https://github.com/osunnarvik)), ([98bcfe0](https://github.com/facebook/react-native/commit/98bcfe0) by [@cpojer](https://github.com/cpojer)) and ([8bddcb6](https://github.com/facebook/react-native/commit/8bddcb6) by [@cpojer](https://github.com/cpojer)) + ## [0.58.3] This release resolves a regression in **StatusBar** using [these fixes](https://github.com/facebook/react-native/compare/v0.58.2...v0.58.3). +Thanks everyone who contributed code or participated in the [discussion](https://github.com/react-native-community/react-native-releases/issues/81) for cherry-picking commits - you can participate in the decision process for the next patch release [here](https://github.com/react-native-community/react-native-releases/issues/81). + ## [0.58.2] -This release fixes issues caused by a short period of missed changes earlier in the release cycle. Those issues have been added to the 0.58 changelog below, as many are inter-twined with the original work. +This release fixes an issue caused by a wrongly reverted merge commit, that caused a short timeframe of commits to not actually be in the original 0.58.0. Those commits have been added to the 0.58 changelog below, as many are intertwined with the original work. + +Thanks everyone who contributed code or participated in the [discussion](https://github.com/react-native-community/react-native-releases/issues/81) for cherry-picking commits - you can participate in the decision process for the next patch release [here](https://github.com/react-native-community/react-native-releases/issues/81). ## [0.58.1] There were some regressions with developer tools that prevented `react-native run-ios` from working properly in 0.58.0; this patch fix addresses that. +Thanks everyone who contributed code or participated in the [discussion](https://github.com/react-native-community/react-native-releases/issues/81) for cherry-picking commits - you can participate to the decision process for the next patch release [here](https://github.com/react-native-community/react-native-releases/issues/81). + ## [0.58] -Welcome to the January 2019 release of React Native. There are a number of significant changes in this version, and we'd like to especially call your attention to: +Welcome to first stable release of React Native of 2019! +There are a number of significant changes in this version, and we'd like to especially draw your attention to them: - [Modernizing](https://github.com/facebook/react-native/issues/21581) and [stengthening flow types](https://github.com/facebook/react-native/issues/22100) for core components -- Break changes to `ScrollView`, `CameraRollView`, and `SwipeableRow` that make it no longer bound to the component instance in certain methods +- Breaking changes to `ScrollView`, `CameraRollView`, and `SwipeableRow` that make it no longer bound to the component instance in certain methods - Support for mutual TLS in WebKit - Asset serving from directories besides `/assets` - Numerous crash fixes and resolutions for unexpected behavior -Please note that upgrading iOS users, you'll need to manually link `JavaScriptCore.framework`; this is done [here](https://camo.githubusercontent.com/c09cd42747364b498efa7c82fcb73978ba076eae/687474703a2f2f646f63732e6f6e656d6f62696c6573646b2e616f6c2e636f6d2f696f732d61642d73646b2f616464696e672d6672616d65776f726b732e706e67) in XCode. +Aside from those: -Additionally for upgrading Android users, please note that Android's target SDK 27 is supported. Work is still underway to land target SDK 28 support, and it will come soon. +- if you are an iOS developer, you'll need to manually link `JavaScriptCore.framework` when upgrading; this can be done via XCode, and following the steps shown [here](https://camo.githubusercontent.com/c09cd42747364b498efa7c82fcb73978ba076eae/687474703a2f2f646f63732e6f6e656d6f62696c6573646b2e616f6c2e636f6d2f696f732d61642d73646b2f616464696e672d6672616d65776f726b732e706e67). -It is possible you face an AAPT error regarding missing resources, [here](https://github.com/infinitered/ignite-andross/issues/244) is an example of such error, in that case you should try to update the build tools versions to `buildToolsVersion = "28.0.2"` in your android/build.gradle file. If you maintain a react-native library which uses native code you should avoid using hardcoded versions of the build tools and use the packaged version numbers, here is an example you can [follow](https://github.com/react-native-community/react-native-linear-gradient/blob/master/android/build.gradle) +- Android developers, please note that Android's target SDK 27 is supported. Work is still underway to land target SDK 28 support, and it will come soon. -Thanks to those who gave feedback on our release candidates. If you're interested in helping evaluate our next release, check you our tracking issue [here](https://github.com/react-native-community/react-native-releases/issues/79). +Thanks to those who gave feedback on during the [release candidate phase](https://github.com/react-native-community/react-native-releases/issues/41). If you're interested in helping evaluate our next release (0.59), subscribe to the dedicated issue [here](https://github.com/react-native-community/react-native-releases/issues/79). ### Added @@ -50,18 +90,18 @@ Thanks to those who gave feedback on our release candidates. If you're intereste - Major improvements to Flow types for Core Components ([499c195](https://github.com/facebook/react-native/commit/499c195), [fbc5a4f](https://github.com/facebook/react-native/commit/fbc5a4f), [f9050e0](https://github.com/facebook/react-native/commit/f9050e0), [6476151](https://github.com/facebook/react-native/commit/6476151), [c03fc40](https://github.com/facebook/react-native/commit/c03fc40), [69213ee](https://github.com/facebook/react-native/commit/69213ee), [136dfc8](https://github.com/facebook/react-native/commit/136dfc8), [3c0211b](https://github.com/facebook/react-native/commit/3c0211b), [c127000](https://github.com/facebook/react-native/commit/c127000), [636e146](https://github.com/facebook/react-native/commit/636e146), [6fa997d](https://github.com/facebook/react-native/commit/6fa997d), [35a65cd](https://github.com/facebook/react-native/commit/35a65cd), [7927497](https://github.com/facebook/react-native/commit/7927497), [45c5183](https://github.com/facebook/react-native/commit/45c5183), [a97d104](https://github.com/facebook/react-native/commit/a97d104), [fb4825a](https://github.com/facebook/react-native/commit/fb4825a), [84c5416](https://github.com/facebook/react-native/commit/84c5416), [3649a50](https://github.com/facebook/react-native/commit/3649a50) by [@mottox2](https://github.com/mottox2), [@saitoxu](https://github.com/saitoxu), [@RSNara](https://github.com/RSNara), [@watanabeyu](https://github.com/watanabeyu), [@Tnarita0000](https://github.com/Tnarita0000), [@exced](https://github.com/exced), [@nd-02110114](https://github.com/nd-02110114), [@flowkraD](https://github.com/flowkraD)) - Many public components were converted to ES6 classes ([ScrollView](https://github.com/facebook/react-native/commit/221e2fe4095bc9ae15878725bdac4071d53e61f5) by [@thymikee](https://github.com/thymikee), [CameraRollView](https://github.com/facebook/react-native/pull/21619), [SwipeableRow](https://github.com/facebook/react-native/pull/21876/files) and [ProgressBarAndroid](https://github.com/facebook/react-native/pull/21874) by [@exceed](https://github.com/exceed), [ProgressViewIOS](https://github.com/facebook/react-native/pull/21588) by [@empyrical](https://github.com/empyrical), [SegmentedControlIOS](https://github.com/facebook/react-native/pull/21888/files), [ToolbarAndroid](https://github.com/facebook/react-native/pull/21893/files) by [@nd-02110114](https://github.com/nd-02110114) -- Flow dependency is now at v0.85.0 ([adc8a33f](https://github.com/facebook/react-native/commit/adc8a33f) by [@samwgoldman](https://github.com/samwgoldman)) -- metro dependency is now at v0.49.1 ([f867db3](https://github.com/facebook/react-native/commit/f867db3), [8888295](https://github.com/facebook/react-native/commit/8888295), [31bb551](https://github.com/facebook/react-native/commit/31bb551), [de60e86](https://github.com/facebook/react-native/commit/de60e86), and [a525941](https://github.com/facebook/react-native/commit/a525941) by [@alexkirsz](https://github.com/alexkirsz) and [@rafeca](https://github.com/rafeca)) -- jest dependency is now at v24.0.0-alpha.6 ([1b4fd64](https://github.com/facebook/react-native/commit/1b4fd64), [66aba09](https://github.com/facebook/react-native/commit/66aba09), and [06c13b3](https://github.com/facebook/react-native/commit/06c13b3) by [@rafeca](https://github.com/rafeca) and [@rubennorte](https://github.com/rubennorte)) -- fbjs-scripts dependency is now at v1.0.0 (#21880) ([cdbf719](https://github.com/facebook/react-native/commit/cdbf719) by [@jmheik](https://github.com/jmheik)) -- folly dependency is now at v2018.10.22.00 ([a316dc6](https://github.com/facebook/react-native/commit/a316dc6), [19a7ecc](https://github.com/facebook/react-native/commit/19a7ecc), and [a70625a](https://github.com/facebook/react-native/commit/a70625a) by [@Kudo](https://github.com/Kudo) and [@radko93](https://github.com/radko93)) -- React sync for revisions 4773fdf...6bf5e85 ([0cb59b5](https://github.com/facebook/react-native/commit/0cb59b5) and [e54d1e2](https://github.com/facebook/react-native/commit/e54d1e2) by [@yungsters](https://github.com/yungsters)) +- Flow dependency is now at `v0.85.0` ([adc8a33f](https://github.com/facebook/react-native/commit/adc8a33f) by [@samwgoldman](https://github.com/samwgoldman)) +- metro dependency is now at `v0.49.1` ([f867db3](https://github.com/facebook/react-native/commit/f867db3), [8888295](https://github.com/facebook/react-native/commit/8888295), [31bb551](https://github.com/facebook/react-native/commit/31bb551), [de60e86](https://github.com/facebook/react-native/commit/de60e86), and [a525941](https://github.com/facebook/react-native/commit/a525941) by [@alexkirsz](https://github.com/alexkirsz) and [@rafeca](https://github.com/rafeca)) +- jest dependency is now at `v24.0.0-alpha.6` ([1b4fd64](https://github.com/facebook/react-native/commit/1b4fd64), [66aba09](https://github.com/facebook/react-native/commit/66aba09), and [06c13b3](https://github.com/facebook/react-native/commit/06c13b3) by [@rafeca](https://github.com/rafeca) and [@rubennorte](https://github.com/rubennorte)) +- fbjs-scripts dependency is now at `v1.0.0` (#21880) ([cdbf719](https://github.com/facebook/react-native/commit/cdbf719) by [@jmheik](https://github.com/jmheik)) +- folly dependency is now at `v2018.10.22.00` ([a316dc6](https://github.com/facebook/react-native/commit/a316dc6), [19a7ecc](https://github.com/facebook/react-native/commit/19a7ecc), and [a70625a](https://github.com/facebook/react-native/commit/a70625a) by [@Kudo](https://github.com/Kudo) and [@radko93](https://github.com/radko93)) +- React is set to `16.6.3` now via sync for revisions 4773fdf...6bf5e85 ([0cb59b5](https://github.com/facebook/react-native/commit/0cb59b5) and [e54d1e2](https://github.com/facebook/react-native/commit/e54d1e2) by [@yungsters](https://github.com/yungsters)) - Clearer error messages when hot reloading ([c787866](https://github.com/facebook/react-native/commit/c787866) by [@alexkirsz](https://github.com/alexkirsz)) - Allow CxxModules to implement functions which take two callbacks ([8826d8b](https://github.com/facebook/react-native/commit/8826d8b) by [@acoates-ms](https://github.com/acoates-ms)) -#### Breaking Changes +#### Breaking Changes 💥 -- Public methods of components converted to ES6 classes are no longer bound to their component instance. For `ScrollView`, the affected methods are `setNativeProps`, `getScrollResponder`, `getScrollableNode`, `getInnerViewNode`, `scrollTo`, `scrollToEnd`, `scrollWithoutAnimationTo`, and `flashScrollIndicators`. For `CameraRollView`, the affected methods are: `rendererChanged`. For `SwipeableRow`, the affected methods are: `close`. Therefore, it is no longer safe to pass these method by reference as callbacks to functions. Auto-binding methods to component instances was a behaviour of `createReactClass` that we decided to not preserve when switching over to ES6 classes. +- Public methods of components converted to ES6 classes are no longer bound to their component instance. For `ScrollView`, the affected methods are `setNativeProps`, `getScrollResponder`, `getScrollableNode`, `getInnerViewNode`, `scrollTo`, `scrollToEnd`, `scrollWithoutAnimationTo`, and `flashScrollIndicators`. For `CameraRollView`, the affected methods are: `rendererChanged`. For `SwipeableRow`, the affected methods are: `close`. Therefore, it is no longer safe to pass these method by reference as callbacks to functions. Auto-binding methods to component instances was a behaviour of `createReactClass` that we decided to not preserve when switching over to ES6 classes. (you can refer to [this example](https://github.com/react-native-community/react-native-releases/issues/81#issuecomment-459252692)) #### Android specific @@ -106,7 +146,6 @@ Thanks to those who gave feedback on our release candidates. If you're intereste - Workaround a wrong fling direction for inverted ScrollViews on Android P ([b971c5b](https://github.com/facebook/react-native/commit/b971c5b) by [@mandrigin](https://github.com/mandrigin)) - Fix **Image** to respect `resizeMode` for `defaultSource` images rather than showing padding while loading ([673ef39](https://github.com/facebook/react-native/commit/673ef39) by [@dulmandakh](https://github.com/dulmandakh)) - #### iOS specific - Fix case where content of inline views didn't get relaid out ([798517a](https://github.com/facebook/react-native/commit/798517a) by [@rigdern](https://github.com/rigdern)) @@ -118,6 +157,10 @@ Thanks to those who gave feedback on our release candidates. If you're intereste - Fix an issue where **CameraRoll** wasn't showing the front-facing camera consistently during capture and preview ([4aeea4d](https://github.com/facebook/react-native/commit/4aeea4d)) - Fix case where inline view is visible even though it should have been truncated ([70826db](https://github.com/facebook/react-native/commit/70826db) by [@rigdern](https://github.com/rigdern)) +### Known issues + +It is possible that you'll face an AAPT error regarding missing resources, [here](https://github.com/infinitered/ignite-andross/issues/244) is an example of this error, in this case, you should try to update the build tools versions to `buildToolsVersion = "28.0.2"` in your android/build.gradle file. If you maintain a react-native library which uses native code you should avoid using hardcoded versions of the build tools and use the packaged version numbers, here is an example you can [follow](https://github.com/react-native-community/react-native-linear-gradient/blob/master/android/build.gradle) + ## [0.57.8] **NOTE WELL**: when you upgrade to this version you **NEED** to upgrade `react` and `react-test-renderer` to version `"16.6.3"`. diff --git a/README.md b/README.md index f3bad0e..d01a5ca 100644 --- a/README.md +++ b/README.md @@ -2,19 +2,25 @@ [![GitHub Issues](https://img.shields.io/github/issues/react-native-community/react-native-releases.svg)](https://github.com/react-native-community/react-native-releases/issues) ![Contributions welcome](https://img.shields.io/badge/contributions-welcome-orange.svg) -Stay up-to-date with the release activities of [React Native](https://github.com/facebook/react-native/) by [watching](https://github.com/react-native-community/react-native-releases/subscription) for [status reports](https://github.com/react-native-community/react-native-releases/issues?q=is%3Aopen+is%3Aissue+label%3A%22release+status%22). Follow along as the release notes are prepared and review the overall [changelog](https://github.com/react-native-community/react-native-releases/blob/master/CHANGELOG.md). +Stay up-to-date with the release activities of [React Native](https://github.com/facebook/react-native/) by [watching](https://github.com/react-native-community/react-native-releases/subscription) for [status reports](https://github.com/react-native-community/react-native-releases/issues?q=is%3Aopen+is%3Aissue+label%3A%22release+status%22). Or you can follow along as the release notes are prepared and help reviewing the overall [changelog](https://github.com/react-native-community/react-native-releases/blob/master/CHANGELOG.md). ## Release Status Issues -Progress towards release is tracked in issues. Look for these issues labelled _release status_. Soon a standardized format for the update will be published; please be patient while this settles. +Progress towards release is tracked in issues, based on labels: -Note that these issues are locked to keep conversation focused strictly on the status. Questions about the release should be directed to the [React Native](https://github.com/facebook/react-native/) repository or other communications channels. +- _release status_: here you can read the status for the future/RC level releases +- _stable_: here you can read the status for the current stable release +- _backport requests_: here you can request cherry-picks for the current stable release, that will be included in the next patch version + +Note that these issues are made to keep the conversation focused strictly on the status of each one - please refrain from going off-topic. ## Changelog -The changelog in this repository is a community-provided effort to provide a helpful and informative summary of React Native's rapidly changing codebase. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and emojii use is roughly based on [gitmoji](https://gitmoji.carloscuesta.me/) recommendations. +The changelog in this repository is a community-driven effort to provide a helpful and informative summary of React Native's rapidly changing codebase along with a full list of commits. + +The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/), and generated via the script described in the next section. -In order to allow additional research, the commits that relate to a change are listed. The revisions listed typically are the merge commits, so as to match the code that a user may find in their own copy. Authors are attributed to encourage recognizing the contributors for supporting React Native. +In order to allow additional research, the commits that relate to a change are listed with their hashes. The revisions listed typically are the merge commits, so as to match the code that a user may find in their own copy. Authors are attributed to encourage recognizing the contributors for supporting React Native. ### Changelog helper script @@ -24,13 +30,13 @@ To use it first off `git clone` the repo, then `yarn` and finally you can use it ## "When will my fix make it into a release?" -React Native follows a [monthly release cycle](http://facebook.github.io/react-native/versions.html). Once a pull request is merged to the [core `react-native` repo](https://github.com/facebook/react-native), it may take one to two months for the changes to make it to a stable React Native release. +React Native follows a release cycle not strictly monthly - you can read more [about it here](https://github.com/react-native-community/discussions-and-proposals/issues/17). Once a pull request is merged to the [core `react-native` repo](https://github.com/facebook/react-native), it may take one to two months for the changes to make it into a stable React Native release. To determine whether a fix or feature is present in a given release, you will need the commit hash where the fix or feature was added to the `master` branch of the core `react-native` repo. If you know the PR, you can look for the comment from **@facebook-github-bot** that says 'closed this in '. Once you have the commit hash, navigate to `https://github.com/facebook/react-native/commit/`. Look closely at the commit message, underneath which you will find a list of tags associated with the commit. These tags will tell you which releases contains this commit. For example, commit [5e80d95e034259af8c41b50756a623756cc81a77](https://github.com/facebook/react-native/commit/5e80d95e034259af8c41b50756a623756cc81a77) has the following tags as of this writing: `v0.55.0-rc.0 v0.54.2 v0.54.1 v0.54.0 v0.54.0-rc.4 v0.54.0-rc.3 v0.54.0-rc.2 v0.54.0-rc.0 latest`. These tags tell us that the commit first made it into the 0.54 release candidate, eventually landing in the 0.54 stable release. It is also present, as you'd expect, in the 0.55 release candidate (and should make it to 0.55 stable, and so on). -If the commit is only present in `master` (i.e. has no tags), then the commit has yet to be picked up by a release. You can expect it to be included in the next release candidate that is cut at the beginning of the next month. +If the commit is only present in `master` (i.e. has no tags), then the commit has yet to be picked up by a release (or it may have been included in a follow up cherry pick for a patch version). You can expect it to be included in the next release candidate that is cut once the designed features have all landed. ## Backporting/cherry-picking of changes to existing builds From efe82ec841c31db3cf0602b3b406b9fb5ef14502 Mon Sep 17 00:00:00 2001 From: Karan Thakkar Date: Mon, 18 Feb 2019 21:36:17 +0530 Subject: [PATCH 44/58] Add missing breaking change for 0.58 (#90) --- CHANGELOG.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index cd67121..5925b6b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -102,6 +102,26 @@ Thanks to those who gave feedback on during the [release candidate phase](https: #### Breaking Changes 💥 - Public methods of components converted to ES6 classes are no longer bound to their component instance. For `ScrollView`, the affected methods are `setNativeProps`, `getScrollResponder`, `getScrollableNode`, `getInnerViewNode`, `scrollTo`, `scrollToEnd`, `scrollWithoutAnimationTo`, and `flashScrollIndicators`. For `CameraRollView`, the affected methods are: `rendererChanged`. For `SwipeableRow`, the affected methods are: `close`. Therefore, it is no longer safe to pass these method by reference as callbacks to functions. Auto-binding methods to component instances was a behaviour of `createReactClass` that we decided to not preserve when switching over to ES6 classes. (you can refer to [this example](https://github.com/react-native-community/react-native-releases/issues/81#issuecomment-459252692)) +- Native Modules in Android now require `@ReactModule` annotations to access `.getNativeModule` method on the `ReactContext`. This is how your updated Native Module should look like: + + ```diff + // CustomModule.java + + // ... + + import com.facebook.react.module.annotations.ReactModule; + + + @ReactModule(name="CustomBridge") + public class CustomModule extends ReactContextBaseJavaModule { + // ... + + @Override + public String getName() { + return "CustomBridge"; + } + + // ... + } + ``` #### Android specific From 02fc11cbd6b6287b8e2ff224e6e3269d720dbea4 Mon Sep 17 00:00:00 2001 From: Lorenzo Sciandra Date: Wed, 20 Feb 2019 15:36:50 +0000 Subject: [PATCH 45/58] Chose: adding a simple issue template (#94) Based on #92. --- .github/ISSUE_TEMPLATE.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE.md diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md new file mode 100644 index 0000000..08c6341 --- /dev/null +++ b/.github/ISSUE_TEMPLATE.md @@ -0,0 +1,13 @@ +👋 there! + +GitHub Issues in this repository are used exclusively for tracking releases or discussions around them. Please do not submit support requests. + +For questions or help, please see: + +- The React Native [issue section](https://github.com/facebook/react-native/issues) +- The React Native [help page](http://facebook.github.io/react-native/help) +- The React Native channel in [Reactiflux](https://discord.gg/0ZcbPKXt5bZjGY5n) +- The react-native tag on [Stack Overflow](http://stackoverflow.com/questions/tagged/react-native) +- For feature request, please use [Canny instead](https://react-native.canny.io/feature-requests). + +### Please note that this issue tracker is not a help forum - requests for help will be closed. From 69a8e09b21a301da2fd67f82d644076d0dd5041b Mon Sep 17 00:00:00 2001 From: Lorenzo Sciandra Date: Wed, 20 Feb 2019 15:37:02 +0000 Subject: [PATCH 46/58] Chore: 0.58.5 changelog (#96) Changelog for the latest 0.58.5 version. --- CHANGELOG.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5925b6b..891f8fe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,33 @@ # Changelog +## [v0.58.5] + +This release resolves a few bugs and includes a few improvements, listed below. + +Thanks everyone who contributed code or participated in the [discussion](https://github.com/react-native-community/react-native-releases/issues/86) for cherry-picking commits - you can participate in the decision process for the next patch release [here](https://github.com/react-native-community/react-native-releases/issues/95). + +### Removed + +- Remove fallback cache ([9d60c20](https://github.com/facebook/react-native/commit/9d60c20) by [@grabbou](https://github.com/grabbou)) + +### Fixed + +- Fixes capitalized I's when emojiis are present after the text being edited. (#21951) ([a4f8820](https://github.com/facebook/react-native/commit/a4f8820) by [@dchersey](https://github.com/dchersey)) +- Fix broken jsiexecutor search path. (#23274) ([519ad8c](https://github.com/facebook/react-native/commit/519ad8c) by [@amccarri](https://github.com/amccarri)) +- Fix duplicate symbols linker error in xcodeproj (#23284) ([805e4fe](https://github.com/facebook/react-native/commit/805e4fe) by [@tyrone-sudeium](https://github.com/tyrone-sudeium)) +- apply Network Security Config file (fixes #22375) (part 2 of #23105) (#23135) ([b5270e8](https://github.com/facebook/react-native/commit/b5270e8) by [@Salakar](https://github.com/Salakar)) +- Fix crash for web socket in some race conditions (#22439) ([0fc2392](https://github.com/facebook/react-native/commit/0fc2392) by [@zhongwuzw](https://github.com/zhongwuzw)) + +#### iOS specific + +- Don't attempt to load RCTDevLoadingView lazily ([0af31ce](https://github.com/facebook/react-native/commit/0af31ce) by [@fkgozali](https://github.com/fkgozali)) + +### Security + +#### Android specific + +- improve Android Network Security config (#23429) ([fbd31c5](https://github.com/facebook/react-native/commit/fbd31c5) by [@dulmandakh](https://github.com/dulmandakh)) + ## [0.58.4] This release resolves a few bugs and includes a few improvements, listed below. From d6c129629f48007cf3639fddda19f8a5d4edc9cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Ramos?= <165856+hramos@users.noreply.github.com> Date: Thu, 21 Feb 2019 15:50:55 -0800 Subject: [PATCH 47/58] s/XCode/Xcode/ --- CHANGELOG.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 891f8fe..577b73b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -92,7 +92,7 @@ There are a number of significant changes in this version, and we'd like to espe Aside from those: -- if you are an iOS developer, you'll need to manually link `JavaScriptCore.framework` when upgrading; this can be done via XCode, and following the steps shown [here](https://camo.githubusercontent.com/c09cd42747364b498efa7c82fcb73978ba076eae/687474703a2f2f646f63732e6f6e656d6f62696c6573646b2e616f6c2e636f6d2f696f732d61642d73646b2f616464696e672d6672616d65776f726b732e706e67). +- if you are an iOS developer, you'll need to manually link `JavaScriptCore.framework` when upgrading; this can be done via Xcode, and following the steps shown [here](https://camo.githubusercontent.com/c09cd42747364b498efa7c82fcb73978ba076eae/687474703a2f2f646f63732e6f6e656d6f62696c6573646b2e616f6c2e636f6d2f696f732d61642d73646b2f616464696e672d6672616d65776f726b732e706e67). - Android developers, please note that Android's target SDK 27 is supported. Work is still underway to land target SDK 28 support, and it will come soon. @@ -1806,7 +1806,7 @@ year! #### iOS exclusive fixes -- Don't have XCode warnings for _YGDefaultLog_ in newly created projects +- Don't have Xcode warnings for _YGDefaultLog_ in newly created projects ([72e762d](https://github.com/facebook/react-native/commit/72e762d) by [@woehrl01](https://github.com/woehrl01)) - iOS _RCTEventEmitter_ uses a `double` for count, not _NSInteger_ @@ -1826,7 +1826,7 @@ year! ([15179f1](https://github.com/facebook/react-native/commit/15179f1) by [@Nikita2k](https://github.com/Nikita2k)) - Implement `requiresMainQueueSetup` in _RCTTVNavigationEventEmitter_ to satisfy - XCode warning + Xcode warning ([ee3532b](https://github.com/facebook/react-native/commit/ee3532b) by [@charpeni](https://github.com/charpeni)) - Support the iPhone X in the sample project's header From 07136a6714caeb296764e3619fb30ebb28983cbe Mon Sep 17 00:00:00 2001 From: Lorenzo Sciandra Date: Thu, 28 Feb 2019 16:48:03 +0000 Subject: [PATCH 48/58] changelog for 0.58.6 (#98) --- CHANGELOG.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 577b73b..6ee9831 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,22 @@ # Changelog +## [v0.58.6] + +This release is fairly small, as we approach stable status for [0.59](https://github.com/react-native-community/react-native-releases/issues/79). + +Thanks everyone who contributed code or participated in the [discussion](https://github.com/react-native-community/react-native-releases/issues/95) for cherry-picking commits - you can participate in the decision process for the next patch release [here](https://github.com/react-native-community/react-native-releases/issues/97). + +### Fixed + +#### Android specific + +- Fix Inverted Horizontal ScrollView on Android (#23233) ([2aa2420](https://github.com/facebook/react-native/commit/2aa2420) by [@dmainas](https://github.com/dmainas)) + +#### iOS specific + +- Map TextInput textContentType strings to Objective-C constants (#22611) ([2d56e06](https://github.com/facebook/react-native/commit/2d56e06) by [@levibuzolic](https://github.com/levibuzolic)) +- Don't reconnect inspector if connection refused (#22625) ([82c84c5](https://github.com/facebook/react-native/commit/82c84c5) by [@msand](https://github.com/msand)) + ## [v0.58.5] This release resolves a few bugs and includes a few improvements, listed below. From 06cf8ac9632714afe370dd8db6c3567e29dcc33c Mon Sep 17 00:00:00 2001 From: Ryan Turner Date: Tue, 12 Mar 2019 08:01:25 -0500 Subject: [PATCH 49/58] 0.59 (#93) * Add WIP of 0.59 changelog; also made improvements to the changelog generator and added a vscode config * process the deprecated section of 0.59 * finished first pass of processing automated changelog for 0.59, added a draft of the topmatter * Address feedback from today * add rc3 commits for 0.59 * Add some forward-looking links; hopefully these URLs stick :D * fix link to blogpost, add more detail for breaking changes * Fixing url for blog post --- .vscode/extensions.json | 5 ++ CHANGELOG.md | 131 +++++++++++++++++++++++++++++++++++++++- changelog-generator.js | 38 +++++++++++- package.json | 7 ++- yarn.lock | 10 +++ 5 files changed, 184 insertions(+), 7 deletions(-) create mode 100644 .vscode/extensions.json diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000..545de88 --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,5 @@ +{ + "recommendations": [ + "esbenp.prettier-vscode" + ] +} diff --git a/CHANGELOG.md b/CHANGELOG.md index 6ee9831..4f82d2a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,132 @@ # Changelog +## [0.59] + +Welcome to release 0.59 of React Native! For highlights of this release, please view the dedicated [blog post](http://facebook.github.io/react-native/blog/2019/03/12/releasing-react-native-059). Thanks to those who gave feedback during the [release candidate phase]([https://github.com/react-native-community/react-native-releases/issues/41](https://github.com/react-native-community/react-native-releases/issues/79)). If you're interested in helping evaluate our next release (0.60), subscribe to the dedicated issue [here](https://github.com/react-native-community/react-native-releases/issues/99). + +### Added + +- Add a Metro configuration to the template with inline require/import options; read more about it [in the blog post](http://facebook.github.io/react-native/blog/2019/03/12/releasing-react-native-059) ([ae11993](https://github.com/facebook/react-native/commit/ae11993) by [@cpojer](https://github.com/cpojer)) + +#### Android specific + +- **Text** and **TextInput** now has prop [maxFontSizeMultiplier](https://facebook.github.io/react-native/docs/text#maxfontsizemultiplier) ([4936d28](https://github.com/facebook/react-native/commit/4936d28) by [@rigdern](https://github.com/rigdern)) +- **TextInput** now has prop [autoComplete](https://facebook.github.io/react-native/docs/textinput#autocomplete) prop ([179d490](https://github.com/facebook/react-native/commit/179d490)) +- **CameraRoll**'s `getPhotos` now supports `assetType: "All"` to let users pick from video and photos simultaneously ([54534e7](https://github.com/facebook/react-native/commit/54534e7) by [@kesha-antonov](https://github.com/kesha-antonov)) + +#### iOS specific + +- **TextInput** now has prop `rejectResponderTermination` to enable TextInputs inside Swipeables to function properly ([11df0ea](https://github.com/facebook/react-native/commit/11df0ea) by [@cmcewen](https://github.com/cmcewen)) +- **ActionSheetIOS** has a new prop `destructiveButtonIndexes` for an `Array` of destructive indexes ([67e7f16](https://github.com/facebook/react-native/commit/67e7f16) by [@sdg9](https://github.com/sdg9)) +- Add `isEventFromThisApp` to `KeyboardEvent` notifications to disambiguate keyboard events when apps are running side-by-side ([05f35c2](https://github.com/facebook/react-native/commit/05f35c2) by [@nossbigg](https://github.com/nossbigg)) +- Allow changing the project path in `react-native-xcode.sh` using env var `PROJECT_ROOT` ([9ccde37](https://github.com/facebook/react-native/commit/9ccde37) by [@janicduplessis](https://github.com/janicduplessis)) + +### Changed + +- `React` is now at `v16.8.3` ([ccefc70](https://github.com/facebook/react-native/commit/ccefc70) and ([2af13b4](https://github.com/facebook/react-native/commit/2af13b4) by [@cpojer](https://github.com/cpojer) and [@hramos](https://github.com/hramos)) +- `Flow` dependency is now at `v0.92.0` ([5ee7386](https://github.com/facebook/react-native/commit/5ee7386) by [@pakoito](https://github.com/pakoito)) +- `@react-native-community/cli` dependency is at `v1.2.1` ([a252aee](https://github.com/facebook/react-native/commit/a252aee) and [5e1504b](https://github.com/facebook/react-native/commit/5e1504b) by [@grabbou](https://github.com/grabbou)) +- Enhance Flow types definitions for **ViewPropTypes** ([7ff9456](https://github.com/facebook/react-native/commit/7ff9456) by [@danibonilha](https://github.com/danibonilha)) + +#### Android specific + +- Clarify error message to direct people to `react-native start` rather than `react-native bundle` ([46aaa02](https://github.com/facebook/react-native/commit/46aaa02) by [@sunnylqm](https://github.com/sunnylqm)) +- **BREAKING** - removed `OkHttpClientProvider.replaceOkHttpClient` method; please use `OkHttpClientProvider.setOkHttpClientFactory` from 0.54+ ([7cbdd7b](https://github.com/facebook/react-native/commit/7cbdd7b) by [@cdlewis](https://github.com/cdlewis)) +- **BREAKING** - remove `ViewHelper`, use `ViewCompat` instead; this may also require changing the `android:theme` to be from `Theme.AppCompat`; read more about it [in the blog post](http://facebook.github.io/react-native/blog/2019/03/12/releasing-react-native-059) ([c493cfe](https://github.com/facebook/react-native/commit/c493cfe) by [@dulmandakh](https://github.com/dulmandakh)) +- Add nullable annotations to `ReadableMap`, `WritableMap`, `ReadableArray`, `Writable`, `ReactPackage`, and native module interfaces; this may impact Kotlin usage ([b640b6f](https://github.com/facebook/react-native/commit/b640b6f), [c93cbdf](https://github.com/facebook/react-native/commit/c93cbdf), [7b33d6b](https://github.com/facebook/react-native/commit/7b33d6b), and [e6d8ac8](https://github.com/facebook/react-native/commit/e6d8ac8) by [@dulmandakh](https://github.com/dulmandakh)) +- `Soloader` is now at `v0.6.0` ([07d1075](https://github.com/facebook/react-native/commit/07d1075) by [@dulmandakh](https://github.com/dulmandakh)) +- Android Support Library is now at `v28.0.0` ([5bbed43](https://github.com/facebook/react-native/commit/5bbed43) by [@dulmandakh](https://github.com/dulmandakh)) +- `targetSdkVersion` is now at `v28` ([818f6bb](https://github.com/facebook/react-native/commit/818f6bb) by [@dulmandakh](https://github.com/dulmandakh)) +- Android Plugin is now at `v3.3.1` ([51a7ad5](https://github.com/facebook/react-native/commit/51a7ad5) by [@dulmandakh](https://github.com/dulmandakh)) +- Enable Java 8 support ([38eb2a7](https://github.com/facebook/react-native/commit/38eb2a7) by [@dulmandakh](https://github.com/dulmandakh)) +- Suppress misleading missing permission warnings ([d53dbb0](https://github.com/facebook/react-native/commit/d53dbb0) by [@dulmandakh](https://github.com/dulmandakh)) +- Add back `buildToolsVersion` to build.gradle ([cf52ab5](https://github.com/facebook/react-native/commit/cf52ab5) by [@dulmandakh](https://github.com/dulmandakh)) +- **TimePickerAndroid** has better Flow types definitions ([2ed1bb2](https://github.com/facebook/react-native/commit/2ed1bb2) by [@yushimatenjin](https://github.com/yushimatenjin)) +- `ReactActivity`, `ReactSlider`, `ReactTextView`, and `ReactPicker` extends `AppCompatActivity`; updates to `TimePickerDialogModule` and `DatePickerDialogModule` as well ([dda2b82](https://github.com/facebook/react-native/commit/dda2b82), [3b9604f](https://github.com/facebook/react-native/commit/3b9604f), [52e5136](https://github.com/facebook/react-native/commit/52e5136), [833429d](https://github.com/facebook/react-native/commit/833429d), [adc1410](https://github.com/facebook/react-native/commit/adc1410), [c6c5a17](https://github.com/facebook/react-native/commit/c6c5a17), and [be361d0](https://github.com/facebook/react-native/commit/be361d0) by [@dulmandakh](https://github.com/dulmandakh)) +- Fix lint error/warnings that cause older Android crashes ([d2fc19f](https://github.com/facebook/react-native/commit/d2fc19f) by [@dulmandakh](https://github.com/dulmandakh)) +- The error message on getting Android drawable folder suffix now gives more information ([a159a33](https://github.com/facebook/react-native/commit/a159a33) by [@BrunoVillanova](https://github.com/BrunoVillanova)) +- `SYSTEM_ALERT_WINDOW` permissions available only in debug builds ([56fc630](https://github.com/facebook/react-native/commit/56fc630) by [@dulmandakh](https://github.com/dulmandakh)) +- Add talkback navigation support for links and header ([8e5eb63](https://github.com/facebook/react-native/commit/8e5eb63) by [@yangweigbh](https://github.com/yangweigbh)) + +#### iOS specific + +- Moved iOS build cache directory from `~/.rncache` to `~/Library/Caches/com.facebook.ReactNativeBuild` ([1024dc2](https://github.com/facebook/react-native/commit/1024dc2) by [@sryze](https://github.com/sryze)) +- Keyboard API Event flow types have been improved ([7ee13cc](https://github.com/facebook/react-native/commit/7ee13cc) by [@nossbigg](https://github.com/nossbigg)) +- Expose **AsyncLocalStorage** get/set methods to native code ([7b8235a](https://github.com/facebook/react-native/commit/7b8235a) by [@ejmartin504](https://github.com/ejmartin504)) + +### Deprecated + +The following deprecations are part of our Lean Core initiative; read more about it [in the blog post](http://facebook.github.io/react-native/blog/2019/03/12/releasing-react-native-059). + +- Deprecated [MaskedViewIOS](https://facebook.github.io/react-native/docs/maskedviewios) as it has now been moved to [react-native-community/masked-view](https://github.com/react-native-community/react-native-masked-view) ([4ac65f5](https://github.com/facebook/react-native/commit/4ac65f5) by [@FonDorn](https://github.com/FonDorn)) +- Deprecated [ViewPagerAndroid](https://facebook.github.io/react-native/docs/viewpagerandroid) as it has now been moved to [react-native-community/viewpager](https://github.com/react-native-community/react-native-viewpager) ([77300ca](https://github.com/facebook/react-native/commit/77300ca) by [@ferrannp](https://github.com/ferrannp)) +- Deprecated [AsyncStorage](https://facebook.github.io/react-native/docs/asyncstorage) as it has now been moved to [react-native-community/asyncstorage](https://github.com/react-native-community/react-native-async-storage) ([ffe3748](https://github.com/facebook/react-native/commit/ffe3748) by [@Krizzu](https://github.com/Krizzu)) +- Deprecated [Slider](https://facebook.github.io/react-native/docs/slider) as it has now been moved to [react-native-community/slider](https://github.com/react-native-community/react-native-slider) ([bf888a7](https://github.com/facebook/react-native/commit/bf888a7) by [@michalchudziak](https://github.com/michalchudziak)) +- Deprecated [NetInfo](https://facebook.github.io/react-native/docs/netinfo) as it has now been moved to [react-native-community/netinfo](https://github.com/react-native-community/react-native-netinfo) ([d9c0dfe](https://github.com/facebook/react-native/commit/d9c0dfe) by [@matt-oakes](https://github.com/matt-oakes)) +- Deprecated [ImageStore](https://facebook.github.io/react-native/docs/imagestore) and directed users to `expo-file-system` and `react-native-fs` ([62599fa](https://github.com/facebook/react-native/commit/62599fa) by [@EvanBacon](https://github.com/EvanBacon)) + +#### iOS specific + +- Replace deprecated `stringByReplacingPercentEscapesUsingEncoding:` with `stringByAddingPercentEncodingWithAllowedCharacters:` ([61ca119](https://github.com/facebook/react-native/commit/61ca119) by [@pvinis](https://github.com/pvinis)) + +### Removed + +- `react-native-git-upgrade` is now officially dead; use `react-native upgrade` instead (which uses [rn-diff-purge](https://github.com/react-native-community/rn-diff-purge) under the covers) ([a6bdacb](https://github.com/facebook/react-native/commit/a6bdacb) by [@cpojer](https://github.com/cpojer)) + +#### iOS specific + +- Remove the previously deprecated **TabBarIOS** ([0269729](https://github.com/facebook/react-native/commit/0269729) by [@axe-fb](https://github.com/axe-fb)) +- **AlertIOS** is now replaced with **Alert** ([e2bd7db](https://github.com/facebook/react-native/commit/e2bd7db) by [@wellmonge](https://github.com/wellmonge)) + +### Fixed + +- **KeyboardAvoidingView** now shows the correct height after the keyboard is toggled ([745484c](https://github.com/facebook/react-native/commit/745484c) by [@shauns](https://github.com/shauns)) +- Adds fixes for react-native-windows UWP ([dfcbf97](https://github.com/facebook/react-native/commit/dfcbf97) by [@rozele](https://github.com/rozele)) +- The `Map` and `Set` polyfills no longer reject non-extensible object keys; also fix hash collision scenario ([90850ca](https://github.com/facebook/react-native/commit/90850ca) by [@benjamn](https://github.com/benjamn)) +- Corrected StyleSheet's transformation perspective to match iOS's behavior, regardless of screen density ([4c10f93](https://github.com/facebook/react-native/commit/4c10f93) by [@syaau](https://github.com/syaau)) +- Fix `yarn test` in new projects ([5218932](https://github.com/facebook/react-native/commit/5218932) by [@Esemesek](https://github.com/Esemesek)) +- Fix issue with `getInspectorDataForViewTag` that caused red screen when toggling inspector ([46f3285](https://github.com/facebook/react-native/commit/46f3285) by [@TranLuongTuanAnh](https://github.com/TranLuongTuanAnh)) +- Fix `displayName` for `Image`; this will make tests no longer mistake it as `Component` ([4989123](https://github.com/facebook/react-native/commit/4989123) by [@linnett](https://github.com/linnett)) +- Fix regression of **VirtualizedList** jumpy header ([e4fd9ba](https://github.com/facebook/react-native/commit/e4fd9ba) by [@danilobuerger](https://github.com/danilobuerger)) +- Set `wait_for_recheck=true` to work around crash in Flow ([c599625](https://github.com/facebook/react-native/commit/c599625) by [@gabelevi](https://github.com/gabelevi)) +- Fix flow typing of **Text** ([10c8352](https://github.com/facebook/react-native/commit/10c8352) by [@sahrens](https://github.com/sahrens)) +- Fix `jest` and `jest-junit` to be only development dependencies ([c7b57f1](https://github.com/facebook/react-native/commit/c7b57f1) by [@vovkasm](https://github.com/vovkasm)) +- Fix layout issue with **SwipeableQuickActionButton** ([ad52f52](https://github.com/facebook/react-native/commit/ad52f52) by [@varungupta85](https://github.com/varungupta85)) + +#### Android specific + +- Fix textTransform when used with other text styles on Android (#22670) ([3a33e75](https://github.com/facebook/react-native/commit/3a33e75) by [@janicduplessis](https://github.com/janicduplessis)) +- Fix warinings related to updating to gradle 4.10.1 or higher ([5be50d4](https://github.com/facebook/react-native/commit/5be50d4) by [@misaku](https://github.com/misaku)) +- Fix issue with use of Android API 28 by adding security config for metro access ([724d83a](https://github.com/facebook/react-native/commit/724d83a), [01d5a3b](https://github.com/facebook/react-native/commit/01d5a3b), [3b0b7ce](https://github.com/facebook/react-native/commit/3b0b7ce), and [84572c4](https://github.com/facebook/react-native/commit/84572c4) by [@Salakar](https://github.com/Salakar) and [@dulmandakh](https://github.com/dulmandakh)) +- Fix Inverted Horizontal **ScrollView** ([32cb9ec](https://github.com/facebook/react-native/commit/32cb9ec) by [@dmainas](https://github.com/dmainas)) +- Fix crash on **CheckBox** on older Android versions ([58437cd](https://github.com/facebook/react-native/commit/58437cd) by [@vonovak](https://github.com/vonovak)) +- Fix undefined error description in **Image** `onError` callback ([7795a67](https://github.com/facebook/react-native/commit/7795a67) by [@Jyrno42](https://github.com/Jyrno42)) +- Fix Android crash on animating with `useNativeDriver` ([e405e84](https://github.com/facebook/react-native/commit/e405e84) by [@scisci](https://github.com/scisci)) +- Fix dev settings menu not appearing for certain codebases due to namespace conflicts ([9968d0c](https://github.com/facebook/react-native/commit/9968d0c) by [@khaled-cliqz](https://github.com/khaled-cliqz)) +- Fix exception occurring while fading a **TextView** ([f83281e](https://github.com/facebook/react-native/commit/f83281e) by [@mdvacca](https://github.com/mdvacca)) +- Fix **StatusBar** overwriting previously set `SystemUiVisibility` flags ([8afa037](https://github.com/facebook/react-native/commit/8afa037) by [@rogerkerse](https://github.com/rogerkerse)) +- Prevent `fetch()` POST requests from appending `charset=utf-8` to `Content-Type` header ([4cad737](https://github.com/facebook/react-native/commit/4cad737) and [d7c4c37](https://github.com/facebook/react-native/commit/d7c4c37) by [@nhunzaker](https://github.com/nhunzaker)) +- Fix issue with **Location** that led to exceptions in two cases ([2b7346f](https://github.com/facebook/react-native/commit/2b7346f) by [@mikelambert](https://github.com/mikelambert)) + +#### iOS specific + +- Fix **TextInput** mistakenly capitalizing I's after emojiis ([f307ac7](https://github.com/facebook/react-native/commit/f307ac7) by [@dchersey](https://github.com/dchersey)) +- Fix **TextView**'s `setAttrbutedText` for CJK languages on single-line text fields ([05ebf77](https://github.com/facebook/react-native/commit/05ebf77) by [@mandrigin](https://github.com/mandrigin)) +- Fix RCTImageLoader multi thread crash ([5ed31ce](https://github.com/facebook/react-native/commit/5ed31ce)) +- Fix removing keys of large values from **AsyncStorage** ([27b4d21](https://github.com/facebook/react-native/commit/27b4d21) by [@esprehn](https://github.com/esprehn)) +- Fix overscroll behavior on virtualized lists; behavior is now consistent ([4d5f85e](https://github.com/facebook/react-native/commit/4d5f85e)) +- Fix **Alert** to not block input focus and blur ([e4364fa](https://github.com/facebook/react-native/commit/e4364fa) by [@zhongwuzw](https://github.com/zhongwuzw)) +- Fix broken JSIexecutor search path ([2aa2401](https://github.com/facebook/react-native/commit/2aa2401) by [@amccarri](https://github.com/amccarri)) +- Fix potential linker issues when using Xcode project ([9f72e6a](https://github.com/facebook/react-native/commit/9f72e6a) by [@tyrone-sudeium](https://github.com/tyrone-sudeium)) +- Fix crash when `scrollEnabled` used in singleline textinput ([9ff43ab](https://github.com/facebook/react-native/commit/9ff43ab) by [@zhongwuzw](https://github.com/zhongwuzw)) +- Fix crash in gif image usage ([d0cd3ca](https://github.com/facebook/react-native/commit/d0cd3ca) by [@zhongwuzw](https://github.com/zhongwuzw)) +- Fix **geolocation** to not constantly reset accuracy to default of 100 meters ([bbcb97a](https://github.com/facebook/react-native/commit/bbcb97a) by [@omnikron](https://github.com/omnikron)) +- Fix iOS build issue related to missing `DoubleConversion` and `glog` to `cxxreact`, `jsi` and `jsiexecutor` subspecs in `React.podspec` file ([11c12d5](https://github.com/facebook/react-native/commit/11c12d5) by [@alexruperez](https://github.com/alexruperez)) +- Fix "'folly/folly-config.h' file not found" build error when using React via CocoaPods ([415cc25](https://github.com/facebook/react-native/commit/415cc25) by [@Salakar](https://github.com/Salakar)) +- Fix image cache to follow [MDN strategy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Caching#Freshness) ([e98d5a2](https://github.com/facebook/react-native/commit/e98d5a2) and [fb8ba3f](https://github.com/facebook/react-native/commit/fb8ba3f) by [@zhongwuzw](https://github.com/zhongwuzw)) +- Fix crash due to IllegalArgumentException when creating CookieManage ([fee5031](https://github.com/facebook/react-native/commit/fee5031) by [@mdvacca](https://github.com/mdvacca)) +- Fix cursor placement after toggling `secureTextEntry` cursor spacing ([c1392c2](https://github.com/facebook/react-native/commit/c1392c2) by [@ericlewis](https://github.com/facebook/react-native/commits?author=ericlewis)) + ## [v0.58.6] This release is fairly small, as we approach stable status for [0.59](https://github.com/react-native-community/react-native-releases/issues/79). @@ -113,7 +240,7 @@ Aside from those: - Android developers, please note that Android's target SDK 27 is supported. Work is still underway to land target SDK 28 support, and it will come soon. -Thanks to those who gave feedback on during the [release candidate phase](https://github.com/react-native-community/react-native-releases/issues/41). If you're interested in helping evaluate our next release (0.59), subscribe to the dedicated issue [here](https://github.com/react-native-community/react-native-releases/issues/79). +Thanks to those who gave feedback during the [release candidate phase](https://github.com/react-native-community/react-native-releases/issues/41). If you're interested in helping evaluate our next release (0.59), subscribe to the dedicated issue [here](https://github.com/react-native-community/react-native-releases/issues/79). ### Added @@ -197,7 +324,7 @@ Thanks to those who gave feedback on during the [release candidate phase](https: - Fix crash when removing root nodes ([b649fa9](https://github.com/facebook/react-native/commit/b649fa9) by [@ayc1](https://github.com/ayc1)) - Fix various **ReactInstanceManager** deadlocks and race conditions ([df7e8c6](https://github.com/facebook/react-native/commit/df7e8c6), [309f85a](https://github.com/facebook/react-native/commit/309f85a), and [be282b5](https://github.com/facebook/react-native/commit/be282b5) by [@ayc1](https://github.com/ayc1)) -- Fix IllegalArgumentException when dismissing ReactModalHostView and DialogManager ([e57ad4e](https://github.com/facebook/react-native/commit/e57ad4e) and [38e01a2](https://github.com/facebook/react-native/commit/38e01a2)by [@mdvacca](https://github.com/mdvacca)) +- Fix IllegalArgumentException when dismissing ReactModalHostView and DialogManager ([e57ad4e](https://github.com/facebook/react-native/commit/e57ad4e) and [38e01a2](https://github.com/facebook/react-native/commit/38e01a2) by [@mdvacca](https://github.com/mdvacca)) - Fix incorrect merged asset path with flavor for Android Gradle Plugin 3.2 ([e90319e](https://github.com/facebook/react-native/commit/e90319e) by [@yatatsu](https://github.com/yatatsu)) - Fix HTTP connection ontimeout callback ([a508134](https://github.com/facebook/react-native/commit/a508134)) - Fix websocket properly closing when remote server initiates close ([2e465bc](https://github.com/facebook/react-native/commit/2e465bc) by [@syaau](https://github.com/syaau)) diff --git a/changelog-generator.js b/changelog-generator.js index 23a82d0..2f37b88 100755 --- a/changelog-generator.js +++ b/changelog-generator.js @@ -2,6 +2,8 @@ 'use strict'; +const levenshtein = require('fast-levenshtein'); + const argv = require('yargs') .usage('$0 [args]', 'Generate a React Native changelog from the commits and PRs') .options({ @@ -58,6 +60,32 @@ function filterCICommits(commits) { return !(text.includes('travis') || text.includes('circleci') || text.includes('circle ci') || text.includes('bump version numbers')); }); } +function filterRevertCommits(commits) { + let revertCommits = []; + const revertCommitIndicators = ['revert "', 'back out "']; + const filteredCommits = commits.filter(item => { + let text = item.commit.message.split('\n')[0].toLowerCase(); + if(revertCommitIndicators.some(indicator => text.includes(indicator))) { + revertCommitIndicators.forEach(indicator => { + text = text.replace(indicator, ""); + }); + revertCommits.push(text); + return false; + } + return true; + }).filter(item => { + let text = item.commit.message.split('\n')[0].toLowerCase(); + revertCommits.forEach(revertCommit => { + if(levenshtein.get(text, revertCommit) < 0.5 * revertCommit.length) { + revertCommits = revertCommits.filter(function(e) { return e !== revertCommit }); + return false; + } + }); + return true; + }); + if(revertCommits.length > 0) console.warn("Was unable to find the mate for the following revert commits: " + revertCommits + "; you will need to manually remove this from below."); + return filteredCommits; +} function isAndroidCommit(change) { return /\b(android|java)\b/i.test(change) || /android/i.test(change); @@ -68,7 +96,7 @@ function isIOSCommit(change) { } function isAdded(change) { - return /\b(add|adds|added)\b/i.test(change); + return /\b(add|adds|added|enhancement)\b/i.test(change); } function isChanged(change) { @@ -92,7 +120,10 @@ function isSecurity(change) { } function getChangeMessage(item) { - return `- ${item.commit.message.split('\n')[0]} ([${item.sha.slice(0, 7)}](https://github.com/facebook/react-native/commit/${item.sha.slice(0, 7)})${item.author ? ' by [@' + item.author.login + '](https://github.com/' + item.author.login + ')' : ''})`; + const commitMessage = item.commit.message.split('\n'); + const entry = commitMessage.find(a => /\[ios\]|\[android\]|\[general\]/i.test(a)) || commitMessage[0]; + const authorSection = `([${item.sha.slice(0, 7)}](https://github.com/facebook/react-native/commit/${item.sha.slice(0, 7)})${item.author ? ' by [@' + item.author.login + '](https://github.com/' + item.author.login + ')' : ''})`; + return `- ${entry} ${authorSection}`; } function getChangelogDesc(commits) { @@ -107,7 +138,7 @@ function getChangelogDesc(commits) { }; commits.forEach(item => { - const change = item.commit.message.split('\n')[0]; + const change = item.commit.message; const message = getChangeMessage(item); if (isAdded(change)) { @@ -266,6 +297,7 @@ ${data.unknown.ios.join('\n')} fetchJSON('api.github.com', '/repos/facebook/react-native/compare/' + base + '...' + compare) .then(data => data.commits) .then(filterCICommits) + .then(filterRevertCommits) .then(getChangelogDesc) .then(buildMarkDown) .then(data => console.log(data)) diff --git a/package.json b/package.json index 0992064..c55b23b 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,7 @@ "version": "1.0.0", "description": "Changelog for the React Native project", "main": "index.js", + "license": "MIT", "scripts": { "spellcheck": "node node_modules/markdown-spellcheck/bin/mdspell -n --en-us -a -r CHANGELOG.md", "lint": "node node_modules/markdownlint-cli/markdownlint.js *.md", @@ -13,7 +14,6 @@ "url": "git+https://github.com/react-native-community/react-native-releases.git" }, "author": "", - "license": "", "bugs": { "url": "https://github.com/react-native-community/react-native-releases/issues" }, @@ -22,7 +22,10 @@ "husky": "^0.14.3", "markdown-spellcheck": "^1.3.1", "markdownlint-cli": "^0.6.0", + "prettier": "^1.16.4", "yargs": "^12.0.2" }, - "dependencies": {} + "dependencies": { + "fast-levenshtein": "^2.0.6" + } } diff --git a/yarn.lock b/yarn.lock index 4079bf2..9baac7f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -251,6 +251,11 @@ external-editor@^1.1.0: spawn-sync "^1.0.15" tmp "^0.0.29" +fast-levenshtein@^2.0.6: + version "2.0.6" + resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917" + integrity sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc= + figures@^1.3.5: version "1.7.0" resolved "https://registry.yarnpkg.com/figures/-/figures-1.7.0.tgz#cbe1e3affcf1cd44b80cadfed28dc793a9701d2e" @@ -722,6 +727,11 @@ pinkie@^2.0.0: resolved "https://registry.yarnpkg.com/pinkie/-/pinkie-2.0.4.tgz#72556b80cfa0d48a974e80e77248e80ed4f7f870" integrity sha1-clVrgM+g1IqXToDnckjoDtT3+HA= +prettier@^1.16.4: + version "1.16.4" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.16.4.tgz#73e37e73e018ad2db9c76742e2647e21790c9717" + integrity sha512-ZzWuos7TI5CKUeQAtFd6Zhm2s6EpAD/ZLApIhsF9pRvRtM1RFo61dM/4MSRUA0SuLugA/zgrZD8m0BaY46Og7g== + process-nextick-args@~2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.0.tgz#a37d732f4271b4ab1ad070d35508e8290788ffaa" From 8ae9040a91ea123bdf13bb8207a3610980990611 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Tue, 12 Mar 2019 22:11:11 +0800 Subject: [PATCH 50/58] Fix malformed markdown (#101) --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4f82d2a..a49e1bd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ ## [0.59] -Welcome to release 0.59 of React Native! For highlights of this release, please view the dedicated [blog post](http://facebook.github.io/react-native/blog/2019/03/12/releasing-react-native-059). Thanks to those who gave feedback during the [release candidate phase]([https://github.com/react-native-community/react-native-releases/issues/41](https://github.com/react-native-community/react-native-releases/issues/79)). If you're interested in helping evaluate our next release (0.60), subscribe to the dedicated issue [here](https://github.com/react-native-community/react-native-releases/issues/99). +Welcome to release 0.59 of React Native! For highlights of this release, please view the dedicated [blog post](http://facebook.github.io/react-native/blog/2019/03/12/releasing-react-native-059). Thanks to those who gave feedback during the [release candidate phase](https://github.com/react-native-community/react-native-releases/issues/79). If you're interested in helping evaluate our next release (0.60), subscribe to the dedicated issue [here](https://github.com/react-native-community/react-native-releases/issues/99). ### Added From e7bc5c28d59c85619f7fc8a671a241183cbf1ef1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Ramos?= <165856+hramos@users.noreply.github.com> Date: Tue, 12 Mar 2019 08:43:14 -0700 Subject: [PATCH 51/58] Typo in 0.58 --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a49e1bd..b571abf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -228,7 +228,7 @@ Thanks everyone who contributed code or participated in the [discussion](https:/ Welcome to first stable release of React Native of 2019! There are a number of significant changes in this version, and we'd like to especially draw your attention to them: -- [Modernizing](https://github.com/facebook/react-native/issues/21581) and [stengthening flow types](https://github.com/facebook/react-native/issues/22100) for core components +- [Modernizing](https://github.com/facebook/react-native/issues/21581) and [strengthening flow types](https://github.com/facebook/react-native/issues/22100) for core components - Breaking changes to `ScrollView`, `CameraRollView`, and `SwipeableRow` that make it no longer bound to the component instance in certain methods - Support for mutual TLS in WebKit - Asset serving from directories besides `/assets` From fb436a3e99d91778ed64ac6b7c1a290f63ed7578 Mon Sep 17 00:00:00 2001 From: Thibault Malbranche Date: Tue, 12 Mar 2019 18:53:50 +0100 Subject: [PATCH 52/58] Update CHANGELOG.md - fix typo (#102) --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b571abf..363b1d2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -96,7 +96,7 @@ The following deprecations are part of our Lean Core initiative; read more about #### Android specific - Fix textTransform when used with other text styles on Android (#22670) ([3a33e75](https://github.com/facebook/react-native/commit/3a33e75) by [@janicduplessis](https://github.com/janicduplessis)) -- Fix warinings related to updating to gradle 4.10.1 or higher ([5be50d4](https://github.com/facebook/react-native/commit/5be50d4) by [@misaku](https://github.com/misaku)) +- Fix warnings related to updating to gradle 4.10.1 or higher ([5be50d4](https://github.com/facebook/react-native/commit/5be50d4) by [@misaku](https://github.com/misaku)) - Fix issue with use of Android API 28 by adding security config for metro access ([724d83a](https://github.com/facebook/react-native/commit/724d83a), [01d5a3b](https://github.com/facebook/react-native/commit/01d5a3b), [3b0b7ce](https://github.com/facebook/react-native/commit/3b0b7ce), and [84572c4](https://github.com/facebook/react-native/commit/84572c4) by [@Salakar](https://github.com/Salakar) and [@dulmandakh](https://github.com/dulmandakh)) - Fix Inverted Horizontal **ScrollView** ([32cb9ec](https://github.com/facebook/react-native/commit/32cb9ec) by [@dmainas](https://github.com/dmainas)) - Fix crash on **CheckBox** on older Android versions ([58437cd](https://github.com/facebook/react-native/commit/58437cd) by [@vonovak](https://github.com/vonovak)) From e67ec4f163c6b648e7f40781ee4f7aa7cfb94685 Mon Sep 17 00:00:00 2001 From: Sunny Luo Date: Wed, 13 Mar 2019 18:37:06 +0800 Subject: [PATCH 53/58] Mention `textAlign:justify` support for 0.59 (#103) --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 363b1d2..c293ec9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ Welcome to release 0.59 of React Native! For highlights of this release, please - **Text** and **TextInput** now has prop [maxFontSizeMultiplier](https://facebook.github.io/react-native/docs/text#maxfontsizemultiplier) ([4936d28](https://github.com/facebook/react-native/commit/4936d28) by [@rigdern](https://github.com/rigdern)) - **TextInput** now has prop [autoComplete](https://facebook.github.io/react-native/docs/textinput#autocomplete) prop ([179d490](https://github.com/facebook/react-native/commit/179d490)) - **CameraRoll**'s `getPhotos` now supports `assetType: "All"` to let users pick from video and photos simultaneously ([54534e7](https://github.com/facebook/react-native/commit/54534e7) by [@kesha-antonov](https://github.com/kesha-antonov)) +- **Text** and **TextInput** now support `textAlign:justify` for android O+ (api level >=26) ([d2153fc](https://github.com/facebook/react-native/commit/d2153fc) by [sunnylqm](https://github.com/sunnylqm)) #### iOS specific From e64d96aa1f367a48c961107b44d277c3978365e8 Mon Sep 17 00:00:00 2001 From: Igor Lira Date: Sat, 16 Mar 2019 10:42:49 -0700 Subject: [PATCH 54/58] Mention launchOptions clearing when bridge is reloaded (#104) * Mention launchOptions clearing when bridge is reloaded * Remove unneeded punctuation; add "@" --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c293ec9..72e3295 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -54,6 +54,7 @@ Welcome to release 0.59 of React Native! For highlights of this release, please - Moved iOS build cache directory from `~/.rncache` to `~/Library/Caches/com.facebook.ReactNativeBuild` ([1024dc2](https://github.com/facebook/react-native/commit/1024dc2) by [@sryze](https://github.com/sryze)) - Keyboard API Event flow types have been improved ([7ee13cc](https://github.com/facebook/react-native/commit/7ee13cc) by [@nossbigg](https://github.com/nossbigg)) - Expose **AsyncLocalStorage** get/set methods to native code ([7b8235a](https://github.com/facebook/react-native/commit/7b8235a) by [@ejmartin504](https://github.com/ejmartin504)) +- Clear RCTBridge **launchOptions** when bridge is reloaded ([19d04a3](https://github.com/facebook/react-native/commit/19d04a312bf4221cd26beff6d0da6dd296a28cd0) by [@venik](https://github.com/venik)) ### Deprecated From 5b0f9bf3ee106ddfa0c325d1721f9abb411ee8ed Mon Sep 17 00:00:00 2001 From: Dani Akash Date: Sat, 3 Nov 2018 11:50:08 +0530 Subject: [PATCH 55/58] 0.57 upgrade Added steps to upgrade gradle version Fixes react-native-community/react-native-releases#59 --- CHANGELOG.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 72e3295..09ce80a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,4 @@ + # Changelog ## [0.59] @@ -740,7 +741,12 @@ As mentioned a few times in the past, the core team is reviewing the repository ``` 3. Ensure that you have all the babel dependencies to version `^7.0.0` (you may also need to add `"babel-core": "7.0.0-bridge.0"` as a yarn resolution to ensure retro-compatibility). The Babel team has released a tool, [babel-upgrade](https://github.com/babel/babel-upgrade), that should help you in this migration. -4. If you have a custom packager configuration via `rn-cli.config.js`, you probably need to update it to work with the updated Metro configuration structure (for full detail refer to Metro's [documentation](https://facebook.github.io/metro/docs/en/configuration)); here are some commonly encountered changes to `rn-cli.config.js`: +4. Upgrading android gradle version to 4.4 + 1. In your project's `android/gradle/wrapper/gradle-wrapper.properties` file, change the `distributionUrl` to `https\://services.gradle.org/distributions/gradle-4.4-all.zip` + 2. In `android/build.gradle` file add `google()` right above `jcenter()` in both `buildscript` and `allprojects` repositories. Then change Android build tools to version 3.1.3 `classpath 'com.android.tools.build:gradle:3.1.3'` + 3. In `android/app/build.gradle` file update all your `compile` statements to be `implementation`, e.g. `implementation 'com.facebook.fresco:animated-gif:1.10.0'` + 4. Do note that when running your app from within Android Studio, you may encounter `Missing Byte Code`errors. This is due to a known issue with version 3.1.x of the android tools plugin: [https://issuetracker.google.com/issues/72811718](https://issuetracker.google.com/issues/72811718). You'll need to disable Instant Run to get past this error. +5. If you have a custom packager configuration via `rn-cli.config.js`, you probably need to update it to work with the updated Metro configuration structure (for full detail refer to Metro's [documentation](https://facebook.github.io/metro/docs/en/configuration)); here are some commonly encountered changes to `rn-cli.config.js`: ```diff -const blacklist = require('metro/src/blacklist') @@ -768,7 +774,7 @@ As mentioned a few times in the past, the core team is reviewing the repository } ``` -5. Run `yarn` to ensure that all the new dependencies have been installed +6. Run `yarn` to ensure that all the new dependencies have been installed ### Added: new features From f5ef35dfc059448179d82ab5dd35e944be0da33e Mon Sep 17 00:00:00 2001 From: Ryan Turner Date: Wed, 7 Nov 2018 11:03:18 +0530 Subject: [PATCH 56/58] use shorter version of URI Co-Authored-By: DaniAkash --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 09ce80a..e4b9ada 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -745,7 +745,7 @@ As mentioned a few times in the past, the core team is reviewing the repository 1. In your project's `android/gradle/wrapper/gradle-wrapper.properties` file, change the `distributionUrl` to `https\://services.gradle.org/distributions/gradle-4.4-all.zip` 2. In `android/build.gradle` file add `google()` right above `jcenter()` in both `buildscript` and `allprojects` repositories. Then change Android build tools to version 3.1.3 `classpath 'com.android.tools.build:gradle:3.1.3'` 3. In `android/app/build.gradle` file update all your `compile` statements to be `implementation`, e.g. `implementation 'com.facebook.fresco:animated-gif:1.10.0'` - 4. Do note that when running your app from within Android Studio, you may encounter `Missing Byte Code`errors. This is due to a known issue with version 3.1.x of the android tools plugin: [https://issuetracker.google.com/issues/72811718](https://issuetracker.google.com/issues/72811718). You'll need to disable Instant Run to get past this error. + 4. Do note that when running your app from within Android Studio, you may encounter `Missing Byte Code` errors. This is due to [a known issue](https://issuetracker.google.com/issues/72811718) with version 3.1.x of the android tools plugin. You'll need to disable Instant Run to get past this error. 5. If you have a custom packager configuration via `rn-cli.config.js`, you probably need to update it to work with the updated Metro configuration structure (for full detail refer to Metro's [documentation](https://facebook.github.io/metro/docs/en/configuration)); here are some commonly encountered changes to `rn-cli.config.js`: ```diff From 051f9d2d9f356bf4e357a299bc7451b3cfa0c576 Mon Sep 17 00:00:00 2001 From: Dani Akash Date: Fri, 7 Dec 2018 11:24:36 +0530 Subject: [PATCH 57/58] Increase android build tools version --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e4b9ada..f5b1e15 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -743,7 +743,7 @@ As mentioned a few times in the past, the core team is reviewing the repository 3. Ensure that you have all the babel dependencies to version `^7.0.0` (you may also need to add `"babel-core": "7.0.0-bridge.0"` as a yarn resolution to ensure retro-compatibility). The Babel team has released a tool, [babel-upgrade](https://github.com/babel/babel-upgrade), that should help you in this migration. 4. Upgrading android gradle version to 4.4 1. In your project's `android/gradle/wrapper/gradle-wrapper.properties` file, change the `distributionUrl` to `https\://services.gradle.org/distributions/gradle-4.4-all.zip` - 2. In `android/build.gradle` file add `google()` right above `jcenter()` in both `buildscript` and `allprojects` repositories. Then change Android build tools to version 3.1.3 `classpath 'com.android.tools.build:gradle:3.1.3'` + 2. In `android/build.gradle` file add `google()` right above `jcenter()` in both `buildscript` and `allprojects` repositories. Then change Android build tools to version 3.1.4 `classpath 'com.android.tools.build:gradle:3.1.4'` 3. In `android/app/build.gradle` file update all your `compile` statements to be `implementation`, e.g. `implementation 'com.facebook.fresco:animated-gif:1.10.0'` 4. Do note that when running your app from within Android Studio, you may encounter `Missing Byte Code` errors. This is due to [a known issue](https://issuetracker.google.com/issues/72811718) with version 3.1.x of the android tools plugin. You'll need to disable Instant Run to get past this error. 5. If you have a custom packager configuration via `rn-cli.config.js`, you probably need to update it to work with the updated Metro configuration structure (for full detail refer to Metro's [documentation](https://facebook.github.io/metro/docs/en/configuration)); here are some commonly encountered changes to `rn-cli.config.js`: From 5e10a6884ce1084823b5677e2a1e0d2d8d374c60 Mon Sep 17 00:00:00 2001 From: Dani Akash Date: Fri, 7 Dec 2018 11:25:40 +0530 Subject: [PATCH 58/58] Remove empty line --- CHANGELOG.md | 1 - 1 file changed, 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f5b1e15..5a33fb0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,3 @@ - # Changelog ## [0.59]