uber-go/atomic
### [`v1.10.0`](https://togithub.com/uber-go/atomic/releases/tag/v1.10.0)
[Compare Source](https://togithub.com/uber-go/atomic/compare/v1.9.0...v1.10.0)
##### 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](https://togithub.com/eNV25) and [@icpd](https://togithub.com/icpd) for their contributions to this release.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled due to failing status checks.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, click this checkbox.
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
v1.9.0
->v1.10.0
Release Notes
uber-go/atomic
### [`v1.10.0`](https://togithub.com/uber-go/atomic/releases/tag/v1.10.0) [Compare Source](https://togithub.com/uber-go/atomic/compare/v1.9.0...v1.10.0) ##### 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](https://togithub.com/eNV25) and [@icpd](https://togithub.com/icpd) for their contributions to this release.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled due to failing status checks.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.