Releases: ceph/go-ceph
Release v0.34.0
The maintainers and contributors to go-ceph are pleased to announce the v0.34.0 release. This is another great step towards making it possible to use the power of the Ceph APIs in the Go language.
As this is a v0.x release we do not guarantee backwards compatibility with previous versions of the code. However, we aim not to disrupt existing consumers of the library and thus make an effort not to immediately implement breaking changes without very good justification. Please see the "Deprecations & Removals" section (if present) to get a sense of what you can expect to change in the future and prepare your code ahead of time. You may also want to view "Deprecations & Removals" of previous releases as they are not repeated here. All newly introduced APIs in the following section are labeled as "preview" APIs first, and are only available if the ceph_preview
build tag is set. There is explicitly no backwards compatibility guaranteed for these until they are labeled as "stable" in a later release.
New features
cephfs/admin
- cephfs/admin: Add API to fetch subvolume snapshot path by @anoopcs9 in #1113
- Adds SubVolumeSnapshotPath similar to
cephfs subvolume snapshot getpath <volume> ...
- Adds SubVolumeSnapshotPath similar to
common/admin/smb
- Add a new smb admin API sub-package by @phlogistonjohn in #1100
- New dedicated sub-package for managing SMB shares with functions equivalent to
ceph smb apply ...
andceph smb show ...
from ceph smb manager module
- New dedicated sub-package for managing SMB shares with functions equivalent to
API stability updates
The following APIs are now stable:
rbd
- Image.EncryptionLoad2
Other changes
cephfs
- cephfs: Use wrappers to handle the ABI changes with chown APIs by @anoopcs9 in #1127
- admin/smb: rename errorMerge to errorPick by @phlogistonjohn in #1126
- admin/smb: fix test that was stil using errorMerge by @phlogistonjohn in #1128
rbd
rgw/admin
- rgw/admin: Fix version check for return code by @anoopcs9 in #1108
- Revert "rgw/admin: Fix version check for return code" by @anoopcs9 in #1114
Internal
- Add ceph tentacle CI jobs by @anoopcs9 in #1106
- go-ceph: bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.79.0 to 1.79.3 by @dependabot in #1110
- go-ceph: bump github.com/aws/aws-sdk-go-v2/credentials from 1.17.65 to 1.17.67 by @dependabot in #1112
- go-ceph: bump github.com/aws/aws-sdk-go-v2/config from 1.29.12 to 1.29.14 by @dependabot in #1111
- workflows: Use
gh
command line to create issues by @anoopcs9 in #1116 - go-ceph: bump actions/setup-go from 5.4.0 to 5.5.0 by @dependabot in #1122
- go-ceph: bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.79.3 to 1.80.0 by @dependabot in #1123
- go-ceph: bump golang.org/x/sys from 0.32.0 to 0.33.0 by @dependabot in #1124
- Release preparation v0.33 by @anoopcs9 in #1129
Full Changelog: v0.33.0...v0.34.0
Release v0.33.0
The maintainers and contributors to go-ceph are pleased to announce the v0.33.0 release. This is another great step towards making it possible to use the power of the Ceph APIs in the Go language.
As this is a v0.x release we do not guarantee backwards compatibility with previous versions of the code. However, we aim not to disrupt existing consumers of the library and thus make an effort not to immediately implement breaking changes without very good justification. Please see the "Deprecations & Removals" section (if present) to get a sense of what you can expect to change in the future and prepare your code ahead of time. You may also want to view "Deprecations & Removals" of previous releases as they are not repeated here. All newly introduced APIs in the following section are labeled as "preview" APIs first, and are only available if the ceph_preview build tag is set. There is explicitly no backwards compatibility guaranteed for these until they are labeled as "stable" in a later release.
Special thanks to our new contributors:
- @ShravaniVangur made their first contribution in #1079
New features
rbd
- rbd: add ListChildrenAttributes Api by @ShravaniVangur in #1079
- Adds ListChildrenAttributes implementing rbd_list_children3
- rbd: add support for rbd_diff_iterate3 api by @Rakshith-R in #1064
- Adds DiffIterateByID implementing rbd_diff_iterate3
rgw
cephfs
- cephfs: add compatiblity wrappers for Go's io/fs interfaces by @phlogistonjohn in #1089
- Adds Wrap method, MountWrapper type, and various private types implementing the interfaces of io/fs
Other changes
rbd
rgw
Internal
- go-ceph: bump golang.org/x/sys from 0.29.0 to 0.30.0 by @dependabot in #1084
- build: Bump go version to 1.22 by @anoopcs9 in #1085
- go-ceph: bump github.com/aws/smithy-go from 1.22.2 to 1.22.3 by @dependabot in #1083
- go-ceph: bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.72.0 to 1.78.1 by @dependabot in #1086
- go-ceph: bump github.com/aws/aws-sdk-go-v2/credentials from 1.17.57 to 1.17.61 by @dependabot in #1081
- go-ceph: bump github.com/aws/aws-sdk-go-v2/config from 1.29.4 to 1.29.8 by @dependabot in #1080
- workflows: update actions for new ceph org policy changes by @phlogistonjohn in #1090
- version bumps - container file and workflow by @phlogistonjohn in #1091
- go-ceph: bump github.com/gofrs/uuid/v5 from 5.3.0 to 5.3.2 by @dependabot in #1096
- go-ceph: bump github.com/aws/aws-sdk-go-v2/credentials from 1.17.62 to 1.17.65 by @dependabot in #1095
- go-ceph: bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.78.1 to 1.79.0 by @dependabot in #1092
- go-ceph: bump github.com/aws/aws-sdk-go-v2/config from 1.29.9 to 1.29.12 by @dependabot in #1093
- build: Bump go version to 1.23.0 by @anoopcs9 in #1099
- go-ceph: bump golang.org/x/sys from 0.30.0 to 0.31.0 by @dependabot in #1094
- containers: add more hacky shell to fix shaman api query by @phlogistonjohn in #1102
- Release preparation v0.33 by @phlogistonjohn in #1103
- doc: fix api versions for rgw api check bucket index by @phlogistonjohn in #1104
Full Changelog: v0.32.0...v0.33.0
Release v0.32.0
The maintainers and contributors to go-ceph are pleased to announce the v0.32.0 release. This is another great step towards making it possible to use the power of the Ceph APIs in the Go language.
As this is a v0.x release we do not guarantee backwards compatibility with previous versions of the code. However, we aim not to disrupt existing consumers of the library and thus make an effort not to immediately implement breaking changes without very good justification. Please see the "Deprecations & Removals" section (if present) to get a sense of what you can expect to change in the future and prepare your code ahead of time. You may also want to view "Deprecations & Removals" of previous releases as they are not repeated here. All newly introduced APIs in the following section are labeled as "preview" APIs first, and are only available if the ceph_preview
build tag is set. There is explicitly no backwards compatibility guaranteed for these until they are labeled as "stable" in a later release.
Special thanks to our new contributors:
New Features
rbd
- add EncryptionLoad2 implementing rbd_encryption_load2 by @phlogistonjohn in #1061
- Adds
EncryptionLoad2
- Adds
API Stability Updates
The following APIs are now stable:
rbd
GroupSnapGetInfo
Other changes
rgw
- rgw/admin: support new-bucket-name for LinkBucket by @sj14 in #1046
- rgw: use maintained github.com/aws/aws-sdk-go-v2 module instead of v1 by @nixpanic in #1057
- rgw/admin: parse more fields by bucket struct by @clwluvw in #1068
rbd
Internal
- go-ceph: bump golang.org/x/sys from 0.27.0 to 0.28.0 by @dependabot in #1056
- workflows: remove pre-quincy job by @phlogistonjohn in #1060
- Makefile: Remove leftovers related to EOL releases by @anoopcs9 in #1062
- go-ceph: bump golang.org/x/sys from 0.28.0 to 0.29.0 by @dependabot in #1069
- go-ceph: bump github.com/aws/smithy-go from 1.22.1 to 1.22.2 by @dependabot in #1070
- go-ceph: bump github.com/aws/aws-sdk-go-v2 from 1.32.7 to 1.36.0 by @dependabot in #1072
- go-ceph: bump github.com/aws/aws-sdk-go-v2/credentials from 1.17.48 to 1.17.57 by @dependabot in #1071
- go-ceph: bump github.com/aws/aws-sdk-go-v2/config from 1.28.7 to 1.29.4 by @dependabot in #1073
- internal: Use a wrapper to detect server version by @anoopcs9 in #1074
- containers: another workaround for ceph container changes by @phlogistonjohn in #1075
Full Changelog: v0.31.0...v0.32.0
Release v0.31.0
The maintainers and contributors to go-ceph are pleased to announce the v0.31.0 release. This is another great step towards making it possible to use the power of the Ceph APIs in the Go language.
As this is a v0.x release we do not guarantee backwards compatibility with previous versions of the code. However, we aim not to disrupt existing consumers of the library and thus make an effort not to immediately implement breaking changes without very good justification. Please see the "Deprecations & Removals" section (if present) to get a sense of what you can expect to change in the future and prepare your code ahead of time. You may also want to view "Deprecations & Removals" of previous releases as they are not repeated here. All newly introduced APIs in the following section are labeled as "preview" APIs first, and are only available if the ceph_preview
build tag is set. There is explicitly no backwards compatibility guaranteed for these until they are labeled as "stable" in a later release.
New Features
rados
API Stability Updates
The following APIs are now stable:
rados
- ReadOpExecStep.Bytes
- ReadOp.Exec
- rados: WriteOp.Exec
rados/striper
- Striper.Read
- Striper.Stat
- New
- NewWithLayout
- Striper.Destroy
- Striper.SetObjectLayoutStripeUnit
- Striper.SetObjectLayoutStripeCount
- Striper.SetObjectLayoutObjectSize
- Striper.Write
- Striper.WriteFull
- Striper.Append
- Striper.Remove
- Striper.Truncate
- Striper.GetXattr
- Striper.SetXattr
- Striper.RmXattr
- Striper.ListXattrs
rbd
- CloneImageByID
Other Changes
cephfs
- cephfs: add clone progress report in clone status by @Nikhil-Ladha in #1036
- cephfs: Adjust with the fallocate API changes by @anoopcs9 in #1045
rbd
Internal
- containers: work around protobuf package issues by @phlogistonjohn in #1038
- github: Require squid job to pass in mergify config by @anoopcs9 in #1040
- go-ceph: bump golang.org/x/sys from 0.25.0 to 0.26.0 by @dependabot in #1042
- go-ceph: bump golang.org/x/sys from 0.26.0 to 0.27.0 by @dependabot in #1047
- go-ceph: bump github.com/stretchr/testify from 1.9.0 to 1.10.0 by @dependabot in #1048
- containers: Remove the need for
yum update
in Dockerfile by @anoopcs9 in #1043 - [ci] workaround recent changes in ceph's CI built container images by @phlogistonjohn in #1051
- Release preparation v0.31.0 by @ansiwen in #1050
Full Changelog: v0.30.0...v0.31.0
Release v0.30.0
The maintainers and contributors to go-ceph are pleased to announce the v0.30.0 release. This is another great step towards making it possible to use the power of the Ceph APIs in the Go language.
As this is a v0.x release we do not guarantee backwards compatibility with previous versions of the code. However, we aim not to disrupt existing consumers of the library and thus make an effort not to immediately implement breaking changes without very good justification. Please see the "Deprecations & Removals" section (if present) to get a sense of what you can expect to change in the future and prepare your code ahead of time. You may also want to view "Deprecations & Removals" of previous releases as they are not repeated here. All newly introduced APIs in the following section are labeled as "preview" APIs first, and are only available if the ceph_preview build tag is set. There is explicitly no backwards compatibility guaranteed for these until they are labeled as "stable" in a later release.
Special thanks to our new contributors:
New Features
rbd
Other
- Introduce common cephError type to compare errors between packages by @nixpanic in #1032
This change should not impact use of the API but will allow errors to be handled more easily and more consistently across the rados, rbd, and cephfs packages
API Stability Updates
n/a
Other Changes
rbd:
Internal
- github: Update mergify config to replace deprecated attributes by @anoopcs9 in #1022
- go-ceph: bump golang.org/x/sys from 0.22.0 to 0.24.0 by @dependabot in #1023
- go-ceph: Versions upgrade by @pkthapa in #1024
- Do not use standard names as function arguments by @anoopcs9 in #1028
- internal/dlsym: Define _GNU_SOURCE for RTLD_DEFAULT by @anoopcs9 in #1026
- docs: fix version number for new GroupSnapGetInfo api by @phlogistonjohn in #1033
- docs: update README for release v0.30.0 by @phlogistonjohn in #1034
Full Changelog: v0.29.0...v0.30.0
v0.29.0
The maintainers and contributors to go-ceph are pleased to announce the v0.29.0 release. This is another great step towards making it possible to use the power of the Ceph APIs in the Go language.
As this is a v0.x release we do not guarantee backwards compatibility with previous versions of the code. However, we aim not to disrupt existing consumers of the library and thus make an effort not to immediately implement breaking changes without very good justification. Please see the "Deprecations & Removals" section (if present) to get a sense of what you can expect to change in the future and prepare your code ahead of time. You may also want to view "Deprecations & Removals" of previous releases as they are not repeated here. All newly introduced APIs in the following section are labeled as "preview" APIs first, and are only available if the ceph_preview
build tag is set. There is explicitly no backwards compatibility guaranteed for these until they are labeled as "stable" in a later release.
Special thanks to our new contributors:
- @sj14 made their first contribution in #998
- @vslpsl made their first contribution in #989
- @peterwillis made their first contribution in #937
New Features
rados
rados/striper
- Add new rados/striper package by @phlogistonjohn in #1015
AddsNew
NewWithLayout
Striper.Read
Striper.Stat
Striper.Destroy
Striper.SetObjectLayoutStripeUnit
Striper.SetObjectLayoutStripeCount
Striper.SetObjectLayoutObjectSize
Striper.Write
Striper.WriteFull
Striper.Append
Striper.Remove
Striper.Truncate
Striper.GetXattr
Striper.SetXattr
Striper.RmXattr
Striper.ListXattrs
API Stability Updates
The following APIs are now stable:
cephfs/admin:
FSAdmin.FSQuiesce
rbd
Image.GetSnapGroupNamespace
Other Changes
rgw/admin
- rgw/admin: Add ErrNoSuchSubUser by @sj14 in #998
- rgw/admin: add creation time to bucket by @peterwillis in #937
rbd
Internal
- goodbye nautilus by @phlogistonjohn in #1006
- go-ceph: bump github.com/aws/aws-sdk-go from 1.53.14 to 1.54.12 by @dependabot in #1003
- Makefile: Use
?=
for initial variable definitions(part 2) by @anoopcs9 in #1004 - go-ceph: bump golang.org/x/sys from 0.20.0 to 0.21.0 by @dependabot in #1002
- Detect
rbd_clone4
support by usingdlsym()
by @nixpanic in #1013 - workflows: enable squid job by @phlogistonjohn in #1012
- go-ceph: bump golang.org/x/sys from 0.21.0 to 0.22.0 by @dependabot in #1016
- go-ceph: bump github.com/aws/aws-sdk-go from 1.54.12 to 1.55.5 by @dependabot in #1017
Full Changelog: v0.28.0...v0.29.0
v0.28.0
The maintainers and contributors to go-ceph are pleased to announce the v0.28.0 release. This is another great step towards making it possible to use the power of the Ceph APIs in the Go language.
As this is a v0.x release we do not guarantee backwards compatibility with previous versions of the code. However, we aim not to disrupt existing consumers of the library and thus make an effort not to immediately implement breaking changes without very good justification. Please see the "Deprecations & Removals" section (if present) to get a sense of what you can expect to change in the future and prepare your code ahead of time. You may also want to view "Deprecations & Removals" of previous releases as they are not repeated here. All newly introduced APIs in the following section are labeled as "preview" APIs first, and are only available if the ceph_preview
build tag is set. There is explicitly no backwards compatibility guaranteed for these until they are labeled as "stable" in a later release.
API Stability Updates
The following APIs are now stable:
rgw/admin
- API.GetBucketQuota
- API.SetBucketQuota
Other Changes
cephfs/admin
rgw/admin
Internal
- go-ceph: bump github.com/aws/aws-sdk-go from 1.51.12 to 1.52.0 by @dependabot in #985
- go-ceph: bump golang.org/x/sys from 0.18.0 to 0.19.0 by @dependabot in #986
- go-ceph: bump golang.org/x/sys from 0.19.0 to 0.20.0 by @dependabot in #992
- go-ceph: bump github.com/aws/aws-sdk-go from 1.52.0 to 1.53.14 by @dependabot in #991
- Dockerfile: Avoid conflict with curl-minimal package by @anoopcs9 in #993
- containers: work around centos 8 stream getting archived by @phlogistonjohn in #995
- Prepare for release v0.28.0 by @anoopcs9 in #996
Full Changelog: v0.27.0...v0.28.0
v0.27.0
The maintainers and contributors to go-ceph are pleased to announce the v0.27.0 release. This is another great step towards making it possible to use the power of the Ceph APIs in the Go language.
As this is a v0.x release we do not guarantee backwards compatibility with previous versions of the code. However, we aim not to disrupt existing consumers of the library and thus make an effort not to immediately implement breaking changes without very good justification. Please see the "Deprecations & Removals" section (if present) to get a sense of what you can expect to change in the future and prepare your code ahead of time. You may also want to view "Deprecations & Removals" of previous releases as they are not repeated here. All newly introduced APIs in the following section are labeled as "preview" APIs first, and are only available if the ceph_preview build tag is set. There is explicitly no backwards compatibility guaranteed for these until they are labeled as "stable" in a later release.
Special thanks to our new contributors:
- @jarrpa made their first contribution in #980
- @zxysilent made their first contribution in #977
New Features
cephfs/admin
- API for quiesceing io on a subvolume. by @manishym in #958
- Adds FSQuiesce similar to
ceph fs quiesce <volume>
- Adds FSQuiesce similar to
rbd
- rbd: add GetSnapGroupNamespace() to get details about group snapshots by @nixpanic in #968
- Adds GetSnapGroupNamespace implementing rbd_snap_get_group_namespace
API Stability Updates
The following APIs are now stable:
rbd
- Image.Resize2
rgw/admin
- API.GetInfo
Other Changes
rbd
- rbd: add a test to verify that encrypted volumes can be resized by @phlogistonjohn in #973
- rbd: prevent warning about redefining _POSIX_C_SOURCE by @nixpanic in #974
- rbd: remove features_nautilus.go by @jarrpa in #980
- rbd: trigger an error on invalid max snaps value by @zxysilent in #977
cephfs/admin
Internal
- go-ceph: bump github.com/stretchr/testify from 1.8.4 to 1.9.0 by @dependabot in #964
- go-ceph: bump golang.org/x/sys from 0.16.0 to 0.18.0 by @dependabot in #969
- go-ceph: bump github.com/aws/aws-sdk-go from 1.50.9 to 1.50.32 by @dependabot in #970
- Add ceph squid CI jobs by @anoopcs9 in #963
- build: Bump golang version to 1.21 by @anoopcs9 in #971
- go-ceph: bump github.com/aws/aws-sdk-go from 1.50.32 to 1.51.12 by @dependabot in #978
- Prepare for release v0.27.0 by @phlogistonjohn in #982
Full Changelog: v0.26.0...v0.27.0
v0.26.0
The maintainers and contributors to go-ceph are pleased to announce the v0.26.0 release. This is another great step towards making it possible to use the power of the Ceph APIs in the Go language.
As this is a v0.x release we do not guarantee backwards compatibility with previous versions of the code. However, we aim not to disrupt existing consumers of the library and thus make an effort not to immediately implement breaking changes without very good justification. Please see the "Deprecations & Removals" section (if present) to get a sense of what you can expect to change in the future and prepare your code ahead of time. You may also want to view "Deprecations & Removals" of previous releases as they are not repeated here. All newly introduced APIs in the following section are labeled as "preview" APIs first, and are only available if the ceph_preview
build tag is set. There is explicitly no backwards compatibility guaranteed for these until they are labeled as "stable" in a later release.
Special thanks to our new contributors:
Changes
rgw/admin
- rgw/admin: Add support for user bucket quota by @anoopcs9 in #954
- Adds
GetBucketQuota
(https://docs.ceph.com/en/latest/radosgw/adminops/#get-bucket-quota) - Adds
SetBucketQuota
(https://docs.ceph.com/en/latest/radosgw/adminops/#set-bucket-quota)
- Adds
Internal
- go-ceph: bump github.com/aws/aws-sdk-go from 1.48.11 to 1.49.13 by @dependabot in #950
- go-ceph: bump actions/setup-go from 4 to 5 by @dependabot in #951
- go-ceph: bump actions/upload-artifact from 3 to 4 by @dependabot in #952
- go-ceph: bump actions/stale from 8 to 9 by @dependabot in #953
- go-ceph: bump golang.org/x/sys from 0.15.0 to 0.16.0 by @dependabot in #956
- go-ceph: bump github.com/aws/aws-sdk-go from 1.49.13 to 1.50.9 by @dependabot in #957
- Code Lint: Fix lint errors caused by revive check for unused parameters by @manishym in #959
- rgw/admin: Fixup for 6f90ce1 by @ansiwen in #960
Full Changelog: v0.25.0...v0.26.0
Release v0.25.0
The maintainers and contributors to go-ceph are pleased to announce the v0.25.0 release. This is another great step towards making it possible to use the power of the Ceph APIs in the Go language.
As this is a v0.x release we do not guarantee backwards compatibility with previous versions of the code. However, we aim not to disrupt existing consumers of the library and thus make an effort not to immediately implement breaking changes without very good justification. Please see the "Deprecations & Removals" section (if present) to get a sense of what you can expect to change in the future and prepare your code ahead of time. You may also want to view "Deprecations & Removals" of previous releases as they are not repeated here. All newly introduced APIs in the following section are labeled as "preview" APIs first, and are only available if the ceph_preview
build tag is set. There is explicitly no backwards compatibility guaranteed for these until they are labeled as "stable" in a later release.
Special thanks to our new contributors:
- @khayyamsaleem made their first contribution in #934
Changes
cephfs
- cephfs: made ENOENT a public error by @riya-singhal31 in #940
rbd
- rbd: adds support for librbd rbd_resize2 by @khayyamsaleem in #934
- Adds
Resize2
implementing rbd_resize2.
- Adds
- rbd: Fix a typo in comment for Image.Resize2 by @anoopcs9 in #947
rgw/admin
Internal
- internal: use runtime.Pinner in PtrGuard by @ansiwen in #935
- go-ceph: bump golang.org/x/sys from 0.12.0 to 0.13.0 by @dependabot in #939
- go-ceph: bump github.com/aws/aws-sdk-go from 1.45.19 to 1.47.1 by @dependabot in #938
- CI: enable and collect core dumps in tests by @ansiwen in #941
- CI: add a workflow option for tmate debugging by @ansiwen in #942
- go-ceph: bump golang.org/x/sys from 0.13.0 to 0.15.0 by @dependabot in #944
- go-ceph: bump github.com/aws/aws-sdk-go from 1.47.1 to 1.48.11 by @dependabot in #943
- Miscellaneous fixes by @anoopcs9 in #945
- docs: Update README.md for v0.25.0 by @anoopcs9 in #946
Full Changelog: v0.24.0...v0.25.0