Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.3.2 #39

Merged
merged 1 commit into from
Nov 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
74 changes: 1 addition & 73 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,73 +1 @@
# sys-locale changelog

Notable changes to this project will be documented in the [keep a changelog](https://keepachangelog.com/en/1.0.0/) 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_locale` does.

### Changed
- Removed `windows-sys` dependency

## [0.3.0] - 2023-04-04

### Changed
- The crate now only uses `wasm-bindgen` when targeting WebAssembly on the web.
Use the new `js` feature 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 `winapi` crate in favor of `windows-sys`, following more of the wider ecosystem.

## [0.2.3] - 2022-11-06

### Fixed
- Re-release 0.2.2 and correctly maintain `no_std` compatibility 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_std` on Linux and BSDs

## [0.1.0] - 2021-05-13

Initial release

[Unreleased]: https://github.com/1Password/sys-locale/compare/v0.3.1...HEAD
[0.1.0]: https://github.com/1Password/sys-locale/releases/tag/v0.1.0
[0.2.0]: https://github.com/1Password/sys-locale/releases/tag/v0.2.0
[0.2.1]: https://github.com/1Password/sys-locale/releases/tag/v0.2.1
[0.2.2]: https://github.com/1Password/sys-locale/releases/tag/v0.2.2
[0.2.3]: https://github.com/1Password/sys-locale/releases/tag/v0.2.3
[0.2.4]: https://github.com/1Password/sys-locale/releases/tag/v0.2.4
[0.3.0]: https://github.com/1Password/sys-locale/releases/tag/v0.3.0
[0.3.1]: https://github.com/1Password/sys-locale/releases/tag/v0.3.1
The list of changes in each version can be found on GitHub: https://github.com/1Password/sys-locale/releases
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sys-locale"
version = "0.3.1"
version = "0.3.2"
authors = ["1Password"]
description = "Small and lightweight library to obtain the active system locale"
keywords = ["locale", "i18n", "localization", "nostd"]
Expand Down
Loading