Skip to content

0.3.0

Latest

Choose a tag to compare

@danielsaidi danielsaidi released this 30 Sep 19:55
· 1 commit to main since this release

This version replaces most explicit diacritic replacements with combining mark logic.

📦 Package

  • VietnameseInput now ships as a multi-platform package.
  • VietnameseInput now targets iOS 16, macOS 14, tvOS 16, and watchOS 10.

✨ Features

  • Vietnamese.Diacritic has new combiningMark and combiningMarkChars properties.
  • Vietnamese.Diacritic.CombiningMark is a new type that describes a Unicode combining mark.
  • VietnameseInputEngine can now apply tones to full words, e.g. Tuân + s => Tuấn and moi + j => mọi.

💡 Behavior changes

  • mũ, móc and trăng can now be applied to vowels with tones, e.g. á + a => ấ.
  • mũ and móc can now replace each other, e.g. ô + w => ơ, just like mũ and trăng already did.

💥 Breaking changes

  • Vietnamese.allDiacriticVariantsFor* and Vietnamese.allDiacriticVowelVariants have been removed.