v1.8.0 #8149
Replies: 3 comments 9 replies
-
First of all, many many thanks for all the work and effort! However, I have a small question regarding the version number. We have set up the projects so that renovate automatically updates package with patch and minor changes. Major changes are not automatically updated or merged due to possible breaking changes. Of course we have tested everything. But there is always the chance that something has not been tested and will not work anymore due to a major update. Maybe I'm completely wrong here, too. However, I learned in college that patch versions are for small fixes, minor for new features, and major versions for breaking changes. With this in mind, shouldn't the new version number of Leaflet be v2.0.0? Please do not take this as criticism! Rather as an idea for a next release / a friendly inquiry :). |
Beta Was this translation helpful? Give feedback.
-
Hi Thank you for a great job :-) In v. 1.7.1 the /dist also contained src-files (leaflet-src.esm.js, leaflet-src.js, leaflet.js etc) |
Beta Was this translation helpful? Give feedback.
-
@Falke-Design there were some important fixes landing recently, e.g. the last one fixing some broken plugins — should we release v1.8.1 of the current Leaflet state? |
Beta Was this translation helpful? Give feedback.
-
A huge release (the first one in 1.5 years), 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. 🍃
From now on, releases will become much more frequent. Thanks to our amazing community for all your help and patience. ❤️🙏 This release is dedicated to Ukrainian fight for freedom and democracy against the Russian invasion 🇺🇦 (see how you can support Ukraine here).
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. ❤️
contextmenu
event simulation on mobile Safari by introducing a newTapHold
handler, replacing legacyTap
(#7026 by @johnd0e)DivOverlay
/Popup
/Tooltip
APIs (#7540 by @johnd0e)Popup
related options fromDivOverlay
toPopup
(#7778 by @Falke-Design)Tooltip
class fromleaflet-clickable
toleaflet-interactive
(#7719 by @Falke-Design)Map.closeTooltip
now requires a layer as argument (#7533 by @johnd0e)DomEvent.Pointer
) (#7059, #7084, #7415 by @johnd0e)dblclick
event simulation on touch devices (DomEvent.DoubleTap
) (#7027 by @johnd0e)disableClickPropagation
(#7439 by @johnd0e)Map
hasLayer()
andLayerGroup
hasLayer()
to require a layer as argument (#6999 by @johnd0e)Class.include
to not overwriteoptions
(#7756 by @johnd0e)Class.extend
to not modify source props object (#6766 by @johnd0e)Browser.touch
touch devices detection (#7029 by @johnd0e)font-size
relative to the map container. (You can change the font size onleaflet-container
to adjust it if needed.) (#7800 by @Chandu-4444)❇️ API changes
DivOverlay
/Tooltip
interactive
(#7531, #7532 by @johnd0e)openOn
,close
,toggle
functions toDivOverlay
(#6639 by @johnd0e)DomEvent.off(el)
to remove all listeners (#7125 by @johnd0e)false
toUtil.formatNum
/toGeoJSON
(#7100 by @johnd0e)autoPanOnFocus
toMarker
(#8042 by @IvanSanchez)referrerPolicy
toTileLayer
(#7945 by @natevw)playsInline
toVideoOverlay
(#7928 by @Falke-Design)getCenter
toImageOverlay
(#7848 by @Falke-Design)tileabort
event when aTileLayer
load is cancelled (#6786 by @dstndstn)crossOrigin
toIcon
(#7298 by @syedmuhammadabid)✨ Improvements
will-change
CSS property on tile images (#7872 by @janjaap)GridLayer.onAdd
(#7570 by @johnd0e)panInside
(#7469 by @daverayment)TileLayer
URL (#7216 by @lubojr)Tooltip
bound toImageOverlay
(#7306 by @IvanSanchez)mousemove
through Canvas to map if it has no layers (#7809 by @johnd0e)Layer
toControl.Attribution
(#7764 by @johnd0e)vmlCreate()
so that it does not expose closure toTypeError
(#7279 by @darcyparker)Control.Layers
by not relying on Browserandroid
andtouch
properties (#7057 by @johnd0e)Tooltip
by not relying on Browsertouch
checks (#7535 by @johnd0e)Browser
mutable for easier automated testing (#7335 by @bozdoz)div
withspan
inControl.Layers
container to fix an HTML validation error (#7914 by @tmiaa)🙌 Accessibility
Marker
to default torole="button"
&alt="marker"
for an improved screen reader experience (#7895 by @tmiaa)role="button"
for appropriate semantics on the<a>
layers control (#7850 by @Malvoz)outline
on focus for keyboard events (#7259 by @jafin)leaflet-container
for keyboard users (#7996 by @Malvoz)font-size
units for resizable text (#7800 by @Chandu-4444):hover
styles to:focus
as well (#7274 by @Malvoz)🐞 Bug fixes
Marker
jumping position while zooming in certain cases (#7967 by @Falke-Design)Tooltip
while dragging the map (#7862 by @Falke-Design)Class
prototype (#7459 by @Falke-Design)Tooltip
optionspermanent
&sticky
to work together (#7563 by @Falke-Design)locate
event listener (#7813 by @Falke-Design)Tooltip
bindTooltip
to unbind existent tooltip (#7633 by @Falke-Design)if
condition, to add zoom limits for Layer (#7609 by @vcoppe)GridLayer
redraw tiles after changingmaxNativeZoom
(#6443 by @cherniavskii)Popup
keepInView
if the map needs to panned over a long distance (#7792 by @Falke-Design)add/removePointerListener
(#7808 by @johnd0e)mousedown
event calling after draggingCanvas
map (#7781 by @johnd0e)console.warn
pollution (#7748 by @johnd0e)contextmenu
event default-preventing when there are >1 target candidates (#7544 by @johnd0e)Popup
-tip from firing on map. (#7541 by @johnd0e)Path.setStyle
before adding the layer to the map (#6941 by @NielsHolt)BoxZoom
after cancel with ESC (#7597 by @Falke-Design)noConflict
(#7855 by @Falke-Design)latLngToCoords
andlatLngsToCoords
not accepting array form of lat/lngs (#7436, by @Relkfaw)📝 Docs
zoomend
event (#7460 by @xeruf)false
toprefix
ofControl.Attribution
(#7814 by @Falke-Design)LayerGroup
inherit fromInteractive Layer
(#7763 by @johnd0e)Map.panInside
documentation (#7397 by @daverayment)Renderer
documentation to clarifytolerance
option is forCanvas
only (#7515 by @Hippl-Eric)propagate
argument (#7103 by @riffaud)🔧 Workflow
plugins.md
into many files for easier maintenance (#7805 by @Falke-Design)npm run serve
to serve docs on localhost (#7973 by @Falke-Design)master
branch tomain
(#7921 by @jonkoops)leaflet-include.js
fromdebug
samples (#7776 by @Falke-Design)🧪 Tests
Internet Explorer 11
(#7741 by @jonkoops)FirefoxNoTouch
(#7736, #7742 by @johnd0e)PhantomJS
from test suite (#7660, #7724 by @jonkoops).near
and.nearLatLng
usage (#7820 by @johnd0e)captureTimeout
andbrowserSocketTimeout
(#7856 by @Falke-Design)DomEvent
with unit tests (by @stephenspol in CoverDomEvent
with unit tests #8088)DomUtil
with unit tests (#7547, by @LGNorris)🔩 Plugins
This discussion was created from the release v1.8.0.
Beta Was this translation helpful? Give feedback.
All reactions