diff --git a/CHANGELOG.md b/CHANGELOG.md index 2a427a03..32d299ab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,21 @@ # Changelog +## 1.5.0 + +* 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 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 `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 + ## 1.4.3 * Fix for layer not found error in `featuresAt` function by @caldwellc in https://github.com/mapbox/mapbox-gl-draw/pull/1194 diff --git a/package-lock.json b/package-lock.json index 4317b096..36666fb5 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 ad68b7f9..617bff6c 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" },