v1.8.0 is a culmination of 1.5 years of development, a huge release focused on bug fixes, major reliability and accessibility improvements, cleaning up legacy code, and numerous improvements to documentation, development workflow and release process. A culmination of hundreds of contributions, and a preparation for bigger changes to come. 🍃
I'm making this release just as an air raid alert is sounding outside, in Kyiv, warning about an imminent Russian air strike. This release is dedicated to Ukrainian fight for freedom and democracy against the Russian invasion 🇺🇦 (see how you can support Ukraine here).
From now on, releases will become much more frequent. Thanks to our amazing community for all your help and patience. ❤️🙏 Special thanks to @johnd0e who revived Leaflet development after long stagnation and made the biggest contributions, @Falke-Design for doing the bulk of the work organizing development and preparing the release, @Malvoz for his numerous accessibility contributions, and @jonkoops for help with workflow automations. ❤️
⚠️ Breaking Changes
Improve reliability of contextmenu event simulation on mobile Safari by introducing a new TapHold handler, replacing legacy Tap (#7026 by @johnd0e)
Reorganize DivOverlay/Popup/Tooltip APIs (#7540 by @johnd0e)
Move Popup related options from DivOverlay to Popup (#7778 by @Falke-Design)
Change Tooltip class from leaflet-clickable to leaflet-interactive (#7719 by @Falke-Design)
Map.closeTooltip now requires a layer as argument (#7533 by @johnd0e)
Improve error / argument handling for event listeners (#7518 by @johnd0e)
Improve reliability of touch events simulation on non-touch devices (DomEvent.Pointer) (#7059, #7084, #7415 by @johnd0e)
Improve reliability of dblclick event simulation on touch devices (DomEvent.DoubleTap) (#7027 by @johnd0e)
Improve reliability of disableClickPropagation (#7439 by @johnd0e)
Improve MaphasLayer() and LayerGrouphasLayer() to require a layer as argument (#6999 by @johnd0e)
Fix Class.include to not overwrite options (#7756 by @johnd0e)
Fix Class.extend to not modify source props object (#6766 by @johnd0e)
Improve Browser.touch touch devices detection (#7029 by @johnd0e)
Allow fonts to respect users' browser settings by making the font-sizerelative to the map container. (You can change the font size on leaflet-container to adjust it if needed.) (#7800 by @Chandu-4444)
Allow fonts to respect users' browser settings by making the font-sizerelative to the map container. (You can change the font size on leaflet-container to adjust it if needed.) (#7800 by @Chandu-4444)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps leaflet from 1.7.1 to 1.8.0.
Release notes
Sourced from leaflet's releases.
... (truncated)
Changelog
Sourced from leaflet's changelog.
... (truncated)
Commits
8a1ccbe
1.8.0fcd7af2
update changelog for v1.8.00c86a35
Small enhancement to the popup's close button (#7908)0daaa23
Link to marker accessibility guideline from docs (#8146)a4db892
Fix missing plugins section: Synthetic Overlays (#8148)c7aadab
DomUtil function tests (#7547)b3e1b24
Allow raw latlng array in latLngToCoords/latLngsToCoords (#7436)25546fc
Popup should have a min-height (#8136)d9ef8c1
Bump actions/cache from 3.0.1 to 3.0.2 (#8135)85ca2c5
Bump eslint from 8.12.0 to 8.13.0 (#8132)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)