File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Wikibase DataModel release notes
22
3- ## Version 7.0.0 (dev)
4-
3+ ## Version 7.0.0 (2017-02-13)
4+
5+ * Changed the internal ` serialize ` format of several ` EntityId ` related classes. In all cases
6+ ` unserialize ` still supports the previous format.
7+ * Serialization of `SnakObject` (includes `PropertyNoValueSnak` and `PropertySomeValueSnak`)
8+ does not use numeric IDs any more
9+ * Serialization of `PropertyValueSnak` (includes `DerivedPropertyValueSnak`) does not use
10+ numeric IDs any more
11+ * Serialization of `EntityIdValue` does not use numeric IDs any more
12+ * `EntityIdValue` can now serialize and unserialize `EntityId`s other than `ItemId` and
13+ `PropertyId`
14+ * Minimized serialization of `ItemId` and `PropertyId`
515* Removed ` FingerprintHolder `
616* Removed class aliases deprecated since 3.0:
717 * `Wikibase\DataModel\Claim\Claim`
1121* Removed ` HashArray::indicesAreUpToDate `
1222* Removed ` HashArray::removeDuplicates `
1323* Removed ` $acceptDuplicates ` feature from ` HashArray `
24+ * Fixed exceptions in ` DispatchingEntityIdParser ` and ` ItemIdParser ` not forwarding the previous
25+ exception
1426
1527## Version 6.3.1 (2016-11-30)
1628
Original file line number Diff line number Diff line change 1111 return ;
1212}
1313
14- define ( 'WIKIBASE_DATAMODEL_VERSION ' , '6.3 .0 ' );
14+ define ( 'WIKIBASE_DATAMODEL_VERSION ' , '7.0 .0 ' );
1515
1616if ( defined ( 'MEDIAWIKI ' ) && function_exists ( 'wfLoadExtension ' ) ) {
1717 wfLoadExtension ( 'WikibaseDataModel ' , __DIR__ . '/mediawiki-extension.json ' );
Original file line number Diff line number Diff line change 2828 "wikimedia/assert" : " ~0.2.2"
2929 },
3030 "require-dev" : {
31- "phpunit/phpunit" : " ~4.8" ,
3231 "ockcyp/covers-validator" : " ~0.4.0" ,
33- "squizlabs/php_codesniffer" : " ~2.3" ,
34- "phpmd/phpmd" : " ~2.3"
32+ "phpmd/phpmd" : " ~2.3" ,
33+ "phpunit/phpunit" : " ~4.8" ,
34+ "squizlabs/php_codesniffer" : " ~2.3"
3535 },
3636 "autoload" : {
3737 "files" : [
4343 },
4444 "extra" : {
4545 "branch-alias" : {
46- "dev-master" : " 6.3 .x-dev"
46+ "dev-master" : " 7.0 .x-dev"
4747 }
4848 },
4949 "scripts" : {
Original file line number Diff line number Diff line change 11{
22 "name" : " Wikibase DataModel" ,
3- "version" : " 6.3 .0" ,
3+ "version" : " 7.0 .0" ,
44 "author" : [
55 " [https://www.mediawiki.org/wiki/User:Jeroen_De_Dauw Jeroen De Dauw]" ,
66 " Thiemo Mättig"
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ public function __construct( EntityId $entityId ) {
2525 /**
2626 * @see Serializable::serialize
2727 *
28- * @since 0.5
28+ * @since 7.0 serialization format changed in an incompatible way
2929 *
3030 * @return string
3131 */
Original file line number Diff line number Diff line change @@ -67,6 +67,8 @@ public function getEntityType() {
6767 /**
6868 * @see Serializable::serialize
6969 *
70+ * @since 7.0 serialization format changed in an incompatible way
71+ *
7072 * @return string
7173 */
7274 public function serialize () {
Original file line number Diff line number Diff line change @@ -67,6 +67,8 @@ public function getEntityType() {
6767 /**
6868 * @see Serializable::serialize
6969 *
70+ * @since 7.0 serialization format changed in an incompatible way
71+ *
7072 * @return string
7173 */
7274 public function serialize () {
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ public function getDataValue() {
4848 /**
4949 * @see Serializable::serialize
5050 *
51- * @since 7.0
51+ * @since 7.0 serialization format changed in an incompatible way
5252 *
5353 * @return string
5454 */
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ public function equals( $target ) {
9797 /**
9898 * @see Serializable::serialize
9999 *
100- * @since 7.0
100+ * @since 7.0 serialization format changed in an incompatible way
101101 *
102102 * @return string
103103 */
You can’t perform that action at this time.
0 commit comments