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..1b8ea433 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-20) * 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() {