{"action":"published","release":{"url":"https://api.github.com/repos/Microsoft/react-native-code-push/releases/2892334","assets_url":"https://api.github.com/repos/Microsoft/react-native-code-push/releases/2892334/assets","upload_url":"https://uploads.github.com/repos/Microsoft/react-native-code-push/releases/2892334/assets{?name,label}","html_url":"https://github.com/Microsoft/react-native-code-push/releases/tag/v1.10.0-beta","id":2892334,"tag_name":"v1.10.0-beta","target_commitish":"master","name":"v1.10.0-beta","draft":false,"author":{"login":"lostintangent","id":116461,"avatar_url":"https://avatars.githubusercontent.com/u/116461?v=3","gravatar_id":"","url":"https://api.github.com/users/lostintangent","html_url":"https://github.com/lostintangent","followers_url":"https://api.github.com/users/lostintangent/followers","following_url":"https://api.github.com/users/lostintangent/following{/other_user}","gists_url":"https://api.github.com/users/lostintangent/gists{/gist_id}","starred_url":"https://api.github.com/users/lostintangent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lostintangent/subscriptions","organizations_url":"https://api.github.com/users/lostintangent/orgs","repos_url":"https://api.github.com/users/lostintangent/repos","events_url":"https://api.github.com/users/lostintangent/events{/privacy}","received_events_url":"https://api.github.com/users/lostintangent/received_events","type":"User","site_admin":false},"prerelease":false,"created_at":"2016-03-26T10:04:29Z","published_at":"2016-03-26T10:38:19Z","assets":[],"tarball_url":"https://api.github.com/repos/Microsoft/react-native-code-push/tarball/v1.10.0-beta","zipball_url":"https://api.github.com/repos/Microsoft/react-native-code-push/zipball/v1.10.0-beta","body":"This release primarily introduces a simplified public Java API, that is also more compatible with RNPM, and should make integrating CodePush into React Native Android apps a little easier. It is now available on NPM and can be updated immediately by running `npm i --save react-native-code-push@latest`.\r\n\r\n### New Features (Android)\r\n\r\n1. **RNPM-based installation is now fully supported and documented** We had to make a few breaking changes to our Java API to achieve this (see below for details), but we believe it will be worth it in the long run, since RNPM will greatly simplify adding CodePush to new projects and/or re-installing it in existing projects after performing a React Native upgrade. View the updated [Android install docs](https://github.com/Microsoft/react-native-code-push#plugin-configuration-android) for more details.\r\n\r\n2. The `CodePush.getBundleUrl` Java method now includes an overloaded version that takes no parameters, and assumes your JS bundle name is `index.android.bundle`. This is what most people name it, so this is just a simple codification of a ubiquitous convention. [More details](https://github.com/Microsoft/react-native-code-push#static-methods)\r\n\r\n### Breaking Changes (Android)\r\n\r\n1. The `CodePush` class itself is now a `ReactPackage`, and therefore, you can construct an instance of it, and directly add it to the list of packages in your `MainActivity.getPackages` method. Because of this, the `CodePush.getReactPackage` method has been removed from the `CodePush` class since it is no longer needed. View the updated [Android install docs](https://github.com/Microsoft/react-native-code-push#plugin-configuration-android) for more details.\r\n\r\n2. The `CodePush.getBundleUrl` method is now static, which allows you to easily call it from within your `MainActivity.getJSBundleFile` method, without needing to maintain a local member variable for the `CodePush` class instance. View the updated [Android install docs](https://github.com/Microsoft/react-native-code-push#plugin-configuration-android) for more details."}}