Localize Ecto version 0.3.0
[0.3.0] - 2026-07-23
Added
-
Collation resolution carries all collation-affecting BCP 47
-u-keywords (kn,ks,kc,kf,ka,kb,kr,kv) into the collation name, socollate(f.name, "en-u-kn-true")finds a natural-sort collation created in a migration. -
create_collation/2accepts tailoring options (:strength,:numeric,:case_level,:case_first,:alternate,:backwards) using theLocalize.Collation.Optionsvocabulary. Primary and secondary strengths default to a nondeterministic collation, enabling case/accent-insensitive equality and unique indexes. -
mix localize.ecto.auditandLocalize.Ecto.Auditreport collation version drift with per-index remediation SQL, database default collation drift, server-versus-application Unicode/ICU/CLDR versions, and time zone inventory differences. -
Localize.Ecto.Type.TimeZoneis an Ecto type for IANA time zone identifiers, canonicalizing aliases and BCP 47 short zone ids against the CLDR inventory;at_time_zone/2applies a validatedAT TIME ZONE. -
Localize.Ecto.TextSearch.config_for/2resolves a locale to the best PostgreSQL text search configuration, andts_match/2,3builds a locale-awareto_tsvector … @@ websearch_to_tsquerymatch. -
lower/1,2,upper/1,2andinitcap/1,2apply locale-aware case mapping via the locale's collation ("INDIGO" lowercases to "ındıgo" under"tr").
Changed
- Requires Localize
~> 1.0-rc.1for the CLDR time zone inventory.