Update dependency react-leaflet to v3 - autoclosed
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
react-leaflet (source) | dependencies | major | ^2.8.0 -> 3.2.5 |
Release Notes
PaulLeCam/react-leaflet
v3.2.5
Fix supporting mutable whenCreated
with unmounting MapContainer
.
v3.2.4
Fix removing the map handlers when MapContainer
is unmounted.
v3.2.3
- Fix tooltip position (MR #939 by simonasdev).
- Fix attribution URLs and use HTTPS in docs (MR #930 by jpstotz).
v3.2.2
Fix layer unmount (MR #916 by piitaya).
v3.2.1
- Fix
Popup
unmounting logic to unbind from container. - Fix links to point to Leaflet 1.7.1 docs (MR #889 by zerekw).
v3.2.0
- Change unmounting logic for some layers, which should fix issues related to removing or updating elements.
- Make the
style
prop ofGeoJSON
mutable, this prop should be used instead ofpathOptions
(pathOptions
can still be used but should be considered deprecated). - Fix documentation about
bounds
prop being an instance ofLatLngBounds
.
v3.1.0
- Make
Pane
component compatible with React'sStrictMode
(MR #810 by zmbc) - Fix typo in API Components docs (MR #827 by arthurdenner)
v3.0.5
Use useState
hook rather than useMemo
to store immutable values in MapContainer
and Pane
v3.0.4
Update README
v3.0.3
- Document pathOptions for GeoJSON (MR #785 by bb)
- Ensure
MapContainer
props are immutable - Fix TypeScript definition for
MapContainer
props
v3.0.2
Additional fixes for panes support
v3.0.1
v3.0.0
v3 is a full rewrite of React Leaflet and contains breaking change from v2.
- Full rewrite based on React Hooks (no more extending
Component
) - Replace Flow by TypeScript for type checking
- Drop IE support (Babel config will only target the "last 2 versions" of modern browsers)
- Switch to the Hippocratic License
- The
Map
component is replaced byMapContainer
, behaving differently - Event handlers must be attached using the
eventHandlers prop
rather thanon*
props, with a similar change for path options and WMS params - The
react-leaflet
package only exposes a public API while a new package,@react-leaflet/core
, is used to provide the core APIs - A new documentation website using Docusaurus v2 with live examples
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.
Edited by Renovate Bot