citation-js 0.5.0-alpha.8 → 0.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md DELETED
@@ -1,602 +0,0 @@
1
- # Changelog
2
-
3
- ## [`0.5.0-alpha.8`](https://github.com/larsgw/citation.js/compare/v0.5.0-alpha.7...v0.5.0-alpha.8) - 2020-10-20
4
-
5
- * Pin component versions to [`0.5.0-alpha.8`](https://github.com/citation-js/citation-js/blob/master/CHANGELOG.md#050-alpha8-2020-10-20):
6
-
7
- > ### Bug Fixes
8
- >
9
- > * **plugin-bibtex:** fix closing tag behavior ([466d5b1](https://github.com/citation-js/citation-js/commit/466d5b1d234c8e327cfabb6528f8e72b065e2469))
10
- > * **plugin-csl:** fix disambig error ([35ec98d](https://github.com/citation-js/citation-js/commit/35ec98de69ce8b24f45a37139a989cd6754b2200))
11
-
12
- ## [`0.5.0-alpha.7`](https://github.com/larsgw/citation.js/compare/v0.5.0-alpha.6...v0.5.0-alpha.7) - 2020-08-29
13
-
14
- * Pin component versions to [`0.5.0-alpha.7`](https://github.com/citation-js/citation-js/blob/master/CHANGELOG.md#050-alpha7-2020-08-29):
15
-
16
- > ### Bug Fixes
17
- >
18
- > * **cli:** fix check for prefixed options ([4b7fe6b](https://github.com/citation-js/citation-js/commit/4b7fe6b1f6b908b3304929b1c1f05a09d137cf34))
19
- > * **plugin-bibtex:** avoid error on non-utf-8 webpages ([c09a9e4](https://github.com/citation-js/citation-js/commit/c09a9e467e85f6a8c52eb78c36a98734e32ee14c))
20
- > * **plugin-csl:** remove entry caching ([efa648b](https://github.com/citation-js/citation-js/commit/efa648ba570de7dabf0651442ca8ffdf52fcd5fe))
21
-
22
- ## [`0.5.0-alpha.6`](https://github.com/larsgw/citation.js/compare/v0.5.0-alpha.5...v0.5.0-alpha.6) - 2020-07-05
23
-
24
- * Pin component versions to [`0.5.0-alpha.6`](https://github.com/citation-js/citation-js/blob/master/CHANGELOG.md#050-alpha6-2020-07-04):
25
-
26
- > ### Bug Fixes
27
- >
28
- > * **plugin-bibtex:** fix combining tilde ([cc9fd8b](https://github.com/citation-js/citation-js/commit/cc9fd8bf12cb1f62b6a631d18ebc7eba0e05abfe))
29
- > * **plugin-bibtex:** normalize strings ([447b0b4](https://github.com/citation-js/citation-js/commit/447b0b419abe0719e89bd16e189fe58f4f62cc01))
30
- > * **plugin-bibtex:** support all 10 escaped characters ([#75](https://github.com/citation-js/citation-js/issues/75)) ([da016b4](https://github.com/citation-js/citation-js/commit/da016b41ac67793f3613e263658551817d7a2e70))
31
- > * **plugin-ris:** format literal names ([893d144](https://github.com/citation-js/citation-js/commit/893d144d21d665a3a70b5412fdfa44a5514d722c)), closes [#87](https://github.com/citation-js/citation-js/issues/87)
32
- >
33
- >
34
- > ### Features
35
- >
36
- > * **plugin-bibtex:** improve BibTeX mappings ([#76](https://github.com/citation-js/citation-js/issues/76)) ([214e77b](https://github.com/citation-js/citation-js/commit/214e77b6eda586e519ddc774dbf7054466472216))
37
- > * **plugin-csl:** update apa to 7th edition ([#89](https://github.com/citation-js/citation-js/issues/89)) ([2b5f2c5](https://github.com/citation-js/citation-js/commit/2b5f2c59ddefadd1e8c6ad78efde8f331a8e5332))
38
- >
39
- >
40
- > ### BREAKING CHANGES
41
- >
42
- > * **plugin-csl:** default APA style is now 7th edition
43
-
44
- ## [`0.5.0-alpha.5`](https://github.com/larsgw/citation.js/compare/v0.5.0-alpha.4...v0.5.0-alpha.5) - 2020-03-08
45
-
46
- * Pin component versions to [`0.5.0-alpha.5`](https://github.com/citation-js/citation-js/blob/master/CHANGELOG.md#050-alpha5-2019-10-28):
47
-
48
- > ### Bug Fixes
49
- >
50
- > * **core:** do not use User-Agent in CORS ([047847d](https://github.com/citation-js/citation-js/commit/047847d))
51
- > * **plugin-bibtex:** ignore braces for grouping command ([#64](https://github.com/citation-js/citation-js/issues/64)) ([20763dc](https://github.com/citation-js/citation-js/commit/20763dc))
52
- > * **plugin-ris:** allow string for keyword component ([#70](https://github.com/citation-js/citation-js/issues/70)) ([0294999](https://github.com/citation-js/citation-js/commit/0294999)), closes [#67](https://github.com/citation-js/citation-js/issues/67)
53
- > * **plugin-ris:** normalize DOIs ([#68](https://github.com/citation-js/citation-js/issues/68)) ([eb97fa5](https://github.com/citation-js/citation-js/commit/eb97fa5))
54
- > * **plugin-ris:** trim lines in parse function ([#71](https://github.com/citation-js/citation-js/issues/71)) ([f81b845](https://github.com/citation-js/citation-js/commit/f81b845)), closes [#66](https://github.com/citation-js/citation-js/issues/66)
55
-
56
- ## [`0.5.0-alpha.4`](https://github.com/larsgw/citation.js/compare/v0.5.0-alpha.3...v0.5.0-alpha.4) - 2019-10-15
57
-
58
- * Pin component versions to [`0.5.0-alpha.4`](https://github.com/citation-js/citation-js/blob/master/CHANGELOG.md#050-alpha4-2019-10-15):
59
-
60
- > ### Bug Fixes
61
- >
62
- > * **core:** fix normalising headers code for the browser ([d4693a7](https://github.com/citation-js/citation-js/commit/d4693a7))
63
- > * **plugin-bibtex:** do not try to format raw dates ([b28eca8](https://github.com/citation-js/citation-js/commit/b28eca8))
64
- > * **plugin-bibtex:** warn for umatched entry braces ([7905667](https://github.com/citation-js/citation-js/commit/7905667))
65
-
66
- ## [`0.5.0-alpha.3`](https://github.com/larsgw/citation.js/compare/v0.5.0-alpha.2...v0.5.0-alpha.3) - 2019-10-08
67
-
68
- * Pin component versions to [`0.5.0-alpha.3`](https://github.com/citation-js/citation-js/blob/master/CHANGELOG.md#050-alpha3-2019-10-07):
69
-
70
- > ### Bug Fixes
71
- >
72
- > * **plugin-bibtex:** remove nocase from diacritics ([7f7e52f](https://github.com/citation-js/citation-js/commit/7f7e52f))
73
- > * **plugin-bibtex:** replace trimEnd() with trim() ([b59da57](https://github.com/citation-js/citation-js/commit/b59da57))
74
- > * **plugin-ris:** fix handling of multiline values ([eba2bfe](https://github.com/citation-js/citation-js/commit/eba2bfe))
75
- > * **plugin-ris:** handle \r\n line endings ([f0a3b29](https://github.com/citation-js/citation-js/commit/f0a3b29))
76
- >
77
- >
78
- > ### Features
79
- >
80
- > * **bibtex:** add new BibTeX parser ([3c3588e](https://github.com/citation-js/citation-js/commit/3c3588e))
81
- > * **core:** add Grammar class to utils ([052754f](https://github.com/citation-js/citation-js/commit/052754f))
82
-
83
- ## [`0.5.0-alpha.2`](https://github.com/larsgw/citation.js/compare/v0.5.0-alpha.0...v0.5.0-alpha.2) - 2019-09-10
84
-
85
- * Pin component versions to [`0.5.0-alpha.2`](https://github.com/citation-js/citation-js/blob/master/CHANGELOG.md#050-alpha2-2019-09-10):
86
-
87
- > ### Bug Fixes
88
- >
89
- > * **core:** fix date value null check ([f6a3ab2](https://github.com/citation-js/citation-js/commit/f6a3ab2))
90
- > * **core:** fix cleaning 'null' date values ([c927f81](https://github.com/citation-js/citation-js/commit/c927f81)), closes [/github.com/larsgw/citation.js/issues/190#issuecomment-529917382](https://github.com//github.com/larsgw/citation.js/issues/190/issues/issuecomment-529917382)
91
- > * **core:** fix cleaning 'null' name values ([2d59a32](https://github.com/citation-js/citation-js/commit/2d59a32))
92
-
93
- ## [`0.5.0-alpha.0`](https://github.com/larsgw/citation.js/compare/v0.4.10...v0.5.0-alpha.0) - 2019-09-07
94
-
95
- * Pin component versions to [`v0.5.0-alpha.0`](https://github.com/citation-js/citation-js/blob/master/CHANGELOG.md#050-alpha0-2019-09-07):
96
-
97
- > * chore!: drop Node 6 support ([f27d812](https://github.com/citation-js/citation-js/commit/f27d812)), closes [#55](https://github.com/citation-js/citation-js/issues/55)
98
- >
99
- >
100
- > ### Bug Fixes
101
- >
102
- > * **core:** do not return empty name lists when cleaning ([d31ca8a](https://github.com/citation-js/citation-js/commit/d31ca8a))
103
- > * **core:** fix Cite#sort handling of multi-value props ([3a7751c](https://github.com/citation-js/citation-js/commit/3a7751c))
104
- > * **core:** fix handling of generic best guesses ([c8e8c78](https://github.com/citation-js/citation-js/commit/c8e8c78))
105
- > * **core:** fix util.fetchId ([7850e75](https://github.com/citation-js/citation-js/commit/7850e75))
106
- > * **core:** improve date handling when cleaning ([08da3e7](https://github.com/citation-js/citation-js/commit/08da3e7))
107
- > * **core:** only overwrite individual headers in fetchFile ([8d47684](https://github.com/citation-js/citation-js/commit/8d47684))
108
- > * **core:** pass around bestGuessConversions ([50fa283](https://github.com/citation-js/citation-js/commit/50fa283))
109
- > * **core:** pass checkContentType in fetchFile ([e415f76](https://github.com/citation-js/citation-js/commit/e415f76))
110
- > * **core:** set userAgent properly in fetchFile ([a91fd7b](https://github.com/citation-js/citation-js/commit/a91fd7b))
111
- > * **plugin-bibtex:** fix label for incomplete author ([352ca4f](https://github.com/citation-js/citation-js/commit/352ca4f)), closes [#56](https://github.com/citation-js/citation-js/issues/56)
112
- >
113
- >
114
- > ### Features
115
- >
116
- > * **core:** complete input option validation ([d9be626](https://github.com/citation-js/citation-js/commit/d9be626))
117
- > * **core:** support has() & list() on plugins.config ([fe7f59f](https://github.com/citation-js/citation-js/commit/fe7f59f))
118
- >
119
- >
120
- > ### BREAKING CHANGES
121
- >
122
- > * drops Node 6 support
123
-
124
- ## [`0.4.10`](https://github.com/larsgw/citation.js/compare/v0.4.9...v0.4.10) - 2019-08-27
125
-
126
- * Pin component versions to [`v0.4.10`](https://github.com/citation-js/citation-js/blob/master/CHANGELOG.md#0410-2019-08-27):
127
-
128
- > ### Bug Fixes
129
- >
130
- > * **plugin-csl:** use global symbol registry (dd8e839)
131
-
132
- ## [`0.4.9`](https://github.com/larsgw/citation.js/compare/v0.4.8...v0.4.9) - 2019-08-27
133
-
134
- * Pin component versions to [`v0.4.9`](https://github.com/citation-js/citation-js/blob/master/CHANGELOG.md#049-2019-08-27):
135
-
136
- > ### Bug Fixes
137
- >
138
- > * **core:** cap sync-rpc version ([2157335](https://github.com/citation-js/citation-js/commit/2157335)), closes [#54](https://github.com/citation-js/citation-js/issues/54)
139
- > * **core:** remove Object.entries call ([c38e3b9](https://github.com/citation-js/citation-js/commit/c38e3b9))
140
- > * **core:** remove use of object spread ([d82342a](https://github.com/citation-js/citation-js/commit/d82342a)), closes [#53](https://github.com/citation-js/citation-js/issues/53)
141
- > * **plugin-csl:** defer error to citeproc-js ([0f76fcb](https://github.com/citation-js/citation-js/commit/0f76fcb))
142
- > * **plugin-csl:** only proxy @bibliography/style once ([a372012](https://github.com/citation-js/citation-js/commit/a372012))
143
- > * **plugin-csl:** pass 'this' in getWrapperProxy ([c3e670a](https://github.com/citation-js/citation-js/commit/c3e670a))
144
- > * **plugin-csl:** return proxy in getWrapperProxy ([39e57a3](https://github.com/citation-js/citation-js/commit/39e57a3))
145
- > * **plugin-ris:** fix legacy EP tag ([d7c6ea5](https://github.com/citation-js/citation-js/commit/d7c6ea5))
146
- >
147
- >
148
- > ### Features
149
- >
150
- > * **core:** add match=none to propertyConstraint ([9bafb58](https://github.com/citation-js/citation-js/commit/9bafb58))
151
- > * **core:** add Translator to utils ([0dd4963](https://github.com/citation-js/citation-js/commit/0dd4963))
152
- > * **plugin-ris:** add RIS input support ([1c49bcb](https://github.com/citation-js/citation-js/commit/1c49bcb))
153
-
154
- ## [`0.4.8`](https://github.com/larsgw/citation.js/compare/v0.4.7...v0.4.8) - 2019-07-06
155
-
156
- * Pin component versions to [`v0.4.8`](https://github.com/citation-js/citation-js/blob/master/CHANGELOG.md#048-2019-07-06):
157
-
158
- > ### Bug Fixes
159
- >
160
- > * **core:** do not attempt to clone non-standard objects ([5309d08](https://github.com/citation-js/citation-js/commit/5309d08)), closes [#52](https://github.com/citation-js/citation-js/issues/52)
161
- > * **plugin-wikidata:** properly collect id from fetched items ([710a276](https://github.com/citation-js/citation-js/commit/710a276))
162
- >
163
- >
164
- > ### Features
165
- >
166
- > * **core:** use central User-Agent in fetchFile ([3fa8863](https://github.com/citation-js/citation-js/commit/3fa8863)), closes [#39](https://github.com/citation-js/citation-js/issues/39)
167
-
168
- ## [`0.4.7`](https://github.com/larsgw/citation.js/compare/v0.4.6...v0.4.7) - 2019-06-29
169
-
170
- * Pin component versions to [`v0.4.7`](https://github.com/citation-js/citation-js/blob/master/CHANGELOG.md#047-2019-06-29):
171
-
172
- > ### Bug Fixes
173
- >
174
- > * **core:** make fetchFile checkResponse optional ([a51a185](https://github.com/citation-js/citation-js/commit/a51a185))
175
- > * **plugin-doi:** use new checkContentType option ([92df863](https://github.com/citation-js/citation-js/commit/92df863))
176
-
177
- ## [`0.4.6`](https://github.com/larsgw/citation.js/compare/v0.4.5...v0.4.6) - 2019-06-29
178
-
179
- * Pin component versions to [`v0.4.6`](https://github.com/citation-js/citation-js/blob/master/CHANGELOG.md#046-2019-06-28):
180
-
181
- > ### Bug Fixes
182
- >
183
- > * **core:** check if fetchFile response matches request ([e9f9132](https://github.com/citation-js/citation-js/commit/e9f9132)), closes [#36](https://github.com/citation-js/citation-js/issues/36)
184
- > * **core:** fix getBody in fetchFile ([e4247da](https://github.com/citation-js/citation-js/commit/e4247da))
185
- > * **core:** remove console.log call ([e0b1790](https://github.com/citation-js/citation-js/commit/e0b1790))
186
- > * **plugin-wikidata:** fix typo ([8916446](https://github.com/citation-js/citation-js/commit/8916446))
187
- >
188
- >
189
- > ### Features
190
- >
191
- > * **core:** support POST in fetchFile ([ece8a2d](https://github.com/citation-js/citation-js/commit/ece8a2d))
192
-
193
- ## [`0.4.5`](https://github.com/larsgw/citation.js/compare/v0.4.4...v0.4.5) - 2019-06-13
194
-
195
- * Pin component versions to [`v0.4.5`](https://github.com/citation-js/citation-js/blob/master/CHANGELOG.md#045-2019-06-12):
196
-
197
- > ### Bug Fixes
198
- >
199
- > * **plugin-bibtex:** fix parsing of name lists ([11d7dd7](https://github.com/citation-js/citation-js/commit/11d7dd7))
200
- > * **plugin-bibtex:** fix safe labels for unicode names ([8167958](https://github.com/citation-js/citation-js/commit/8167958))
201
- > * **plugin-bibtex:** safe author name ([a232fe7](https://github.com/citation-js/citation-js/commit/a232fe7))
202
- > * **plugin-bibtex:** strip unknown commands in input ([5b3508e](https://github.com/citation-js/citation-js/commit/5b3508e))
203
- > * **plugin-wikidata:** exclude emoji flags as country names ([73b0e84](https://github.com/citation-js/citation-js/commit/73b0e84))
204
- > * **plugin-wikidata:** fix cache fetching ([63a4f0d](https://github.com/citation-js/citation-js/commit/63a4f0d)), closes [#41](https://github.com/citation-js/citation-js/issues/41)
205
- > * **plugin-wikidata:** fix country name check ([90d1c07](https://github.com/citation-js/citation-js/commit/90d1c07))
206
- >
207
- >
208
- > ### Features
209
- >
210
- > * **cli:** add --plugins option ([229c95c](https://github.com/citation-js/citation-js/commit/229c95c)), closes [#40](https://github.com/citation-js/citation-js/issues/40)
211
- > * **cli:** plugin config & format options ([8bd2a4a](https://github.com/citation-js/citation-js/commit/8bd2a4a))
212
- > * **cli:** support for input options ([87d8eb5](https://github.com/citation-js/citation-js/commit/87d8eb5))
213
- > * **plugin-bibtex:** add generateLabel option ([d10631c](https://github.com/citation-js/citation-js/commit/d10631c))
214
- >
215
- >
216
- > ### BREAKING CHANGES
217
- >
218
- > * **plugin-bibtex:** strips unkown commands entirely instead of replacing
219
- > the braces with no-case tags
220
-
221
- ## [`0.4.4`](https://github.com/larsgw/citation.js/compare/v0.4.2...v0.4.4) - 2019-06-13
222
-
223
- * Pin component versions to [`v0.4.4`](https://github.com/citation-js/citation-js/blob/master/CHANGELOG.md#044-2019-05-24):
224
-
225
- > * **plugin-wikidata:** additional mappings ([01be936](https://github.com/citation-js/citation-js/commit/01be936)), closes [#18](https://github.com/citation-js/citation-js/issues/18)
226
-
227
- ## [`0.4.2`](https://github.com/larsgw/citation.js/compare/v0.4.1...v0.4.2) - 2019-06-13
228
-
229
- * Pin component versions to [`v0.4.2`](https://github.com/citation-js/citation-js/blob/master/CHANGELOG.md#042-2019-04-26):
230
-
231
- > ### Bug Fixes
232
- >
233
- > * **plugin-bibtex:** fix label creation ([c7cde40](https://github.com/citation-js/citation-js/commit/c7cde40)), closes [#35](https://github.com/citation-js/citation-js/issues/35)
234
- > * **plugin-wikidata:** support imprecise dates ([c898db7](https://github.com/citation-js/citation-js/commit/c898db7)), closes [#33](https://github.com/citation-js/citation-js/issues/33)
235
- >
236
- >
237
- > ### Features
238
- >
239
- > * **plugin-wikidata:** support more URL properties ([#34](https://github.com/citation-js/citation-js/issues/34)) ([d489843](https://github.com/citation-js/citation-js/commit/d489843))
240
-
241
- ## [`0.4.1`](https://github.com/larsgw/citation.js/compare/v0.4.0...v0.4.1) - 2019-06-13
242
-
243
- Pin component versions to [`v0.4.1`](https://github.com/citation-js/citation-js/blob/master/CHANGELOG.md#041-2019-04-14):
244
-
245
- > * **plugin-wikidata:** fix getting label if no title exists ([#32](https://github.com/citation-js/citation-js/issues/32)) ([69243c5](https://github.com/citation-js/citation-js/commit/69243c5))
246
-
247
- ## [`0.4.0`](https://github.com/larsgw/citation.js/compare/v0.4.0-12...v0.4.0) - 2019-04-13
248
-
249
- Updated components to `v0.4.0`, release `v0.4`.
250
-
251
- ## [`0.4.0-12`](https://github.com/larsgw/citation.js/compare/v0.4.0-11...v0.4.0-12) - 2019-03-17
252
-
253
- Updated components from `v0.4.0-rc.1` to `v0.4.0-rc.4`, see [that changelog](https://github.com/citation-js/citation-js/blob/master/CHANGELOG.md).
254
-
255
- ## [`0.4.0-11`](https://github.com/larsgw/citation.js/compare/v0.4.0-10...v0.4.0-11) - 2018-12-27
256
-
257
- ### BREAKING
258
-
259
- * Moved all code to '@citation-js' components. There should be full backwards compatibility, apart from the structure of files.
260
-
261
- ## [`0.4.0-10`](https://github.com/larsgw/citation.js/compare/v0.4.0-9...v0.4.0-10) - 2018-11-02
262
-
263
- ### Added
264
-
265
- * [meta] More test work
266
- * `util.Register`: Alias `remove` to `delete`
267
- * `input/@wikidata`: Support 'stated as' (P1932) qualifier, if possible preferring that over fetching author labels (#131)
268
- * `output/@csl`: Bibliography `nosort` option
269
- * `input/@bibtex`: Support for comma-delimited entries (#157)
270
-
271
- ### Changed
272
-
273
- * Deprecated wrapper CSL locale and template methods
274
-
275
- ### Fixed
276
-
277
- * `output/@csl`: Affixes now work reliably for all formats (#84)
278
-
279
- ## [`0.4.0-9`](https://github.com/larsgw/citation.js/compare/v0.4.0-8...v0.4.0-9) - 2018-07-19
280
-
281
- ### Added
282
- * 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)
283
-
284
- ### Changed
285
- * BibTeX title fields are no longer wrapped in double brackets when creating output (#155)
286
-
287
- ### Fixed
288
- * Handling of styled text in CSL-JSON title fields when creating BibTeX output (#150)
289
- * Bug introduced when fixing REDOS that made the @else/url type not match @wikidata/api in some cases (#156)
290
-
291
- ## [`0.4.0-8`](https://github.com/larsgw/citation.js/compare/v0.4.0-7...v0.4.0-8) - 2018-07-14
292
-
293
- Bug fixes.
294
-
295
- ### Added
296
- * [meta] Point `unpkg` & `jsdelivr` field to citation.min.js
297
-
298
- ### Changed
299
- * Update for BibJSON parsing (#32). Including tests & documentation.
300
-
301
- ### Fixed
302
- * Cite option validation (and tests that broke because of it)
303
- * Handling incomplete dates in output formatters (https://github.com/larsgw/citation.js/issues/53#issuecomment-404995961). It was caused by #139, a fix for #138 of which #127 is part of
304
- * Make a check when polishing API data not fail when a date field is an empty object (#147)
305
- * [meta] Docs index issue (070cf12)
306
-
307
- ## [`0.4.0-7`](https://github.com/larsgw/citation.js/compare/v0.4.0-6...v0.4.0-7) - 2018-07-12
308
-
309
- ### Added
310
-
311
- * [meta] A lot of tests cases regarding input parsing mechanisms (#123)
312
- * General plugin system (#88)
313
- * Alias `type` option to `format` in most output formats
314
- * CSL config is now registered with the general plugin system
315
- * CSL `citation` support (see #148)
316
-
317
- ### Changed
318
-
319
- * Reformed input plugin system (again) (#106)
320
- * The `parseDate` method now has an internal parsing implementation (#127, #138)
321
- * Updated documentation (both in-code JSDoc and guides)
322
-
323
- ### Testing
324
-
325
- * Tests now support HTTP(S) request mocking (#134, #136)
326
- * Added REDOS flagging tools
327
- * Tests for global plugin system
328
-
329
- ### Fixed
330
-
331
- * `@else/url` blocking type recognition (#104)
332
- * `@else/json` type predicate for empty objects:
333
- ```js
334
- '{}' // didn't work
335
- '{a: 1}' // worked
336
- '{ }' // worked as well
337
- ```
338
- * REDOS (mostly, anyway) (see #107, 7c52beff44b37443b812ee5864733e441e29a812)
339
- * JSON output still being invalid (#143, see also #144)
340
- * [meta] Invalid Babel `browsers` target
341
-
342
- ## [`0.4.0-6`](https://github.com/larsgw/citation.js/compare/v0.4.0-5...v0.4.0-6) - 2018-07-01
343
-
344
- ### Fixed
345
- * BibTeX output typo, trying to find the non-existent `url` CSL property, instead of the `URL` one (#153)
346
-
347
- ## [`0.4.0-5`](https://github.com/larsgw/citation.js/compare/v0.4.0-4...v0.4.0-5) - 2018-06-03
348
-
349
- ### Fixed
350
- * Webpack error because of browserify-centric setup (#151)
351
-
352
- ## [`0.4.0-4`](https://github.com/larsgw/citation.js/compare/v0.4.0-3...v0.4.0-4) - 2018-05-19
353
-
354
- ### Fixed
355
- * DOI bug due to a regression in 0.4.0-3 (dda2360f4d91af1d48e1bf859d784b2bdc694c6d)
356
-
357
- ## [`0.4.0-3`](https://github.com/larsgw/citation.js/compare/v0.4.0-2...v0.4.0-3) - 2018-05-12
358
-
359
- ### Added
360
- * RIS output support (#125)
361
-
362
- ### Refactored
363
- * A lot of the building scripts
364
- * All code uses the util fetchFile(Async) functions, to make testing easier
365
-
366
- ### Fixed
367
- * Subtle type checking bug in translation scheme parsing code (#128)
368
- * Logging API not supported on Node.js v6 (#124)
369
-
370
- ## [`0.4.0-2`](https://github.com/larsgw/citation.js/compare/v0.4.0-1...v0.4.0-2) - 2018-05-12
371
-
372
- > Was skipped due to publishing the wrong files.
373
-
374
- ## [`0.4.0-1`](https://github.com/larsgw/citation.js/compare/v0.4.0-0...v0.4.0-1) - 2017-12-31
375
-
376
- ### Added
377
-
378
- * New formatting system w/ plugins (#82)
379
- * `Register` class for general-purpose registers (already used in 4 places) (#115)
380
- * `Cite#format` (a `Cite` formatting method for output plugins)
381
-
382
- ### Changed
383
-
384
- * Modularised most output formatting code
385
- * Adding CSL locales and templates now overwrites existing ones. Previously, it didn't, but there wasn't any way of getting them back anyway
386
- * Generalised formatting functions (there are still backwards-compatible wrappers)
387
- * Expanded output options validation issue error messages
388
- * Deprecated `Cite#get`
389
-
390
- ### Refactored
391
-
392
- * Use ESLint envs instead of listing globals (#114)
393
-
394
- ### Fixed
395
-
396
- * Docs issues (#112)
397
- * CLI ouptut file extensions (#121)
398
- * `Cite.async` behaviour w/ callback & no options (#122)
399
- * Output options validation issues (#120)
400
- * Moved input parsing to actual respective test cases
401
-
402
- ## [`0.4.0-0`](https://github.com/larsgw/citation.js/compare/v0.3.4...v0.4.0-0) - 2017-12-22
403
-
404
- ### Added
405
- * New parsing system w/ plugins
406
-
407
- > This change should be mostly backwards-compatible, although certain workarounds may stop working. If there's an issue, please report it [here](https://github.com/larsgw/citation.js/issues)
408
-
409
- * Support for dynamic output types
410
- * Greatly improved docs
411
- * Map namespaces in JSDoc comments
412
- * Add tutorials
413
-
414
- ### Changed
415
- * `Cite#options()` now doesn't update options when they are invalid
416
- * Improved BibTeX field mappings
417
- * Support month names in BibTeX
418
- * CLI logging now on stderr (instead of stdout)
419
-
420
- ## [`0.3.4`](https://github.com/larsgw/citation.js/compare/v0.3.3...v0.3.4) - 2017-09-12
421
-
422
- ### Changed
423
- * Updated README
424
-
425
- ### Fixed
426
- * Command sequence normalisation in BibTeX
427
- * BibTeX test case output
428
-
429
- ## [`0.3.3`](https://github.com/larsgw/citation.js/compare/v0.3.2...v0.3.3) - 2017-09-12
430
-
431
- ### Added
432
- * A lot of Wikidata entry type mappings
433
- * Support for option-less piping stdin -> stdout in the CLI
434
-
435
- ### Changed
436
- * Greatly improve name parsing
437
- * Wikidata entry type default is now `book` to align with, among other things, BibTeX
438
-
439
- ### Fixed
440
- * Unknown Wikidata entry type now actually defaults to something
441
- * CLI now uses the API changed in 0.3.1
442
-
443
- ## [`0.3.2`](https://github.com/larsgw/citation.js/compare/v0.3.1...v0.3.2) - 2017-09-10
444
-
445
- ### Added
446
- * New Wikidata field mappings (see [#76](https://github.com/larsgw/citation.js/issues/76))
447
-
448
- ### Changed
449
- * BibTeX name field output now uses reverse notation
450
- * Main parsing function aliases/shortcuts:
451
- * `Cite.normalise()` -> `Cite.input()`
452
- * `Cite.normaliseAsync()` -> `Cite.inputAsync()`
453
-
454
- ## [`0.3.1`](https://github.com/larsgw/citation.js/compare/v0.3.0...v0.3.1) - 2017-09-02
455
-
456
- ### Added
457
- * Options parameter in `parseInput` and `parseInputAsync`
458
- * Option for max parsing chain length
459
- * Option to generate parsing chain data in `_graph` property
460
- * Option to force type when parsing
461
-
462
- ### Changed
463
- * Options API in `Cite` and `Cite.async`
464
-
465
- ```js
466
- Cite(data, outputOptions)
467
-
468
- // BECOMES
469
-
470
- Cite(data, {
471
- ...parsingOptions,
472
- output: outputOptions
473
- })
474
- ```
475
-
476
- * Author ordinal in Wikidata props is now a property `_ordinal` instead of an array element
477
- * Parsing invalid dates now returns input as literal date instead of an empty `date-parts`
478
-
479
- ### Refactored
480
- * Simplify code to normalise CSL-JSON
481
- * Mock APIs for async tests
482
-
483
- ### Fixed
484
- * Parsing names with lowercase particles now doesn't omit family names
485
- * Better error messaging when API/file requests fails
486
-
487
- ## [`0.3.0`](https://github.com/larsgw/citation.js/compare/v0.3.0-14...v0.3.0) - 2017-08-25
488
-
489
- See `0.3.0-14`.
490
-
491
- ## [`0.3.0-14`](https://github.com/larsgw/citation.js/compare/v0.3.0-13...v0.3.0-14) - 2017-08-24
492
-
493
- ### Added
494
- * Alias for main parsing functions: `Cite.parse.input.chain -> Cite.normalise` and `Cite.parse.input.async.chain -> Cite.normaliseAsync`
495
- * Async versions of `Cite#set()` and `Cite#add()` (only Promise, no callback)
496
-
497
- ### Refactored
498
- * Wikidata JSON parsing system
499
-
500
- ### Fixed
501
- * Wikidata prop parsing function now returns with the proper field name when parsing an author prop
502
-
503
- ## [`0.3.0-13`](https://github.com/larsgw/citation.js/compare/v0.3.0-12...v0.3.0-13) - 2017-08-22
504
-
505
- ### Added
506
- * Support for matching several tokens in a row with TokenStack
507
-
508
- ### Refactored
509
- * Add explanation to complex code
510
- * BibTeX publication type parsing now uses a type map
511
-
512
- ### Fixed
513
- * Typo in BibTeX de-escaping code, now correctly parsing % signs in author fields
514
- * False positive parsing Array JSON string as Bib.TXT
515
-
516
- ## [`0.3.0-12`](https://github.com/larsgw/citation.js/compare/v0.3.0-11...v0.3.0-12) - 2017-08-01
517
-
518
- ### Added
519
- * Support for BibTeX literals in author and date fields
520
- * Support for BibTeX fields year and month
521
-
522
- ### Changed
523
- * `Cite#retrieveVersion()` now returns `null` on all invalid versions
524
-
525
- ### Refactored
526
- * Testing now with the mocha framework
527
- * BibTeX parser
528
-
529
- ### Fixed
530
- * Sorting by any date field
531
-
532
- ## [`0.3.0-11`](https://github.com/larsgw/citation.js/compare/v0.3.0-10...v0.3.0-11) - 2017-07-28
533
-
534
- ### Added
535
- * Custom templates & locales register
536
-
537
- ### Fixed
538
- * Use correct date format
539
-
540
- ## [`0.3.0-10`](https://github.com/larsgw/citation.js/compare/v0.3.0-9...v0.3.0-10) - 2017-07-28
541
-
542
- ### Added
543
- * DOI support
544
- * CSL normaliser
545
-
546
- ### Fixed
547
- * Async prop parsing
548
-
549
- ## [`0.3.0-9`](https://github.com/larsgw/citation.js/compare/v0.3.0-8...v0.3.0-9) - 2017-07-06
550
-
551
- ### Added
552
- * CLI stdin input
553
-
554
- ### Fixed
555
- * DOM HTML output
556
- * CLI non-file input
557
-
558
- ## [`0.3.0-8`](https://github.com/larsgw/citation.js/compare/v0.3.0-7...v0.3.0-8) - 2017-06-03
559
-
560
- ### Added
561
- * Iterator to Cite
562
-
563
- ### Fixed
564
- * CLI Windows support
565
- * Wikidata input when value is empty
566
- * DOM HTML output
567
- * Output JSON is now valid JSON
568
- * Sorting by callback and custom props
569
- * Input support for BibTeX JSON
570
-
571
- ## [`0.3.0-7`](https://github.com/larsgw/citation.js/compare/v0.3.0-6...v0.3.0-7) - 2017-05-22
572
-
573
- ### Added
574
- * Bib.TXT i/o support
575
-
576
- ### Fixed
577
- * CLI Citation.js v0.3.0-7 support
578
-
579
- ## [`0.3.0-6`](https://github.com/larsgw/citation.js/compare/v0.3.0-5...v0.3.0-6) - 2017-05-15
580
-
581
- ### Added
582
- * Async support
583
-
584
- ### Fixed
585
- * Increased browser support
586
-
587
- ## [`0.3.0-5`](https://github.com/larsgw/citation.js/compare/v0.3.0-4...v0.3.0-5) - 2017-05-08
588
-
589
- ### Added
590
- * Exposition of most Cite functions to users
591
-
592
- ### Changed
593
- * Logging non-standard
594
-
595
- ### Removed
596
- * Remove `Cite#_input`
597
-
598
- ### Refactored
599
- * Code style and ES6+
600
-
601
- ## Older changelogs coming later
602
- I really don't recommend using those versions anyway.