Skip to content

Releases: PaulLeCam/react-leaflet

v2.1.3

15 Dec 15:54
v2.1.3
622d4a9
Compare
Choose a tag to compare
  • [website] Added react-leaflet-figure-editor plugin (PR #542 by argonavt11).
  • [website] Added react-leaflet-box-zoom plugin (PR #543 by ChrisLowe-Takor).
  • Added example for custom icons usage (PR #545 by rlahoda).
  • Updated Flow types support for Flow v0.89.

v2.1.2

10 Nov 13:21
v2.1.2
ab9ec00
Compare
Choose a tag to compare
  • Fixed support for multiple classes in the Pane component.
  • [internal] Replaced some lodash functions (PR #533 by radeno).
  • [website] Added react-leaflet-geojson-patterns plugin (PR #536 by lkazberova).

v2.1.1

22 Oct 22:19
v2.1.1
0f1196b
Compare
Choose a tag to compare
  • Fixed regression when updating the className prop of the Map component.
  • [internal] Use ESM babel runtime (PR #527 by eanajavi).
  • [website] Indicate react-leaflet-locate-control as not compatible with v2 (PR #528 by eanajavi).

v2.1.0

06 Oct 14:33
v2.1.0
91f029e
Compare
Choose a tag to compare
  • Added support for dynamic attribution prop in layers.
  • Added MapEvented abstract class used by MapComponent and Map.
  • [website] Added react-leaflet-freedraw plugin (PR #508 by elangobharathi).
  • [website] Updated "Lifecycle process" overview (PR #509 by clintharris).
  • [website] Added react-leaflet-distortable-imageoverlay plugin (PR #511 by ChrisLowe-Takor).
  • [website] Fixed typo in docs (PR #513 by Roconda).
  • [website] Added react-leaflet-sidetabs plugin (PR #517 by eferhatg).
  • [website] Added leaflet-react-track-player plugin (PR #523 by argonavt11).
  • [website] Added react-leaflet-wmts plugin (PR #524 by mpivaa).
  • [internal] Updated Babel dependency to v7.

v2.0.1

14 Aug 19:47
v2.0.1
37fcbc3
Compare
Choose a tag to compare
  • Fixed setting maxZoom and minZoom options to GridLayer using Map options.
  • [website] Added react-leaflet-search and react-leaflet-zoom-indicator plugins (PR #501 by tumerorkun).

v2.0.0

05 Jul 20:06
v2.0.0
1f39da9
Compare
Choose a tag to compare

Changes from v1.9.1:

  • [BREAKING] Updated React dependency to v16.3.
  • [BREAKING] Replaced React context usage with new APIs introduced in React v16.3.
  • [BREAKING] Removed PropTypes.
  • [BREAKING] Dropped support for IE < 11.
  • React Portals are now used to render the DivOverlay and therefore Popup and Tooltip components, enabling context propagation (PR #475 by hannesj).
  • Replaced wrapping div elements with Fragment.
  • Added collapsed as dynamic property to LayersControl.
  • Added ControlledLayer abstract class export.
  • [website] Added react-leaflet-nmscale plugin (PR #479 by anajavi).
  • [website] Added 3 plugins (PR #482 by fullhdpixel).
  • [website] Updated docs for abstract classes and usage for custom components.

v2.0.0-rc.3

02 Jul 17:16
v2.0.0-rc.3
111eb91
Compare
Choose a tag to compare
v2.0.0-rc.3 Pre-release
Pre-release

Added collapsed as dynamic property to LayersControl.

v2.0.0-rc.2

28 Jun 21:08
v2.0.0-rc.2
5bc490c
Compare
Choose a tag to compare
v2.0.0-rc.2 Pre-release
Pre-release
  • Added ControlledLayer abstract class export.
  • [website] Updated docs for abstract classes and usage for custom components.

v2.0.0-rc.1

10 Jun 13:36
v2.0.0-rc.1
5ee17a3
Compare
Choose a tag to compare
v2.0.0-rc.1 Pre-release
Pre-release
  • [website] Added react-leaflet-nmscale plugin (PR #479 by anajavi).
  • [website] Added 3 plugins (PR #482 by fullhdpixel).

v2.0.0-beta.1

26 May 15:35
v2.0.0-beta.1
886b2ba
Compare
Choose a tag to compare
v2.0.0-beta.1 Pre-release
Pre-release

First beta for v2, with a few breaking changes. Plugins and custom components will likely need to be updated to use the new context API.

It can be installed from npm using the next tag: yarn add react-leaflet@next.
A new CodePen is also available: https://codepen.io/PaulLeCam/pen/gzVmGw

Changes

  • [BREAKING] Updated React dependency to v16.3.
  • [BREAKING] Replaced React context usage with new APIs introduced in React v16.3.
  • [BREAKING] Removed PropTypes.
  • [BREAKING] Dropped support for IE < 11.
  • React Portals are now used to render the DivOverlay and therefore Popup and Tooltip components, enabling context propagation (PR #475 by hannesj).
  • Replaced wrapping div elements with Fragment.