Prepare release v1.10.0 (#118)
Some checks failed
FOSSA Analysis / build (push) Has been cancelled
Go / build (1.17.x) (push) Has been cancelled
Go / build (1.18.x) (push) Has been cancelled
Go / build (1.19.x, true) (push) Has been cancelled

Prepare a new release with the following changes:
https://github.com/uber-go/atomic/compare/v1.9.0...2ab21d86f69c08c9cab261d3bf4d97954e673c9c
This commit is contained in:
Abhinav Gupta
2022-08-11 16:31:55 -07:00
committed by GitHub
parent 2ab21d86f6
commit 9680036303

View File

@@ -4,6 +4,23 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [1.10.0] - 2022-08-11
### Added
- Add `atomic.Float32` type for atomic operations on `float32`.
- Add `CompareAndSwap` and `Swap` methods to `atomic.String`, `atomic.Error`,
and `atomic.Value`.
- Add generic `atomic.Pointer[T]` type for atomic operations on pointers of any
type. This is present only for Go 1.18 or higher, and is a drop-in for
replacement for the standard library's `sync/atomic.Pointer` type.
### Changed
- Deprecate `CAS` methods on all types in favor of corresponding
`CompareAndSwap` methods.
Thanks to @eNV25 and @icpd for their contributions to this release.
[1.10.0]: https://github.com/uber-go/atomic/compare/v1.9.0...v1.10.0
## [1.9.0] - 2021-07-15
### Added
- Add `Float64.Swap` to match int atomic operations.