wikibase-serialization
v5.0.0
Published
Wikibase datamodel serialization implementation in JavaScript
Downloads
29
Maintainers
Keywords
Readme
Wikibase Serialization JavaScript
JavaScript library containing serializers and deserializers for the Wikibase DataModel.
Release notes
5.0.0 (2019-10-21)
- Removed hooking into global variable wikibase.serialization
4.0.0 (2019-10-08)
- Added index.js as the public interface
- Removed:
- DeserializerFactory
- SerializerFactory
- EntitySerializer
- FingerprintSerializer
- ItemSerializer
- MultiTermMapSerializer
- MultiTermSerializer
- PropertySerializer
- SiteLinkSerializer
- SiteLinkSetSerializer
- StatementGroupSerializer
- StatementGroupSetSerializer
3.0.0 (2017-10-10)
- 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.
2.1.0 (2017-09-04)
- 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.
2.0.8 (2016-09-09)
- Fix an issue with MediaWiki loading (init.mw.php)
2.0.7 (2016-08-01)
- Added compatibility with DataModel JavaScript 3.0.0.
2.0.6 (2016-01-27)
- Added compatibility with DataValues JavaScript 0.8.0.
2.0.5 (2016-01-27)
- Tests are now compatible with QUnit's requireExpects enabled.
2.0.4 (2016-01-18)
- Added compatibility with DataModel JavaScript 2.0.0.
2.0.3 (2015-06-03)
- Updated to DataValues JavaScript 0.7.0.
2.0.2 (2014-12-17)
Bugfixes
- Fixed parameter order when instantiating
dataValues.UnUnserializableValue
inSnakSerializer
.
Enhancements
- Updated code documentation for being able to automatically generate a proper documentation using JSDuck.
2.0.1 (2014-11-05)
- Fixed the required DataModel JavaScript version.
2.0.0 (2014-11-05)
- Removed wikibase.serialization.entities ResourceLoader module; use wikibase.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.
1.1.3 (2014-09-10)
- Use new version of data-values/javascript
1.1.2 (2014-08-20)
- Added serialization.EntityUnserializer.itemExpert unserializing site links.
- Fixed unserializing aliases in EntityUnserializer.
1.1.0 (2014-07-10)
- Adapt to changes in wikibase/[email protected].
1.0.0 (2014-07-03)
Initial release as a library.
Bugs on Phabricator
https://phabricator.wikimedia.org/project/view/919/