Skip to content

v0.2.0

Compare
Choose a tag to compare
@ecton ecton released this 18 Jan 16:59
· 17 commits to main since this release
fdee8d9

Breaking Changes

  • RomanLowercase has been renamed to RomanLower for consistency.
  • HiraganaAiueo and KatakanaAiueo have had Aiueo removed from their names
    to match the CSS naming and reflect modern expectations.
  • Urdu has been removed. The Persian Unicode range is reused for Urdu
    numerals, and the different symbols are a result of using an Urdu or Persian
    font.
  • DigitCollection::len and DigitCollection::digit now take a digit_index
    parameter, allowing a digit collection to delegate specific digits to other
    implementations.

Changed

  • NominalString::INLINE_CAPACITY is now 62, and the type has been optimized to
    avoid zero-initializing data unnecessarily.

Added

  • NominalString now implements Clone.

  • NominalString::new_reverse() returns an empty string that is optimized for
    push_front operations.

  • AdditiveSet is a new NominalSystem implementation that implements additive
    nominal systems. The existing Roman numeral implementation is now utilizing
    this type.

  • These nominal systems have been added from the CSS counter-styles spec:

    • ArmenianLower
    • ArmenianUpper
    • Bengali
    • Cambodian
    • CjkDecimal
    • CjkEarthlyBranch
    • CjkHeavenlyStem
    • Devanagari
    • Ethiopic
    • Georgian
    • Gujarati
    • Gurmukhi
    • HangeulFormal
    • HangeulInformal
    • HanjaFormal
    • JapaneseFormal
    • JapaneseInformal
    • Kannada
    • Lao
    • Malayalam
    • Mongolian
    • Myanmar
    • Oriya
    • Tamil
    • Telugu
    • Thai
    • Tibetan