Update dependency leaflet to v1.9.2 - autoclosed
This MR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
leaflet (source) | 1.8.0 -> 1.9.2 |
⚠ Dependency Lookup Warnings ⚠
Warnings were logged while processing this repo. Please check the logs for more information.
Release Notes
Leaflet/Leaflet
v1.9.2
🐞 Bug fixes
-
⚠ ️ Drop ESM entrypoint from package because of numerous compatibility issues with plugins (importleaflet/dist/leaflet-src.esm.js
explicitly instead to take advantage; ESM by default will come in v2) (#8493 by @jonkoops) - Fix a bug where tooltips could throw an error with canvas renderer (#8498 by @Falke-Design)
- Fix a bug with incorrect marker popup location when there are multiple markers registered to the same popup (#8523 by @raychanks).
🧪 Tests
- Fix unit tests suite stopping abruptly on Mac (#8478)
📝 Docs
- Fix
Bounds
equals
parameters in docs (#8500 by @Falke-Design)
v1.9.1
- Fix
Events
listens
not propagating to parent objects, in particular fixing compatibility with Leaflet.markercluster plugin (#8211 by @Falke-Design)
v1.9.0
⚠ ️ Breaking Changes
❇ ️ API changes
- Add
content
andlatLng
options toPopup
/Tooltip
constructors (#7783 by @Falke-Design) - Extend
Bounds
to have the same functions asLatLngBounds
(#7882 by @Falke-Design)
✨ Improvements
- Expose ESM entrypoint with Leaflet global (#8329 by @jonkoops)
- Update
getCenter()
calculation and move it toPolyUtil
/LineUtil
(#7603 by @Falke-Design) - Remove border styles in overflowing popups (#8260 by @Malvoz)
- Fix "listener not found" warning when setting
maxBounds
(#8168) - Remove "listener not found" warning (#8234 by @Falke-Design)
- Extend
Events.listens
to search for specific function (#8161 by @Falke-Design) - Add
noMoveStart
option topanTo
(#6685 by @Chivano) - Add
FeatureCollection
handling togeometryToLayer
(#8163 by @Falke-Design)
🙌 Accessibility
- Improve
Tooltip
accessibility (focus and voice over) (#8247 by @alekzvik) - Fix links in accessibility guide (#8198 by @Malvoz)
- Remove redundant
role="presentation"
from image tiles (#8172 by @Malvoz)
🐞 Bug fixes
- Fix invalid GeoJSON on unbalanced arrays (#7637 by @steff1986)
- Fix 2 step zooming while using mouse wheel scrolling (#8298 by @Falke-Design)
- Fix wrong assigned parameter while calling
map._move
overrequestAnimFrame
(#8328 by @AMDvsTMD) - Fix
_isClickDisabled
to not throw no error if parent is removed from DOM (#8288 by @Falke-Design) - Fix
DomEvent.DoubleTap
to ignore clicks on<label>
s with afor
attribute (#8227 by @IvanSanchez) - Fix calling
once()
twice if same event is fired insideonce
(#8190 by @Falke-Design) - Fix
map.getCenter()
returning a mutable object (#8167) - Fix regression about popup close button modifying the URL (#8160 by @IvanSanchez)
- Fix
min/maxZoom
when used in combination withdetectRetina
(#7328 by @bozdoz)
📝 Docs
- Use preferred tile.openstreetmap.org URL (#8418 by @Firefishy)
- Use LocalStorage for dialog sessions (#8382 by @ChristopherWirtOfficial)
- Update anchor links for headers and in collapsed accordions (#7780 by @Falke-Design)
- Fix typo in reference-1.6.0.html (#8330 by @eltociear)
- Add pre-commit linting to CONTRIBUTING.md (#8299 by @Falke-Design)
- Ensure no borders on dialog iframe (#8296 by @Malvoz)
- Replace Mapbox with OpenStreetMap in tutorials and examples (#7818 by @Falke-Design)
- Remove DOCS-TODO.md (#8259 by @Malvoz)
- Better PosAnimation example (#7386 by @stell)
- Correct heading level in GeoJSON example (#8230 by @Malvoz)
- Update Overlay Tutorial (ImageOverlay, VideoOverlay, SVGOverlay) (#8090 by @KonstantinBiryukov)
- Change attribute
anchor
todata-anchor
(#8174 by @KnightJam1) - Fix bad markdown causing link to not work (#8156 by @freyfogle)
- A couple of site SEO fixes (#8229 by @Malvoz)
- Fix attribution flag 1px misalignment on some websites (#8170)
- Attribution flag now resizes with font-size changes (#8183 by @sumitsaurabh927)
- Add Dialog to website (#8177 by @Falke-Design and #8193, #8194 by @Malvoz)
🔧 Workflow
- Improve GitHub Workflows security (#8419 by @sashashura)
- Update development dependencies
- Replace deprecated
eslint-plugin-script-tags
(#8331 by @jonkoops) - Use major version ranges for Github Actions (#8286 by @jonkoops)
- Configure YAML issue forms (#8246 by @Malvoz)
- Add FUNDING.yml
- Add pre-commit hook to fix linting issues (#8212 by @jonkoops)
- Remove Dependabot specific labels (#8199 by @jonkoops)
- Use shorter bundlemon names (#8195)
- Make sure integrity hashes are generated for the built version
🧪 Tests
- Added test cases for
map.latLngToLayerPoint
method (#8407 by @kreloaded) - Add test for
map.panTo
(#8390 by @anurag-dhamala) - Add test for
map.containerPointToLatLng
andmap.latLngToContainerPoint
(#8384 by @abhi3315) - Add test for
Layer._addZoomLimit
(#8037 by @zishiwu123) - Add tests for
Map
(#8206 by @stephenspol) - Add test for
CircleMarker._containsPoint
(#8340 by @gernhard1337) - Add missing handler tests (#8182 by @Falke-Design)
- Cover Rectangle with unit Tests (#8144 by @stephenspol)
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.