Releases: PaulLeCam/react-leaflet
Releases · PaulLeCam/react-leaflet
v5.0.0
v5.0.0-rc.2
This RC uses the stable releases of React v19.
v5.0.0-rc.1
- React v19 is now required as peer dependency.
- Removed
LeafletProvidercomponent from the core package.
v4.2.1
v4.2.0
v4.1.0
v4.0.2
v4.0.1
v4.0.0
Changes from v3:
Breaking changes
- React v18 and Leaflet v1.8 are now required as peer dependency.
- ES2020 is the new compilation target version.
- Removed
useMapElementhook. - Removed
MapConsumercomponent. - Removed
whenCreatedproperty from theMapContainercomponent (arefcallback can be used instead). - Removed
onOpenandonCloseproperties fromPopupandTooltipcomponents. - Removed CommonJS distribution.
- Removed UMD distribution.
Other changes
- Added support for React v18 (concurrent mode).
- Added support for
refin theMapContainerandPanecomponents. - Added
createLeafletContextfunction to core. - The created element and context objects are now frozen (immutable).
v4.0.0-beta.1
Updated Leaflet dependency to v1.8 beta.