| 1 |
# sys-locale changelog |
| 2 |
|
| 3 |
Notable changes to this project will be documented in the [keep a changelog](https://keepachangelog.com/en/1.0.0/) format. |
| 4 |
|
| 5 |
## [Unreleased] |
| 6 |
|
| 7 |
## [0.3.1] - 2023-08-27 |
| 8 |
|
| 9 |
### Added |
| 10 |
- Added support for getting a list of user locales in their preferred order via `get_locales`. |
| 11 |
- Additional locales are currently supported on iOS, macOS, WASM, and Windows. Other platforms will |
| 12 |
only return a single locale like `get_locale` does. |
| 13 |
|
| 14 |
### Changed |
| 15 |
- Removed `windows-sys` dependency |
| 16 |
|
| 17 |
## [0.3.0] - 2023-04-04 |
| 18 |
|
| 19 |
### Changed |
| 20 |
- The crate now only uses `wasm-bindgen` when targeting WebAssembly on the web. |
| 21 |
Use the new `js` feature to target the web. |
| 22 |
|
| 23 |
### Fixed |
| 24 |
- The crate now compiles for unsupported platforms. |
| 25 |
- Cleaned up typos and grammar in README. |
| 26 |
|
| 27 |
# [0.2.4] - 2023-03-07 |
| 28 |
|
| 29 |
### Changed |
| 30 |
- Removed dependency on the `winapi` crate in favor of `windows-sys`, following more of the wider ecosystem. |
| 31 |
|
| 32 |
## [0.2.3] - 2022-11-06 |
| 33 |
|
| 34 |
### Fixed |
| 35 |
- Re-release 0.2.2 and correctly maintain `no_std` compatibility on Apple targets. |
| 36 |
|
| 37 |
## [0.2.2] - 2022-11-06 |
| 38 |
|
| 39 |
### Changed |
| 40 |
- The Apple backend has been rewritten in pure Rust instead of Objective-C. |
| 41 |
|
| 42 |
### Fixed |
| 43 |
- The locale returned on UNIX systems is now always a correctly formatted BCP-47 tag. |
| 44 |
|
| 45 |
## [0.2.1] - 2022-06-16 |
| 46 |
|
| 47 |
### Added |
| 48 |
|
| 49 |
- The crate now supports being used via WASM in a WebWorker environment. |
| 50 |
|
| 51 |
## [0.2.0] - 2022-03-01 |
| 52 |
|
| 53 |
### Fixed |
| 54 |
|
| 55 |
- 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. |
| 56 |
|
| 57 |
### Changed |
| 58 |
|
| 59 |
- No longer `no_std` on Linux and BSDs |
| 60 |
|
| 61 |
## [0.1.0] - 2021-05-13 |
| 62 |
|
| 63 |
Initial release |
| 64 |
|
| 65 |
[Unreleased]: https://github.com/1Password/sys-locale/compare/v0.3.1...HEAD |
| 66 |
[0.1.0]: https://github.com/1Password/sys-locale/releases/tag/v0.1.0 |
| 67 |
[0.2.0]: https://github.com/1Password/sys-locale/releases/tag/v0.2.0 |
| 68 |
[0.2.1]: https://github.com/1Password/sys-locale/releases/tag/v0.2.1 |
| 69 |
[0.2.2]: https://github.com/1Password/sys-locale/releases/tag/v0.2.2 |
| 70 |
[0.2.3]: https://github.com/1Password/sys-locale/releases/tag/v0.2.3 |
| 71 |
[0.2.4]: https://github.com/1Password/sys-locale/releases/tag/v0.2.4 |
| 72 |
[0.3.0]: https://github.com/1Password/sys-locale/releases/tag/v0.3.0 |
| 73 |
[0.3.1]: https://github.com/1Password/sys-locale/releases/tag/v0.3.1 |