JavaScript library containing serializers and deserializers for the Wikibase DataModel.
- Removed hooking into global variable wikibase.serialization
- Added index.js as the public interface
- Removed:
- DeserializerFactory
- SerializerFactory
- EntitySerializer
- FingerprintSerializer
- ItemSerializer
- MultiTermMapSerializer
- MultiTermSerializer
- PropertySerializer
- SiteLinkSerializer
- SiteLinkSetSerializer
- StatementGroupSerializer
- StatementGroupSetSerializer
- Made the library a pure JavaScript library.
- Removed MediaWiki extension registration.
- Removed MediaWiki ResourceLoader module definitions.
- Raised DataValues JavaScript library version requirement to 0.10.0.
- Raised Wikibase DataModel JavaScript library version requirement to 4.0.0.
- Removed all serializers and deserializers for Claim collections:
- Removed ClaimGroupDeserializer
- Removed ClaimGroupSerializer
- Removed ClaimGroupSetDeserializer
- Removed ClaimGroupSetSerializer
- Removed ClaimListDeserializer
- Removed ClaimListSerializer
- Removed WIKIBASE_SERIALIZATION_JAVASCRIPT_VERSION constant.
- Updated the MediaWiki entry point to use the extension.json format.
- Added code sniffers for JavaScript as well as PHP.
- Dropped compatibility with PHP 5.3.
- Added support for deserializing snak hashes.
- Fix an issue with MediaWiki loading (init.mw.php)
- Added compatibility with DataModel JavaScript 3.0.0.
- Added compatibility with DataValues JavaScript 0.8.0.
- Tests are now compatible with QUnit's requireExpects enabled.
- Added compatibility with DataModel JavaScript 2.0.0.
- Updated to DataValues JavaScript 0.7.0.
- Fixed parameter order when instantiating
dataValues.UnUnserializableValue
inSnakSerializer
.
- Updated code documentation for being able to automatically generate a proper documentation using JSDuck.
- Fixed the required DataModel JavaScript version.
- Removed
wikibase.serialization.entities
ResourceLoader module; usewikibase.serialization.EntityDeserializer
instead. - Removed options from Serializer/Deserializer as it was never used and there is no intention to use options.
- Renamed
*Unserializer
to*Deserializer
. - Added
wikibase.serialization.ClaimGroupSetSerializer
. - Added
wikibase.serialization.ClaimGroupSetDeserializer
. - Added
wikibase.serialization.ClaimGroupSerializer
. - Added
wikibase.serialization.ClaimGroupDeserializer
. - Added
wikibase.serialization.ClaimListSerializer
. - Added
wikibase.serialization.ClaimListDeserializer
. - Added
wikibase.serialization.ClaimSerializer
. - Added
wikibase.serialization.ClaimDeserializer
. - Added
wikibase.serialization.EntitySerializer
. - Added
wikibase.serialization.FingerprintSerializer
. - Added
wikibase.serialization.FingerprintDeserializer
. - Added
wikibase.serialization.ItemSerializer
. - Added
wikibase.serialization.ItemDeserializer
. - Added
wikibase.serialization.MultiTermSerializer
. - Added
wikibase.serialization.MultiTermDeserializer
. - Added
wikibase.serialization.MultiTermMapSerializer
. - Added
wikibase.serialization.MultiTermMapDeserializer
. - Added
wikibase.serialization.PropertySerializer
. - Added
wikibase.serialization.PropertyDeserializer
. - Added
wikibase.serialization.ReferenceListSerializer
. - Added
wikibase.serialization.ReferenceListDeserializer
. - Added
wikibase.serialization.ReferenceSerializer
. - Added
wikibase.serialization.ReferenceDeserializer
. - Added
wikibase.serialization.SiteLinkSerializer
. - Added
wikibase.serialization.SiteLinkDeserializer
. - Added
wikibase.serialization.SiteLinkSetSerializer
. - Added
wikibase.serialization.SiteLinkSetDeserializer
. - Added
wikibase.serialization.SnakListSerializer
. - Added
wikibase.serialization.SnakListDeserializer
. - Added
wikibase.serialization.SnakSerializer
. - Added
wikibase.serialization.SnakDeserializer
. - Added
wikibase.serialization.StatementGroupSerializer
. - Added
wikibase.serialization.StatementGroupDeserializer
. - Added
wikibase.serialization.StatementGroupSetSerializer
. - Added
wikibase.serialization.StatementGroupSetDeserializer
. - Added
wikibase.serialization.StatementListSerializer
. - Added
wikibase.serialization.StatementListDeserializer
. - Added
wikibase.serialization.StatementSerializer
. - Added
wikibase.serialization.StatementDeserializer
. - Added
wikibase.serialization.TermSerializer
. - Added
wikibase.serialization.TermDeserializer
. - Added
wikibase.serialization.TermMapSerializer
. - Added
wikibase.serialization.TermMapDeserializer
.
- Use new version of data-values/javascript
- Added serialization.EntityUnserializer.itemExpert unserializing site links.
- Fixed unserializing aliases in EntityUnserializer.
- Adapt to changes in wikibase/data-model-javascript@0.3.0.
Initial release as a library.