Skip to content

Commit 25bae64

Browse files
thiemowmdemanicki
authored andcommitted
Release 2.0.0 (#103)
1 parent 9abb4d5 commit 25bae64

4 files changed

Lines changed: 9 additions & 3 deletions

File tree

Geo.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
return 1;
1616
}
1717

18-
define( 'DATAVALUES_GEO_VERSION', '1.2.2' );
18+
define( 'DATAVALUES_GEO_VERSION', '2.0.0' );
1919

2020
if ( defined( 'MEDIAWIKI' ) ) {
2121
$GLOBALS['wgExtensionCredits']['datavalues'][] = array(

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,15 @@ It is based upon and contains a lot of code written by [Jeroen De Dauw]
9393

9494
## Release notes
9595

96-
### 2.0.0 (dev)
96+
### 2.0.0 (2017-05-09)
9797

98+
* `GlobeCoordinateValue` does not accept empty strings as globes any more.
99+
* `GlobeCoordinateValue` does not accept precisions outside the [-360..+360] interval any more.
100+
* Changed hash calculation of `GlobeCoordinateValue` in an incompatible way.
98101
* Renamed `GeoCoordinateFormatter` to `LatLongFormatter`, leaving a deprecated alias.
99102
* Renamed `GeoCoordinateParser` to `LatLongParser`, leaving a deprecated alias.
100103
* Renamed `GeoCoordinateParserBase` to `LatLongParserBase`.
104+
* Deprecated `LatLongParser::areCoordinates`.
101105

102106
### 1.2.2 (2017-03-14)
103107

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
},
4949
"extra": {
5050
"branch-alias": {
51-
"dev-master": "1.2.x-dev"
51+
"dev-master": "2.0.x-dev"
5252
}
5353
},
5454
"scripts": {

src/Values/GlobeCoordinateValue.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,8 @@ public function getGlobe() {
179179
/**
180180
* @see Hashable::getHash
181181
*
182+
* @since 2.0
183+
*
182184
* @return string
183185
*/
184186
public function getHash() {

0 commit comments

Comments
 (0)