Skip to content

Update dependency react-leaflet to v3 - autoclosed

Renovate Bot requested to merge renovate/react-leaflet-3.x into master

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

Compare Source

Fix supporting mutable whenCreated with unmounting MapContainer.

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 (MR #​916 by piitaya).

v3.2.1

Compare Source

  • 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

Compare Source

  • Change unmounting logic for some layers, which should fix issues related to removing or updating elements.
  • Make the style prop of GeoJSON mutable, this prop should be used instead of pathOptions (pathOptions can still be used but should be considered deprecated).
  • Fix documentation about bounds prop being an instance of LatLngBounds.

v3.1.0

Compare Source

v3.0.5

Compare Source

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

Compare Source

Additional fixes for panes support

v3.0.1

Compare Source

v3.0.0

Compare Source

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 by MapContainer, behaving differently
  • Event handlers must be attached using the eventHandlers prop rather than on* 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

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, click this checkbox.

This MR has been generated by Renovate Bot.

Edited by Renovate Bot

Merge request reports