Skip to content

Releases: wmde/WikibaseDataModel

9.6.1

01 Apr 15:35
Compare
Choose a tag to compare

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

31 Mar 08:11
f02f536
Compare
Choose a tag to compare
  • ReferenceList::addNewReference(), Statement::addNewReference() and the StatementList constructor
    supported being called with a variadic argument list, with a single array argument,
    or (in the case of StatementList) with a single Traversable 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 and Snak no longer implement the Hashable and Immutable interfaces from DataValues/DataValues.
  • Removed usages of the Comparable interface
  • Made the library installable together with DataValues 3.x

9.5.1

03 Jun 15:44
5a0fd66
Compare
Choose a tag to compare

Version 9.5.1 (2020-06-03)

  • Updated release notes

9.5.0

02 Jun 08:56
Compare
Choose a tag to compare

Version 9.5.0 (2020-06-02)

  • Added PHP 7.4 support

9.4.0

03 Apr 13:54
f527b8c
Compare
Choose a tag to compare

Version 9.4.0 (2020-04-03)

  • Added getGuidPart to StatementGuid

9.3.0

10 Mar 08:02
492da24
Compare
Choose a tag to compare

Version 9.3.0 (2020-03-10)

  • Raised minimum PHP version to 7.1
  • Added TermTypes with term type constants
  • Allow installing with wikimedia/assert 0.5.0

9.2.0

24 Jan 11:50
f73cf87
Compare
Choose a tag to compare

Version 9.2.0 (2020-01-24)

  • TermList now throws InvalidArgumentException when given non-iterable rather than failing silently
  • SiteLinkList now throws InvalidArgumentException when given non-iterable rather than failing silently
  • Slightly optimized EntityId::isForeign

9.1.0

04 Feb 11:19
Compare
Choose a tag to compare
Add release note for 9.1.0 about preventing redirecting an entity to …

…itself

9.0.1

13 Nov 13:04
8f2053b
Compare
Choose a tag to compare
Merge pull request #804 from wmde/clearablesht

Fix earlier ClearbaleEntity revert

9.0.0

06 Nov 11:26
Compare
Choose a tag to compare
9.0.0 release