Skip to content
Easier React Native upgrades by clearly exposing changes from a version to another. πŸš€ And what better way than to purge, init, then diff? Spoiler: there's no better way. 😎
Branch: master
Clone or download
Latest commit 1ddf06e Mar 14, 2019

README.md

RN diff PURGE

(Technically and temporarily, the latest "version" of this repo is here despite the note on top. The table view is the way to look at and retrieve the diffs. I am waiting for github support to respond to an issue we are having, and then I'll push everything here and this will be the upgrade go-to repo.)

This repository exposes an untouched React Native app generated with the CLI react-native init RnDiffApp. Each new React Native version causes a new project to be created, removing the old one, and getting a diff between them. This way, the diff is always clean, always in sync with the changes of the init template, and there is no reason to use the broken react-native upgrade or git-upgrade or whatever.

A dedicated branch per version makes changes very easy to watch. For example:

See table below for the complete list.

This repository can also be used to upgrade React Native without the often broken react-native-git-upgrade command. See USAGE.md for details.

For some more info about the benefits of this repo's way versus the default way and rn-diff's way, read some of the conversation around here.

Please ⭐️ this repository if I helped you, and if you upgraded successfully because of purge, buy me a pizza πŸ•

Version changes

Version Compare Patch Stats RN Compare
0.59.1 0.59.0...0.59.1 0.59.0...0.59.1 2 files changed, 6 insertions(+), 6 deletions(-) 0.59.0...0.59.1
0.59.0 0.58.6...0.59.0 0.58.6...0.59.0 15 files changed, 73 insertions(+), 38 deletions(-) 0.58.6...0.59.0
0.58.6 0.58.5...0.58.6 0.58.5...0.58.6 1 file changed, 1 insertion(+), 1 deletion(-) 0.58.5...0.58.6
0.58.5 0.59.0-rc.2...0.58.5 0.59.0-rc.2...0.58.5 14 files changed, 37 insertions(+), 70 deletions(-) 0.59.0-rc.2...0.58.5
0.59.0-rc.2 0.59.0-rc.1...0.59.0-rc.2 0.59.0-rc.1...0.59.0-rc.2 1 file changed, 1 insertion(+), 1 deletion(-) 0.59.0-rc.1...0.59.0-rc.2
0.59.0-rc.1 0.59.0-rc.0...0.59.0-rc.1 0.59.0-rc.0...0.59.0-rc.1 2 files changed, 3 insertions(+), 3 deletions(-) 0.59.0-rc.0...0.59.0-rc.1
0.59.0-rc.0🎣 0.58.4...0.59.0-rc.0 0.58.4...0.59.0-rc.0 15 files changed, 71 insertions(+), 38 deletions(-) 0.58.4...0.59.0-rc.0
0.58.4 0.58.3...0.58.4 0.58.3...0.58.4 1 file changed, 3 insertions(+), 3 deletions(-) 0.58.3...0.58.4
0.58.3 0.58.2...0.58.3 0.58.2...0.58.3 1 file changed, 1 insertion(+), 1 deletion(-) 0.58.2...0.58.3
0.58.2 0.58.1...0.58.2 0.58.1...0.58.2 2 files changed, 2 insertions(+), 2 deletions(-) 0.58.1...0.58.2
0.58.1 0.58.0...0.58.1 0.58.0...0.58.1 1 file changed, 3 insertions(+), 3 deletions(-) 0.58.0...0.58.1
0.58.0 0.57.8...0.58.0 0.57.8...0.58.0 18 files changed, 74 insertions(+), 43 deletions(-) 0.57.8...0.58.0
0.57.8 0.57.7...0.57.8 0.57.7...0.57.8 1 file changed, 1 insertion(+), 1 deletion(-) 0.57.7...0.57.8
0.57.7 0.57.6...0.57.7 0.57.6...0.57.7 1 file changed, 1 insertion(+), 1 deletion(-) 0.57.6...0.57.7
0.57.6 0.57.5...0.57.6 0.57.5...0.57.6 1 file changed, 2 insertions(+), 2 deletions(-) 0.57.5...0.57.6
0.57.5 0.57.4...0.57.5 0.57.4...0.57.5 2 files changed, 5 insertions(+), 5 deletions(-)
0.57.4 0.57.3...0.57.4 0.57.3...0.57.4 2 files changed, 3 insertions(+), 3 deletions(-)
0.57.3 0.57.2...0.57.3 0.57.2...0.57.3 1 file changed, 4 insertions(+), 4 deletions(-)
0.57.2 0.57.1...0.57.2 0.57.1...0.57.2 1 file changed, 1 insertion(+), 1 deletion(-)
0.57.1 0.57.0...0.57.1 0.57.0...0.57.1 1 file changed, 1 insertion(+), 1 deletion(-)
0.57.0 0.56.0...0.57.0 0.56.0...0.57.0 15 files changed, 112 insertions(+), 80 deletions(-)
0.56.0 0.55.4...0.56.0 0.55.4...0.56.0 19 files changed, 60 insertions(+), 90 deletions(-)
0.55.4 0.55.0...0.55.4 0.55.0...0.55.4 1 file changed, 3 insertions(+), 3 deletions(-)
0.55.0 0.54.4...0.55.0 0.54.4...0.55.0 9 files changed, 148 insertions(+), 35 deletions(-)
0.54.4 0.54.0...0.54.4 0.54.0...0.54.4 1 file changed, 1 insertion(+), 1 deletion(-)
0.54.0 0.53.3...0.54.0 0.53.3...0.54.0 3 files changed, 6 insertions(+), 12 deletions(-)
0.53.3 0.53.0...0.53.3 0.53.0...0.53.3 1 file changed, 1 insertion(+), 1 deletion(-)
0.53.0 0.52.2...0.53.0 0.52.2...0.53.0 3 files changed, 4 insertions(+), 5 deletions(-)
0.52.2 0.52.0...0.52.2 0.52.0...0.52.2 1 file changed, 1 insertion(+), 1 deletion(-)
0.52.0 0.51.0...0.52.0 0.51.0...0.52.0 3 files changed, 77 insertions(+), 15 deletions(-)
0.51.0 0.50.4...0.51.0 0.50.4...0.51.0 2 files changed, 23 insertions(+), 23 deletions(-)
0.50.4 0.50.0...0.50.4 0.50.0...0.50.4 1 file changed, 1 insertion(+), 1 deletion(-)
0.50.0 0.49.5...0.50.0 0.49.5...0.50.0 3 files changed, 12 insertions(+), 6 deletions(-)
0.49.5 0.49.0...0.49.5 0.49.0...0.49.5 1 file changed, 1 insertion(+), 1 deletion(-)
0.49.0 0.48.4...0.49.0 0.48.4...0.49.0 11 files changed, 43 insertions(+), 88 deletions(-)
0.48.4 0.48.3...0.48.4 0.48.3...0.48.4 1 file changed, 1 insertion(+), 1 deletion(-)
0.48.3 0.48.2...0.48.3 0.48.2...0.48.3 1 file changed, 1 insertion(+), 1 deletion(-)
0.48.2 0.48.1...0.48.2 0.48.1...0.48.2 1 file changed, 1 insertion(+), 1 deletion(-)
0.48.1 0.48.0...0.48.1 0.48.0...0.48.1 1 file changed, 1 insertion(+), 1 deletion(-)
0.48.0 0.47.2...0.48.0 0.47.2...0.48.0 2 files changed, 36 insertions(+), 3 deletions(-)
0.47.2 0.47.1...0.47.2 0.47.1...0.47.2 1 file changed, 1 insertion(+), 1 deletion(-)
0.47.1 0.47.0...0.47.1 0.47.0...0.47.1 1 file changed, 1 insertion(+), 1 deletion(-)
0.47.0 0.46.4...0.47.0 0.46.4...0.47.0 2 files changed, 4 insertions(+), 4 deletions(-)
0.46.4 0.46.3...0.46.4 0.46.3...0.46.4 1 file changed, 1 insertion(+), 1 deletion(-)
0.46.3 0.46.2...0.46.3 0.46.2...0.46.3 1 file changed, 1 insertion(+), 1 deletion(-)
0.46.2 0.46.1...0.46.2 0.46.1...0.46.2 1 file changed, 1 insertion(+), 1 deletion(-)
0.46.1 0.46.0...0.46.1 0.46.0...0.46.1 1 file changed, 1 insertion(+), 1 deletion(-)
0.46.0 0.45.1...0.46.0 0.45.1...0.46.0 3 files changed, 6 insertions(+), 8 deletions(-)
0.45.1 0.45.0...0.45.1 0.45.0...0.45.1 1 file changed, 1 insertion(+), 1 deletion(-)
0.45.0 0.44.3...0.45.0 0.44.3...0.45.0 3 files changed, 13 insertions(+), 6 deletions(-)
0.44.3 0.44.2...0.44.3 0.44.2...0.44.3 1 file changed, 1 insertion(+), 1 deletion(-)
0.44.2 0.44.1...0.44.2 0.44.1...0.44.2 1 file changed, 1 insertion(+), 1 deletion(-)
0.44.1 0.44.0...0.44.1 0.44.0...0.44.1 1 file changed, 1 insertion(+), 1 deletion(-)
0.44.0 0.43.4...0.44.0 0.43.4...0.44.0 6 files changed, 12 insertions(+), 8 deletions(-)
0.43.4 0.43.3...0.43.4 0.43.3...0.43.4 1 file changed, 1 insertion(+), 1 deletion(-)
0.43.3 0.43.2...0.43.3 0.43.2...0.43.3 1 file changed, 1 insertion(+), 1 deletion(-)
0.43.2 0.43.1...0.43.2 0.43.1...0.43.2 1 file changed, 1 insertion(+), 1 deletion(-)
0.43.1 0.43.0...0.43.1 0.43.0...0.43.1 1 file changed, 1 insertion(+), 1 deletion(-)
0.43.0 0.42.3...0.43.0 0.42.3...0.43.0 4 files changed, 39 insertions(+), 39 deletions(-)
0.42.3 0.42.2...0.42.3 0.42.2...0.42.3 3 files changed, 7 insertions(+), 1 deletion(-)
0.42.2 0.42.0...0.42.2 0.42.0...0.42.2 1 file changed, 1 insertion(+), 1 deletion(-)
0.42.0 0.41.2...0.42.0 0.41.2...0.42.0 9 files changed, 12 insertions(+), 18 deletions(-)
0.41.2 0.41.1...0.41.2 0.41.1...0.41.2 3 files changed, 9 insertions(+), 3 deletions(-)
0.41.1 0.41.0...0.41.1 0.41.0...0.41.1 1 file changed, 1 insertion(+), 1 deletion(-)
0.41.0 0.40.0...0.41.0 0.40.0...0.41.0 8 files changed, 477 insertions(+), 6 deletions(-)
0.40.0 0.39.1...0.40.0 0.39.1...0.40.0 7 files changed, 238 insertions(+), 26 deletions(-)
0.39.1 0.39.0...0.39.1 0.39.0...0.39.1 1 file changed, 1 insertion(+), 1 deletion(-)
0.39.0 0.38.0...0.39.0 0.38.0...0.39.0 5 files changed, 76 insertions(+), 55 deletions(-)
0.38.0 0.37.0...0.38.0 0.37.0...0.38.0 4 files changed, 14 insertions(+), 6 deletions(-)
0.37.0 0.36.1...0.37.0 0.36.1...0.37.0 2 files changed, 9 insertions(+), 9 deletions(-)
0.36.1 0.36.0...0.36.1 0.36.0...0.36.1 1 file changed, 1 insertion(+), 1 deletion(-)
0.36.0 0.35.0...0.36.0 0.35.0...0.36.0 3 files changed, 5 insertions(+), 5 deletions(-)
0.35.0 0.34.1...0.35.0 0.34.1...0.35.0 6 files changed, 50 insertions(+), 12 deletions(-)
0.34.1 0.34.0...0.34.1 0.34.0...0.34.1 1 file changed, 1 insertion(+), 1 deletion(-)
0.34.0 0.33.1...0.34.0 0.33.1...0.34.0 3 files changed, 13 insertions(+), 9 deletions(-)
0.33.1 0.33.0...0.33.1 0.33.0...0.33.1 1 file changed, 1 insertion(+), 1 deletion(-)
0.33.0 0.32.0...0.33.0 0.32.0...0.33.0 3 files changed, 10 insertions(+), 10 deletions(-)
0.32.0 0.31.0...0.32.0 0.31.0...0.32.0 2 files changed, 6 insertions(+), 6 deletions(-)
0.31.0 0.30.0...0.31.0 0.30.0...0.31.0 2 files changed, 21 insertions(+), 4 deletions(-)
0.30.0 0.29.2...0.30.0 0.29.2...0.30.0 4 files changed, 3 insertions(+), 3 deletions(-)
0.29.2 0.29.1...0.29.2 0.29.1...0.29.2 1 file changed, 1 insertion(+), 1 deletion(-)
0.29.1 0.29.0...0.29.1 0.29.0...0.29.1 1 file changed, 1 insertion(+), 1 deletion(-)
0.29.0 0.28.0...0.29.0 0.28.0...0.29.0 7 files changed, 48 insertions(+), 115 deletions(-)
0.28.0 0.27.2...0.28.0 0.27.2...0.28.0 8 files changed, 33 insertions(+), 13 deletions(-)
0.27.2 0.27.1...0.27.2 0.27.1...0.27.2 1 file changed, 1 insertion(+), 1 deletion(-)
0.27.1 0.27.0...0.27.1 0.27.0...0.27.1 1 file changed, 1 insertion(+), 1 deletion(-)
0.27.0 0.26.3...0.27.0 0.26.3...0.27.0 5 files changed, 13 insertions(+), 8 deletions(-)
0.26.3 0.26.2...0.26.3 0.26.2...0.26.3 1 file changed, 2 insertions(+), 2 deletions(-)
0.26.2 0.26.1...0.26.2 0.26.1...0.26.2 1 file changed, 1 insertion(+), 1 deletion(-)
0.26.1 0.26.0...0.26.1 0.26.0...0.26.1 1 file changed, 1 insertion(+), 1 deletion(-)
0.26.0 0.25.1...0.26.0 0.25.1...0.26.0 3 files changed, 14 insertions(+), 18 deletions(-)
0.25.1 0.24.1...0.25.1 0.24.1...0.25.1 7 files changed, 10 insertions(+), 14 deletions(-)
0.24.1 0.24.0...0.24.1 0.24.0...0.24.1 1 file changed, 1 insertion(+), 1 deletion(-)
0.24.0 0.23.1...0.24.0 0.23.1...0.24.0 11 files changed, 117 insertions(+), 102 deletions(-)
0.23.1 0.23.0...0.23.1 0.23.0...0.23.1 1 file changed, 2 insertions(+), 2 deletions(-)
0.23.0 X X X

Note that the diff stat (last column) doesn't take the package.json into account (it doesn't have to: the package.json must be updated by hand before upgrading React Native).

Why this repository?

react-native-git-upgrade is painful. A simple diff by recreating the project is a much much simpler way to get a diff on every new React Native version.

Notes

Hooks

React Native 0.59.0-rc.0 gets hooks! πŸŽ‰πŸ₯³ Here are some docs:

Thanks to the RN team!

FAQ

Why starting from 0.23.0?

The starting point is the generation of an app with the CLI tool. I've started from the oldest version of react-native I could go with react-native-cli (October 2018).

How did you do this?

I initialized the 3 or 4 first commits manually to see where was it going. Then I automated things with this script.

How can I contribute?

Unfortunately you can't ;). Correct me if I'm wrong but due to the particular structure of the branch tree, it's impossible to collaborate in the classic way (Pull Request on a non-existing branch).

Nevertheless, when a new version of React Native is released, I'll have to be prompt to provide the new diff. I guess having 3 or 4 collaborators on this project will help in the future. If you're interested, please open an issue to discuss.

Of course, the above doesn't concern suggesting changes on the master branch (script or README.md). Pull Requests are highly welcome!

Down here!

If you have:

  • questions
  • suggestions
  • ideas to make this even better
  • the urge to just to say hello to me :)

feel free to make an issue or contact me. I'm pretty easy to find!

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.