diff --git a/CHANGELOG.md b/CHANGELOG.md index 224c55c2f..0cb4ae01c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,20 @@ +#v3.2.0 + +#### *Note, there is a new (easier) install process for iOS. See updated [install.md](https://github.com/mapbox/react-native-mapbox-gl/blob/71298a88bba3f7b5d79e6bf1011dc8fe913b0750/ios/install.md)* + +- [Android] Upgrades internally to use [Mapbox Android SDK v3.2.0](https://github.com/mapbox/mapbox-gl-native/blob/b738087080b924061c4e6ce4c8b60ae4573f4f10/CHANGELOG.md#320). +- [Android] Adds event handler `onLongPress` +- [iOS] Upgrades internally to use Mapbox iOS SDK [v3.1.0](https://github.com/mapbox/mapbox-gl-native/releases/tag/ios-v3.1.0-pre.3) +- [iOS] Adds `contentInset` option +- [iOS] Adds `userLocationVerticalAlignment` option + #v3.1.0 - [iOS & Android] Adds methods `getDirection` and `getCenterCoordinateZoomLevel` - [iOS & Android] Properly removes annotations when annotation props are updated - [iOS] Adds method `updateAnnotation` for updating annotations - [Android] The prop `rotateEnabled` has been made more consistent across both platforms. - [Android] Adds props `logoIsHidden` and `attributionButtonIsHidden` - + #v3.0.0 With `v3.0.0` most breaking changes are around annotations. Now, to remove or select an annotation, you must provide the `id` of the annotation. On all annotations added to the map, an `id` is now required. diff --git a/ios/RCTMapboxGL.podspec b/ios/RCTMapboxGL.podspec index cd11e44eb..c3c9432f9 100644 --- a/ios/RCTMapboxGL.podspec +++ b/ios/RCTMapboxGL.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "RCTMapboxGL" - s.version = "3.1.1" + s.version = "3.2.0" s.summary = "A Mapbox GL react native module for creating custom maps." s.homepage = "https://github.com/mapbox/react-native-mapbox-gl#readme" s.license = "BSD" diff --git a/package.json b/package.json index 19df8a6a9..5c00fdbd9 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "react-native-mapbox-gl", "description": "A Mapbox GL react native module for creating custom maps", - "version": "3.1.1", + "version": "3.2.0", "author": "Bobby Sudekum", "keywords": [ "gl", diff --git a/readme.md b/readme.md index 2fb4e76e7..423699f63 100644 --- a/readme.md +++ b/readme.md @@ -4,8 +4,6 @@ _A React Native component for building maps with the [Mapbox iOS SDK](https://ww [![npm version](https://badge.fury.io/js/react-native-mapbox-gl.svg)](https://badge.fury.io/js/react-native-mapbox-gl) -*Current version of `react-native-mapbox-gl@3.1.1` requires `react-native@0.16.0`* - ``` npm install react-native-mapbox-gl --save ```