Releases: PaulLeCam/react-leaflet
Releases · PaulLeCam/react-leaflet
v3.0.5
v3.0.3/3.0.4
v3.0.2
v3.0.1
v3.0.0
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 byMapContainer
, behaving differently - Event handlers must be attached using the
eventHandlers prop
rather thanon*
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
v2.8.0
v3.0.0-beta.5
- Remove
preserveAspectRatio
andviewport
props fromSVGOverlay
, replaced byattributes
prop. - Add third-party plugins page to documentation website.