Skip to content

v4.19.1 - Locale Cache Fix

Choose a tag to compare

@dgunning dgunning released this 13 Oct 15:41
· 2016 commits to main since this release

Fixed

  • Locale Cache Corruption (#457): Fixed critical issue where cached HTTP responses with locale-specific timestamps caused ValueError during deserialization. The library now automatically clears corrupted cache files on first use with a one-time operation, ensuring seamless functionality for international users.

Technical Details

  • Added automatic cache clearing function that runs once on import
  • Uses marker file (.locale_fix_457_applied) to prevent repeated clearing
  • Transparent to users - happens automatically in < 100ms
  • Comprehensive test coverage (10 tests) for cache clearing behavior