Skip to content

Releases: wmde/WikibaseDataModel

9.6.1

Choose a tag to compare

@tzhelyazkova tzhelyazkova released this 01 Apr 15:35

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

Choose a tag to compare

@tzhelyazkova tzhelyazkova released this 31 Mar 08:11
f02f536
  • 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

Choose a tag to compare

@toban toban released this 03 Jun 15:44
5a0fd66

Version 9.5.1 (2020-06-03)

  • Updated release notes

9.5.0

Choose a tag to compare

@toban toban released this 02 Jun 08:56

Version 9.5.0 (2020-06-02)

  • Added PHP 7.4 support

9.4.0

Choose a tag to compare

@addshore addshore released this 03 Apr 13:54
f527b8c

Version 9.4.0 (2020-04-03)

  • Added getGuidPart to StatementGuid

9.3.0

Choose a tag to compare

@addshore addshore released this 10 Mar 08:02
492da24

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

Choose a tag to compare

@addshore addshore released this 24 Jan 11:50
f73cf87

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

Choose a tag to compare

@Ladsgroup Ladsgroup released this 04 Feb 11:19
Add release note for 9.1.0 about preventing redirecting an entity to …

9.0.1

Choose a tag to compare

@JeroenDeDauw JeroenDeDauw released this 13 Nov 13:04
8f2053b
Merge pull request #804 from wmde/clearablesht

Fix earlier ClearbaleEntity revert

9.0.0

Choose a tag to compare

@addshore addshore released this 06 Nov 11:26
9.0.0 release