2.2 KiB
2.2 KiB
sys-locale changelog
Notable changes to this project will be documented in the keep a changelog format.
Unreleased
0.3.1 - 2023-08-27
Added
- Added support for getting a list of user locales in their preferred order via
get_locales.- Additional locales are currently supported on iOS, macOS, WASM, and Windows. Other platforms will
only return a single locale like
get_localedoes.
- Additional locales are currently supported on iOS, macOS, WASM, and Windows. Other platforms will
only return a single locale like
Changed
- Removed
windows-sysdependency
0.3.0 - 2023-04-04
Changed
- The crate now only uses
wasm-bindgenwhen targeting WebAssembly on the web. Use the newjsfeature to target the web.
Fixed
- The crate now compiles for unsupported platforms.
- Cleaned up typos and grammar in README.
0.2.4 - 2023-03-07
Changed
- Removed dependency on the
winapicrate in favor ofwindows-sys, following more of the wider ecosystem.
0.2.3 - 2022-11-06
Fixed
- Re-release 0.2.2 and correctly maintain
no_stdcompatibility on Apple targets.
0.2.2 - 2022-11-06
Changed
- The Apple backend has been rewritten in pure Rust instead of Objective-C.
Fixed
- The locale returned on UNIX systems is now always a correctly formatted BCP-47 tag.
0.2.1 - 2022-06-16
Added
- The crate now supports being used via WASM in a WebWorker environment.
0.2.0 - 2022-03-01
Fixed
- Fixed a soundness issue on Linux and BSDs by querying the environment directly instead of using libc setlocale. The libc setlocale is not safe for use in a multi-threaded context.
Changed
- No longer
no_stdon Linux and BSDs
0.1.0 - 2021-05-13
Initial release