Releases: PaulLeCam/react-leaflet
Releases · PaulLeCam/react-leaflet
v2.1.3
v2.1.2
v2.1.1
v2.1.0
- Added support for dynamic
attribution
prop in layers. - Added
MapEvented
abstract class used byMapComponent
andMap
. - [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
v2.0.0
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 thereforePopup
andTooltip
components, enabling context propagation (PR #475 by hannesj). - Replaced wrapping
div
elements withFragment
. - Added
collapsed
as dynamic property toLayersControl
. - 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
Added collapsed
as dynamic property to LayersControl
.
v2.0.0-rc.2
- Added
ControlledLayer
abstract class export. - [website] Updated docs for abstract classes and usage for custom components.
v2.0.0-rc.1
v2.0.0-beta.1
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 thereforePopup
andTooltip
components, enabling context propagation (PR #475 by hannesj). - Replaced wrapping
div
elements withFragment
.