Skip to content

v1.17.0

Choose a tag to compare

@github-actions github-actions released this 29 Oct 02:15
67bfffb

Added

  • OSCOLA tables of primary sources. An OSCOLA bibliography that cites cases, legislation, or treaties now lists them as OSCOLA 5 (§§1.6–1.7) asks: a table of cases, then legislation (statutory instruments after statutes), then treaties, then the bibliography of secondary sources. Each table has its own label, one level below the block heading, and the editor, plain-text exports, the write routes, and bulk reformat show the same tables. Case names in the table of cases stay roman, and "Re X" files under X. Existing OSCOLA blocks stay valid and take the new shape the next time they are edited; bibliographies of secondary sources alone, and every other style, are unchanged.
  • Cited works linked from the page on every site. Without Yoast SEO or Rank Math, Borges now prints the page's own WebPage node with the cited works as schema.org citation, the link it already adds to those plugins' Article. The bibliography_builder_link_page_citations switch covers it, and the new bibliography_builder_page_citation_node filter can change or drop it.

Changed

  • COinS says what kind of work each entry is. Each COinS span now carries its OpenURL genre and the fields that format has room for, so Zotero's browser connector imports a chapter as a book section with its pages, a conference paper or report with its proceedings or report title, publisher, and place, a book with its edition, a journal article with its ISSN, and every entry with its URL. Editors and translators are still left out, since OpenURL has no place for them. Saved posts need no change; bibliography_builder_enrich_coins turns this off.
  • Encyclopedia and dictionary entries name their reference work in the JSON-LD, as isPartOf, so a citation of a Britannica or Wikipedia entry keeps its container.

Fixed

  • Google's Rich Results Test no longer marks bibliographies invalid. It reads the bibliography's ItemList as a carousel, where a ListItem may carry url or item but not both. Entries now carry item alone; each work's @id still points at its entry when it has no DOI.
  • VoiceOver reads the bibliography as a list again. Safari stops treating a list as a list when its markers are hidden, so VoiceOver read each entry as plain text, with no "list, 12 items" and no "7 of 12". The lists now carry role="list", added as the block renders, so saved posts need no change (#226).
  • arXiv numbers print once in APA 7 and IEEE, not as "arXiv:arXiv:1706.03762". The stored record and its exports keep the prefix; existing citations print correctly the next time they are formatted (#224).

Internal

  • The OSCOLA change adds a deprecation for the 1.16.0 markup (src/deprecated.js, tests/fixtures/deprecations/v16-deprecated.html).
  • tools/markup-value builds its test pages from any corpus, style, and folder (MV_CORPUS, MV_STYLE, MV_OUT); npm run sweep measures every style; corpus-marginalia.json adds a real reference list of 36 works; real token counts (o200k_base) sit beside the estimate; npm run parser and llm-baseline.mjs score what AnyStyle and language models recover from the plain list; and COinS is read through Zotero's own OpenURL reader, field by field.

What's Changed

  • Save OSCOLA bibliographies as OSCOLA 5 tables by @dknauss in #220
  • COinS: say what kind of work each entry is, and carry its fields by @dknauss in #221
  • markup-value: real token counts and a citation-parser baseline by @dknauss in #222
  • JSON-LD: page citation edges without an SEO plugin, no ListItem url; broader markup-value tests by @dknauss in #223
  • Print arXiv numbers once in APA 7 and IEEE by @dknauss in #225
  • Keep the bibliography a list for VoiceOver in Safari by @dknauss in #227
  • Release 1.17.0 by @dknauss in #228

Full Changelog: v1.16.0...v1.17.0