wikibase/serialization-javascript

Wikibase datamodel serialization implementation in JavaScript

Installs: 25 277

Dependents: 2

Watchers: 15

Forks: 2

Open Issues: 1

Language: JavaScript

2.0.3 2015-06-03 16:10 UTC

README

JavaScript library containing serializers and deserializers for the Wikibase DataModel.

Installation

The recommended way to use this library is via Composer.

To add this package as a local, per-project dependency to your project, simply add a dependency on wikibase/serialization-javascript to your project's composer.json file. Here is a minimal example of a composer.json file that just defines a dependency on version 2.0 of this package:

{
    "require": {
        "wikibase/serialization-javascript": "2.0.*"
    }
}

Release notes

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 in SnakSerializer.
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 (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/data-model-javascript@0.3.0.

1.0.0 (2014-07-03)

Initial release as a library.

Bugs on Phabricator

https://phabricator.wikimedia.org/project/view/919/