Skip to content
This repository has been archived by the owner on Jun 17, 2022. It is now read-only.

0.57 Changelog #40

Merged
merged 21 commits into from
Sep 12, 2018
Merged
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
e341207
Started a draft of the changelog
turnrye Aug 5, 2018
9a3a17c
Fixed linting issue on changelog
turnrye Aug 9, 2018
eb08fc8
Combined ziqichen6's work on accessibility into a single entry
turnrye Aug 9, 2018
6968efb
Removed changes that don't have developer impact
turnrye Aug 14, 2018
4beadab
Classified 'fixes', removed non-user-impacting changes
turnrye Aug 14, 2018
750b5ac
Updated highlight on accessibility to reference blog post
turnrye Aug 15, 2018
c2f8411
Updated the 'removed' section
turnrye Aug 15, 2018
1353afd
A lot of thinning and cleanup; need to add new changes to the changel…
turnrye Aug 23, 2018
3acd7c1
Added updated todo, added detail of the new android versions
turnrye Aug 25, 2018
5096737
Updated changelog; draft is complete
turnrye Aug 26, 2018
663c710
Added highlight about the typescript support
turnrye Aug 28, 2018
da9f074
Updated changelog to address @kelset's feedback, mostly around the to…
turnrye Aug 30, 2018
e93871a
More tweaks by request :D
turnrye Aug 31, 2018
3c8748a
Incorporated more feedback post react native eu
turnrye Sep 9, 2018
3ffce7d
Put a better example for the metro changes in, made link to their doc…
turnrye Sep 9, 2018
1caaa21
Updated to reflect recent changes
turnrye Sep 11, 2018
9266171
Added missing commit regarding gradle version
turnrye Sep 11, 2018
40d16c1
Added back warning about android studio 3.2
turnrye Sep 12, 2018
01302be
Updated changelog to include relevant changes from today
turnrye Sep 12, 2018
5024b21
Fixed markdownlint errors
turnrye Sep 12, 2018
823d0f6
added clarification about Metro and out-of-platform support
kelset Sep 12, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixed markdownlint errors
  • Loading branch information
turnrye committed Sep 12, 2018
commit 5024b21da53511c264089d2617264d0ba6a7158c
66 changes: 30 additions & 36 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Changelog

# Changelog

## [0.57]

Welcome to the 0.57 release of React Native! This release addresses a number of issues and has some exciting improvements. We again skipped a monthly release, focused on quality by extending the release candidate phase, and let some upstream packages reach stable for inclusion.
Expand Down Expand Up @@ -33,38 +31,36 @@ As mentioned a few times in the past, the core team is focusing the repository o
1. Upgrade the version of React Native in the `package.json` from `0.56.0` to `0.57.0`, and the React version to `16.5`
2. Change the babel-preset dependency from `"babel-preset-react-native": "^5",` to `"metro-react-native-babel-preset": "^0.45.0",`, then change the `.babelrc` configuration to:

```
{
"presets": ["module:metro-react-native-babel-preset"]
}
```
```JSON
{
"presets": ["module:metro-react-native-babel-preset"]
}
```

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:

### rn-cli.config.js

```diff
-const blacklist = require('metro/src/blacklist')
+const blacklist = require('metro-config/src/defaults/blacklist')

// ...

module.exports = {
+ watchFolders: alternateRoots,
+ resolver: {
+ blacklistRE: blacklist
+ }
- getProjectRoots() {
- return [
- path.resolve(__dirname),
- ].concat(alternateRoots)
- },
- getBlacklistRE() {
- return blacklist;
- }
}
```
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
-const blacklist = require('metro/src/blacklist')
+const blacklist = require('metro-config/src/defaults/blacklist')

// ...

module.exports = {
+ watchFolders: alternateRoots,
+ resolver: {
+ blacklistRE: blacklist
+ }
- getProjectRoots() {
- return [
- path.resolve(__dirname),
- ].concat(alternateRoots)
- },
- getBlacklistRE() {
- return blacklist;
- }
}
```

5. Run `yarn` to ensure that all the new dependencies have been installed

Expand All @@ -87,11 +83,9 @@ module.exports = {

#### iOS specific additions

- `WebView` can now use `WKWebView` internally if you pass `useWebKit={true}` ([e90d9ca](https://github.com/facebook/react-native/commit/e90d9ca), [9b3a6ec](https://github.com/facebook/react-native/commit/9b3a6ec), [f7f9d01](https://github.com/facebook/react-native/commit/f7f9d01), [94560ca](https://github.com/facebook/react-native/commit/94560ca), [06cce04](https://github.com/facebook/react-native/commit/06cce04), [1c3af59](https://github.com/facebook/react-native/commit/1c3af59), [5662598](https://github.com/facebook/react-native/commit/5662598), [1984f4b](https://github.com/facebook/react-native/commit/1984f4b), [1b73e76](https://github.com/facebook/react-native/commit/1b73e76), [d0b5a38](https://github.com/facebook/react-native/commit/d0b5a38), [0fa5bd8](https://github.com/facebook/react-native/commit/0fa5bd8), [527792a](https://github.com/facebook/react-native/commit/527792a), [ee971a7](https://github.com/facebook/react-native/commit/ee971a7), [d29c253](https://github.com/facebook/react-native/commit/d29c253), [0009d09](https://github.com/facebook/react-native/commit/0009d09), [078799f](https://github.com/facebook/react-native/commit/078799f), [f46dbc2](https://github.com/facebook/react-native/commit/f46dbc2), [262d286](https://github.com/facebook/react-native/commit/262d286), [959aacf](https://github.com/facebook/react-native/commit/959aacf), and [e0df3a1](https://github.com/facebook/react-native/commit/e0df3a1)
by [@rsnara](https://github.com/rsnara))
- `WebView` can now use `WKWebView` internally if you pass `useWebKit={true}` ([e90d9ca](https://github.com/facebook/react-native/commit/e90d9ca), [9b3a6ec](https://github.com/facebook/react-native/commit/9b3a6ec), [f7f9d01](https://github.com/facebook/react-native/commit/f7f9d01), [94560ca](https://github.com/facebook/react-native/commit/94560ca), [06cce04](https://github.com/facebook/react-native/commit/06cce04), [1c3af59](https://github.com/facebook/react-native/commit/1c3af59), [5662598](https://github.com/facebook/react-native/commit/5662598), [1984f4b](https://github.com/facebook/react-native/commit/1984f4b), [1b73e76](https://github.com/facebook/react-native/commit/1b73e76), [d0b5a38](https://github.com/facebook/react-native/commit/d0b5a38), [0fa5bd8](https://github.com/facebook/react-native/commit/0fa5bd8), [527792a](https://github.com/facebook/react-native/commit/527792a), [ee971a7](https://github.com/facebook/react-native/commit/ee971a7), [d29c253](https://github.com/facebook/react-native/commit/d29c253), [0009d09](https://github.com/facebook/react-native/commit/0009d09), [078799f](https://github.com/facebook/react-native/commit/078799f), [f46dbc2](https://github.com/facebook/react-native/commit/f46dbc2), [262d286](https://github.com/facebook/react-native/commit/262d286), [959aacf](https://github.com/facebook/react-native/commit/959aacf), and [e0df3a1](https://github.com/facebook/react-native/commit/e0df3a1) by [@rsnara](https://github.com/rsnara))
- Add `accessibilityHint` for iOS ([253b29d](https://github.com/facebook/react-native/commit/253b29d) by [@draperunner](https://github.com/draperunner))


### Changes: existing functionality that is now different

- *[BREAKING]* In the CLI, `unbundle` is now `ram-bundle` ([ebf5aea](https://github.com/facebook/react-native/commit/ebf5aea) by [@jeanlauliac](https://github.com/jeanlauliac))
Expand Down Expand Up @@ -161,7 +155,7 @@ by [@rsnara](https://github.com/rsnara))
- Fix crash in RCTImagePicker on iOS ([934c50f](https://github.com/facebook/react-native/commit/934c50f) by [@mmmulani](https://github.com/mmmulani))
- Fix `undefined_arch` error received when building in Xcode 10 beta ([e131fff](https://github.com/facebook/react-native/commit/e131fff) by [@futuun](https://github.com/futuun))
- Add support for connecting to the Packager when running the iOS app on device when using custom Debug configuration ([079bf3f](https://github.com/facebook/react-native/commit/079bf3f))
- Fixed RCTAnimation import for integrating with cocoapods ((7525f38)[https://github.com/facebook/react-native/commit/7525f38] by (@LukeDurrant)[https://github.com/LukeDurrant])
- Fixed RCTAnimation import for integrating with cocoapods ([7525f38](https://github.com/facebook/react-native/commit/7525f38) by [@LukeDurrant](https://github.com/LukeDurrant))

### Removed: features that have been removed; these are breaking

Expand Down