Skip to content

Releases: PaulLeCam/react-leaflet

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.

v1.9.1

22 Mar 03:11
Compare
Choose a tag to compare
  • Added check for open popup to rendering logic (PR #464 by olabalboa).
  • [website] Added plugins (PR #463 by mhasbie).

v1.9.0

14 Mar 05:09
Compare
Choose a tag to compare
  • Fixed event listeners removal in Map (PR #459 by andersonveiga).
  • Added support for dynamic handlers in Map (PR #452 by jonathanchrisp).
  • Added DivOverlay component as base class for Popup and Tooltip, now supporting dynamic className prop.
  • [website] Updated Docusaurus, with added on-page navigation sidebar.

v1.8.2

26 Feb 02:04
Compare
Choose a tag to compare
  • Fixed Map unmounting when preferCanvas is set.
  • Added es folder to npm package (PR #449 by jonathanchrisp).
  • [website] Fixed link in examples page.
  • [internal] Updated examples to webpack 4.

v1.8.1

21 Feb 23:33
Compare
Choose a tag to compare
  • Fixed Tooltip component unmounting.
  • Updated Flow support for v0.66 (PR #447 by slek22).
  • [website] Fixed typo (PR #440 by BartWaardenburg).
  • [website] Added plugins (PR #446 by mhasbie).

v1.8.0

15 Jan 20:58
Compare
Choose a tag to compare

React-Leaflet now has a website! Check out react-leaflet.js.org to browse the documentation.
If you wish to help out improving the website, this issue is a good starting point!

  • Updated documentation and dependency to
    Leaflet v1.3.
  • Add HTMLImageElement support to ImageOverlay (new in Leaflet v1.3).
  • [website] Setup the website.
  • [website] Fix links to examples (PR #430 by subelsky).

v1.7.8

03 Dec 01:05
Compare
Choose a tag to compare

Update Popup and Tooltip layout after render (PR #423 by jeffchan).

v1.7.7

27 Nov 21:23
Compare
Choose a tag to compare

More permissive support for the className prop of Map.

v1.7.6

23 Nov 20:08
Compare
Choose a tag to compare
  • Fixed supporting Popup children in CircleMarker.
  • Fixed updating multiple classes in the className prop of Map.