All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[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.
[0.2.0] - 2026-07-23
Changes
- Requires Localize
~> 1.0-rc
[0.1.0] - 2026-07-17
Initial release.
Highlights
Localize.Ecto.collate/1,2query macros applying PostgreSQL ICUCOLLATEclauses to query expressions and comparisons, resolved from a locale or the currentLocalizelocale.Locale-to-collation resolution via CLDR language matching, including BCP 47
-u-co-collation types and direct collation names.Localize.Ecto.Migration.create_collation/2anddrop_collation/2for creating ICU collations reversibly in migrations, andcollated/2for building collated indexes withEcto.Migration.index/3.
See the README for full documentation.