| 1 | # Changelog |
| 2 | |
| 3 | All notable changes to this project will be documented in this file. |
| 4 | |
| 5 | The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), |
| 6 | and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). |
| 7 | |
| 8 | ## [Unreleased] |
| 9 | |
| 10 | ## [0.9.2] - 2026-03-24 |
| 11 | |
| 12 | ## Fixed |
| 13 | |
| 14 | - Fix a bug of `subsequent-author-substitute` when different names have same `et-al` forms ([tex.sx#756102](https://tex.stackexchange.com/q/756102/82731)). |
| 15 | |
| 16 | ## [0.9.1] - 2025-11-30 |
| 17 | |
| 18 | ### Added |
| 19 | |
| 20 | - Added option `use-bbl` to allow users to load modified bibliography when using LuaTeX ([#108](https://github.com/zepinglee/citeproc-lua/issues/108), [tex.sx/754349](https://tex.stackexchange.com/q/754349/82731)). |
| 21 | |
| 22 | ## [0.9.0] - 2025-11-06 |
| 23 | |
| 24 | ### Added |
| 25 | |
| 26 | - Add option `bib-label-sep` to set the space between label and entry content ([#109](https://github.com/zepinglee/citeproc-lua/issues/109)). |
| 27 | |
| 28 | ### Changed |
| 29 | |
| 30 | - The following style IDs are renamed (upstream changes in CSL styles repository). |
| 31 | - `chicago-fullnote-bibliography` => `chicago-notes-bibliography` |
| 32 | - `chicago-note-bibliography` => `chicago-shortened-notes-bibliography` |
| 33 | - `modern-humanities-research-association` => `modern-humanities-research-association-notes` |
| 34 | |
| 35 | ## [0.8.3] - 2025-09-08 |
| 36 | |
| 37 | ### Fixed |
| 38 | |
| 39 | - Fix extra spaces caused by `tex.print` ([#102](https://github.com/zepinglee/citeproc-lua/issues/102)). |
| 40 | |
| 41 | ## [0.8.2] - 2025-08-14 |
| 42 | |
| 43 | ### Fixed |
| 44 | |
| 45 | - Fix missing citations in `\include`d documents ([#101](https://github.com/zepinglee/citeproc-lua/issues/101)). |
| 46 | |
| 47 | ## [0.8.1] - 2025-08-06 |
| 48 | |
| 49 | ### Added |
| 50 | |
| 51 | - Add support for grouping bibliography by authors ([#94](https://github.com/zepinglee/citeproc-lua/issues/94)). |
| 52 | - Add `bib-name-sep` and `bib-after-name-sep` options to control the vertical space of author groups ([#94](https://github.com/zepinglee/citeproc-lua/issues/94)). |
| 53 | |
| 54 | ### Changed |
| 55 | |
| 56 | - Suppress \newrefsection in bib heading ([#93](https://github.com/zepinglee/citeproc-lua/issues/93)). |
| 57 | |
| 58 | ### Fixed |
| 59 | |
| 60 | - Fix missing `keyword` field when converted from BibTeX ([#97](https://github.com/zepinglee/citeproc-lua/issues/97)). |
| 61 | - Fix capitalization of the first term in an in-text citation ([#98](https://github.com/zepinglee/citeproc-lua/issues/98)). |
| 62 | - Fix missing BibTeX string definitions in standard styles. |
| 63 | |
| 64 | ## [0.8.0] - 2025-04-29 |
| 65 | |
| 66 | ### Added |
| 67 | |
| 68 | - Convert BibTeX entry keys to NFC |
| 69 | - The entry keys are case-folded for comparing. |
| 70 | - Add citation option `unsorted`. |
| 71 | |
| 72 | ### Fixed |
| 73 | |
| 74 | - Fix an infinite loop bug of unrecognized `babel` language name ([#65](https://github.com/zepinglee/citeproc-lua/issues/65)). |
| 75 | - Bib2csl: The hyphens in `number` fields are correctly escaped when converted to CSL-JSON. |
| 76 | - Bib2csl: Map `shorthand` field to CSL `citation-label` variable. |
| 77 | - BibTeX parser: Fix hyphen in family name. |
| 78 | - Fix a bug in EDTF parsing. |
| 79 | - Bib2csl: Fix a sentence case conversion bug that words after colons are not capitalized. |
| 80 | - Fix an error when `hyperref` is loaded before CSL ([#91](https://github.com/zepinglee/citeproc-lua/issues/91)). |
| 81 | |
| 82 | ## [0.7.0] - 2025-02-23 |
| 83 | |
| 84 | ### Added |
| 85 | |
| 86 | - Add `journal-abbreviation` option to `\addbibresource` command to disable searching abbreviations of journal titles ([#85](https://github.com/zepinglee/citeproc-lua/issues/85)). |
| 87 | |
| 88 | ### Fixed |
| 89 | |
| 90 | - Match journal title with multiple words when converting `.bib` to CSL-JSON ([#85](https://github.com/zepinglee/citeproc-lua/issues/85)). |
| 91 | |
| 92 | ## [0.6.8] - 2025-01-25 |
| 93 | |
| 94 | ### Fixed |
| 95 | |
| 96 | - Fix links to excluded entries in bibliography ([#82](https://github.com/zepinglee/citeproc-lua/issues/82)). |
| 97 | |
| 98 | ## [0.6.7] - 2025-01-10 |
| 99 | |
| 100 | ### Added |
| 101 | |
| 102 | - Add `citation-range-delimiter` term as an extension to CSL. |
| 103 | |
| 104 | ## [0.6.6] - 2024-11-18 |
| 105 | |
| 106 | ### Added |
| 107 | |
| 108 | - Add `\citeyear` command. |
| 109 | |
| 110 | ## [0.6.5] - 2024-10-05 |
| 111 | |
| 112 | ### Fixed |
| 113 | |
| 114 | - The locator in citation is converted to HTML-like tagged string ([#78](https://github.com/zepinglee/citeproc-lua/issues/78)). |
| 115 | |
| 116 | ## [0.6.4] - 2024-09-15 |
| 117 | |
| 118 | ### Fixed |
| 119 | |
| 120 | - Refactor `processCitationCluster()` to fix unexpected nil ([#77](https://github.com/zepinglee/citeproc-lua/issues/77)). |
| 121 | |
| 122 | ## [0.6.3] - 2024-08-28 |
| 123 | |
| 124 | ### Added |
| 125 | |
| 126 | - Add support for citation affixes. |
| 127 | |
| 128 | ### Fixed |
| 129 | |
| 130 | - Fix `\ref` with underscore in citation affixes ([#74](https://github.com/zepinglee/citeproc-lua/issues/74)). |
| 131 | |
| 132 | ## [0.6.2] - 2024-08-21 |
| 133 | |
| 134 | ### Added |
| 135 | |
| 136 | - Add support for `perpage` package. |
| 137 | |
| 138 | ### Fixed |
| 139 | |
| 140 | - Fix note position in multiple chapters ([#72](https://github.com/zepinglee/citeproc-lua/issues/72)). |
| 141 | - Fix incorrect locale map of UKenglish. |
| 142 | |
| 143 | ## [0.6.1] - 2024-08-15 |
| 144 | |
| 145 | ### Fixed |
| 146 | |
| 147 | - Fix parsing quotation marks ([#71](https://github.com/zepinglee/citeproc-lua/issues/71)). |
| 148 | |
| 149 | ## [0.6.0] - 2024-07-31 |
| 150 | |
| 151 | ### Added |
| 152 | |
| 153 | - Add support for multiple bibliographies (`refsection` environment). |
| 154 | - Add global `ref-section` option. |
| 155 | - Add support for `biber`'s `%`-style inline comment in `.bib` files. |
| 156 | |
| 157 | ### Fixed |
| 158 | |
| 159 | - Fix an error of empty locator in citation ([#70](https://github.com/zepinglee/citeproc-lua/discussions/70)). |
| 160 | |
| 161 | ## [0.5.1] - 2024-07-10 |
| 162 | |
| 163 | ### Fixed |
| 164 | |
| 165 | - Fix a bug in font style flip-flopping with raw code ([#67](https://github.com/zepinglee/citeproc-lua/issues/67)). |
| 166 | |
| 167 | ## [0.5.0] - 2024-06-09 |
| 168 | |
| 169 | ### Added |
| 170 | |
| 171 | - Add `\fullcite` command ([#64](https://github.com/zepinglee/citeproc-lua/issues/64)). |
| 172 | - Add support for annotated bibliography ([#64](https://github.com/zepinglee/citeproc-lua/issues/64)). |
| 173 | |
| 174 | ### Changed |
| 175 | |
| 176 | - Check if the `\cite` command is in a footnote. |
| 177 | |
| 178 | ## [0.4.9] - 2024-04-21 |
| 179 | |
| 180 | ### Added |
| 181 | |
| 182 | - Add normal paragraph style for list of references ([#60](https://github.com/zepinglee/citeproc-lua/discussions/60)). |
| 183 | |
| 184 | - Add `bib-par-indent` option for the amount of paragraph indentation. |
| 185 | |
| 186 | ## [0.4.8] - 2024-03-12 |
| 187 | |
| 188 | ### Fixed |
| 189 | |
| 190 | - Fix unexpected "nil" with empty page ([#58](https://github.com/zepinglee/citeproc-lua/issues/58)). |
| 191 | |
| 192 | ## [0.4.7] - 2024-03-10 |
| 193 | |
| 194 | ### Added |
| 195 | |
| 196 | - Add support of biblatex's extended name format ([#48](https://github.com/zepinglee/citeproc-lua/issues/48)). |
| 197 | |
| 198 | - Add `\citeyearpar` and `\parencite*` commands ([#52](https://github.com/zepinglee/citeproc-lua/issues/52)). |
| 199 | |
| 200 | ### Fixed |
| 201 | |
| 202 | - Fix an error in parsing TeX math contents ([#49](https://github.com/zepinglee/citeproc-lua/issues/49)). |
| 203 | |
| 204 | ## [0.4.6] - 2024-02-20 |
| 205 | |
| 206 | ### Fixed |
| 207 | |
| 208 | - Define an internal variable |
| 209 | |
| 210 | ## [0.4.5] - 2023-10-05 |
| 211 | |
| 212 | ### Fixed |
| 213 | |
| 214 | - Fix tilde (nonbreakable space) incorrectly displayed in LuaTeX ([#42](https://github.com/zepinglee/citeproc-lua/issues/42)). |
| 215 | - If no style is defined, a warning is given and the default APA style will be used ([#43](https://github.com/zepinglee/citeproc-lua/issues/43)). |
| 216 | - The JSON decoding error is now correctly issued. |
| 217 | |
| 218 | ## [0.4.4] - 2023-09-16 |
| 219 | |
| 220 | ### Fixed |
| 221 | |
| 222 | - Fix a disambiguation bug with names from conditional branches. |
| 223 | - Fix a typo related to `beamer` compatibility ([#41](https://github.com/zepinglee/citeproc-lua/issues/41#issuecomment-1715538773)). |
| 224 | |
| 225 | ## [0.4.3] - 2023-09-07 |
| 226 | |
| 227 | ### Added |
| 228 | |
| 229 | - Add support for CSL-YAML input. |
| 230 | - Add support for dependent styles. |
| 231 | - Resolve `crossref`s in BibTeX data. |
| 232 | - Add support for `backref` package (part of `hyperref`). |
| 233 | |
| 234 | ### Fixed |
| 235 | |
| 236 | - Fix compatibility with `beamer` ([#41](https://github.com/zepinglee/citeproc-lua/issues/41)). |
| 237 | |
| 238 | ## [0.4.2] - 2023-07-04 |
| 239 | |
| 240 | ### Changed |
| 241 | |
| 242 | - BibTeX parser: The `eid` from `biblatex` field is mapped to CSL's `number` ([retorquere/zotero-better-bibtex#2551](https://github.com/retorquere/zotero-better-bibtex/issues/2551#issuecomment-1615593134)). |
| 243 | |
| 244 | ### Fixed |
| 245 | |
| 246 | - Fix a bug with `<text variable="locator">` in `<bibliography>` ([#39](https://github.com/zepinglee/citeproc-lua/issues/39)). |
| 247 | - Fix missing `$` errors caused by underscores in citations keys. |
| 248 | - Fix a conflict of already defined `\@currentHref` due to changes in LaTeX2e kernel 2023-06-01 ([latex3/latex2e#pr956](https://github.com/latex3/latex2e/pull/956)). |
| 249 | |
| 250 | ## [0.4.1] - 2023-04-12 |
| 251 | |
| 252 | ### Added |
| 253 | |
| 254 | - Add support for `crossref` feature in BibTeX database. |
| 255 | - Add `\printbibheading` command. |
| 256 | - Add options `heading`, `label`, and `title` in `\printbibliography` ([#31](https://github.com/zepinglee/citeproc-lua/issues/31)). |
| 257 | - Add `prenote` and `postnote` options in `\printbibliography`. |
| 258 | |
| 259 | ### Fixed |
| 260 | |
| 261 | - Remove UTF-8 BOM from loaded files (fix [#34](https://github.com/zepinglee/citeproc-lua/issues/34)). |
| 262 | |
| 263 | ## [0.4.0] - 2023-04-02 |
| 264 | |
| 265 | ### Added |
| 266 | |
| 267 | - Add hyperlinks to citations when `hyperref` is loaded. |
| 268 | - Add backref. |
| 269 | - Add journal abbreviation. |
| 270 | - The `title`s and `booktitle`s from BibTeX data are converted to sentence case. |
| 271 | - Add [`layout` extension](https://citeproc-js.readthedocs.io/en/latest/csl-m/index.html#cs-layout-extension) of CSL-M. |
| 272 | |
| 273 | ### Fixed |
| 274 | |
| 275 | - Fix missing warning of empty citation ([latex3/latex2e#790](https://github.com/latex3/latex2e/issues/790)). |
| 276 | - Fix url link of PMCID. |
| 277 | - Fix an error of LaTeX commands in cite prefix ([#36](https://github.com/zepinglee/citeproc-lua/issues/36)). |
| 278 | - Fix invalid `bib-item-sep` option. |
| 279 | - Fix the delimiter of `cs:choose` in deeper levels. |
| 280 | |
| 281 | ## [0.3.0] - 2022-12-25 |
| 282 | |
| 283 | ### Added |
| 284 | |
| 285 | - Add author only command `\citeauthor`. |
| 286 | - Add narrative citation commands `\textcite` and `\citet` ([#17](https://github.com/zepinglee/citeproc-lua/issues/17)). |
| 287 | - Add parenthetical citation commands `\parencite` and `\citep` for compatibility. |
| 288 | |
| 289 | ### Changed |
| 290 | |
| 291 | - The "-locator" suffixes are removed from the `article-locator` and `title-locator` options. |
| 292 | - The LaTeX markups in citation prefix is now correctly precessed ([#33](https://github.com/zepinglee/citeproc-lua/issues/33)). |
| 293 | |
| 294 | ### Fixed |
| 295 | |
| 296 | - Fix an error in checking the plurity of `number-of-pages` ([#27](https://github.com/zepinglee/citeproc-lua/issues/27)). |
| 297 | - Fix an error in converting value `"2nd"` to its ordinal form ([#27](https://github.com/zepinglee/citeproc-lua/issues/27)). |
| 298 | - Fix missing DOI prefix when used with `hyperref` ([#28](https://github.com/zepinglee/citeproc-lua/issues/28)). |
| 299 | - Fix special characters (`#` and `%`) in URL ([#30](https://github.com/zepinglee/citeproc-lua/issues/30)). |
| 300 | |
| 301 | ## [0.2.2] - 2022-09-23 |
| 302 | |
| 303 | ### Fixed |
| 304 | |
| 305 | - `latexmk` can automatically call citeproc-lua when compiling with `pdflatex` or `xelatex` (thanks to [John Collins](http://personal.psu.edu/~jcc8/)). |
| 306 | - Fix incorrect labels in numeric reference list ([#25](https://github.com/zepinglee/citeproc-lua/issues/25)). |
| 307 | |
| 308 | ## [0.2.1] - 2022-09-18 |
| 309 | |
| 310 | ### Changed |
| 311 | |
| 312 | - Rewrite BibTeX parser with `lpeg`. The accent letters are now converted to unicode. |
| 313 | |
| 314 | ### Fixed |
| 315 | |
| 316 | - Fix redundant warning `entry "*" not found`. |
| 317 | |
| 318 | ## [0.2.0] - 2022-08-18 |
| 319 | |
| 320 | ### Added |
| 321 | |
| 322 | - The cite grouping, collapsing, and disambiguation features are now implemented. |
| 323 | |
| 324 | ### Changed |
| 325 | |
| 326 | - The `citeproc` executable is renamed to `citeproc-lua` to avoid conflicts with other processor implementations. |
| 327 | - Package configuration can also be given in the package loading options. |
| 328 | - A warning is raised instead of and error in case of duplicate entry keys ([#14](https://github.com/zepinglee/citeproc-lua/issues/14)). |
| 329 | |
| 330 | ### Fixed |
| 331 | |
| 332 | - Fix an infinite loop error when bib entry keys contain hyphens or underscores ([#18](https://github.com/zepinglee/citeproc-lua/issues/18)). |
| 333 | - Fix incorrect item position in note style ([#20](https://github.com/zepinglee/citeproc-lua/issues/20)). |
| 334 | - Fix compatibility with `\blockquote` of `csquotes` ([#21](https://github.com/zepinglee/citeproc-lua/issues/21)). |
| 335 | - Fix non-lowercase field names ([#22](https://github.com/zepinglee/citeproc-lua/issues/22)). |
| 336 | |
| 337 | ## [0.1.1] - 2022-03-21 |
| 338 | |
| 339 | ### Added |
| 340 | |
| 341 | - Add support for [CSL v1.0.2](https://github.com/citation-style-language/schema/releases/tag/v1.0.2). |
| 342 | - Add CSL-JSON format in `\addbibresource` ([#11](https://github.com/zepinglee/citeproc-lua/issues/11)). |
| 343 | - Add multicite command `\cites` ([#10](https://github.com/zepinglee/citeproc-lua/issues/10)). |
| 344 | - Add URL format setup. |
| 345 | |
| 346 | ### Fixed |
| 347 | |
| 348 | - Fix the incompatibility with `babel` ([#9](https://github.com/zepinglee/citeproc-lua/issues/9)). |
| 349 | - Fix missing `\url` commands in bibliography ([#12](https://github.com/zepinglee/citeproc-lua/issues/12)). |
| 350 | |
| 351 | ## [0.1.0] - 2022-01-22 |
| 352 | |
| 353 | ### Added |
| 354 | |
| 355 | - Initial CTAN release. |
| 356 | |
| 357 | [Unreleased]: https://github.com/zepinglee/citeproc-lua/compare/v0.9.2...HEAD |
| 358 | [0.9.2]: https://github.com/zepinglee/citeproc-lua/compare/v0.9.1...vv0.9.2 |
| 359 | [0.9.1]: https://github.com/zepinglee/citeproc-lua/compare/v0.9.0...vv0.9.1 |
| 360 | [0.9.0]: https://github.com/zepinglee/citeproc-lua/compare/v0.8.3...v0.9.0 |
| 361 | [0.8.3]: https://github.com/zepinglee/citeproc-lua/compare/v0.8.2...v0.8.3 |
| 362 | [0.8.2]: https://github.com/zepinglee/citeproc-lua/compare/v0.8.1...v0.8.2 |
| 363 | [0.8.1]: https://github.com/zepinglee/citeproc-lua/compare/v0.8.0...v0.8.1 |
| 364 | [0.8.0]: https://github.com/zepinglee/citeproc-lua/compare/v0.7.0...v0.8.0 |
| 365 | [0.7.0]: https://github.com/zepinglee/citeproc-lua/compare/v0.6.8...v0.7.0 |
| 366 | [0.6.8]: https://github.com/zepinglee/citeproc-lua/compare/v0.6.7...v0.6.8 |
| 367 | [0.6.7]: https://github.com/zepinglee/citeproc-lua/compare/v0.6.6...v0.6.7 |
| 368 | [0.6.6]: https://github.com/zepinglee/citeproc-lua/compare/v0.6.5...v0.6.6 |
| 369 | [0.6.5]: https://github.com/zepinglee/citeproc-lua/compare/v0.6.4...v0.6.5 |
| 370 | [0.6.4]: https://github.com/zepinglee/citeproc-lua/compare/v0.6.3...v0.6.4 |
| 371 | [0.6.3]: https://github.com/zepinglee/citeproc-lua/compare/v0.6.2...v0.6.3 |
| 372 | [0.6.2]: https://github.com/zepinglee/citeproc-lua/compare/v0.6.1...v0.6.2 |
| 373 | [0.6.1]: https://github.com/zepinglee/citeproc-lua/compare/v0.6.0...v0.6.1 |
| 374 | [0.6.0]: https://github.com/zepinglee/citeproc-lua/compare/v0.5.1...v0.6.0 |
| 375 | [0.5.1]: https://github.com/zepinglee/citeproc-lua/compare/v0.5.0...v0.5.1 |
| 376 | [0.5.0]: https://github.com/zepinglee/citeproc-lua/compare/v0.4.9...v0.5.0 |
| 377 | [0.4.9]: https://github.com/zepinglee/citeproc-lua/compare/v0.4.8...v0.4.9 |
| 378 | [0.4.8]: https://github.com/zepinglee/citeproc-lua/compare/v0.4.7...v0.4.8 |
| 379 | [0.4.7]: https://github.com/zepinglee/citeproc-lua/compare/v0.4.6...v0.4.7 |
| 380 | [0.4.6]: https://github.com/zepinglee/citeproc-lua/compare/v0.4.5...v0.4.6 |
| 381 | [0.4.5]: https://github.com/zepinglee/citeproc-lua/compare/v0.4.4...v0.4.5 |
| 382 | [0.4.4]: https://github.com/zepinglee/citeproc-lua/compare/v0.4.3...v0.4.4 |
| 383 | [0.4.3]: https://github.com/zepinglee/citeproc-lua/compare/v0.4.2...v0.4.3 |
| 384 | [0.4.2]: https://github.com/zepinglee/citeproc-lua/compare/v0.4.1...v0.4.2 |
| 385 | [0.4.1]: https://github.com/zepinglee/citeproc-lua/compare/v0.4.0...v0.4.1 |
| 386 | [0.4.0]: https://github.com/zepinglee/citeproc-lua/compare/v0.3.0...v0.4.0 |
| 387 | [0.3.0]: https://github.com/zepinglee/citeproc-lua/compare/v0.2.2...v0.3.0 |
| 388 | [0.2.2]: https://github.com/zepinglee/citeproc-lua/compare/v0.2.1...v0.2.2 |
| 389 | [0.2.1]: https://github.com/zepinglee/citeproc-lua/compare/v0.2.0...v0.2.1 |
| 390 | [0.2.0]: https://github.com/zepinglee/citeproc-lua/compare/v0.1.1...v0.2.0 |
| 391 | [0.1.1]: https://github.com/zepinglee/citeproc-lua/compare/v0.1.0...v0.1.1 |
| 392 | [0.1.0]: https://github.com/zepinglee/citeproc-lua/releases/tag/v0.1.0 |