Skip to content

Releases: typst/hayagriva

Version 0.9.1

26 Sep 16:04
799cfdc

Choose a tag to compare

  • Export the TransparentLocator struct so LocatorPayload::Transparent can be constructed (#397)
  • Fixes the location conditional in CSL styles for citations with no locator (#399)
  • Fix a bug where accessing year suffix resulted in wrong CSL renders (#400)

Thanks @Drodt for your contributions!

Version 0.9.0

25 Sep 17:26

Choose a tag to compare

  • Add chapter field corresponding to CSL chapter-number and BibLaTeX chapter (#361, #383)
  • Support locator/supplement in alphanumeric style, also clean it up (#298, #307, #353)
  • Support BibLaTeX language field (#317)
  • Support date seasons, which are displayed when the month is missing (#391)
  • Improve translation of BibLaTeX fields to genre and serial-number (#296, #369)
  • Breaking change: Allow differentiating custom locators/supplements for styles that handle repeated locators. Due to this change, LocatorPayload::Transparent now contains a TransparentLocator (#299)
  • Breaking change: The types CitationRequest, CitationItem, SpecificLocator and LocatorPayload no longer derive Hash and Eq. That also removes some automatically derived traits.
  • Breaking change: Updated biblatex to version 0.11.0
  • Update most archived CSL styles and locales
    • Breaking change: Styles chicago-fullnotes and modern-humanities-research-association were renamed to chicago-notes and modern-humanities-research-association-notes, and the old names are now deprecated, but still available. ArchivedStyle::ChicagoFullnotes and ArchivedStyle::ModernHumanitiesResearchAssociation were removed and the discriminant of ArchivedStyle::ChicagoNotes has changed. (#350, #372, #389)
  • Fixes and improvements to BibLaTeX parsing (#388)
    • Support % comment syntax, as well as top-level @comment{}
    • Allow omitting editor for @InProceedings
  • Fix regression where page variables were no longer supported in styles' <number> elements (#289)
  • Fix handling of ibid-with-locator and ibid positions in styles (#301)
  • Fix sorting and formatting of name parts (#287, #313)
  • Correctly use terms for "AD" and "BC" from chosen locale (#364)
  • Fix year suffix collapsing (#367)
  • Fix delimiters in locale-specific date formatting (#385)
  • Fix rendering of date ordinals (#366)
  • Fix rendering and sorting of dates with BC years (#334, #368)
  • Fix sorting for empty sort values (#390)

Thanks @Drodt, @wkordalski, @sonovice, @cgevans, @Andrew15-5, @jzw2, @Eloitor, @fpdotmonkey and @kristoferssolo for your contributions!

Version 0.8.1

05 Feb 11:15

Choose a tag to compare

0.8.1

  • Use editor names in prose and author-only citations if the author names are unavailable
  • Recognize some non-standard but widely used BibLaTeX editortypes like producer, writer, scriptwriter, and none (defined by widespread style biblatex-chicago to mean performers within music and video entries)
  • Allow CSL styles to render affixes around the bibliography
  • Correctly process the PubMed ID for BibTeX entries with eprinttype = {pubmed}
  • Fix bugs around the handling of CSL delimiting characters (#109, #180)
  • Whitespace handling for the strings delimiting initialized names has been improved
  • Fix problem with parsing multibyte characters in page ranges that could prevent Hayagriva from parsing some BibTeX page ranges (#241)
  • Uppercase spelling after apostrophes used as quotation marks is now possible
  • Fix a panic with the CLI's --format argument
  • Updated CSL APA style
  • Updated CSL locales for Finnish, Swiss German, Austrian German, German, and
    Arabic

Thank you to @YDX-2147483647, @DerDrodt, @sandbergja, @bact, @wrenger, and @m-haug for your contributions!

Version 0.8.0

15 Oct 13:48

Choose a tag to compare

  • Breaking change: Fixed deserialization of page ranges, removing From<u64> for PageRanges
  • Added support for disambiguation to alphanumeric citation style
  • Raised limit for disambiguation resolving in complex cases
  • The year 0 will now render as 1BC for CSL

Version 0.7.0

03 Oct 14:54
a1a27dc

Choose a tag to compare

  • Breaking change: Entry::page_range now returns Option<&MaybeTyped<PageRanges>> instead of Option<&PageRanges>. This fixes a panic that occurred when a page range had an unknown format
  • MaybeTyped now has an as_typed method

Version 0.6.0

02 Oct 13:29
2bb2ab0

Choose a tag to compare

  • Breaking change: Fix that the page range labels were not pluralized, NumericValue::Range now returns an inclusive range (#142)
  • Breaking change: The field publisher can now accept a dictionary with a location. The top-level location key is now primarily for event and item locations.
  • Breaking change: The field annote has been removed
  • Allow multiple page ranges with prefixes and suffixes
  • Fixes with sorting bibliography entries
  • Fix sorting citations by their number (#115)
  • Fix how citation number ranges collapse (#154)
  • BibliographyItem is now exported (#157)
  • Fix when the short form of a title was used (#173)
  • Bumped the biblatex crate to 0.10.0 to fix a BibLaTeX parsing bug (typst/biblatex#53) and allow the Unknown and Director editor types (typst/biblatex#52).

We also updated our collection of Citation Styles.

Thank you to @DerDrodt, @bluebear94, @TheChilliPL, @lluchs, @xkevio for your contributions!

Version 0.5.3

16 May 10:23

Choose a tag to compare

Version 0.5.2

07 Mar 16:05

Choose a tag to compare

  • Allow the abstract, annote, and genre fields to Hayagriva files and process them from BibTeX files.
  • Fix retrieval of an item's editor (#94)
  • Fixed issue with pulling punctuation into quotation marks (#85)
  • Allow non-range values in the pages field (#103)
  • Fix multiple subsequent prose citations to the same item (#122)
  • Interpret the eprint BibTeX key as serial-number.arxiv if the eprinttype is set to arxiv
  • Fixed issue with multiple subsequent citations (#122)
  • Improved handling of empty CSL objects

Thanks to @DerDrodt, @zepinglee, @tilman-schieber, @MaxGietl, @frozolotl, @mkdjr, and @quicktus for contributing to this release.

Version 0.5.1

29 Nov 17:37

Choose a tag to compare

  • Fixed spacing around math blocks
  • Fixed title case formatting next to {verbatim} blocks and apostrophes

Version 0.5.0

24 Nov 15:10

Choose a tag to compare

  • Breaking change: The API for archived styles has changed.
  • Breaking change: The name of the GB/T 7714 family of styles have been corrected to gb-7714-... from gb-7114-....
  • Breaking change: The reexported TypeErrorKind and ParseErrorKind enums in biblatex have added variants and become non-exhaustive.
  • Date parsing will not panic anymore (typst/typst#2553).
  • Anthos entries now properly recognize their parent (#72, typst/typst#2572). Thanks, @zepinglee!
  • Proceedings titles will now be printed correctly (#78). Thanks, @vtta!
  • Citation numbers will now collapse if the style requests it.
  • Escaping in format and chunked strings now works (typst/typst#2669).
  • The old behavior of the alphanumeric style has been restored.
  • Bibliographies now forcibly print the alphanumeric citation-label instead of the citation-number if the cite only printed the former (and vice-versa; typst/typst#2707).
  • We dropped the dependency on rkyv in favor of code generation in a test. This should resolve runtime problems on some platforms.
  • The retrieval of the volume variable is now more robust (#82). Thanks, @mpmdean!
  • Fixed delimiter order for contributors (#73). Thanks, @zepinglee!
  • Page ranges can now be strings (#83).
  • Page ranges will now use the correct delimiter, even if printed with cs:text
  • Fixed a bug with the suppression of empty groups (typst/typst#2548).
  • Bumped citationberg to solve a CSL locale fallback issue that affected typst/typst#2548
  • Bumped the biblatex crate to 0.9.0 to fix BibLaTeX parsing bugs (e.g. typst/biblatex#41, typst/biblatex#33, typst/biblatex#40, typst/typst#2751, #81)