Releases: wmde/WikibaseDataModel
Releases · wmde/WikibaseDataModel
9.6.1
Snak now declares getHash() and equals() methods again, which it used to inherit from the Hashable and Immutable interfaces prior to version 9.6.0 (The methods were never removed from any specific classes, but since Snak is an interface, Phan started complaining that the methods were unknown.)
9.6.0
ReferenceList::addNewReference(),Statement::addNewReference()and theStatementListconstructor
supported being called with a variadic argument list, with a single array argument,
or (in the case ofStatementList) with a singleTraversableargument.
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,SnakListandSnakno longer implement theHashableandImmutableinterfaces fromDataValues/DataValues.- Removed usages of the
Comparableinterface - Made the library installable together with DataValues 3.x
9.5.1
9.5.0
9.4.0
9.3.0
9.2.0
Version 9.2.0 (2020-01-24)
TermListnow throwsInvalidArgumentExceptionwhen given non-iterable rather than failing silentlySiteLinkListnow throwsInvalidArgumentExceptionwhen given non-iterable rather than failing silently- Slightly optimized
EntityId::isForeign
9.1.0
9.0.1
Merge pull request #804 from wmde/clearablesht Fix earlier ClearbaleEntity revert