This repository was archived by the owner on Dec 15, 2020. It is now read-only.
Releases: wmde/DataTypes
Releases · wmde/DataTypes
1.0.0
0.5.2
- Fixed cache invalidation in
DataTypesModule. - Fixed
DataTypeFactoryto report invalid arguments on construction.
0.5.1
DataTypeFactory::getTypes()now returns array with typeId keys as documented
0.5.0
Breaking changes
- DataType no longer takes an array of ValueValidator in its constructor
- DataType::getValidators has been removed
- DataTypeFactory now takes a map from data type id to data value type.
- DataTypeFactory::registerBuilder has been removed
0.4.3
Fixed version number constant.
0.4.2
- Updated code documentation for being able to automatically generate a proper documentation using JSDuck.
- Removed the ResourceLoader module "dependencies" which had been defined by accident.
0.4.0
Removed the global variable wgDataTypes.
0.3.0
Merge pull request #17 from wmde/renameTextTypes Make DataType consistent with DataValue's type for texts
0.2.1
0.2.0
Breaking changes
- dataTypes.DataType JavaScript object may not be initialized providing a dataValues.DataValue object anymore.
- Removed dataTypes.DataType.getLabel().
- Removed global DataType registration in the dataTypes object; DataTypeStore is to be used instead.
- Split up generic "dataTypes" ResourceLoader module into "dataTypes.DataType" and "dataTypes.DataTypeStore".
Enhancements
- Removed MediaWiki and DataValues dependencies from JavaScript code.
- Made code PSR-4 compliant.
- Removed ResourceLoader dependency of QUnit tests.
- Implemented DataTypeStore.