diff --git a/CHANGELOG.md b/CHANGELOG.md index 2c44467b4..477d6acb0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ -## Changelog +# Changelog -# 1.4.0 +## 1.4.1 + +* Revert use of passive event listeners instead of `preventDefault` in https://github.com/mapbox/mapbox-gl-draw/pull/1158 + +## 1.4.0 * Reduce NPM package size and big dependency and dev environment cleanup by @mourner in https://github.com/mapbox/mapbox-gl-draw/pull/1119 https://github.com/mapbox/mapbox-gl-draw/pull/1053 * Add Bezier Curve mode by @Jeff-Numix in https://github.com/mapbox/mapbox-gl-draw/pull/1068 @@ -9,7 +13,7 @@ * Adding sorting rank value for MultiLineString by @zhangchn in https://github.com/mapbox/mapbox-gl-draw/pull/1142 * Expose constants and lib APIs to make it easier to write custom draw modes by @thaddmt in https://github.com/mapbox/mapbox-gl-draw/pull/1100 -# 1.3.0 +## 1.3.0 - ⚠️ Removed GeoJSON validation in `draw.add` — responsibility for valid input is now on the user. #1052 - Fixed NPM security warnings about dependencies. #1052 @@ -17,12 +21,12 @@ - Reduced the size of the plugin's CSS code from 33KB to 5KB. #1038 (h/t @johanrd) - Fixed `simple_select` mode handling on touch devices. #1008 (h/t @corinv) -# 1.2.2 +## 1.2.2 ### Bug Fixes: - Fix midpoint calculation when using mapbox-gl-draw with 3d terrain -# 1.2.1 +## 1.2.1 ### Bug Fixes: - Upgrade `peerDependencies` to allow `mapbox-gl@2.0.0+` to be used with gl-draw. diff --git a/README.md b/README.md index 18f17a672..44f575860 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ import MapboxDraw from "@mapbox/mapbox-gl-draw"; **When using a CDN** ```html - + ``` #### CSS @@ -40,7 +40,7 @@ import '@mapbox/mapbox-gl-draw/dist/mapbox-gl-draw.css' **When using CDN** ```html - + ``` ### Typescript @@ -58,7 +58,7 @@ mapboxgl.accessToken = 'YOUR_ACCESS_TOKEN'; var map = new mapboxgl.Map({ container: 'map', - style: 'mapbox://styles/mapbox/streets-v11', + style: 'mapbox://styles/mapbox/streets-v12', center: [40, -74.50], zoom: 9 }); diff --git a/bench/index.html b/bench/index.html index 716ac1d8c..8714cf54b 100644 --- a/bench/index.html +++ b/bench/index.html @@ -7,7 +7,7 @@ - +