Skip to content

Latest commit

 

History

History
1089 lines (811 loc) · 58.1 KB

CHANGELOG.md

File metadata and controls

1089 lines (811 loc) · 58.1 KB

Changelog

0.7.16 - 2024-09-23

  • Pin component versions to 0.7.16:

Bug Fixes

  • plugin-bibtex: correctly escape syntax in output (ef9aaff), closes #232
  • plugin-ris: account for CSL with numeric ids (43267df), closes #238

0.7.15 - 2024-08-11

  • Pin component versions to 0.7.15:

Bug Fixes

  • plugin-wikidata: replace deprecated wikidata-sdk (32d1527)

0.7.14 - 2024-06-12

  • Pin component versions to 0.7.14:

Bug Fixes

  • core: fix regression in 4ae7fbc (c2dcb6a), closes #229

0.7.13 - 2024-06-06

  • Pin component versions to 0.7.13:

Bug Fixes

  • core: handle errors in user agent determination (4ae7fbc), closes #227
  • core: only use node-fetch until node 16 is dropped (4b29a5d)

0.7.12 - 2024-05-07

  • Pin component versions to 0.7.12:

Features

  • plugin-bibtex: add option to force use of label (d5631e2)

0.7.11 - 2024-04-17

  • Pin component versions to 0.7.11:

Bug Fixes

  • plugin-ris: fall back to default type (a3d0391), closes #225

Features

  • core: normalize non-lowercase type values (1ab0d2f), closes #225
  • plugin-csl: add option to hyperlink URLs and DOIs (4c15804)

0.7.10 - 2024-03-27

  • Pin component versions to 0.7.10:

Bug Fixes

  • plugin-ris: handle output of literal dates (6f6b85a)

Features

  • plugin-wikidata: update type mappings (e9493d1)

0.7.9 - 2024-03-05

  • Pin component versions to 0.7.9:

Bug Fixes

  • plugin-bibtex: allow list delimiters in text in environments (da0c64b)

Features

  • core: normalize ORCIDs on authors (e91b580)
  • plugin-bibtex: implement data annotations (68a8ec6)
  • plugin-bibtex: map ORCIDs to data annotations (5c3951a)

0.7.8 - 2024-01-22

  • Pin component versions to 0.7.8:

Bug Fixes

  • plugin-bibtex: do not case-protect commands in output (50333d1)
  • plugin-bibtex: fix math-mode unicode escapes (f05e45c), closes #192
  • plugin-bibtex: remove lone diacritics (49e9100)
  • plugin-wikidata: handle no/unkown value claims (673e35c), closes #217

Features

  • plugin-bibtex: add config to keep all unicode (cd018f9), closes #177
  • plugin-doi: parse DOIs with square, angle brackets (5434d5a), closes #182

0.7.7 - 2024-01-20

  • Pin component versions to 0.7.7:

Features

  • plugin-wikidata: meaningful errors for 404s (280274a), closes #221

0.7.6 - 2024-01-17

  • Pin component versions to 0.7.6:

Bug Fixes

  • plugin-doi: map non-standard dissertation type (5f75243), closes #220

0.7.5 - 2024-01-06

  • Pin component versions to 0.7.5:

Features

  • plugin-bibtex: add mappings for plainnat fields (208bd96), closes #204

0.7.4 - 2023-11-01

  • Pin component versions to 0.7.4:

Bug Fixes

  • plugin-ris: fix output of certain date fields (796dce3)
  • plugin-ris: parse year numbers on certain items (d300c33)

0.7.3 - 2023-11-01

  • Pin component versions to 0.7.3:

Bug Fixes

  • plugin-ris: always set PY in RIS output (2979ae2), closes #213

0.7.2 - 2023-11-01

  • Pin component versions to 0.7.1:

Bug Fixes

  • plugin-bibtex: do not map "howpublished" url to publisher (d4e3296)

0.7.1 - 2023-09-23

  • Pin component versions to 0.7.1:

Bug Fixes

  • update peer dependency statements (95ea6bb)

0.7.0 - 2023-09-23

  • Pin component versions to 0.7.0:

Bug Fixes

  • plugin-bibjson: expand recognition of bibjson (c80b9b9)
  • plugin-bibjson: make parsing more resilient (4f615f4)
  • plugin-csl: fix citation data object in entry (6527db6)

BREAKING CHANGES

  • Use Node.js 16 or above

  • core: Do not automatically fetch URLs, unless configured to do so. To continue to automatically fetch and evaluate the response of URLs, install and load the new URL plugin like so:

    require('@citation-js/plugin-url')
    

    This is a breaking change. This change does not apply to specific URLs, like the DOI, ISBN, Pubmed, and Wikidata plugins. The @else/url input type can still be used to build input types off of.

0.6.9 - 2023-09-20

  • Pin component versions to 0.6.9:

Bug Fixes

  • plugin-wikidata: do not use 'subject named as' for authors (b6efe22)

Features

  • plugin-wikidata: use Q5 to recognize literal names (541d54c), closes #199

0.6.8 - 2023-05-10

  • Pin component versions to 0.6.8:

Bug Fixes

  • plugin-bibtex: map addendum field to note (e6d19c5), closes #198
  • plugin-bibtex: map langid field to language (ff00ea2), closes #197

0.6.7 - 2023-02-14

  • Pin component versions to 0.6.7:

Bug Fixes

0.6.6 - 2023-01-31

  • Pin component versions to 0.6.6:

Bug Fixes

  • plugin-bibtex: support mixed case "and" in lists (8e262db), closes #188

Features

  • plugin-doi: support URLs without scheme (e84f7d8)

0.6.5 - 2022-12-31

  • Pin component versions to 0.6.5:

Bug Fixes

  • plugin-ris: update priority of fields (636b8e2), closes #185

0.6.4 - 2022-07-19

  • Pin component versions to 0.6.4:

Bug Fixes

  • plugin-csl: fix typo (dc92fb5)
  • plugin-csl: handle unknown cs:style default-locale (974ea05), closes #166
  • plugin-wikidata: add missing mappings (abdc0f3)
  • plugin-wikidata: fix mappings (3f33e5b)

Features

  • plugin-wikidata: add software fields (beb5dd9)

0.6.3 - 2022-06-23

  • Pin component versions to 0.6.3:

Bug Fixes

  • plugin-csl: respect cs:style attribute default-locale (8189854), closes #166

0.6.2 - 2022-06-02

  • Pin component versions to 0.6.2:

Bug Fixes

  • plugin-ris: fix type constraints of mappings (9be8f3b)

0.6.1 - 2022-06-02

  • Pin component versions to 0.6.1:

Bug Fixes

  • plugin-bibtex: do not output empty s2id field (ca58949)

Features

  • plugin-wikidata: include additional version information (7b870b8)

0.6.0 - 2022-05-30

  • Pin component versions to 0.6.0:
  • chore!: drop Node 10, 12 support (37ea76b)

Bug Fixes

  • core: avoid flatMap for Node 10 support (8a65094)
  • plugin-bibjson: set correct generic type (ec7de7f)
  • plugin-bibtex: consider entries with no type (a55fe60)
  • plugin-bibtex: fix biblatex handling of mastersthesis (6196adf)
  • plugin-bibtex: fix handling of bookpagination (7f41e30)
  • plugin-bibtex: fix typo in crossref code (3c377e4)
  • plugin-bibtex: map biblatex eid to number (0eb15af), closes #140
  • plugin-bibtex: set default CSL type correctly (94a402e)
  • plugin-bibtex: set default CSL type correctly (bcd11b3)
  • plugin-bibtex: use CSL 1.0.2 'custom' field (986f80b)
  • plugin-ris: fix ISSN regex (76402c1)
  • plugin-ris: fix name parsing (4382f31)
  • plugin-wikidata: fall back to original-author (1af1249), closes #106

Features

  • core: output CSL 1.0.2 by default (5acec19)
  • core: remove custom _ fields when cleaning (c974ebc)
  • core: update internal format to CSL 1.0.2 (7249425)
  • plugin-bibjson: update mapping to CSL 1.0.2 (d04aacf)
  • plugin-bibtex: add Semantic Scholar s2id mapping (#159) (f116cde)
  • plugin-bibtex: implement crossref properly (f9cdf5b), closes #115
  • plugin-bibtex: update mapping to CSL 1.0.2 (6c68aff)
  • plugin-csl: adapt to CSL 1.0.2 input (4090164)
  • plugin-csl: update styles and locales (1ede64b)
  • plugin-ris: update mapping to CSL 1.0.2 (b59bd12)
  • plugin-wikidata: import issue/vol/etc. from qualifiers (dc7e270)
  • plugin-wikidata: update mapping to CSL 1.0.2 (09f2e2d), closes #142

BREAKING CHANGES

  • use Node.js 14 or above
  • core: to get CSL 1.0.1 output, use the 'version' option
  • plugin-csl: output of updated styles and locales may differ
  • core: use the 'custom' object instead of fields starting with an underscore.

BREAKING CHANGES

  • use Node.js 14 or above

0.5.7 - 2022-04-17

  • Pin component versions to 0.5.7:

Bug Fixes

  • core: do not use process variable in browser (d779267), closes #156

0.5.6 - 2022-02-12

  • Pin component versions to 0.5.6:

Bug Fixes

  • plugin-bibtex: fix handling of literal dates (701526d)

0.5.5 - 2021-12-31

  • Pin component versions to 0.5.5:

Bug Fixes

  • plugin-bibtex: ignore empty fields (6badc93)
  • plugin-csl: error for unknown output format (b9a2b7d)
  • plugin-ris: add non-standard issue mapping (fb6ae32)
  • plugin-ris: map publisher-place (89cb3f2)

0.5.4 - 2021-12-11

  • Pin component versions to 0.5.4:

Bug Fixes

  • core: do not convert string id to numbers (6490200)
  • plugin-bibtex: fix numeric id in bibtex label (6291843)
  • plugin-bibtex: replace use of moo.keywords (efb9586)

0.5.3 - 2021-11-24

  • Pin component versions to 0.5.3:
  • chore!: drop Node 8, add Node 14 (a5ceb07)

Bug Fixes

  • plugin-csl: handle missing entries (93400d6)
  • remove named imports of JSON files (9b8315b)
  • plugin-doi: handle crossref preprints (0927f43)
  • plugin-csl: check for non-normalised language codes (3928f70)

Features

  • core: throw more descriptive errors in Translator (c35b40f)
  • plugin-csl: allow citation context options (c5c3e8c)
  • plugin-csl: allow cite-items (48fb79c)
  • plugin-bibtex: allow non-standard day field (96f8d43), closes #134

BREAKING CHANGES

  • drops Node 8 support

0.5.2 - 2021-11-24

  • Pin component versions to 0.5.2:

Bug Fixes

  • plugin-csl: check for non-normalised language codes (3928f70)

Features

  • plugin-bibtex: allow non-standard day field (96f8d43), closes #134

0.5.1 - 2021-05-11

  • Pin component versions to 0.5.1

0.5.0 - 2021-04-01

  • Pin component versions to 0.5.0:

Bug Fixes

  • plugin-bibtex: remove CSL 1.0.2 types (365fe1c)
  • plugin-bibtex: remove lookbehind regex (fe20199)

Features

  • plugin-bibtex: allow URL in howpublished (3884e08)
  • plugin-ris: add formatting 'spec' option (ec0bbad)

0.5.0-alpha.10 - 2021-01-28

Bug Fixes

  • core: clean type as regular string (6982ae6)
  • core: do not snapshot initial Cite() state (19afac7)
  • core: reset Grammar log on each run (68d8a2a)
  • core: reset Grammar state on each run (834f679)
  • plugin-bibtex: apply upstream changes (f5a1514)
  • plugin-bibtex: apply various fixes (861cb36)
  • plugin-bibtex: apply various fixes (86e55df)
  • plugin-bibtex: do not escape verbatim value (a90f4a5)
  • plugin-bibtex: do not ignore month after day (4914797)
  • plugin-bibtex: escape more unicode in output (1647734)
  • plugin-bibtex: fix howpublished/url mapping (b655bec)
  • plugin-bibtex: fix mapping bugs (a644b3a)
  • plugin-bibtex: output w/ case protection (07f99b5)
  • plugin-bibtex: remove unicode from label (81d657d)
  • plugin-bibtex: update BibTeX mappings (db79896)

Features

  • core: add mainRule param to Grammar (e8679d5)
  • core: move DOI corrections to core (03b804b)
  • plugin-bibtex: add -subtitle, -titleaddon (eef0e6c), closes #116
  • plugin-bibtex: add 'strict' parser option (64f0c38)
  • plugin-bibtex: add BibLaTex mappings (84655a4)
  • plugin-bibtex: rename sentenceCase option (35943d2)
  • plugin-bibtex: update BibTeX mappings (987b75c)
  • plugin-bibtex: update BibTeX parser (9df7558)
  • plugin-csl: add 'asEntryArray' option to bibliography (8039967)
  • plugin-csl: add 'entry' option to bibliography (298819b)

BREAKING CHANGES

  • core: Constructing a Cite instance no longer automatically creates a snapshot. You can do this manually instead.
  • plugin-bibtex: - The @bibtex input type prefix has been changed to @biblatex
    • The @bibtex input type prefix is now used for parsing as pure @bibtex. These types have no type parser so are not automatically used.
    • The bibtex output format now outputs valid BibTeX, use the biblatex output format for BibLaTeX output.
    • The output option generateLabel has been replaced by the config option format.useIdAsLabel
  • plugin-bibtex: Although the file parsing has been tested extensively, the mapping has not. In addition, since the mapping has been created from scratch according to the BibLaTeX documentation behaviour might change. Please report any problems at https://github.com/citation-js/citation-js/issues

0.5.0-alpha.9 - 2020-10-20

0.5.0-alpha.8 - 2020-10-20

Bug Fixes

  • plugin-bibtex: fix closing tag behavior (466d5b1)
  • plugin-csl: fix disambig error (35ec98d)

0.5.0-alpha.7 - 2020-08-29

Bug Fixes

  • cli: fix check for prefixed options (4b7fe6b)
  • plugin-bibtex: avoid error on non-utf-8 webpages (c09a9e4)
  • plugin-csl: remove entry caching (efa648b)

0.5.0-alpha.6 - 2020-07-05

Bug Fixes

  • plugin-bibtex: fix combining tilde (cc9fd8b)
  • plugin-bibtex: normalize strings (447b0b4)
  • plugin-bibtex: support all 10 escaped characters (#75) (da016b4)
  • plugin-ris: format literal names (893d144), closes #87

Features

  • plugin-bibtex: improve BibTeX mappings (#76) (214e77b)
  • plugin-csl: update apa to 7th edition (#89) (2b5f2c5)

BREAKING CHANGES

  • plugin-csl: default APA style is now 7th edition

0.5.0-alpha.5 - 2020-03-08

Bug Fixes

  • core: do not use User-Agent in CORS (047847d)
  • plugin-bibtex: ignore braces for grouping command (#64) (20763dc)
  • plugin-ris: allow string for keyword component (#70) (0294999), closes #67
  • plugin-ris: normalize DOIs (#68) (eb97fa5)
  • plugin-ris: trim lines in parse function (#71) (f81b845), closes #66

0.5.0-alpha.4 - 2019-10-15

Bug Fixes

  • core: fix normalising headers code for the browser (d4693a7)
  • plugin-bibtex: do not try to format raw dates (b28eca8)
  • plugin-bibtex: warn for umatched entry braces (7905667)

0.5.0-alpha.3 - 2019-10-08

Bug Fixes

  • plugin-bibtex: remove nocase from diacritics (7f7e52f)
  • plugin-bibtex: replace trimEnd() with trim() (b59da57)
  • plugin-ris: fix handling of multiline values (eba2bfe)
  • plugin-ris: handle \r\n line endings (f0a3b29)

Features

  • bibtex: add new BibTeX parser (3c3588e)
  • core: add Grammar class to utils (052754f)

0.5.0-alpha.2 - 2019-09-10

Bug Fixes

0.5.0-alpha.0 - 2019-09-07

  • chore!: drop Node 6 support (f27d812), closes #55

Bug Fixes

  • core: do not return empty name lists when cleaning (d31ca8a)
  • core: fix Cite#sort handling of multi-value props (3a7751c)
  • core: fix handling of generic best guesses (c8e8c78)
  • core: fix util.fetchId (7850e75)
  • core: improve date handling when cleaning (08da3e7)
  • core: only overwrite individual headers in fetchFile (8d47684)
  • core: pass around bestGuessConversions (50fa283)
  • core: pass checkContentType in fetchFile (e415f76)
  • core: set userAgent properly in fetchFile (a91fd7b)
  • plugin-bibtex: fix label for incomplete author (352ca4f), closes #56

Features

  • core: complete input option validation (d9be626)
  • core: support has() & list() on plugins.config (fe7f59f)

BREAKING CHANGES

  • drops Node 6 support

0.4.10 - 2019-08-27

  • Pin component versions to v0.4.10:

Bug Fixes

  • plugin-csl: use global symbol registry (dd8e839)

0.4.9 - 2019-08-27

  • Pin component versions to v0.4.9:

Bug Fixes

  • core: cap sync-rpc version (2157335), closes #54
  • core: remove Object.entries call (c38e3b9)
  • core: remove use of object spread (d82342a), closes #53
  • plugin-csl: defer error to citeproc-js (0f76fcb)
  • plugin-csl: only proxy @bibliography/style once (a372012)
  • plugin-csl: pass 'this' in getWrapperProxy (c3e670a)
  • plugin-csl: return proxy in getWrapperProxy (39e57a3)
  • plugin-ris: fix legacy EP tag (d7c6ea5)

Features

  • core: add match=none to propertyConstraint (9bafb58)
  • core: add Translator to utils (0dd4963)
  • plugin-ris: add RIS input support (1c49bcb)

0.4.8 - 2019-07-06

  • Pin component versions to v0.4.8:

Bug Fixes

  • core: do not attempt to clone non-standard objects (5309d08), closes #52
  • plugin-wikidata: properly collect id from fetched items (710a276)

Features

  • core: use central User-Agent in fetchFile (3fa8863), closes #39

0.4.7 - 2019-06-29

  • Pin component versions to v0.4.7:

Bug Fixes

  • core: make fetchFile checkResponse optional (a51a185)
  • plugin-doi: use new checkContentType option (92df863)

0.4.6 - 2019-06-29

  • Pin component versions to v0.4.6:

Bug Fixes

  • core: check if fetchFile response matches request (e9f9132), closes #36
  • core: fix getBody in fetchFile (e4247da)
  • core: remove console.log call (e0b1790)
  • plugin-wikidata: fix typo (8916446)

Features

  • core: support POST in fetchFile (ece8a2d)

0.4.5 - 2019-06-13

  • Pin component versions to v0.4.5:

Bug Fixes

  • 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)

Features

  • 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)

BREAKING CHANGES

  • 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:
  • plugin-wikidata: additional mappings (01be936), closes #18

0.4.2 - 2019-06-13

  • Pin component versions to v0.4.2:

Bug Fixes

  • plugin-bibtex: fix label creation (c7cde40), closes #35
  • plugin-wikidata: support imprecise dates (c898db7), closes #33

Features

  • plugin-wikidata: support more URL properties (#34) (d489843)

0.4.1 - 2019-06-13

Pin component versions to v0.4.1:

  • plugin-wikidata: fix getting label if no title exists (#32) (69243c5)

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

BREAKING

  • 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

Added

  • [meta] More test work
  • util.Register: Alias remove to delete
  • input/@wikidata: Support 'stated as' (P1932) qualifier, if possible preferring that over fetching author labels (#131)
  • output/@csl: Bibliography nosort option
  • input/@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)

0.4.0-9 - 2018-07-19

Added

  • 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)

Changed

  • BibTeX title fields are no longer wrapped in double brackets when creating output (#155)

Fixed

  • 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.

Added

  • [meta] Point unpkg & jsdelivr field to citation.min.js

Changed

  • Update for BibJSON parsing (#32). Including tests & documentation.

Fixed

  • Cite option validation (and tests that broke because of it)
  • Handling incomplete dates in output formatters (#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

Added

  • [meta] A lot of tests cases regarding input parsing mechanisms (#123)
  • General plugin system (#88)
  • Alias type option to format in most output formats
  • CSL config is now registered with the general plugin system
  • CSL citation support (see #148)

Changed

  • 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)

Testing

  • Tests now support HTTP(S) request mocking (#134, #136)
  • Added REDOS flagging tools
  • Tests for global plugin system

Fixed

  • @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

Fixed

  • BibTeX output typo, trying to find the non-existent url CSL property, instead of the URL one (#153)

0.4.0-5 - 2018-06-03

Fixed

  • Webpack error because of browserify-centric setup (#151)

0.4.0-4 - 2018-05-19

Fixed

  • DOI bug due to a regression in 0.4.0-3 (dda2360f4d91af1d48e1bf859d784b2bdc694c6d)

0.4.0-3 - 2018-05-12

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

  • 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

Added

  • New formatting system w/ plugins (#82)
  • Register class for general-purpose registers (already used in 4 places) (#115)
  • Cite#format (a Cite formatting method for output plugins)

Changed

  • 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

Refactored

  • Use ESLint envs instead of listing globals (#114)

Fixed

  • 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

Added

  • 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

Changed

  • 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

Changed

  • Updated README

Fixed

  • Command sequence normalisation in BibTeX
  • BibTeX test case output

0.3.3 - 2017-09-12

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

0.3.2 - 2017-09-10

Added

  • New Wikidata field mappings (see #76)

Changed

  • 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

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

0.3.0 - 2017-08-25

See 0.3.0-14.

0.3.0-14 - 2017-08-24

Added

  • Alias for main parsing functions: Cite.parse.input.chain -> Cite.normalise and Cite.parse.input.async.chain -> Cite.normaliseAsync
  • Async versions of Cite#set() and Cite#add() (only Promise, no callback)

Refactored

  • Wikidata JSON parsing system

Fixed

  • Wikidata prop parsing function now returns with the proper field name when parsing an author prop

0.3.0-13 - 2017-08-22

Added

  • Support for matching several tokens in a row with TokenStack

Refactored

  • Add explanation to complex code
  • BibTeX publication type parsing now uses a type map

Fixed

  • 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

Added

  • Support for BibTeX literals in author and date fields
  • Support for BibTeX fields year and month

Changed

  • Cite#retrieveVersion() now returns null on all invalid versions

Refactored

  • Testing now with the mocha framework
  • BibTeX parser

Fixed

  • Sorting by any date field

0.3.0-11 - 2017-07-28

Added

  • Custom templates & locales register

Fixed

  • Use correct date format

0.3.0-10 - 2017-07-28

Added

  • DOI support
  • CSL normaliser

Fixed

  • Async prop parsing

0.3.0-9 - 2017-07-06

Added

  • CLI stdin input

Fixed

  • DOM HTML output
  • CLI non-file input

0.3.0-8 - 2017-06-03

Added

  • Iterator to Cite

Fixed

  • 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

Added

  • Bib.TXT i/o support

Fixed

  • CLI Citation.js v0.3.0-7 support

0.3.0-6 - 2017-05-15

Added

  • Async support

Fixed

  • Increased browser support

0.3.0-5 - 2017-05-08

Added

  • Exposition of most Cite functions to users

Changed

  • Logging non-standard

Removed

  • Remove Cite#_input

Refactored

  • Code style and ES6+

Older changelogs coming later

I really don't recommend using those versions anyway.