- Removed support for calling
Statement::addNewReference()
andStatementList
constructor with a single array argument, which was deprecated inVersion 9.6.0 (2021-03-31)
. These should now be called with a variadic argument list. - Added
__serialize()
and__unserialize()
methods to theEntityId
interface, and removed theserialize()
andunserialize()
methods and theSerializable
interface. - Added native type hints to the
Statement
andStatementList
classes - Added
strict_types=1
toStatement.php
,StatementList.php
, and related test files - Removed support for repository names in entity IDs (e.g.
foo:Q1234
)
Snak
now declaresgetHash()
andequals()
methods again, which it used to inherit from theHashable
andImmutable
interfaces prior to version 9.6.0. (The methods were never removed from any specific classes, but sinceSnak
is an interface, Phan started complaining that the methods were unknown.)
ReferenceList::addNewReference()
,Statement::addNewReference()
and theStatementList
constructor supported being called with a variadic argument list, with a single array argument, or (in the case ofStatementList
) with a singleTraversable
argument. The latter two forms are now deprecated (though they still work); please update your code: for instance, change->addNewReference( [ $x, $y ] )
to->addNewReference( $x, $y )
, and->addNewReference( $snaks )
to->addNewReference( ...$snaks )
.Statement
,Reference
,SnakList
andSnak
no longer implement theHashable
andImmutable
interfaces fromDataValues/DataValues
.- Removed usages of the
Comparable
interface - Made the library installable together with DataValues 3.x
- Updated release notes
- Added PHP 7.4 support
- Added
getGuidPart
toStatementGuid
- Raised minimum PHP version to 7.1
- Added
TermTypes
with term type constants - Allow installing with wikimedia/assert 0.5.0
TermList
now throwsInvalidArgumentException
when given non-iterable rather than failing silentlySiteLinkList
now throwsInvalidArgumentException
when given non-iterable rather than failing silently- Slightly optimized
EntityId::isForeign
- Raised minimum PHP version to 7.0 or HHVM
- Redirecting an entity to itself now causes an exception
Item
andProperty
now implementClearableEntity
again
- Breaking change:
EntityDocument
no longer extendsClearableEntity
(8.0.0 revert) - The
TermList
constructor now takes anyiterable
instead of justarray
- The
SiteLinkList
constructor now takes anyiterable
instead of justarray
- Added
TermList::addAll
Item::setId
andProperty::setId
no longer accept integers- Removed
Item::getSiteLinks
andItem::hasSiteLinks
- Removed
HashArray
SnakList
no longer extendsHashArray
and no longer has these public and protected methods:addElement
getByElementHash
getNewOffset
getObjectType
hasElement
hasElementHash
hasValidType
preSetElement
removeByElementHash
removeElement
setElement
- Removed
WIKIBASE_DATAMODEL_VERSION
constant - Added periods to the list of disallowed characters in
RepositoryNameAssert
EntityDocument
now extendsClearableEntity
- Added
StatementListProvidingEntity
- Un-deprecated several sitelink related shortcuts from
Item
:addSiteLink
getSiteLink
hasLinkToSite
removeSiteLink
- Installation together with DataValues 2.x is now supported
- Introduce
ClearableEntity
interface.
- Removed
clear
fromEntityDocument
. This was a compatibility break of the interface.
- Added
clear
toEntityDocument
- Performance optimizations on
EntityId
:- Added protected
$repositoryName
and$localPart
properties - Added protected
extractRepositoryNameAndLocalPart
- Added protected
- Performance optimizations on methods critical for dump generation:
DispatchingEntityIdParser::parse
SnakList::orderByProperty
- Changed
EntityIdValue::getArrayValue
to allow it handle foreign entity IDs and entity IDs that do not have a numeric representation. - Fixed exception handling in
EntityIdValue
not always forwarding the full stack trace. - Deprecated
EntityIdValue::newFromArray
- Deprecated
StatementGuid::getSerialization
- Improved documentation of
EntityDocument::isEmpty
- Removed MediaWiki integration files
This release adds support for custom entity types to EntityIdValue
, and thus changes the hashes of
snaks, qualifiers, and references.
- Changed the internal
serialize()
format of severalEntityId
related classes. In all casesunserialize()
still supports the previous format.- Serialization of
SnakObject
(includesPropertyNoValueSnak
andPropertySomeValueSnak
) does not use numeric IDs any more - Serialization of
PropertyValueSnak
(includesDerivedPropertyValueSnak
) does not use numeric IDs any more - Serialization of
EntityIdValue
does not use numeric IDs any more EntityIdValue
can now serialize and unserializeEntityId
s other thanItemId
andPropertyId
- Minimized serialization of
ItemId
andPropertyId
to not include the entity type any more
- Serialization of
- Removed
FingerprintHolder
. UseTermList::clear
andAliasGroupList::clear
instead.Item
andProperty
also still implementsetFingerprint
. - Removed class aliases deprecated since 3.0:
Wikibase\DataModel\Claim\Claim
Wikibase\DataModel\Claim\ClaimGuid
Wikibase\DataModel\StatementListProvider
- Added a
SnakList
constructor that is not compatible with theArrayList
constructor any more, and does not accept null any more. - Removed
HashArray::equals
, andHashArray
does not implementComparable
any more - Removed
HashArray::getHash
, andHashArray
does not implementHashable
any more - Removed
HashArray::rebuildIndices
- Removed
HashArray::indicesAreUpToDate
- Removed
HashArray::removeDuplicates
- Removed
$acceptDuplicates
feature fromHashArray
- Added
clear
toTermList
,AliasGroupList
andStatementList
- Added
newFromRepositoryAndNumber
toItemId
andPropertyId
- Fixed
ReferenceList::addReference
sometimes moving existing references around - Fixed exceptions in
DispatchingEntityIdParser
andItemIdParser
not forwarding the previous exception
ItemId::getNumericId
andPropertyId::getNumericId
no longer throw exceptions for foreign IDs
- Added
RepositoryNameAssert
class
- Raised minimum PHP version to 5.5
- Added basic support for foreign EntityIds
- Added
isForeign
,getRepository
andgetLocalPart
toEntityId
- The constructor of
EntityId
was made public - Added static
EntityId::splitSerialization
andEntityId::joinSerialization
getNumericId
throws an exception for foreign EntityIds- Added documentation for foreign EntityIds
- Added
- Added optional index parameter to
Statement::addStatement
. - Added
Int32EntityId
interface.ItemId
andPropertyId
now implementInt32EntityId
.ItemId
andPropertyId
construction now fails for numbers larger than 2147483647.
- Added an
id
element containing the full ID string to theEntityIdValue::getArrayValue
serialization. - Fixed
ByPropertyIdArray
iterating the properties of non-traversable objects.
- Fixed
ItemId
andPropertyId
not rejecting strings with a newline at the end.
This release removes the long deprecated Entity base class in favor of much more narrow interfaces.
- Removed
Entity
class (deprecated since 1.0) Item
andProperty
no longer extendEntity
- Removed
getLabel
,getDescription
,getAliases
,getAllAliases
,setLabels
,setDescriptions
,addAliases
,setAllAliases
,removeLabel
,removeDescription
andremoveAliases
methods
- Removed
Item::getLabels
andProperty::getLabels
now return aTermList
Item::getDescriptions
andProperty::getDescriptions
now return aTermList
- Removed
clear
methods fromItem
andProperty
StatementListProvider
,LabelsProvider
,DescriptionsProvider
,AliasesProvider
andFingerprintProvider
now give the guarantee to return objects by referenceTermList
andAliasGroupList
no longer throw anInvalidArgumentException
for invalid language codes.getByLanguage
throws anOutOfBoundsException
instead.removeByLanguage
does nothing for invalid values.hasTermForLanguage
andhasGroupForLanguage
return false instead.
Item
andProperty
now implementLabelsProvider
,DescriptionsProvider
andAliasesProvider
- Added
Item::getAliasGroups
andProperty::getAliasGroups
This release significantly reduces the memory footprint when entities are cloned.
Item::copy
andProperty::copy
do not clone immutable objects any more- Deprecated
FingerprintHolder
andStatementListHolder
- Fixed regression in
ReferenceList::addReference
and the constructor possibly adding too many objects
- Fixed regression in
ReferenceList::removeReferenceHash
possibly removing too many objects ReferenceList::unserialize
no longer calls the constructor
This release removes the last remaining mentions of claims. Claims are still a concept in the mental data model, but not modelled in code any more.
- Removed
Claims
class (deprecated since 1.0) - Removed
getClaims
andsetClaims
methods fromEntity
,Item
andProperty
(deprecated since 1.0) - Removed
HashableObjectStorage
class (deprecated since 4.4) ReferenceList
no longer derives fromSplObjectStorage
- Removed
addAll
,attach
,contains
,detach
,getHash
,getInfo
,removeAll
,removeAllExcept
andsetInfo
methods
- Removed
ReferenceList
no longer implementsArrayAccess
- Removed
offsetExists
,offsetGet
,offsetSet
andoffsetUnset
methods
- Removed
ReferenceList
no longer implementsIterator
- Removed
current
,key
,next
,rewind
andvalid
methods
- Removed
ReferenceList
now implementsIteratorAggregate
- Added
getIterator
method
- Added
- Removed
ReferenceList::removeDuplicates
ReferenceList::addReference
now throws anInvalidArgumentException
for negative indices- Added
EntityDocument::equals
, andEntityDocument
now implementsComparable
- Added
EntityDocument::copy
- Fixed
Property::clear
not clearing statements TermList
now skips and removes empty terms- Deprecated
ByPropertyIdArray
- Added
ItemIdParser
- Added
ReferenceList::isEmpty
- Added
ReferencedStatementFilter::FILTER_TYPE
constant - Added
EntityRedirect::__toString
- Deprecated
HashableObjectStorage
SnakRole
enum is not an interface any more but a private class
- Added
isEmpty
toEntityDocument
- Added
EntityRedirect
- Added
EntityIdParser
andEntityIdParsingException
- Added
BasicEntityIdParser
- Added
DispatchingEntityIdParser
- Removed no longer needed dependency on
diff/diff
- Added
StatementList::filter
- Added
StatementFilter
andReferencedStatementFilter
- Added
LabelsProvider
,DescriptionsProvider
andAliasesProvider
- Added
FingerprintHolder
The services that resided in this component have been moved to the new Wikibase DataModel Services library. These symbols have been removed:
Entity::getDiff
andEntity::patch
EntityIdParser
and derivativesEntityDiffer
and associated servicesEntityPatcher
and associated servicesEntityDiff
and derivativesItemLookup
andItemNotFoundException
PropertyLookup
andPropertyNotFoundException
PropertyDataTypeLookup
BestStatementsFinder
ByPropertyIdGrouper
StatementGuidParser
and aliasClaimGuidParser
StatementGuidParsingException
and aliasClaimGuidParsingException
StatementList::getBestStatementPerProperty
- Added
DerivedPropertyValueSnak
- Fixed out of bounds bug in
SnakList::orderByProperty
The concept of Claim
is no longer modelled:
- The
Claim
class itself has been removed, thoughClaim
is now a temporary alias forStatement
Claim::RANK_TRUTH
have been removedStatement
no longer takes aClaim
in its constructorStatement::setClaim
andStatement::getClaim
have been removed- Removed
ClaimList
- Removed
ClaimListAccess
- Removed
addClaim
,hasClaims
andnewClaim
from all entity classes
Phasing out of Claims
:
Claims::addClaim
no longer supports setting an index- Removed
Claims::getBestClaims
, useStatementList::getBestStatements
instead - Removed
Claims::getByRank
andClaims::getByRanks
, useStatementList::getByRank
instead - Removed
Claims::getMainSnaks
, useStatementList::getMainSnaks
instead - Removed
Claims::getClaimsForProperty
, useStatementList::getWithPropertyId
instead - Removed
Claims::getHashes
- Removed
Claims::getGuids
- Removed
Claims::equals
(andClaims
no longer implementsComparable
) - Removed
Claims::getHash
(andClaims
no longer implementsHashable
) - Removed
Claims::hasClaim
- Removed
Claims::isEmpty
, useStatementList::isEmpty
instead - Removed
Claims::indexOf
, useStatementList::getFirstStatementWithGuid
orStatementByGuidMap
instead - Removed
Claims::removeClaim
Other breaking changes:
- Removed
Snaks
interface, useSnakList
instead - Removed previously deprecated
Entity::getAllSnaks
, useStatementList::getAllSnaks
instead - Removed previously deprecated
EntityId::getPrefixedId
, useEntityId::getSerialization
instead - Removed previously deprecated
Property::newEmpty
, useProperty::newFromType
ornew Property()
instead - Renamed
StatementList::getWithPropertyId
toStatementList::getByPropertyId
- Renamed
StatementList::getWithRank
toStatementList::getByRank
- Added
EntityDocument::setId
Entity::setLabel
andEntity::setDescription
no longer return anythingReference
andReferenceList
s no longer can be instantiated withnull
- Added
StatementByGuidMap
- Added
StatementListHolder
- Added
StatementList::getFirstStatementWithGuid
- Added
StatementList::removeStatementsWithGuid
ReferenceList::addNewReference
andStatement::addNewReference
support an array of Snaks now- Added PHPMD support
- Renamed
Claim\ClaimGuid
toStatement\StatementGuid
, leaving a b/c alias in place - Renamed
Claim\ClaimGuidParser
toStatement\StatementGuidParser
, leaving a b/c alias in place - Renamed
Claim\ClaimGuidParsingException
toStatement\StatementGuidParsingException
, leaving a b/c alias in place - Renamed
StatementListProvider
toStatement\StatementListProvider
, leaving a b/c alias in place
Item::setLabel
,Item::setDescription
andItem::setAliases
are no longer deprecatedProperty::setLabel
,Property::setDescription
andProperty::setAliases
are no longer deprecated
- Allow installation together with Diff 2.x.
- Added
Reference::isEmpty
- Empty strings are now detected as invalid in the
SiteLink
constructor - Empty References are now ignored when added to
ReferenceList
- The
ReferenceList
constructor now throws anInvalidArgumentException
when getting a non-iterable input - The
SnakList
constructor now throws anInvalidArgumentException
when getting a non-iterable input - The
AliasGroup::equals
andTerm::equals
methods no longer incorrectly return true for fallback objects
- Added
ItemLookup
andPropertyLookup
interfaces - Added
ItemNotFoundException
- Added
AliasGroupList::getWithLanguages
- Added
AliasGroupList::toTextArray
- Added
ItemIdSet::getSerializations
- Added
SiteLinkList::setNewSiteLink
- Added
SiteLinkList::setSiteLink
- Added
SiteLinkList::toArray
- Added
TermList::getWithLanguages
- Empty strings are now detected as invalid language codes in the term classes
- Made all
Fingerprint
constructor parameters optional - Made all
Item
constructor parameters optional - Made the
Property
constructor's fingerprint parameter nullable - The
StatementList
constructor now acceptsStatement
objects in variable-length argument list format - Deprecated
Fingerprint::newEmpty
in favour ofnew Fingerprint()
- Deprecated
Item::newEmpty
in favour ofnew Item()
- Added PHPCS support
- Fixed
StatementList
not reindexing array keys
Property
now implements the deprecated claim related methods defined inEntity
- Added
AliasGroupList::isEmpty
- Added
StatementList::getBestStatements
- Added
StatementList::getWithRank
- Added
TermList::isEmpty
- Added
AliasGroupFallback
- Added
TermFallback
- Added
AliasGroupList::toArray
- Added
StatementList::getMainSnaks
- Added
StatementList::getWithPropertyId
BestStatementsFinder::getBestStatementsForProperty
no longer throws anOutOfBounds
exception
Item
andProperty
now implementStatementListProvider
- Introduced the
StatementListProvider
interface for classes containing aStatementList
- Added rank comparison to
Statement::equals
ReferenceList
now implementsSerializable
- Enhanced 32 bit compatibility for numeric ids
- Fixed handling of numeric ids as string in
LegacyIdInterpreter
which was broken in 2.0.1.
- Fixed last remaining HHVM issue (caused by calling
reset
on anArrayObject
subclass) EntityIdValue::unserialize
now throws the correct type of exception- Improved performance of
BasicEntityIdParser
andLegacyIdInterpreter
- Removed all class aliases
- Removed support for deserializing
EntityId
instances serialized with version 0.4 or earlier - Removed
References
interface in favour ofReferenceList
- The
Statement
constructor no longer supports aSnak
parameter
- Added
Statement::RANK_
enum - Added
Statement::addNewReference
- Deprecated
Claim::RANK_
enum in favour ofStatement::RANK_
enum - Deprecated
Claim::getRank
- The
Property
constructor now accepts an optionalStatementList
parameter - Added
Property::getStatements
andProperty::setStatements
- Added
PropertyIdProvider
interface - Added
ByPropertyIdGrouper
- Added
BestStatementsFinder
- Added
EntityPatcher
andEntityPatcherStrategy
- Added
StatementList::getAllSnaks
to use instead ofEntity::getAllSnaks
- The
Statement
constructor now also accepts aClaim
parameter - Added
Statement::setClaim
- The
Reference
constructor now accepts aSnak
array - Added
ReferenceList::addNewReference
Changes in the Entity
hierarchy:
- Changed the constructor signature of
Item
- Changed the constructor signature of
Property
- Removed
Entity::setClaims
(Item::setClaims
has been retained) - Removed
Entity::stub
- Removed
Entity::getIdFromClaimGuid
Entity::removeLabel
no longer accepts an array of language codesEntity::removeDescription
no longer accepts an array of language codesEntity
no longer implementsSerializable
- Protected method
Entity::patchSpecificFields
no longer has a second parameter Entity::getFingerprint
is now returned by reference
Removal of toArray
and newFromArray
:
- Removed
Entity::toArray
,Item::newFromArray
andProperty::newFromArray
- Removed
Claim::toArray
andStatement::toArray
- Removed
Claim::newFromArray
andStatement::newFromArray
- Removed
ReferenceList::toArray
andReferenceList::newFromArray
- Removed
toArray
from theReferences
interface - Removed
SiteLink::toArray
andSiteLink::newFromArray
- Removed
toArray
from theSnak
andSnaks
interfaces - Removed
PropertyValueSnak::toArray
- Removed
SnakList::toArray
andSnakList::newFromArray
- Removed
SnakObject::toArray
andSnakObject::newFromArray
- Removed
SnakObject::newFromType
Other breaking changes:
Item
now has an array ofStatement
rather than an array ofClaim
Property
no longer has an array ofClaim
Claim
andStatement
no longer implementSerializable
- Protected method
Entity::entityToDiffArray
got renamed toEntity::getDiffArray
- Removed
Fingerprint::getAliases
- Removed
EntityId::newFromPrefixedId
- The constructor of
EntityId
is no longer public Claims::getDiff
no longer takes a second optional parameterClaims::getDiff
now throws anUnexpectedValueException
rather than anInvalidArgumentException
- Removed these class aliases deprecated since 0.4:
ItemObject
,ReferenceObject
,ClaimObject
,StatementObject
HashArray
andSnakList
no longer take an optional parameter ingetHash
- Calling
clear
on anItem
will now cause its statements to be removed SiteLinkList::addNewSiteLink
no longer returns aSiteLinkList
instance- Removed the global variable
evilDataValueMap
- Removed
ClaimAggregate
interface, which is thus no longer implemented byEntity
HashableObjectStorage::getValueHash
no longer accepts a first optional parameterMapHasher
andMapValueHasher
are now package private- Removed
Claims::getDiff
- Added
ClaimList
- Added
StatementList
- Added
StatementListDiffer
- Added
PropertyDataTypeLookup
and trivial implementationInMemoryDataTypeLookup
- Added
PropertyNotFoundException
- Added
ItemDiffer
andPropertyDiffer
- Added
EntityDiffer
andEntityDifferStrategy
- Added
Statement::getClaim
- Added
Item::getStatements
- Added
Item::setStatements
- Deprecated
Entity
(but not the derivatives) - Deprecated
Claims
- Deprecated
Entity::setId
- Deprecated
Entity::newClaim
- Deprecated
Entity::getAllSnaks
- Deprecated
Entity::getDiff
in favour ofEntityDiffer
and more specific differs - Deprecated
Item::getClaims
in favour ofItem::getStatements
- Deprecated
Item::setClaims
in favour ofItem::setStatements
- Deprecated
Item::hasClaims
in favour ofItem::getStatements()->count
- Deprecated
Item::addClaim
in favour ofItem::getStatements()->add*
- Undeprecated passing an integer to
Item::setId
andProperty::setId
- The FQN of
Statement
is nowWikibase\DataModel\Statement\Statement
. The old FQN is deprecated.
- Fixed error caused by redeclaration of getType in
Entity
, after it already got defined inEntityDocument
- Changed the signatures of
setLabel
,setDescription
andsetAliasGroup
inFingerprint
- Added
hasLabel
,hasDescription
andhasAliasGroup
toFingerprint
- Added
EntityDocument
interface, which is implemented byEntity
- Added
LegacyIdInterpreter
- Undeprecated
Entity::isEmpty
- Undeprecated
Entity::clear
- Fixed fatal error when calling
Item::getSiteLinkList
on anItem
right after constructing it
Item::removeSiteLink
no longer takes an optional second parameter and no longer returns a boolean- Shallow clones of
Item
will now share the same list of site links SiteLinkList
is now mutable
AliasGroupList::hasGroupForLanguage
AliasGroupList::setAliasesForLanguage
SiteLinkList::addSiteLink
SiteLinkList::addNewSiteLink
SiteLinkList::removeLinkWithSiteId
SiteLinkList::isEmpty
SiteLinkList::removeLinkWithSiteId
Item::getSiteLinkList
Item::setSiteLinkList
TermList::setTextForLanguage
Item::addSiteLink
Item::removeSiteLink
Item::getSiteLinks
Item::getSiteLink
Item::hasLinkToSite
Item::hasSiteLinks
- An empty
TermList
can now be constructed with no constructor arguments - An empty
AliasGroupList
can now be constructed with no constructor arguments
- Made these classes implement
Comparable
:TermList
AliasGroupList
Fingerprint
SiteLink
SiteLinkList
Claim
Claims
Statement
- Added methods to
Fingerprint
:getLabel
setLabel
removeLabel
setLabels
getDescription
setDescription
removeDescription
setDescriptions
getAliasGroup
setAliasGroup
removeAliasGroup
setAliasGroups
getAliasGroups
isEmpty
- Added
ItemIdSet
Entity::clear
(to be removed in 1.0)Entity::isEmpty
(to be removed in 1.0)Entity::stub
(to be removed in 1.0)Fingerprint::getAliases
(in favour ofFingerprint::getAliasGroups
)
- This library no longer uses the MediaWiki i18n system when MediaWiki is loaded. No description will be shown as part of its entry on Special:Version.
- Added
Wikibase\DataModel\Term
namespace with these constructs:- Term\AliasGroup
- Term\AliasGroupList
- Term\Fingerprint
- Term\FingerprintProvider
- Term\Term
- Term\TermList
- Added
Entity::getFingerprint
- Added
Entity::setFingerprint
- Deprecated
Property::newEmpty
in favor ofProperty::newFromType
- Deprecated old fingerprint related methods in
Entity
:- setLabel
- setDescription
- removeLabel
- removeDescription
- getAliases
- getAllAliases
- setAliases
- addAliases
- removeAliases
- getDescriptions
- getLabels
- getDescription
- getLabel
- setLabels
- setDescriptions
- setAllAliases
- Deprecated
SnakList::newFromArray
- Deprecated
Statement::newFromArray
- Deprecated
Claim::newFromArray
- Deprecated
ReferenceList::newFromArray
- Added Claims::getByRanks
- Removed DataValues Geo, DataValues Time and DataValues Number from the dependency list. They where no longer needed.
- Added TypedSnak value object
- Added SiteLinkList value object
- Added Claims::getBestClaims
- Added Claims::getByRank
- The PHPUnit bootstrap file now works again on Windows
- Changed class loading from PSR-0 to PSR-4
- Deprecated SiteLink::toArray(), SiteLink::newFromArray(), SiteLink::getBadgesFromArray()
- Removed PropertySnak interface
- Removed Claims::getObjectType
- Wikibase DataModel now uses the "new" DataValues components. This means binding to other code has decreased and several design issues have been tackled.
- Wikibase DataModel is now PSR-0 compliant.
- All classes and interfaces not yet in the Wikibase\DataModel namespace got moved. The old names remain as aliases, and should be considered as deprecated.
- SimpleSiteLink was renamed to SiteLink. The old name remains as deprecated alias.
- Item::addSimpleSiteLink and Item::getSimpleSiteLinks where renamed to Item::adSiteLink and Item::getSiteLinks. The old names remains as deprecated aliases.
- Entity::getTerms was removed, as it returned objects of type Term, which is defined by a component Wikibase DataModel does not depend upon.
Note that this list is incomplete. In particular, not all breaking changes are listed.
- Added ItemId and PropertyId classes.
- Added BasicEntityIdParser that allows for parsing of serializations of entity ids defined by Wikibase DataModel.
- Added ClaimGuid and ClaimGuidParser.
- EntityId no longer is a DataValue. A new EntityIdValue was added to function as a DataValue representing the identity of an entity.
- ObjectComparer has been removed from the public namespace.
- SnakFactory has been moved out of this component.
- Constructing an EntityId (rather then one of its derivatives) is now deprecated.
- Wikibase\EntityId has been renamed to Wikibase\DataModel\Entity\EntityId. The old name is deprecated.
Initial release as Wikibase DataModel component.
Initial release as part of Wikibase.