From fe35df517f714c908f692c4b00bdab0ded65ec2c Mon Sep 17 00:00:00 2001 From: Anh Mai Date: Tue, 17 Jan 2017 13:53:08 -0800 Subject: [PATCH] v2.0.0 --- CHANGELOG.md | 31 +++++++++++++++++++++++++++++++ package.json | 2 +- 2 files changed, 32 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d566165c..dd860db3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,34 @@ +## Version 2.0.0 (Jan 17, 2017) + +#### Reasons for the major version bump + +- We updated to `mapbox-gl` 0.31.0 which introduced flow types as well as having + a hard dependency on Node >= v4. We now assume that you are on Node >= v4 + and npm >= v3. +- We want >= v2.0.0 of `react-map-gl` to continue tracking `mapbox-gl` updates + as closely as possible. This means minor / patch updates will be published + more frequently. +- This also marks the start of more aggressive development on `react-map-gl` + and we will start rolling out bigger updates in the coming months. + +#### New Features & Updates + +- Bump `mapbox-gl` to v0.31.0 +- Add `maxZoom` prop and defaults to `20` +- Add `onLoad` event handler +- Add `onClick` prop handler (#140) + +#### Fixes + +- Ensure fitBounds doesn't return NaN zoom value (#159) +- Use 'changedTouches' for 'touchend' / 'touchcancel' events (#164) +- Typo fix in draggable-points overlay (#178) +- Remove mapbox-gl's `Point` dependency from map-interactions. (#161) + +### Miscellaneous + +- Added more info about usage with Webpack in README + # Version 1.7.2 * Use any one of the function keys {command, shift, ctrl, alt} to enable the perspective mode. diff --git a/package.json b/package.json index baa04e64..24af1f62 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "react-map-gl", "description": "A React wrapper for MapboxGL-js and overlay API.", - "version": "1.7.2", + "version": "2.0.0", "main": "index.js", "keywords": [ "mapbox",