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.
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.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps go.uber.org/atomic from 1.9.0 to 1.10.0.
Release notes
Sourced from go.uber.org/atomic's releases.
Changelog
Sourced from go.uber.org/atomic's changelog.
Commits
9680036
Prepare release v1.10.0 (#118)2ab21d8
Add Pointer[T] (#116)d144bb6
Drop use of deprecated ioutil package (#117)d4bbbc8
Add CompareAndSwap and Swap, Deprecate CAS (#111)01497d2
nocmp_test: fix spelling in comment (#114)d15bdad
ci: Test with Go 1.19 (#113)edb52d7
Value: place nocmp zero-sized field first (#109)122c956
all: Update copyright notices (#112)976602f
all: go fmt ./... with go1.19 (#110)f9aa9cb
Provide atomic type for float32 (#107)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)