Release v1.5.0 (#1319)

This commit is contained in:
Aleksandr Shoronov 2024-12-04 11:09:01 +02:00 committed by GitHub
parent 547c19fdd3
commit e09cd74d73
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 18 additions and 2 deletions

View File

@ -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

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "@mapbox/mapbox-gl-draw",
"version": "1.4.3",
"version": "1.5.0",
"lockfileVersion": 3,
"requires": true,
"packages": {

View File

@ -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"
},