From cabd4bfa36c05072505a67b4a731adc5bd61bbff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thiemo=20M=C3=A4ttig?= Date: Fri, 8 Apr 2016 17:22:07 +0200 Subject: [PATCH] Release 0.8.1 --- DataValuesJavaScript.php | 2 +- README.md | 4 ++++ lib/globeCoordinate/globeCoordinate.GlobeCoordinate.js | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/DataValuesJavaScript.php b/DataValuesJavaScript.php index f932def..9fe7e4d 100644 --- a/DataValuesJavaScript.php +++ b/DataValuesJavaScript.php @@ -7,7 +7,7 @@ return 1; } -define( 'DATA_VALUES_JAVASCRIPT_VERSION', '0.8.0' ); +define( 'DATA_VALUES_JAVASCRIPT_VERSION', '0.8.1' ); // Include the composer autoloader if it is present. if ( is_readable( __DIR__ . '/vendor/autoload.php' ) ) { diff --git a/README.md b/README.md index 009bdf4..6ea379a 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,10 @@ On [Packagist](https://packagist.org/packages/data-values/javascript): ## Release notes +### 0.8.1 (2016-04-08) +* Added support for undefined `precision` to `globeCoordinate.GlobeCoordinate`. +* Added `globe` support to `globeCoordinate.GlobeCoordinate`. + ### 0.8.0 (2016-01-07) #### Breaking changes diff --git a/lib/globeCoordinate/globeCoordinate.GlobeCoordinate.js b/lib/globeCoordinate/globeCoordinate.GlobeCoordinate.js index 2409cec..c588cae 100644 --- a/lib/globeCoordinate/globeCoordinate.GlobeCoordinate.js +++ b/lib/globeCoordinate/globeCoordinate.GlobeCoordinate.js @@ -13,6 +13,7 @@ * - {number} latitude * - {number} longitude * - {number|null} [precision] + * - {string|null} [globe] Defaults to http://www.wikidata.org/entity/Q2. * * @throws {Error} when latitude is greater than 360. * @throws {Error} when longitude is greater than 360.