Skip to content

Commit 7882fd4

Browse files
committed
Merge pull request #651 from wmde/deprecate51
Prepare release 5.1
2 parents 2d419ed + d7b8c7f commit 7882fd4

6 files changed

Lines changed: 8 additions & 6 deletions

File tree

RELEASE-NOTES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Wikibase DataModel release notes
22

3-
## Version 5.1 (dev)
3+
## Version 5.1.0 (dev)
44

55
* `Item::copy` and `Property::copy` do not clone immutable objects any more, saving time and memory
66
* Deprecated `FingerprintHolder` and `StatementListHolder`

WikibaseDataModel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
88
*/
99

10-
define( 'WIKIBASE_DATAMODEL_VERSION', '5.0.2' );
10+
define( 'WIKIBASE_DATAMODEL_VERSION', '5.1.0' );
1111

1212
if ( defined( 'MEDIAWIKI' ) && function_exists( 'wfLoadExtension' ) ) {
1313
wfLoadExtension( 'WikibaseDataModel', __DIR__ . '/mediawiki-extension.json' );

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
},
4242
"extra": {
4343
"branch-alias": {
44-
"dev-master": "5.0.x-dev"
44+
"dev-master": "5.1.x-dev"
4545
}
4646
},
4747
"scripts": {

mediawiki-extension.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Wikibase DataModel",
3-
"version": "5.0.2",
3+
"version": "5.1.0",
44
"author": [
55
"[https://www.mediawiki.org/wiki/User:Jeroen_De_Dauw Jeroen De Dauw]",
66
"Thiemo Mättig"

src/Statement/StatementListHolder.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
* Interface for classes that contain a StatementList.
77
*
88
* @since 3.0
9-
* @deprecated since 5.1
9+
* @deprecated since 5.1, will be removed in 6.0 in favor of StatementListProvider, which will then
10+
* give the guarantee to return an object by reference. Changes to that object change the entity.
1011
*
1112
* @license GNU GPL v2+
1213
* @author Thiemo Mättig

src/Term/FingerprintHolder.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44

55
/**
66
* @since 4.1
7-
* @deprecated since 5.1
7+
* @deprecated since 5.1, will be removed in 6.0 in favor of FingerprintProvider, which will then
8+
* give the guarantee to return an object by reference. Changes to that object change the entity.
89
*
910
* @licence GNU GPL v2+
1011
* @author Bene* < benestar.wikimedia@gmail.com >

0 commit comments

Comments
 (0)