- 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
- Breaking change:
Entry::page_range
now returnsOption<&MaybeTyped<PageRanges>>
instead ofOption<&PageRanges>
. This fixes a panic that occurred when a page range had an unknown format MaybeTyped
now has anas_typed
method
- 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 alocation
. The top-levellocation
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.
- Fixed a bug with initials (#150)
- Fixed suppression of title when no author was provided (#144)
- Fixed et al handling on subsequent citations by bumping citationberg
- Allow the
abstract
,annote
, andgenre
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 asserial-number.arxiv
if theeprinttype
is set toarxiv
- Fixed issue with multiple subsequent citations (#122)
- Improved handling of empty CSL objects
- Fixed spacing around math blocks
- Fixed title case formatting next to
{verbatim}
blocks and apostrophes
- 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-...
fromgb-7114-...
. - Breaking change: The reexported
TypeErrorKind
andParseErrorKind
enums inbiblatex
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 thecitation-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 build 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)
Hayagriva now uses the Citation Style Language to encode formatting styles. This means that Hayagriva's own formatting styles have been deprecated.
- The YAML input format has changed.
- Titles and formattable strings have been merged into one type. All formattable strings can have a shorthand now.
- Formattable Strings do not have
title-case
andsentence-case
keys anymore.shorthand
has been renamed toshort
. To prevent changes of the text case of formattable strings, you can use braces. Enclose a part of a formattable string (orshort
) in{braces}
to print it as-is. - The fields
doi
,isbn
, andissn
have been moved toserial-number
which can now be a dictionary containing these and arbitrary other serial numbers like apmid
(PubMed ID) andarxiv
(ArXiv Identifier). - The
tweet
entry type has been renamed topost
. - All numeric variables can now also contains strings. Numbers can have string affixes.
Refer to the updated file format docs for examples.
- To use a CSL style, you can either supply a CSL file or use an archive of
provided styles with the
archive
feature. - The
from_yaml_str
function will now return the newLibrary
struct, with the entries within. - The
Database
struct has been replaced by the easier to handleBibliographyDriver
. - We switched from
yaml_rust
toserde_yaml
. TheEntry
now implementsserde
'sSerialize
andDeserialize
traits. Hence, thefrom_yaml
andto_yaml
functions have been deleted. - Brackets are no longer individually overridable. Instead, use the new
CitePurpose
. Entry::kind
has been renamed toEntry::entry_type
.- The citation styles
AuthorTitle
andKeys
have been removed but can be realized with CSL.
- The citation styles
This release fixes many bugs and makes Hayagriva a serious contender for reference management.
- We added the entry types
Performance
andOriginal
. - We added the field
call-number
.
Fixes a title case formatting bug introduced in the previous release.
Bug Fixes:
- Added an option to turn off abbreviation of journals (thanks to @CMDJojo)
- Fixed bugs with title case formatting (thanks to @jmskov)
- Fixed off-by-one error with dates in APA style (thanks to @bluebear94)
- Fixed supplements in the Alphanumeric and AuthorTitle styles (thanks to @lynn)
- Fixed bugs with sentence case formatting
- Fixed
verbatim
option - Fixed terminal formatting
- Fixed some typos (thanks to @kianmeng and @bluebear94)
Breaking:
- Updated to
biblatex
0.8.0
Bug Fixes:
- Fixed string indexing for titles, removed panic
- More permissive BibLaTeX parsing
Bug Fixes:
- Fixed APA bibliography ordering
Breaking:
- Replaced
NoHyphenation
formatting withLink
formatting - Switched to newest BibLaTeX (which is part of the public API)
Bug Fixes:
- Fixed IEEE bibliography ordering
- Fixed A, B, C, ... suffixes for Author Date citations
- Removed
println
calls
🐞 This release fixes the documentation of the CLI in the README.md
file.
✨ There are new options for bracketed citations in the CLI.
✅ No breaking changes.
🎉 This is the initial release!