This repository was archived by the owner on Dec 15, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 1414 return 1 ;
1515}
1616
17- define ( 'DataTypes_VERSION ' , '0.5.2 ' );
17+ define ( 'DataTypes_VERSION ' , '1.0.0 ' );
1818
1919if ( defined ( 'MEDIAWIKI ' ) ) {
2020 include __DIR__ . '/DataTypes.mw.php ' ;
Original file line number Diff line number Diff line change @@ -23,11 +23,11 @@ the git repository and take care of loading yourself.
2323To add this package as a local, per-project dependency to your project, simply add a
2424dependency on ` data-values/data-types ` to your project's ` composer.json ` file.
2525Here 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.
You can’t perform that action at this time.
0 commit comments