Releases: PaulLeCam/react-leaflet
Releases · PaulLeCam/react-leaflet
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
.
v1.9.1
v1.9.0
- 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 forPopup
andTooltip
, now supporting dynamicclassName
prop. - [website] Updated Docusaurus, with added on-page navigation sidebar.
v1.8.2
v1.8.1
v1.8.0
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 toImageOverlay
(new in Leaflet v1.3). - [website] Setup the website.
- [website] Fix links to examples (PR #430 by subelsky).