Skip to content

Commit

Permalink
Release 0.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
thiemowmde committed Jul 19, 2016
1 parent dcf0617 commit d4000d5
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Number.php
Expand Up @@ -15,7 +15,7 @@
return 1;
}

define( 'DATAVALUES_NUMBER_VERSION', '0.7.0' );
define( 'DATAVALUES_NUMBER_VERSION', '0.8.0' );

if ( defined( 'MEDIAWIKI' ) ) {
$GLOBALS['wgExtensionCredits']['datavalues'][] = array(
Expand Down
16 changes: 14 additions & 2 deletions README.md
Expand Up @@ -23,11 +23,11 @@ The recommended way to use this library is via [Composer](http://getcomposer.org
To add this package as a local, per-project dependency to your project, simply add a
dependency on `data-values/number` to your project's `composer.json` file.
Here is a minimal example of a `composer.json` file that just defines a dependency on
version 0.7 of this package:
version 0.8 of this package:

{
"require": {
"data-values/number": "0.7.*"
"data-values/number": "0.8.*"
}
}

Expand All @@ -50,6 +50,18 @@ DataValues Number has been written by Daniel Kinzler, as [Wikimedia Germany]

## Release notes

### 0.8.0 (2016-07-19)

* Added `UnboundedQuantityValue`.
* `QuantityValue` extends `UnboundedQuantityValue`.
* `QuantityParser` returns `UnboundedQuantityValue`s instead of guessing an uncertainty
interval.
* `QuantityFormatter` also accepts `UnboundedQuantityValue`s.
* `QuantityFormatter` does not round any more when the value is rendered with a known uncertainty
interval.
* Fixed rounding algorithm in `DecimalMath` (rounded 1.45 to 2 instead of 1).
* `DecimalValue` constructor optionally accepts strings with no leading plus sign.

### 0.7.0 (2016-04-25)

#### Breaking changes
Expand Down

0 comments on commit d4000d5

Please sign in to comment.