Skip to content

v3.2.0

Latest
Compare
Choose a tag to compare
@susnux susnux released this 12 Feb 23:05
· 20 commits to main since this release
309bf57

3.2.0 - 2025-02-13

ℹ️ Notes

The GettextBuilder.detectLocale method is deprecated and will be removed in the next major version.
It is replaced with the detectLanguage method to make the method naming more consistent.

Added

  • feat(date): fallback to Intl #831 (ShGKme)
  • feat(gettext): Add detectLanguage method and deprecate detectLocale #850 (susnux)
  • feat: Overload translate function to either allow number or placeholder as third arg #854 (susnux)

Fixed

  • fix(types): type translation variable keys #807 (ShGKme)
  • fix(isRTL): Correctly handle Urdu and Uzbek Afghan #855 (susnux)
  • fix(registry): Prevent prototype polluting #860 (susnux)

Changed

  • refactor(gettext): Drop node-gettext dependency and use our translation logic #851 (susnux)
  • license: Add SPDX header #781 (AndyScherzinger)
  • chore: Add missing trailing comma in vite config #852 (susnux)
  • docs: Clarify readme about Nextcloud provided and custom translations #853 (susnux)
  • docs: improve return type of getFirstDay() #784 (st3iny)
  • docs: replace missing exports plugin to also document internal types #846 (susnux)
  • ci: Update from org #795 (AndyScherzinger)
  • ci: Update workflows from organization #847 (susnux)
  • chore(deps): Bump dompurify and @types/dompurify
  • chore(dev-deps): Update development dependencies