Skip to content

Releases: PaulLeCam/react-leaflet

v3.0.5

19 Dec 11:30
v3.0.5
e2e3664
Compare
Choose a tag to compare

Use useState hook rather than useMemo to store immutable values in MapContainer and Pane.

v3.0.3/3.0.4

13 Dec 15:28
v3.0.4
1610998
Compare
Choose a tag to compare
  • Document pathOptions for GeoJSON (PR #785 by bb)
  • Ensure MapContainer props are immutable
  • Fix TypeScript definition for MapContainer props
  • Update README

v3.0.2

08 Nov 14:49
v3.0.2
8ca7548
Compare
Choose a tag to compare

Additional fixes for panes support

v3.0.1

07 Nov 10:41
v3.0.1
116a8f9
Compare
Choose a tag to compare
  • Fixed pane prop support
  • Use standard SPDX license name (PR #781 by nertzy)

v3.0.0

31 Oct 11:18
v3.0.0
ea129b4
Compare
Choose a tag to compare

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

v3.0.0-rc.0

22 Oct 16:39
v3.0.0-rc.0
fa0434d
Compare
Choose a tag to compare
v3.0.0-rc.0 Pre-release
Pre-release
  • Use stable release of React v17
  • Fixed incorrect example in docs (PR #767 by dipiash)

v2.8.0

22 Oct 15:58
v2.8.0
3c216dc
Compare
Choose a tag to compare
  • Added React v17 to peer dependencies (PR #773 by anajavi).
  • [website] Added react-esri-leaflet plugin (PR #768 by slutske22).

v3.0.0-beta.5

20 Sep 16:47
v3.0.0-beta.5
558bf64
Compare
Choose a tag to compare
v3.0.0-beta.5 Pre-release
Pre-release
  • Remove preserveAspectRatio and viewport props from SVGOverlay, replaced by attributes prop.
  • Add third-party plugins page to documentation website.

v3.0.0-beta.4

16 Aug 14:38
v3.0.0-beta.4
25d62ab
Compare
Choose a tag to compare
v3.0.0-beta.4 Pre-release
Pre-release

v3.0.0-beta.2

25 Jul 14:33
v3.0.0-beta.2
3c2febd
Compare
Choose a tag to compare
v3.0.0-beta.2 Pre-release
Pre-release
  • Fix LayersControl lifecycle logic causing layer removal
  • Use terser instead of uglifyjs to minify the UMD build (PR #735 by anajavi)