All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.10.1 - 2023-06-16
- Utility functions are exported from the library.
0.10.0 - 2023-06-15
- Injection keys and exported values from function folder are now accessible through the lib.
- The Leaflet
className
option is now available onLGridLayer
and components that extend it.
- Playground works again after upgrade to TypeScript.
- LMap events fire once only, and with Leaflet arguments, closing #287 Click event not working with 0.9.0.
- Breaking: The
src
directory is no longer included in the build. Please use the new exports to access the injection keys and libary functions.
0.9.0 - 2023-03-12
- Vitest, and a few initial tests.
- TypeScript type declarations in compiled output.
- Converted codebase to TypeScript, finally closing #1 Typescript support.
0.8.4 - 2023-02-20
- Improved how the
<LMarker>
decides when not to render the default icon, resolving an additional issue surfaced in #266 Vue-leaflet LPopup does not update with prop change. - Reinstated use of the Leaflet global
L
by default, unintentionally removed in 1bb4a71, resolving #260 Geoman integration with Vue3 Leaflet.
0.8.3 - 2023-02-12
- The marker icon passed to the Leaflet constructor is now only replaced with an empty div when there is
additional content within the
<LMarker>
component, and at least some of that content is something other than a tooltip or popup, resolving #269 Marker with tooltip no longer visible with v0.8.2. - Tweaked how popups and tooltips are unbound when they unmount, resolving #266 Vue-leaflet LPopup does not update with prop change.
- Leaflet objects accessed via the
leafletObject
property of aref
are now all marked as raw, so they no longer returnProxy
instances.
- Ability to style GeoJSON layers through
:options-style
prop.
0.8.2 - 2023-02-05
- Debounced event handlers are now cleared on unmount, resolving #231 Possible Regression.
- Reworked attribution update handler to resolve #165 Error when updating attribution prop for tileLayer.
- Default Leaflet icon is replaced by an empty div initially when a Marker has content in its slot that has not yet rendered, resolving #170 Blinking default marker when using custom icon component.
- Resolved #138 vue3 this.$slots.default is not a function.
LTileLayer
now accepts an array of strings for itssubdomains
property, as well as a single string.LWmsTileLayer
now uses the correct Leaflet option nameuppercase
instead of the previousupperCase
.
0.8.1 - 2023-01-29
0.8.0 - 2023-01-26
- Import of Leaflet CSS in quickstart.
- Example of using HTML inside an
LIcon
component, to create aDivIcon
.
- Leaflet component defaults are no longer replaced with
undefined
when not set explicitly. - Resolved some errors caused by event handlers attempting to run after components had unmounted.
- Breaking:
LWmsTileLayer
no longer has its ownbaseUrl
property in addition to theurl
property it inherits fromLTileLayer
.
0.7.0 - 2022-12-08
- The
<l-map>
component now uses the globally availablewindow.L
instance of Leaflet by default. If you are using SSR in an existing project and relying on the default behaviour, you will now need to pass:useGlobalLeaflet="false"
to your<l-map>
.
- This changelog file.
- Quickstart and SSR sections in readme.
- Minor additional updates to the readme.
- Code formatting in some playground examples.
- Moved
@types/leaflet
todevDependencies
.
The following releases were created before the addition of this changelog: