Skip to content

Releases: scaccogatto/vue-geolocation

v3.1.0

Choose a tag to compare

@scaccogatto scaccogatto released this 17 Jul 12:48

Added

  • distanceBetween(a, b) — pure haversine great-circle distance in meters; accepts the package's Coordinates or native-style {latitude, longitude} (LatLng). Closes #21.

Changed

  • CI on Node 24 (latest LTS).

100% test coverage.

v3.0.1

Choose a tag to compare

@scaccogatto scaccogatto released this 17 Jul 10:05

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

Choose a tag to compare

@scaccogatto scaccogatto released this 28 Jun 11:39

Vue 2 → Vue 3, rewritten in TypeScript. Published token-less via OIDC trusted publishing (provenance attached).

  • useGeolocation() composable + standalone getLocation/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 GeolocationPositionError with .code)
  • 69 → 0 vulnerabilities; ESM + CJS + real types; CI on Node 24

npm i vue-browser-geolocation

Test options

Choose a tag to compare

@scaccogatto scaccogatto released this 23 Oct 14:45
Merge pull request #14 from HCESrl/master

Add forceReject parameter, to simulate browser failure

Accuracy

Choose a tag to compare

@scaccogatto scaccogatto released this 21 Aug 20:56
Merge pull request #12 from gorbypark/master

Return all information from geolocation interface

Vulnerability updates

Choose a tag to compare

@scaccogatto scaccogatto released this 20 Jul 07:35
v1.4.0

1.4.0

Watch location

Choose a tag to compare

@scaccogatto scaccogatto released this 29 May 06:40
Merge pull request #10 from scaccogatto/scaccogatto-patch-1

Version up

1.1.1: Merge pull request #7 from sebastiansson/options

Choose a tag to compare

@scaccogatto scaccogatto released this 23 May 10:39
Build, fix typo & update version

Position Options

Choose a tag to compare

@scaccogatto scaccogatto released this 23 May 06:51
Merge pull request #6 from sebastiansson/options

:wrench: Add options