0.7.16
- 2024-09-23
- Pin component versions to
0.7.16
:
0.7.15
- 2024-08-11
- Pin component versions to
0.7.15
:
- plugin-wikidata: replace deprecated wikidata-sdk (32d1527)
0.7.14
- 2024-06-12
- Pin component versions to
0.7.14
:
0.7.13
- 2024-06-06
- Pin component versions to
0.7.13
:
0.7.12
- 2024-05-07
- Pin component versions to
0.7.12
:
- plugin-bibtex: add option to force use of label (d5631e2)
0.7.11
- 2024-04-17
- Pin component versions to
0.7.11
:
0.7.10
- 2024-03-27
- Pin component versions to
0.7.10
:
- plugin-ris: handle output of literal dates (6f6b85a)
- plugin-wikidata: update type mappings (e9493d1)
0.7.9
- 2024-03-05
- Pin component versions to
0.7.9
:
- plugin-bibtex: allow list delimiters in text in environments (da0c64b)
0.7.8
- 2024-01-22
- Pin component versions to
0.7.8
:
0.7.7 - 2024-01-20
- Pin component versions to
0.7.7
:
0.7.6
- 2024-01-17
- Pin component versions to
0.7.6
:
0.7.5
- 2024-01-06
- Pin component versions to
0.7.5
:
0.7.4
- 2023-11-01
- Pin component versions to
0.7.4
:
0.7.3
- 2023-11-01
- Pin component versions to
0.7.3
:
0.7.2
- 2023-11-01
- Pin component versions to
0.7.1
:
- plugin-bibtex: do not map "howpublished" url to publisher (d4e3296)
0.7.1
- 2023-09-23
- Pin component versions to
0.7.1
:
- update peer dependency statements (95ea6bb)
0.7.0
- 2023-09-23
- Pin component versions to
0.7.0
:
- plugin-bibjson: expand recognition of bibjson (c80b9b9)
- plugin-bibjson: make parsing more resilient (4f615f4)
- plugin-csl: fix citation data object in
entry
(6527db6)
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
:
- plugin-wikidata: do not use 'subject named as' for authors (b6efe22)
0.6.8
- 2023-05-10
- Pin component versions to
0.6.8
:
0.6.7
- 2023-02-14
- Pin component versions to
0.6.7
:
0.6.6
- 2023-01-31
- Pin component versions to
0.6.6
:
- plugin-doi: support URLs without scheme (e84f7d8)
0.6.5
- 2022-12-31
- Pin component versions to
0.6.5
:
0.6.4
- 2022-07-19
- Pin component versions to
0.6.4
:
- 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)
- plugin-wikidata: add software fields (beb5dd9)
0.6.3
- 2022-06-23
- Pin component versions to
0.6.3
:
0.6.2
- 2022-06-02
- Pin component versions to
0.6.2
:
- plugin-ris: fix type constraints of mappings (9be8f3b)
0.6.1
- 2022-06-02
- Pin component versions to
0.6.1
:
- plugin-bibtex: do not output empty s2id field (ca58949)
- 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)
- 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
- 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
- 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.
- use Node.js 14 or above
0.5.7
- 2022-04-17
- Pin component versions to
0.5.7
:
0.5.6
- 2022-02-12
- Pin component versions to
0.5.6
:
- plugin-bibtex: fix handling of literal dates (701526d)
0.5.5
- 2021-12-31
- Pin component versions to
0.5.5
:
0.5.4
- 2021-12-11
- Pin component versions to
0.5.4
:
0.5.3
- 2021-11-24
- Pin component versions to
0.5.3
:
- chore!: drop Node 8, add Node 14 (a5ceb07)
- 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)
- 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
- drops Node 8 support
0.5.2
- 2021-11-24
- Pin component versions to
0.5.2
:
- plugin-csl: check for non-normalised language codes (3928f70)
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
:
0.5.0-alpha.10
- 2021-01-28
- Pin component versions to
0.5.0-alpha.10
:
- 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)
- 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)
- 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 thebiblatex
output format for BibLaTeX output.- The output option
generateLabel
has been replaced by the config optionformat.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
- Pin component versions to
0.5.0-alpha.9
0.5.0-alpha.8
- 2020-10-20
- Pin component versions to
0.5.0-alpha.8
:
0.5.0-alpha.7
- 2020-08-29
- Pin component versions to
0.5.0-alpha.7
:
0.5.0-alpha.6
- 2020-07-05
- Pin component versions to
0.5.0-alpha.6
:
- 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
- plugin-bibtex: improve BibTeX mappings (#76) (214e77b)
- plugin-csl: update apa to 7th edition (#89) (2b5f2c5)
- plugin-csl: default APA style is now 7th edition
0.5.0-alpha.5
- 2020-03-08
- Pin component versions to
0.5.0-alpha.5
:
0.5.0-alpha.4
- 2019-10-15
- Pin component versions to
0.5.0-alpha.4
:
0.5.0-alpha.3
- 2019-10-08
- Pin component versions to
0.5.0-alpha.3
:
0.5.0-alpha.2
- 2019-09-10
- Pin component versions to
0.5.0-alpha.2
:
- core: fix date value null check (f6a3ab2)
- core: fix cleaning 'null' date values (c927f81), closes /github.com/larsgw/citation.js/issues/190#issuecomment-529917382
- core: fix cleaning 'null' name values (2d59a32)
0.5.0-alpha.0
- 2019-09-07
- Pin component versions to
v0.5.0-alpha.0
:
- 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
- core: complete input option validation (d9be626)
- core: support has() & list() on plugins.config (fe7f59f)
- drops Node 6 support
0.4.10
- 2019-08-27
- Pin component versions to
v0.4.10
:
- plugin-csl: use global symbol registry (dd8e839)
0.4.9
- 2019-08-27
- Pin component versions to
v0.4.9
:
- 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)
0.4.8
- 2019-07-06
- Pin component versions to
v0.4.8
:
0.4.7
- 2019-06-29
- Pin component versions to
v0.4.7
:
0.4.6
- 2019-06-29
- Pin component versions to
v0.4.6
:
- 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)
- core: support POST in fetchFile (ece8a2d)
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 (#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.