|
1 | 1 | # Wikibase DataModel release notes |
2 | 2 |
|
3 | | -## Version 7.0.0 (dev) |
4 | | - |
5 | | -* Removed `FingerprintHolder` |
| 3 | +## Version 7.0.0 (2017-03-15) |
| 4 | + |
| 5 | +This release adds support for custom entity types to `EntityIdValue`, and thus changes the hashes of |
| 6 | +snaks, qualifiers, and references. |
| 7 | + |
| 8 | +* Changed the internal `serialize()` format of several `EntityId` related classes. In all cases |
| 9 | + `unserialize()` still supports the previous format. |
| 10 | + * Serialization of `SnakObject` (includes `PropertyNoValueSnak` and `PropertySomeValueSnak`) |
| 11 | + does not use numeric IDs any more |
| 12 | + * Serialization of `PropertyValueSnak` (includes `DerivedPropertyValueSnak`) does not use |
| 13 | + numeric IDs any more |
| 14 | + * Serialization of `EntityIdValue` does not use numeric IDs any more |
| 15 | + * `EntityIdValue` can now serialize and unserialize `EntityId`s other than `ItemId` and |
| 16 | + `PropertyId` |
| 17 | + * Minimized serialization of `ItemId` and `PropertyId` to not include the entity type any more |
| 18 | + |
| 19 | +#### Other breaking changes |
| 20 | + |
| 21 | +* Removed `FingerprintHolder`. Use `TermList::clear` and `AliasGroupList::clear` instead. `Item` and |
| 22 | + `Property` also still implement `setFingerprint`. |
6 | 23 | * Removed class aliases deprecated since 3.0: |
7 | 24 | * `Wikibase\DataModel\Claim\Claim` |
8 | 25 | * `Wikibase\DataModel\Claim\ClaimGuid` |
9 | 26 | * `Wikibase\DataModel\StatementListProvider` |
| 27 | +* Added a `SnakList` constructor that is not compatible with the `ArrayList` constructor any more, |
| 28 | + and does not accept null any more. |
| 29 | +* Removed `HashArray::equals`, and `HashArray` does not implement `Comparable` any more |
| 30 | +* Removed `HashArray::getHash`, and `HashArray` does not implement `Hashable` any more |
10 | 31 | * Removed `HashArray::rebuildIndices` |
11 | 32 | * Removed `HashArray::indicesAreUpToDate` |
12 | 33 | * Removed `HashArray::removeDuplicates` |
13 | 34 | * Removed `$acceptDuplicates` feature from `HashArray` |
| 35 | + |
| 36 | +#### Additions |
| 37 | + |
14 | 38 | * Added `clear` to `TermList`, `AliasGroupList` and `StatementList` |
| 39 | +* Added `newFromRepositoryAndNumber` to `ItemId` and `PropertyId` |
| 40 | + |
| 41 | +#### Other changes |
| 42 | + |
| 43 | +* Fixed `ReferenceList::addReference` sometimes moving existing references around |
| 44 | +* Fixed exceptions in `DispatchingEntityIdParser` and `ItemIdParser` not forwarding the previous |
| 45 | + exception |
15 | 46 |
|
16 | 47 | ## Version 6.3.1 (2016-11-30) |
17 | 48 |
|
18 | | -* `ItemId::getNumericId` and `PropertyId::getNumericId` no longer throw exceptions for foreign ids |
| 49 | +* `ItemId::getNumericId` and `PropertyId::getNumericId` no longer throw exceptions for foreign IDs |
19 | 50 |
|
20 | 51 | ## Version 6.3.0 (2016-11-03) |
21 | 52 |
|
|
0 commit comments