Skip to content

Releases: PaulLeCam/react-leaflet

v5.0.0-rc.1

25 May 14:58
v5.0.0-rc.1
37164a1
Compare
Choose a tag to compare
v5.0.0-rc.1 Pre-release
Pre-release
  • React v19 is now required as peer dependency.
  • Removed LeafletProvider component from the core package.

v4.2.1

01 Mar 09:11
v4.2.1
9be06c0
Compare
Choose a tag to compare

Fixed bounds update in ImageOverlay (PR #1063 by hwonyo)

v4.2.0

27 Nov 20:15
v4.2.0
8880ab5
Compare
Choose a tag to compare

Added support for mutable url prop on TileLayer (PR #1047 by goto-bus-stop)

v4.1.0

24 Sep 10:20
v4.1.0
5d755bd
Compare
Choose a tag to compare
  • Updated Leaflet dependency to v1.9.
  • Fixed eventHandlers object being injected in WMS request URL.
  • Added support for dynamic bounds props on ImageOverlay.

v4.0.2

22 Aug 09:11
v4.0.2
36ee9db
Compare
Choose a tag to compare

v4.0.1

25 Jun 14:07
v4.0.1
dc2c245
Compare
Choose a tag to compare

Fix calling map.remove() on MapContainer unmounting.

v4.0.0

18 Apr 16:54
v4.0.0
1b6846d
Compare
Choose a tag to compare

Changes from v3:

Breaking changes

  • React v18 and Leaflet v1.8 are 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 (a ref callback can be used instead).
  • 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.
  • Added createLeafletContext function to core.
  • The created element and context objects are now frozen (immutable).

v4.0.0-beta.1

18 Apr 08:32
v4.0.0-beta.1
55137ed
Compare
Choose a tag to compare
v4.0.0-beta.1 Pre-release
Pre-release

Updated Leaflet dependency to v1.8 beta.

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.