0.4.5
- 2019-06-13
- Pin component versions to
v0.4.5
:
- plugin-bibtex: fix parsing of name lists (11d7dd7)
- plugin-bibtex: fix safe labels for unicode names (8167958)
- plugin-bibtex: safe author name (a232fe7)
- plugin-bibtex: strip unknown commands in input (5b3508e)
- plugin-wikidata: exclude emoji flags as country names (73b0e84)
- plugin-wikidata: fix cache fetching (63a4f0d), closes #41
- plugin-wikidata: fix country name check (90d1c07)
- cli: add --plugins option (229c95c), closes #40
- cli: plugin config & format options (8bd2a4a)
- cli: support for input options (87d8eb5)
- plugin-bibtex: add generateLabel option (d10631c)
- plugin-bibtex: strips unkown commands entirely instead of replacing the braces with no-case tags
0.4.4
- 2019-06-13
- Pin component versions to
v0.4.4
:
0.4.2
- 2019-06-13
- Pin component versions to
v0.4.2
:
0.4.1
- 2019-06-13
Pin component versions to v0.4.1
:
0.4.0
- 2019-04-13
Updated components to v0.4.0
, release v0.4
.
0.4.0-12
- 2019-03-17
Updated components from v0.4.0-rc.1
to v0.4.0-rc.4
, see that changelog.
0.4.0-11
- 2018-12-27
- Moved all code to '@citation-js' components. There should be full backwards compatibility, apart from the structure of files.
0.4.0-10
- 2018-11-02
- [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)
- Deprecated wrapper CSL locale and template methods
output/@csl
: Affixes now work reliably for all formats (#84)
0.4.0-9
- 2018-07-19
- Support for styled text in title fields in BibTeX input (see #150). Values wrapped in double brackets are treated as values wrapped in single brackets (see #155)
- BibTeX title fields are no longer wrapped in double brackets when creating output (#155)
- Handling of styled text in CSL-JSON title fields when creating BibTeX output (#150)
- Bug introduced when fixing REDOS that made the @else/url type not match @wikidata/api in some cases (#156)
0.4.0-8
- 2018-07-14
Bug fixes.
- [meta] Point
unpkg
&jsdelivr
field to citation.min.js
- Update for BibJSON parsing (#32). Including tests & documentation.
- Cite option validation (and tests that broke because of it)
- Handling incomplete dates in output formatters (larsgw#53 (comment)). It was caused by #139, a fix for #138 of which #127 is part of
- Make a check when polishing API data not fail when a date field is an empty object (#147)
- [meta] Docs index issue (070cf12)
0.4.0-7
- 2018-07-12
- [meta] A lot of tests cases regarding input parsing mechanisms (#123)
- General plugin system (#88)
- Alias
type
option toformat
in most output formats - CSL config is now registered with the general plugin system
- CSL
citation
support (see #148)
- Reformed input plugin system (again) (#106)
- The
parseDate
method now has an internal parsing implementation (#127, #138) - Updated documentation (both in-code JSDoc and guides)
- Tests now support HTTP(S) request mocking (#134, #136)
- Added REDOS flagging tools
- Tests for global plugin system
@else/url
blocking type recognition (#104)@else/json
type predicate for empty objects:'{}' // didn't work '{a: 1}' // worked '{ }' // worked as well
- REDOS (mostly, anyway) (see #107, 7c52beff44b37443b812ee5864733e441e29a812)
- JSON output still being invalid (#143, see also #144)
- [meta] Invalid Babel
browsers
target
0.4.0-6
- 2018-07-01
- BibTeX output typo, trying to find the non-existent
url
CSL property, instead of theURL
one (#153)
0.4.0-5
- 2018-06-03
- Webpack error because of browserify-centric setup (#151)
0.4.0-4
- 2018-05-19
- DOI bug due to a regression in 0.4.0-3 (dda2360f4d91af1d48e1bf859d784b2bdc694c6d)
0.4.0-3
- 2018-05-12
- RIS output support (#125)
- A lot of the building scripts
- All code uses the util fetchFile(Async) functions, to make testing easier
- Subtle type checking bug in translation scheme parsing code (#128)
- Logging API not supported on Node.js v6 (#124)
0.4.0-2
- 2018-05-12
Was skipped due to publishing the wrong files.
0.4.0-1
- 2017-12-31
- New formatting system w/ plugins (#82)
Register
class for general-purpose registers (already used in 4 places) (#115)Cite#format
(aCite
formatting method for output plugins)
- Modularised most output formatting code
- Adding CSL locales and templates now overwrites existing ones. Previously, it didn't, but there wasn't any way of getting them back anyway
- Generalised formatting functions (there are still backwards-compatible wrappers)
- Expanded output options validation issue error messages
- Deprecated
Cite#get
- Use ESLint envs instead of listing globals (#114)
- Docs issues (#112)
- CLI ouptut file extensions (#121)
Cite.async
behaviour w/ callback & no options (#122)- Output options validation issues (#120)
- Moved input parsing to actual respective test cases
0.4.0-0
- 2017-12-22
- New parsing system w/ plugins
This change should be mostly backwards-compatible, although certain workarounds may stop working. If there's an issue, please report it here
- Support for dynamic output types
- Greatly improved docs
- Map namespaces in JSDoc comments
- Add tutorials
Cite#options()
now doesn't update options when they are invalid- Improved BibTeX field mappings
- Support month names in BibTeX
- CLI logging now on stderr (instead of stdout)
0.3.4
- 2017-09-12
- Updated README
- Command sequence normalisation in BibTeX
- BibTeX test case output
0.3.3
- 2017-09-12
- A lot of Wikidata entry type mappings
- Support for option-less piping stdin -> stdout in the CLI
- Greatly improve name parsing
- Wikidata entry type default is now
book
to align with, among other things, BibTeX
- Unknown Wikidata entry type now actually defaults to something
- CLI now uses the API changed in 0.3.1
0.3.2
- 2017-09-10
- New Wikidata field mappings (see #76)
- BibTeX name field output now uses reverse notation
- Main parsing function aliases/shortcuts:
Cite.normalise()
->Cite.input()
Cite.normaliseAsync()
->Cite.inputAsync()
0.3.1
- 2017-09-02
- 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
- 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
- Simplify code to normalise CSL-JSON
- Mock APIs for async tests
- Parsing names with lowercase particles now doesn't omit family names
- Better error messaging when API/file requests fails
0.3.0
- 2017-08-25
See 0.3.0-14
.
0.3.0-14
- 2017-08-24
- Alias for main parsing functions:
Cite.parse.input.chain -> Cite.normalise
andCite.parse.input.async.chain -> Cite.normaliseAsync
- Async versions of
Cite#set()
andCite#add()
(only Promise, no callback)
- Wikidata JSON parsing system
- Wikidata prop parsing function now returns with the proper field name when parsing an author prop
0.3.0-13
- 2017-08-22
- Support for matching several tokens in a row with TokenStack
- Add explanation to complex code
- BibTeX publication type parsing now uses a type map
- Typo in BibTeX de-escaping code, now correctly parsing % signs in author fields
- False positive parsing Array JSON string as Bib.TXT
0.3.0-12
- 2017-08-01
- Support for BibTeX literals in author and date fields
- Support for BibTeX fields year and month
Cite#retrieveVersion()
now returnsnull
on all invalid versions
- Testing now with the mocha framework
- BibTeX parser
- Sorting by any date field
0.3.0-11
- 2017-07-28
- Custom templates & locales register
- Use correct date format
0.3.0-10
- 2017-07-28
- DOI support
- CSL normaliser
- Async prop parsing
0.3.0-9
- 2017-07-06
- CLI stdin input
- DOM HTML output
- CLI non-file input
0.3.0-8
- 2017-06-03
- Iterator to Cite
- CLI Windows support
- Wikidata input when value is empty
- DOM HTML output
- Output JSON is now valid JSON
- Sorting by callback and custom props
- Input support for BibTeX JSON
0.3.0-7
- 2017-05-22
- Bib.TXT i/o support
- CLI Citation.js v0.3.0-7 support
0.3.0-6
- 2017-05-15
- Async support
- Increased browser support
0.3.0-5
- 2017-05-08
- Exposition of most Cite functions to users
- Logging non-standard
- Remove
Cite#_input
- Code style and ES6+
I really don't recommend using those versions anyway.