This repository was archived by the owner on Dec 15, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed
Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 1414 return 1 ;
1515}
1616
17- define ( 'DataTypes_VERSION ' , '0.5.1 ' );
17+ define ( 'DataTypes_VERSION ' , '0.5.2 ' );
1818
1919if ( defined ( 'MEDIAWIKI ' ) ) {
2020 include __DIR__ . '/DataTypes.mw.php ' ;
Original file line number Diff line number Diff line change @@ -51,6 +51,10 @@ for the [Wikidata project](https://wikidata.org/).
5151
5252## Release notes
5353
54+ ### 0.5.2 (2016-02-17)
55+ * Fixed cache invalidation in ` DataTypesModule ` .
56+ * Fixed ` DataTypeFactory ` to report invalid arguments on construction.
57+
5458### 0.5.1 (2015-10-20)
5559* ` DataTypeFactory::getTypes() ` now returns array with typeId keys as documented
5660
Original file line number Diff line number Diff line change 22
33namespace DataTypes \Modules ;
44
5+ use DataTypes \DataType ;
56use DataTypes \DataTypeFactory ;
67use Exception ;
78use FormatJson ;
@@ -183,6 +184,7 @@ public function getMessages() {
183184 */
184185 public function getDefinitionSummary ( ResourceLoaderContext $ context ) {
185186 $ summary = parent ::getDefinitionSummary ( $ context );
187+
186188 $ summary [] = array (
187189 'dataHash ' => sha1 ( json_encode ( array_keys ( $ this ->dataTypes ) ) )
188190 );
You can’t perform that action at this time.
0 commit comments