Skip to content

Commit 96ec015

Browse files
committed
Release 6.0.0
1 parent 66f2093 commit 96ec015

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

RELEASE-NOTES.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,28 @@
44

55
This release removes the long deprecated Entity base class in favor of much more narrow interfaces.
66

7+
#### Breaking changes
8+
79
* Removed `Entity` class (deprecated since 1.0)
810
* `Item` and `Property` no longer extend `Entity`
911
* Removed `getLabel`, `getDescription`, `getAliases`, `getAllAliases`,
1012
`setLabels`, `setDescriptions`, `addAliases`, `setAllAliases`,
1113
`removeLabel`, `removeDescription` and `removeAliases` methods
12-
* `Item` and `Property` now implement `LabelsProvider`, `DescriptionsProvider` and `AliasesProvider`
1314
* `Item::getLabels` and `Property::getLabels` now return a `TermList`
1415
* `Item::getDescriptions` and `Property::getDescriptions` now return a `TermList`
15-
* Added `Item::getAliasGroups` and `Property::getAliasGroups`
16+
* Removed `clear` methods from `Item` and `Property`
1617
* `StatementListProvider`, `LabelsProvider`, `DescriptionsProvider`, `AliasesProvider` and
1718
`FingerprintProvider` now give the guarantee to return objects by reference
1819
* `TermList` and `AliasGroupList` no longer throw an `InvalidArgumentException` for invalid language codes.
1920
* `getByLanguage` throws an `OutOfBoundsException` instead.
2021
* `removeByLanguage` does nothing for invalid values.
2122
* `hasTermForLanguage` and `hasGroupForLanguage` return false instead.
2223

24+
#### Additions
25+
26+
* `Item` and `Property` now implement `LabelsProvider`, `DescriptionsProvider` and `AliasesProvider`
27+
* Added `Item::getAliasGroups` and `Property::getAliasGroups`
28+
2329
## Version 5.1.0 (2016-03-08)
2430

2531
This release significantly reduces the memory footprint when entities are cloned.

0 commit comments

Comments
 (0)