Releases: larsgw/citation.js
Releases · larsgw/citation.js
v0.4.0-10
Added
- [meta] More test work
util.Register
: Aliasremove
todelete
input/@wikidata
: Support 'stated as' (P1932) qualifier, if possible preferring that over fetching author labels (#131)output/@csl
: Bibliographynosort
optioninput/@bibtex
: Support for comma-delimited entries (#157)
Changed
- Deprecated wrapper CSL locale and template methods
Fixed
output/@csl
: Affixes now work reliably for all formats (#84)
v0.4.0-3
Citation.js converts formats like BibTeX, Wikidata JSON and ContentMine JSON to CSL-JSON to convert to other formats like APA, Vancouver and back to BibTeX.
Added
- RIS output support (#125)
Refactored
- A lot of the building scripts
- All code uses the util fetchFile(Async) functions, to make testing easier
Fixed
v0.3.4
v0.3.3
Added
- A lot of Wikidata entry type mappings
- Support for option-less piping stdin -> stdout in the CLI
Changed
- Greatly improve name parsing
- Wikidata entry type default is now
book
to align with, among other things, BibTeX
Fixed
- Unknown Wikidata entry type now actually defaults to something
- CLI now uses the API changed in 0.3.1
v0.3.2
v0.3.1
Added
- Options parameter in
parseInput
andparseInputAsync
- 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
andCite.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