From 5d5d5a4a5c4bf4be9304c153f44daec618044925 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thiemo=20M=C3=A4ttig?= Date: Thu, 6 Aug 2015 12:43:46 +0200 Subject: [PATCH] Release 0.8.0 --- DataValuesJavaScript.php | 2 +- README.md | 13 ++++++++++--- src/values/TimeValue.js | 2 +- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/DataValuesJavaScript.php b/DataValuesJavaScript.php index 8715ea7..f932def 100644 --- a/DataValuesJavaScript.php +++ b/DataValuesJavaScript.php @@ -7,7 +7,7 @@ return 1; } -define( 'DATA_VALUES_JAVASCRIPT_VERSION', '0.7.0' ); +define( 'DATA_VALUES_JAVASCRIPT_VERSION', '0.8.0' ); // Include the composer autoloader if it is present. if ( is_readable( __DIR__ . '/vendor/autoload.php' ) ) { diff --git a/README.md b/README.md index 3e4cdc1..009bdf4 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,13 @@ On [Packagist](https://packagist.org/packages/data-values/javascript): ## Release notes +### 0.8.0 (2016-01-07) + +#### Breaking changes +* `valueParsers.StringParser.parse` now resolves empty strings to `null`. +* Renamed string `id`s for the 0 to 6 `dataValues.TimeValue.PRECISIONS` to be identical to the PHP +constants in DataValues Time. + ### 0.7.0 (2015-06-03) #### Breaking changes @@ -90,7 +97,7 @@ On [Packagist](https://packagist.org/packages/data-values/javascript): * Fixed valueParsers ResourceLoader module definition template. -### 0.3 (2014-01-30) +### 0.3.0 (2014-01-30) #### Breaking changes @@ -98,7 +105,7 @@ On [Packagist](https://packagist.org/packages/data-values/javascript): * Renamed "valueParsers.factory" Resource Loader module to "valueParsers.ValueParserFactory" * Removed ValueView dependency from "mw.ext.valueFormatters" module and "mw.ext.valueParsers" module. -### 0.2 (2014-01-24) +### 0.2.0 (2014-01-24) #### Breaking changes @@ -113,6 +120,6 @@ On [Packagist](https://packagist.org/packages/data-values/javascript): * #16 Have the tests run on TravisCI using PhantomJS * #18 Provided QUnit test runner using requireJS -### 0.1 (2013-12-23) +### 0.1.0 (2013-12-23) Initial release. diff --git a/src/values/TimeValue.js b/src/values/TimeValue.js index 58c61be..974bd60 100644 --- a/src/values/TimeValue.js +++ b/src/values/TimeValue.js @@ -314,7 +314,7 @@ SELF.getCalendarModelKeyByUri = function( uri ) { * Precision configuration. * @property {Object} * @static - * @since 0.7 + * @since 0.8 */ SELF.PRECISIONS = [ { id: 'YEAR1G', text: 'billion years' },