From 687dbf0997d327b590b84c9e6e1ebeae36d7cd3b Mon Sep 17 00:00:00 2001 From: Aleksandr Shoronov Date: Tue, 3 Dec 2024 14:29:28 +0200 Subject: [PATCH 1/3] v1.5.0. CHANGELOG --- CHANGELOG.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2a427a03a..40ac1b391 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,21 @@ # Changelog +## 1.5.0 + +* Library modernization (migration to ES modules, switch from Yarn to NPM etc.) by @stepankuzmin in https://github.com/mapbox/mapbox-gl-draw/pull/1242 +* Add `suppressAPIEvents` option to `MapboxDraw` constructor to control event emitting caused by API method calls by @stepankuzmin in https://github.com/mapbox/mapbox-gl-draw/pull/1264 +* Remove Static mode from constants by @oodavid in https://github.com/mapbox/mapbox-gl-draw/pull/1078 +* Keep dashed line for the active state in theme by @stepankuzmin in https://github.com/mapbox/mapbox-gl-draw/pull/1243 +* Drop `map.fire` monkey patch by @stepankuzmin in https://github.com/mapbox/mapbox-gl-draw/pull/1243 +* Expose canvas class name by @neodescis in https://github.com/mapbox/mapbox-gl-draw/pull/1184 +* Fix of enabling previously disabled the "drag to pan" map interaction by @itoxiq in https://github.com/mapbox/mapbox-gl-draw/pull/1216 +* Fix availability of `properties.mode` in `vertex` and `midpoint` by @varna in https://github.com/mapbox/mapbox-gl-draw/pull/1221 +* Fix of trigger `featureChanged` on feature properties change by @petermoz in https://github.com/mapbox/mapbox-gl-draw/pull/1201 +* Fix exports entries in package.json by @varna in https://github.com/mapbox/mapbox-gl-draw/pull/1275 +* Remove `geojson-flatten` dependency by @stevage in https://github.com/mapbox/mapbox-gl-draw/pull/1066 +* Replace `hat` with `nanoid` for generating GeoJSON feature IDs by @underoot (h/t @varna for help) in https://github.com/mapbox/mapbox-gl-draw/pull/1318 +* Improve custom modes documentation by @mhsattarian in https://github.com/mapbox/mapbox-gl-draw/pull/1022 + ## 1.4.3 * Fix for layer not found error in `featuresAt` function by @caldwellc in https://github.com/mapbox/mapbox-gl-draw/pull/1194 From a79fb713aad86d6edca7ff1439d1b4b3f47e68bb Mon Sep 17 00:00:00 2001 From: Aleksandr Shoronov Date: Tue, 3 Dec 2024 14:29:59 +0200 Subject: [PATCH 2/3] v1.5.0. Version bump --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4317b096a..36666fb53 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@mapbox/mapbox-gl-draw", - "version": "1.4.3", + "version": "1.5.0", "lockfileVersion": 3, "requires": true, "packages": { diff --git a/package.json b/package.json index ad68b7f9d..617bff6c8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@mapbox/mapbox-gl-draw", - "version": "1.4.3", + "version": "1.5.0", "engines": { "node": "^18.0.0 || >=20.0.0" }, From cd809720b461ffcc857b416dc769a9e02f359719 Mon Sep 17 00:00:00 2001 From: Aleksandr Shoronov Date: Wed, 4 Dec 2024 11:04:41 +0200 Subject: [PATCH 3/3] Improved wording --- CHANGELOG.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 40ac1b391..32d299ab3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,16 +2,16 @@ ## 1.5.0 -* Library modernization (migration to ES modules, switch from Yarn to NPM etc.) by @stepankuzmin in https://github.com/mapbox/mapbox-gl-draw/pull/1242 -* Add `suppressAPIEvents` option to `MapboxDraw` constructor to control event emitting caused by API method calls by @stepankuzmin in https://github.com/mapbox/mapbox-gl-draw/pull/1264 -* Remove Static mode from constants by @oodavid in https://github.com/mapbox/mapbox-gl-draw/pull/1078 +* Library modernization by @stepankuzmin in https://github.com/mapbox/mapbox-gl-draw/pull/1242: +* Add `suppressAPIEvents` option to control event emission from API methods by @stepankuzmin in https://github.com/mapbox/mapbox-gl-draw/pull/1264 +* Drop Static mode from constants by @oodavid in https://github.com/mapbox/mapbox-gl-draw/pull/1078 * Keep dashed line for the active state in theme by @stepankuzmin in https://github.com/mapbox/mapbox-gl-draw/pull/1243 * Drop `map.fire` monkey patch by @stepankuzmin in https://github.com/mapbox/mapbox-gl-draw/pull/1243 * Expose canvas class name by @neodescis in https://github.com/mapbox/mapbox-gl-draw/pull/1184 -* Fix of enabling previously disabled the "drag to pan" map interaction by @itoxiq in https://github.com/mapbox/mapbox-gl-draw/pull/1216 +* Fix re-enabling the "drag to pan" map interaction by @itoxiq in https://github.com/mapbox/mapbox-gl-draw/pull/1216 * Fix availability of `properties.mode` in `vertex` and `midpoint` by @varna in https://github.com/mapbox/mapbox-gl-draw/pull/1221 -* Fix of trigger `featureChanged` on feature properties change by @petermoz in https://github.com/mapbox/mapbox-gl-draw/pull/1201 -* Fix exports entries in package.json by @varna in https://github.com/mapbox/mapbox-gl-draw/pull/1275 +* Fix `featureChanged` trigger on feature properties updates by @petermoz in https://github.com/mapbox/mapbox-gl-draw/pull/1201 +* Fix export entries in `package.json` by @varna in https://github.com/mapbox/mapbox-gl-draw/pull/1275 * Remove `geojson-flatten` dependency by @stevage in https://github.com/mapbox/mapbox-gl-draw/pull/1066 * Replace `hat` with `nanoid` for generating GeoJSON feature IDs by @underoot (h/t @varna for help) in https://github.com/mapbox/mapbox-gl-draw/pull/1318 * Improve custom modes documentation by @mhsattarian in https://github.com/mapbox/mapbox-gl-draw/pull/1022