From d1dc1fefcbe383557672f9ad0138b2ad521f31ea Mon Sep 17 00:00:00 2001 From: Ludovic Janot Date: Tue, 30 Jan 2024 17:31:07 +0100 Subject: [PATCH 1/2] Fix Geocoder proximity props default - fix error: "Proximity must be an array in the form [lon, lat]" --- packages/vue-mapbox-gl/components/MapboxGeocoder.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/vue-mapbox-gl/components/MapboxGeocoder.vue b/packages/vue-mapbox-gl/components/MapboxGeocoder.vue index 808922f..c8656c2 100644 --- a/packages/vue-mapbox-gl/components/MapboxGeocoder.vue +++ b/packages/vue-mapbox-gl/components/MapboxGeocoder.vue @@ -38,8 +38,8 @@ default: 'Search', }, proximity: { - type: Object, - default: () => ({}), + type: [Object, Array, String], + default: 'ip', }, trackProximity: { type: Boolean, From 61da13898206d9c562ab98674ead01537658ce61 Mon Sep 17 00:00:00 2001 From: Ludovic Janot Date: Tue, 30 Jan 2024 17:37:10 +0100 Subject: [PATCH 2/2] Bump version number --- CHANGELOG.md | 5 +++++ package-lock.json | 6 +++--- package.json | 2 +- packages/demo/package.json | 2 +- packages/docs/package.json | 2 +- packages/vue-mapbox-gl/package.json | 2 +- 6 files changed, 12 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f64ff0d..7199fe3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file. The format ## [Unreleased] +## [v2.3.4](https://github.com/studiometa/vue-mapbox-gl/compare/2.3.3...2.3.4) (2024-01-30) + +### Fixed +- Fix Geocoder proximity props default ([#133](https://github.com/studiometa/vue-mapbox-gl/pull/133)) + ## [v2.3.3](https://github.com/studiometa/vue-mapbox-gl/compare/2.3.2...2.3.3) (2024-01-12) ### Fixed diff --git a/package-lock.json b/package-lock.json index e84cc4a..be2e17c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14264,7 +14264,7 @@ }, "packages/demo": { "name": "@studiometa/vue-mapbox-gl-demo", - "version": "2.3.3", + "version": "2.3.4", "dependencies": { "@studiometa/vue-mapbox-gl": "file:../vue-mapbox-gl", "mapbox-gl": "^2.14.1", @@ -14274,7 +14274,7 @@ }, "packages/docs": { "name": "@studiometa/vue-mapbox-gl-docs", - "version": "2.3.3", + "version": "2.3.4", "devDependencies": { "sass": "^1.62.0", "tailwindcss": "^3.3.1", @@ -14283,7 +14283,7 @@ }, "packages/vue-mapbox-gl": { "name": "@studiometa/vue-mapbox-gl", - "version": "2.3.3", + "version": "2.3.4", "license": "GPL-3.0-or-later", "devDependencies": { "@mapbox/mapbox-gl-geocoder": "^5.0.1", diff --git a/package.json b/package.json index 80ca7b9..5b1a7dd 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@studiometa/vue-mapbox-gl-workspace", "private": true, - "version": "2.3.3", + "version": "2.3.4", "workspaces": [ "packages/*" ], diff --git a/packages/demo/package.json b/packages/demo/package.json index 469c215..24e2326 100644 --- a/packages/demo/package.json +++ b/packages/demo/package.json @@ -1,6 +1,6 @@ { "name": "@studiometa/vue-mapbox-gl-demo", - "version": "2.3.3", + "version": "2.3.4", "scripts": { "dev": "nuxt dev", "build": "nuxt build" diff --git a/packages/docs/package.json b/packages/docs/package.json index 1ef95f1..e289684 100644 --- a/packages/docs/package.json +++ b/packages/docs/package.json @@ -1,7 +1,7 @@ { "name": "@studiometa/vue-mapbox-gl-docs", "private": true, - "version": "2.3.3", + "version": "2.3.4", "scripts": { "dev": "vitepress", "build": "vitepress build" diff --git a/packages/vue-mapbox-gl/package.json b/packages/vue-mapbox-gl/package.json index ae86f68..64d014a 100644 --- a/packages/vue-mapbox-gl/package.json +++ b/packages/vue-mapbox-gl/package.json @@ -1,6 +1,6 @@ { "name": "@studiometa/vue-mapbox-gl", - "version": "2.3.3", + "version": "2.3.4", "description": "A small components library to use Mapbox GL in Vue 3.", "homepage": "https://github.com/studiometa/vue-mapbox-gl#readme", "bugs": {