Skip to content

v0.3.1

Compare
Choose a tag to compare
@larsgw larsgw released this 09 Oct 12:01

Added

  • Options parameter in parseInput and parseInputAsync
  • Option for max parsing chain length
  • Option to generate parsing chain data in _graph property
  • Option to force type when parsing

Changed

  • Options API in Cite and Cite.async
Cite(data, outputOptions)

// BECOMES

Cite(data, {
  ...parsingOptions,
  output: outputOptions
})
  • Author ordinal in Wikidata props is now a property _ordinal instead of an array element
  • Parsing invalid dates now returns input as literal date instead of an empty date-parts

Refactored

  • Simplify code to normalise CSL-JSON
  • Mock APIs for async tests

Fixed

  • Parsing names with lowercase particles now doesn't omit family names
  • Better error messaging when API/file requests fails