Skip to content

Commit 7d89210

Browse files
committed
Merge pull request #195 from wmde/release220
Release 2.2.0
2 parents 3d253d8 + 139624c commit 7d89210

File tree

6 files changed

+9
-5
lines changed

6 files changed

+9
-5
lines changed

RELEASE-NOTES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Wikibase DataModel Serialization release notes
22

3+
## 2.2.0 (2016-03-11)
4+
5+
* Added compatibility with Wikibase DataModel 6.x
6+
37
## 2.1.0 (2016-02-18)
48

59
* Added `newItemSerializer` and `newPropertySerializer` to `SerializerFactory`

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
},
4848
"extra": {
4949
"branch-alias": {
50-
"dev-master": "2.1.x-dev"
50+
"dev-master": "2.2.x-dev"
5151
}
5252
},
5353
"scripts": {

mediawiki-extension.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
],
77
"url": "https://github.com/wmde/WikibaseDataModelSerialization",
88
"description": "Serializers and deserializers for the Wikibase DataModel",
9-
"version": "2.1.0",
9+
"version": "2.2.0",
1010
"type": "wikibase",
1111
"license-name": "GPL-2.0+",
1212
"manifest_version": 1

src/DeserializerFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public function __construct(
5454
}
5555

5656
/**
57-
* Returns a Deserializer that can deserialize Entity objects.
57+
* Returns a Deserializer that can deserialize Item and Property objects.
5858
*
5959
* @return DispatchableDeserializer
6060
*/

src/SerializerFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ private function shouldSerializeReferenceSnaksWithHash() {
9494
}
9595

9696
/**
97-
* Returns a Serializer that can serialize Entity objects.
97+
* Returns a Serializer that can serialize Item and Property objects.
9898
*
9999
* @return Serializer
100100
*/

tests/integration/EntityDeserializationCompatibilityTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function testGivenEntitySerialization_entityIsReturned( $fileName, $seria
4848
$this->assertInstanceOf(
4949
'Wikibase\DataModel\Entity\EntityDocument',
5050
$entity,
51-
'Deserialization of ' . $fileName . ' should lead to an Entity instance'
51+
'Deserialization of ' . $fileName . ' should lead to an EntityDocument instance'
5252
);
5353
}
5454

0 commit comments

Comments
 (0)