From f98b7a00c4e66c7823a213ef69dcab09d52d2de5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thiemo=20M=C3=A4ttig?= Date: Wed, 28 Dec 2016 16:00:13 +0100 Subject: [PATCH] Release 1.0.0 --- DataTypes.php | 2 +- README.md | 10 ++++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/DataTypes.php b/DataTypes.php index 25e9b32..f3d4721 100644 --- a/DataTypes.php +++ b/DataTypes.php @@ -14,7 +14,7 @@ return 1; } -define( 'DataTypes_VERSION', '0.5.2' ); +define( 'DataTypes_VERSION', '1.0.0' ); if ( defined( 'MEDIAWIKI' ) ) { include __DIR__ . '/DataTypes.mw.php'; diff --git a/README.md b/README.md index bff856c..10cec30 100644 --- a/README.md +++ b/README.md @@ -23,11 +23,11 @@ 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 `data-values/data-types` to your project's `composer.json` file. Here is a minimal example of a `composer.json` file that just defines a dependency on -DataTypes 0.5.0: +DataTypes 1.0: { "require": { - "data-values/data-types": "~0.5.0" + "data-values/data-types": "~1.0" } } @@ -51,6 +51,12 @@ for the [Wikidata project](https://wikidata.org/). ## Release notes +### 1.0.0 (2016-12-29) +* `DataType` and `DataTypeFactory` do not accept empty strings any more. +* Removed `DataType::getLabel` along with the `DataTypes\Message` class. +* Added `DataType::getMessageKey`. +* Added a basic PHPCS rule set, can be run with `composer phpcs`. + ### 0.5.2 (2016-02-17) * Fixed cache invalidation in `DataTypesModule`. * Fixed `DataTypeFactory` to report invalid arguments on construction.