From 16e751278070399421e8e605934812f384e9a31d Mon Sep 17 00:00:00 2001 From: jeroendedauw Date: Thu, 15 Jan 2015 23:56:09 +0100 Subject: [PATCH 1/2] 2.5 release --- README.md | 4 ++-- RELEASE-NOTES.md | 5 +++-- WikibaseDataModel.php | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index dd94c82d..0a46ad2c 100644 --- a/README.md +++ b/README.md @@ -30,12 +30,12 @@ the git repository and take care of loading yourself. To add this package as a local, per-project dependency to your project, simply add a dependency on `wikibase/data-model` to your project's `composer.json` file. Here is a minimal example of a `composer.json` file that just defines a dependency on -Wikibase DataModel 2.0: +Wikibase DataModel 2.x: ```js { "require": { - "wikibase/data-model": "2.0.*" + "wikibase/data-model": "~2.0" } } ``` diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index 1aba3fb0..c3ed0c3e 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -1,6 +1,6 @@ # Wikibase DataModel release notes -## Version 2.5.0 (dev) +## Version 2.5.0 (2014-01-16) * Added `TermList::getWithLanguages` * Added `AliasGroupList::getWithLanguages` @@ -16,7 +16,8 @@ * Made the `Fingerprint` constructor parameters optional * Deprecated `Item::newEmpty` in favour of `new Item()` * Deprecated `Fingerprint::newEmpty` in favour of `new Fingerprint()` -* The `StatementList` constructor now accepts `Statement` objects in variable-lenght argument list format +* The `StatementList` constructor now accepts `Statement` objects in variable-length argument list format +* Added PHPCS support ## Version 2.4.1 (2014-11-26) diff --git a/WikibaseDataModel.php b/WikibaseDataModel.php index ce7e0dc7..0aa3bfbc 100644 --- a/WikibaseDataModel.php +++ b/WikibaseDataModel.php @@ -12,7 +12,7 @@ return 1; } -define( 'WIKIBASE_DATAMODEL_VERSION', '2.5.0 alpha' ); +define( 'WIKIBASE_DATAMODEL_VERSION', '2.5.0' ); if ( defined( 'MEDIAWIKI' ) ) { call_user_func( function() { From 5e672b686649831ecb57d191d6081e35e1cec2d4 Mon Sep 17 00:00:00 2001 From: Jan Zerebecki Date: Tue, 20 Jan 2015 12:31:23 +0100 Subject: [PATCH 2/2] Update RELEASE-NOTES.md --- RELEASE-NOTES.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index c3ed0c3e..1b8ea433 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -1,6 +1,6 @@ # Wikibase DataModel release notes -## Version 2.5.0 (2014-01-16) +## Version 2.5.0 (2014-01-20) * Added `TermList::getWithLanguages` * Added `AliasGroupList::getWithLanguages`