Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DataValuesJavaScript.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
return 1;
}

define( 'DATA_VALUES_JAVASCRIPT_VERSION', '0.8.1' );
define( 'DATA_VALUES_JAVASCRIPT_VERSION', '0.8.2' );

// Include the composer autoloader if it is present.
if ( is_readable( __DIR__ . '/vendor/autoload.php' ) ) {
Expand Down
32 changes: 23 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ On [Packagist](https://packagist.org/packages/data-values/javascript):

## Release notes

### 0.8.2 (2016-04-12)
* Added 1/10000 of an arcsecond as a known precision to `globeCoordinate.Formatter`.
* Fixed `globeCoordinate.Formatter.PRECISIONTEXT` not properly supporting precisions lower than
1/1000 of an arcsecond.

### 0.8.1 (2016-04-08)
* Added support for undefined `precision` to `globeCoordinate.GlobeCoordinate`.
* Added `globe` support to `globeCoordinate.GlobeCoordinate`.
Expand All @@ -26,14 +31,19 @@ constants in DataValues Time.

#### Breaking changes
* Renamed `dataValues.UnUnserializableValue` to `dataValues.UnDeserializableValue`.
* Changed constructor parameter order of `dataValues.UnDeserializableValue` (formerly `dataValues.UnUnserializableValue`).
* Removed `time.js` legacy code, including `time.Time` and `time.Parser`. Every "vital" functionality has been ported to `dataValues.TimeValue` which now may be interacted with directly instead of having to retrieve the encapsulated `time.Time` object first.
* Changed constructor parameter order of `dataValues.UnDeserializableValue` (formerly
`dataValues.UnUnserializableValue`).
* Removed `time.js` legacy code, including `time.Time` and `time.Parser`. Every "vital"
functionality has been ported to `dataValues.TimeValue` which now may be interacted with directly
instead of having to retrieve the encapsulated `time.Time` object first.
* Removed obsolete `valueParsers.TimeParser`. Back-end parser is to be used via API.
* Removed obsolete `mw.ext.dataValues` module as it was just overwriting the obsolete `time.js` settings. Dependencies should be updated to point directly to the `dataValues.values` module.
* Removed obsolete `mw.ext.dataValues` module as it was just overwriting the obsolete `time.js`
settings. Dependencies should be updated to point directly to the `dataValues.values` module.

#### Enhancements
* Implemented `toJSON` and `newFromJSON` in `dataValues.UnDeserializableValue`.
* Consolidated code structure, updated and added code documentation to allow generating a proper documentation using JSDuck.
* Consolidated code structure, updated and added code documentation to allow generating a proper
documentation using JSDuck.

### 0.6.3 (2015-04-01)
* Remove explicit resource loader dependency on jquery.qunit.
Expand Down Expand Up @@ -66,7 +76,8 @@ constants in DataValues Time.

#### Bugfixes

* Don't limit precisions of globe coordinates in the UI (allows display of values with a non predefined precision)
* Don't limit precisions of globe coordinates in the UI (allows display of values with a non
predefined precision)

### 0.5.0 (2014-03-28)

Expand All @@ -78,7 +89,8 @@ constants in DataValues Time.

#### Enhancements

* Defined parameters of the promises returned by ValueFormatter's and ValueParser's format/parse functions.
* Defined parameters of the promises returned by ValueFormatter's and ValueParser's format/parse
functions.

### 0.4.0 (2014-03-24)

Expand All @@ -105,9 +117,11 @@ constants in DataValues Time.

#### Breaking changes

* Renamed "valueFormatters.factory" Resource Loader module to "valueFormatters.ValueFormatterFactory"
* Renamed "valueParsers.factory" Resource Loader module to "valueParsers.ValueParserFactory"
* Removed ValueView dependency from "mw.ext.valueFormatters" module and "mw.ext.valueParsers" module.
* Renamed "valueFormatters.factory" Resource Loader module to
"valueFormatters.ValueFormatterFactory".
* Renamed "valueParsers.factory" Resource Loader module to "valueParsers.ValueParserFactory".
* Removed ValueView dependency from "mw.ext.valueFormatters" module and "mw.ext.valueParsers"
module.

### 0.2.0 (2014-01-24)

Expand Down