Skip to content

Commit

Permalink
Bump to version 1.1.0 (#37)
Browse files Browse the repository at this point in the history
* Bump to version 1.1.0

Signed-off-by: Xuanwo <github@xuanwo.io>

* Update README

Signed-off-by: Xuanwo <github@xuanwo.io>
  • Loading branch information
Xuanwo authored Oct 25, 2021
1 parent 04afb19 commit b184f94
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 2 deletions.
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [v1.1.0] - 2021-10-25

### Added

- feat(darwin): Allow read global values, add AppleLocale support

### Changed

- Use github actions for test
- Add tests for go 1.16 and go 1.17
- ci: Remove tags to simplify build steps

### Fixed

- fix: Windows reports checkptr errors

### Upgraded

- build(deps): Bump golang.org/x/text to 0.3.7 (#33)
- build(deps): Bump github.com/smartystreets/goconvey to 1.6.7 (#35)

## [v1.0.0] - 2020-08-03

### Added
Expand Down Expand Up @@ -47,6 +68,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Support Linux, macOS X and Windows platforms
- Support Detect and DetectAll

[v1.1.0]: https://github.com/Xuanwo/go-locale/compare/v1.0.0...v1.1.0
[v1.0.0]: https://github.com/Xuanwo/go-locale/compare/v0.3.0...v1.0.0
[v0.3.0]: https://github.com/Xuanwo/go-locale/compare/v0.2.0...v0.3.0
[v0.2.0]: https://github.com/Xuanwo/go-locale/compare/v0.1.0...v0.2.0
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[![License](https://img.shields.io/badge/license-apache%20v2-blue.svg)](https://github.com/Xuanwo/go-locale/blob/master/LICENSE)
[![go locale](https://img.shields.io/matrix/xuanwo_go-locale:matrix.org.svg?label=%23xuanwo_go-locale%3Amatrix.org&logo=matrix&server_fqdn=matrix.org)](https://matrix.to/#/#xuanwo_go-locale:matrix.org)

`go-locale` is a Golang lib for cross platform locale detection.
`go-locale` is a Golang lib for cross-platform locale detection.

## OS Support

Expand Down Expand Up @@ -51,14 +51,17 @@ Support all OS that Golang supported, except `android`:
- Lookup env `LANG`
- [Windows Registry](https://renenyffenegger.ch/notes/Windows/registry/tree/HKEY_CURRENT_USER/Control-Panel/International/index)


### macOS X (darwin)

- Lookup env `LANGUAGE`
- Lookup env `LC_ALL`
- Lookup env `LC_MESSAGES`
- Lookup env `LANG`
- macOS X [User Defaults System](https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/UserDefaults/AboutPreferenceDomains/AboutPreferenceDomains.html)
- Lookup user AppleLocale
- Lookup user AppleLanguages
- Lookup global AppleLocale
- Lookup global AppleLanguages

## Usage

Expand Down

0 comments on commit b184f94

Please sign in to comment.