Changes for version v1.8.2 - 2026-04-23

  • Thread Safety
    • The package-level database handle cache ($DBH) and prepared statement cache ($STHS) are now keyed by thread ID (or PID when not running under threads). This prevents DBD::SQLite's "handle owned by thread X not current thread Y" errors when multiple threads perform CLDR lookups concurrently.
    • Added t/05.threads.t: thread safety test suite covering concurrent instantiation and concurrent calls to locale(), territory(), language(), plural_rule(), and lookups via a shared object across multiple threads.

Documentation

Boolean Representation Class
Locale Unicode Data Exception Class
Build CLDR SQLite Database

Modules

Unicode CLDR SQL Data

Provides

in lib/Locale/Unicode/Data.pm
in lib/Locale/Unicode/Data.pm