Update dependency react-leaflet to v4 #307
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^1.9.1
->^4.0.0
Release Notes
PaulLeCam/react-leaflet (react-leaflet)
v4.2.1
Compare Source
Fixed bounds update in
ImageOverlay
(PR #1063 by
hwonyo)
v4.2.0
Compare Source
Added support for mutable
url
prop onTileLayer
(PR #1047 by
goto-bus-stop)
v4.1.0
Compare Source
eventHandlers
object being injected in WMS request URL.bounds
props onImageOverlay
.v4.0.2
Compare Source
(PR #1013 by
jacobtylerwalls)
object creation
(PR #1014 by
abac)
v4.0.1
Compare Source
Fix calling
map.remove()
onMapContainer
unmounting.v4.0.0
Compare Source
Changes from v3:
Breaking changes
useMapElement
hook.MapConsumer
component.whenCreated
property from theMapContainer
component (aref
callback can be used instead).
onOpen
andonClose
properties fromPopup
andTooltip
components.
Other changes
ref
in theMapContainer
andPane
components.createLeafletContext
function to core.v3.2.5
Compare Source
Fix supporting mutable
whenCreated
with unmountingMapContainer
.v3.2.4
Compare Source
Fix removing the map handlers when
MapContainer
is unmounted.v3.2.3
Compare Source
v3.2.2
Compare Source
Fix layer unmount (PR #916 by piitaya).
v3.2.1
Compare Source
Popup
unmounting logic to unbind from container.v3.2.0
Compare Source
style
prop ofGeoJSON
mutable, this prop should be used instead ofpathOptions
(pathOptions
can still be used but should be considered deprecated).bounds
prop being an instance ofLatLngBounds
.v3.1.0
Compare Source
Pane
component compatible with React'sStrictMode
(PR #810 by zmbc)v3.0.5
Compare Source
Use
useState
hook rather thanuseMemo
to store immutable values inMapContainer
andPane
.v3.0.4
: v3.0.3/3.0.4MapContainer
props are immutableMapContainer
propsv3.0.2
Compare Source
Additional fixes for panes support
v3.0.1
Compare Source
pane
prop supportv3.0.0
Compare Source
v3 is a full rewrite of React Leaflet and contains breaking change from v2.
Component
)Map
component is replaced byMapContainer
, behaving differentlyeventHandlers prop
rather thanon*
props, with a similar change for path options and WMS paramsreact-leaflet
package only exposes a public API while a new package,@react-leaflet/core
, is used to provide the core APIsv2.8.0
Compare Source
react-esri-leaflet
plugin (PR #768 by slutske22).v2.7.0
Compare Source
viewBox
andpreserveAspectRatio
props toSVGOverlay
component (PR #704 by spectras).v2.6.3
Compare Source
Fixed regression in v2.6.2 handling
maxZoom
andminZoom
options inMap
component.v2.6.2
Compare Source
maxZoom
andminZoom
options to tile layers.react-leaflet-geodesic
plugin (PR #656 by dcdourado).react-leaflet-arrowheads
andreact-leaflet-editable-popup
plugins (PR #678 by slutske22).v2.6.1
Compare Source
Fixed catching falsy values in
utils/pick
(PR #649 by CaptainLexington).v2.6.0
Compare Source
doubleClickZoom
option'scenter
setting to theMap
component (PR #633 by DerGuteMoritz).markersInheritOptions
prop toGeoJSON
component.react-leaflet-bing
plugin (PR #634 by Charmatzis).react-leaflet-google
plugin (PR #635 by Charmatzis).react-leaflet-curve
plugin (PR #636 by Shadowman4205).v2.5.0
Compare Source
SVGOverlay
component (PR #630 by fenech).GeoJSON
withPopup
example (PR #608 by hackleman).leaflet
parameter in theWMSTileLayer
URL.react-leaflet-enhanced-marker
plugin (PR #610 by ishaan6395).leaflet-drift-marker
plugin (PR #615 by hugobarragon).react-leaflet-street-view
plugin (PR #616 by ishaan6395).react-leaflet-rotatedmarker
plugin (PR #617 by verdie-g).react-leaflet-d3-svg-overlay
plugin (PR #628 by johannesloetzsch).v2.4.0
Compare Source
ZoomPanOptions
andFitBoundsOptions
toMap
component (PR #593 by scailbc).v2.3.0
Compare Source
useLeaflet
hook (PR #571 by vadzim).react-leaflet-google-layer
plugin (PR #576 by aviklai).webpack-serve
library bywebpack-dev-server
to run the examples.v2.2.1
Compare Source
LayerGroup
component (PR #570 by failociraptor).react-leaflet-textpath
plugin (PR #556 by clementallen).react-leaflet-control
compatibility status (PR #567 by robinmetral).v2.2.0
Compare Source
Path
(PR #549 by vadzim).whenReady
logic inMap
to get triggered after React reference is bound.lodash
withfast-deep-equal
and vanilla JS implementations (PR #554 by jtfell).react-leaflet-semicircle
plugin (PR #552 by clementallen).v2.1.4
Compare Source
Fixed event handlers changes in
Map
component.v2.1.3
Compare Source
react-leaflet-figure-editor
plugin (PR #542 by argonavt11).react-leaflet-box-zoom
plugin (PR #543 by ChrisLowe-Takor).v2.1.2
Compare Source
Pane
component.react-leaflet-geojson-patterns
plugin (PR #536 by lkazberova).v2.1.1
Compare Source
className
prop of theMap
component.react-leaflet-locate-control
as not compatible with v2 (PR #528 by eanajavi).v2.1.0
Compare Source
attribution
prop in layers.MapEvented
abstract class used byMapComponent
andMap
.react-leaflet-freedraw
plugin (PR #508 by elangobharathi).react-leaflet-distortable-imageoverlay
plugin (PR #511 by ChrisLowe-Takor).react-leaflet-sidetabs
plugin (PR #517 by eferhatg).leaflet-react-track-player
plugin (PR #523 by argonavt11).react-leaflet-wmts
plugin (PR #524 by mpivaa).v2.0.1
Compare Source
maxZoom
andminZoom
options toGridLayer
usingMap
options.react-leaflet-search
andreact-leaflet-zoom-indicator
plugins (PR #501 by tumerorkun).v2.0.0
Compare Source
Changes from v1.9.1:
DivOverlay
and thereforePopup
andTooltip
components, enabling context propagation (PR #475 by hannesj).div
elements withFragment
.collapsed
as dynamic property toLayersControl
.ControlledLayer
abstract class export.react-leaflet-nmscale
plugin (PR #479 by anajavi).Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.