Skip to content

Releases: PaulLeCam/react-leaflet

v4.0.0-beta.0

02 Apr 10:36
v4.0.0-beta.0
2c75fdd
Compare
Choose a tag to compare
v4.0.0-beta.0 Pre-release
Pre-release

Updated React dependencies to v18 stable.

v4.0.0-alpha.2

12 Mar 10:54
v4.0.0-alpha.2
1d3828a
Compare
Choose a tag to compare
v4.0.0-alpha.2 Pre-release
Pre-release
  • Added createLeafletContext function to core.
  • Updated React dependencies to v18 RC2.
  • Changed Leaflet dependency range to v1.7.x until tested with v1.8.x.

v4.0.0-alpha.1

05 Feb 12:23
v4.0.0-alpha.1
e48128e
Compare
Choose a tag to compare
v4.0.0-alpha.1 Pre-release
Pre-release

Breaking changes

  • React v18 is now required as peer dependency.
  • ES2020 is the new compilation target version.
  • Removed useMapElement hook.
  • Removed MapConsumer component.
  • Removed whenCreated property from the MapContainer component.
  • Removed onOpen and onClose properties from Popup and Tooltip components.
  • Removed CommonJS distribution.
  • Removed UMD distribution.

Other changes

  • Added support for React v18 (concurrent mode).
  • Added support for ref in the MapContainer and Pane components.
  • The created element and context objects are now frozen (immutable).
  • Updated docs for v4 support.

Links

v3.2.5

15 Jan 10:56
v3.2.5
ca1e765
Compare
Choose a tag to compare

Fix supporting mutable whenCreated with unmounting MapContainer.

v3.2.4

09 Jan 11:27
v3.2.4
9f88d11
Compare
Choose a tag to compare

Fix removing the map handlers when MapContainer is unmounted.

v3.2.3

08 Jan 11:55
v3.2.3
5bfbc45
Compare
Choose a tag to compare

v3.2.2

09 Oct 15:58
v3.2.2
fd9ad72
Compare
Choose a tag to compare

Fix layer unmount (PR #916 by piitaya).

v3.2.1

02 Aug 12:00
v3.2.1
7c63621
Compare
Choose a tag to compare
  • Fix Popup unmounting logic to unbind from container.
  • Fix links to point to Leaflet 1.7.1 docs (PR #889 by zerekw).

v3.2.0

15 May 18:51
v3.2.0
d18c8fb
Compare
Choose a tag to compare
  • 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

30 Jan 15:36
v3.1.0
85d68d1
Compare
Choose a tag to compare