Releases: scaccogatto/vue-geolocation
Releases · scaccogatto/vue-geolocation
Release list
v3.1.0
Added
distanceBetween(a, b)— pure haversine great-circle distance in meters; accepts the package'sCoordinatesor native-style{latitude, longitude}(LatLng). Closes #21.
Changed
- CI on Node 24 (latest LTS).
100% test coverage.
v3.0.1
Anchor release: npm vue-browser-geolocation@3.0.1 was published via workflow dispatch without a matching tag. This tag anchors 3.0.1 in repo history (the npm artifact was built from an earlier commit; no runtime changes here — docs/CI only since).
v3.0.0 — Vue 3 rewrite + OIDC
Vue 2 → Vue 3, rewritten in TypeScript. Published token-less via OIDC trusted publishing (provenance attached).
useGeolocation()composable + standalonegetLocation/watchLocation/clearWatch(the globalProperties plugin was dropped — the composable is the Vue 3 idiom)- Fixed #15 (watch now streams every position update) and #17 (rejects the full
GeolocationPositionErrorwith.code) - 69 → 0 vulnerabilities; ESM + CJS + real types; CI on Node 24
npm i vue-browser-geolocation
Test options
Merge pull request #14 from HCESrl/master Add forceReject parameter, to simulate browser failure
Accuracy
Merge pull request #12 from gorbypark/master Return all information from geolocation interface
Vulnerability updates
Watch location
Merge pull request #10 from scaccogatto/scaccogatto-patch-1 Version up
1.1.1: Merge pull request #7 from sebastiansson/options
Build, fix typo & update version
Position Options
Merge pull request #6 from sebastiansson/options :wrench: Add options