diff --git a/leaflet-map.php b/leaflet-map.php index e4a6aca..32c229f 100644 --- a/leaflet-map.php +++ b/leaflet-map.php @@ -8,7 +8,7 @@ * Author URI: https://bozdoz.com/ * Text Domain: leaflet-map * Domain Path: /languages/ - * Version: 3.1.0 + * Version: 3.2.0 * License: GPL2 * Leaflet Map is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -29,7 +29,7 @@ exit; } -define('LEAFLET_MAP__PLUGIN_VERSION', '3.1.0'); +define('LEAFLET_MAP__PLUGIN_VERSION', '3.2.0'); define('LEAFLET_MAP__PLUGIN_FILE', __FILE__); define('LEAFLET_MAP__PLUGIN_DIR', plugin_dir_path(__FILE__)); diff --git a/package-lock.json b/package-lock.json index 7f9d3f5..32c7885 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "wp-plugin-leaflet-map", - "version": "3.1.0", + "version": "3.2.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "wp-plugin-leaflet-map", - "version": "3.1.0", + "version": "3.2.0", "license": "GPL-2.0", "devDependencies": { "jest": "^27.0.5", diff --git a/package.json b/package.json index dcd75af..aafa202 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "wp-plugin-leaflet-map", "private": true, - "version": "3.1.0", + "version": "3.2.0", "description": "Leaflet Map WordPress Plugin", "scripts": { "start": "docker-compose up && exit 0", @@ -10,6 +10,7 @@ "wordpress": "docker-compose run wordpress bash", "cli": "docker-compose run cli sh", "translate": "cd ./languages && sudo php ../../wp-trunk/tools/i18n/makepot.php wp-plugin ../", + "changes": "VERSION=$(echo $VERSION || node -e \"console.log(require('./package.json').version)\") && git log v${VERSION}..HEAD --oneline", "test": "jest" }, "repository": { diff --git a/readme.txt b/readme.txt index 7ffa22a..887175b 100644 --- a/readme.txt +++ b/readme.txt @@ -7,8 +7,8 @@ Donate link: https://www.paypal.me/bozdoz Tags: leaflet, map, mobile, javascript, openstreetmap, mapquest, interactive Requires at least: 4.6 Tested up to: 6.1.1 -Version: 3.1.0 -Stable tag: 3.1.0 +Version: 3.2.0 +Stable tag: 3.2.0 License: GPLv2 License URI: https://www.gnu.org/licenses/gpl-2.0.html @@ -149,6 +149,13 @@ For more FAQs, please visit the [FAQ section on GitHub here](https://github.com/ == Changelog == += 3.2.0 = +* Adds banner if default js is out-of-sync +* Adds do_shortcode in popups +* Fixes error if geocoder fails to get a lat/lng +* Fixes deprecated warnings in php 8.1 +* Fixes detect retina and maxzoom issues + = 3.1.0 = * Bumps leaflet default version to 1.9.3 * Checks for `lat` and `lon` in osm_geocode with `isset` @@ -450,6 +457,11 @@ For more FAQs, please visit the [FAQ section on GitHub here](https://github.com/ == Upgrade Notice == += 3.2.0 = +* Fixes error if geocoder fails to get a lat/lng +* Fixes deprecated warnings in php 8.1 +* Fixes detect retina and maxzoom issues + = 3.1.0 = Reduces php warnings by checking for `lat` and `lon` in osm_geocode with `isset()`. Adds min, max, step to inputs for zoom, minZoom, and maxZoom.