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

Commit f98b7a0

Browse files
committed
Release 1.0.0
1 parent a8abd3e commit f98b7a0

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

DataTypes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
return 1;
1515
}
1616

17-
define( 'DataTypes_VERSION', '0.5.2' );
17+
define( 'DataTypes_VERSION', '1.0.0' );
1818

1919
if ( defined( 'MEDIAWIKI' ) ) {
2020
include __DIR__ . '/DataTypes.mw.php';

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ the git repository and take care of loading yourself.
2323
To add this package as a local, per-project dependency to your project, simply add a
2424
dependency on `data-values/data-types` to your project's `composer.json` file.
2525
Here is a minimal example of a `composer.json` file that just defines a dependency on
26-
DataTypes 0.5.0:
26+
DataTypes 1.0:
2727

2828
{
2929
"require": {
30-
"data-values/data-types": "~0.5.0"
30+
"data-values/data-types": "~1.0"
3131
}
3232
}
3333

@@ -51,6 +51,12 @@ for the [Wikidata project](https://wikidata.org/).
5151

5252
## Release notes
5353

54+
### 1.0.0 (2016-12-29)
55+
* `DataType` and `DataTypeFactory` do not accept empty strings any more.
56+
* Removed `DataType::getLabel` along with the `DataTypes\Message` class.
57+
* Added `DataType::getMessageKey`.
58+
* Added a basic PHPCS rule set, can be run with `composer phpcs`.
59+
5460
### 0.5.2 (2016-02-17)
5561
* Fixed cache invalidation in `DataTypesModule`.
5662
* Fixed `DataTypeFactory` to report invalid arguments on construction.

0 commit comments

Comments
 (0)