Skip to content

Commit 48d5e80

Browse files
committed
Release 5.1.0
1 parent 7882fd4 commit 48d5e80

2 files changed

Lines changed: 9 additions & 4 deletions

File tree

RELEASE-NOTES.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
# Wikibase DataModel release notes
22

3-
## Version 5.1.0 (dev)
3+
## Version 5.1.0 (2016-03-08)
44

5-
* `Item::copy` and `Property::copy` do not clone immutable objects any more, saving time and memory
5+
This release significantly reduces the memory footprint when entities are cloned.
6+
7+
* `Item::copy` and `Property::copy` do not clone immutable objects any more
68
* Deprecated `FingerprintHolder` and `StatementListHolder`
79

810
## Version 5.0.2 (2016-02-23)
@@ -16,6 +18,9 @@
1618

1719
## Version 5.0.0 (2016-02-15)
1820

21+
This release removes the last remaining mentions of claims. Claims are still a concept in the mental
22+
data model, but not modelled in code any more.
23+
1924
* Removed `Claims` class (deprecated since 1.0)
2025
* Removed `getClaims` and `setClaims` methods from `Entity`, `Item` and `Property` (deprecated since 1.0)
2126
* Removed `HashableObjectStorage` class (deprecated since 4.4)

src/Entity/EntityDocument.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ public function equals( $target );
7373
* No change done to the clone is allowed to interfere with the original object. Only properties
7474
* containing immutable objects are allowed to (and should) reference the original object.
7575
*
76-
* Since EntityDocuments are not immutable (at least the id can be set) the method is not
77-
* allowed to return $this.
76+
* Since EntityDocuments are mutable (at least the id can be set) the method is not allowed to
77+
* return $this.
7878
*
7979
* @since 5.0
8080
*

0 commit comments

Comments
 (0)