Skip to content
This repository has been archived by the owner on Dec 15, 2020. It is now read-only.

Commit

Permalink
Release 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
thiemowmde committed Dec 29, 2016
1 parent a8abd3e commit f98b7a0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DataTypes.php
Expand Up @@ -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';
Expand Down
10 changes: 8 additions & 2 deletions README.md
Expand Up @@ -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"
}
}

Expand All @@ -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.
Expand Down

0 comments on commit f98b7a0

Please sign in to comment.