Skip to content

JavaScript implementations of all basic DataValue classes, associated parsers and formatters

License

Notifications You must be signed in to change notification settings

wmde/DataValuesJavaScript

Repository files navigation

DataValues Javascript

This component is in alpha state and not suitable for reuse yet. It contains various JavaScript related to the DataValues library.

Build Status

On Packagist: Latest Stable Version Download count

TODOs

  • Write high level description and documentation in this README file.

Release notes

0.5.0 (dev)

Breaking changes

  • Renamed ValueFormatterFactory to ValueFormatterStore.
  • Renamed ValueParserFactory to ValueParserStore.
  • Removed mw.ext.valueFormatters and mw.ext.valueParsers.

Enhancements

  • Defined parameters of the promises returned by ValueFormatter's and ValueParser's format/parse functions.

0.4.0 (2014-03-24)

Breaking changes

  • mw.ext.valueParsers does not register valueParsers.TimeParser anymore
  • mw.ext.valueFormatters does not register valueFormatters.StringFormatter anymore
  • Renamed ValueFormatterFactory to ValueFormatterStore.
  • Renamed ValueParserFactory to ValueParserStore.

Bugfixes

  • Fixed definitions of ResourceLoader test modules.
  • Accept ISO8601-formatted timestamps with zeroes as months and days
  • Always return a string in time.writeYear and time.writeDay

0.3.1 (2014-02-03)

Bugfixes

  • Fixed valueParsers ResourceLoader module definition template.

0.3 (2014-01-30)

Breaking changes

  • Renamed "valueFormatters.factory" Resource Loader module to "valueFormatters.ValueFormatterFactory"
  • Renamed "valueParsers.factory" Resource Loader module to "valueParsers.ValueParserFactory"
  • Removed ValueView dependency from "mw.ext.valueFormatters" module and "mw.ext.valueParsers" module.

0.2 (2014-01-24)

Breaking changes

  • #8 Removed dataValues.util.Notifier
  • #10 Renamed dataValues.util.inherit to util.inherit
  • #13 Removed vp.GlobeCoordinateParser and vp.QuantityParser
  • #15 Removed the ParseValue API module

Enhancements

  • #14 Decoupled the QUnit tests from the MediaWiki resource loader
  • #16 Have the tests run on TravisCI using PhantomJS
  • #18 Provided QUnit test runner using requireJS

0.1 (2013-12-23)

Initial release.

About

JavaScript implementations of all basic DataValue classes, associated parsers and formatters

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 22