Skip to content

Commit

Permalink
Prepare release v1.10.0 (#118)
Browse files Browse the repository at this point in the history
Prepare a new release with the following changes:
v1.9.0...2ab21d8
  • Loading branch information
abhinav authored Aug 11, 2022
1 parent 2ab21d8 commit 9680036
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 9680036

Please sign in to comment.