Skip to content

Releases: ceph/go-ceph

Release v0.35.0

12 Aug 14:07
v0.35.0
Compare
Choose a tag to compare

The maintainers and contributors to go-ceph are pleased to announce the v0.35.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

  • cephfs: Add a function to fetch real fd by @anoopcs9 in #1151, adds
    • File.Fd
  • cephfs: Add futime APIs to File type by @anoopcs9 in #1160, adds
    • File.Futime similar to ceph_futime()
    • File.Futimens similar to ceph_futimens()
    • File.Futimes similar to ceph_futimes()

API stability updates

The following APIs are now stable:

cephfs

  • Implementation of the io/fs interfaces:
    • Wrap
    • MountWrapper.SetTracing
    • MountWrapper.Open

rbd

  • Image.DiffIterateByID

Other changes

cephfs

internal

  • ci: have Dependabot update the contrib/implements dependencies by @nixpanic in #1134
  • contrib: bump modernc.org/cc/v3 from 3.35.22 to 3.41.0 in /contrib/implements by @dependabot[bot] in #1135
  • ci: update AWS SDK dependencies in a single PR by @nixpanic in #1140
  • go-ceph: bump the aws-sdk group with 4 updates by @dependabot[bot] in #1141
  • contrib/apicompare: Fix bits interface macro definition for CephFS by @anoopcs9 in #1144
  • implements: Avoid listing rados APIs under radosstriper by @anoopcs9 in #1145
  • go-ceph: bump github.com/aws/smithy-go from 1.22.3 to 1.22.4 by @dependabot[bot] in #1147
  • go-ceph: bump the aws-sdk group with 4 updates by @dependabot[bot] in #1146
  • implements: update modernc.org/cc pkg to v4 by @Nikhil-Ladha in #1142
  • github: Fix mergify configuration by @anoopcs9 in #1158
  • github: try to fix mergify error by @phlogistonjohn in #1159
  • contrib: bump modernc.org/cc/v4 from 4.26.2 to 4.26.3 in /contrib/implements by @dependabot[bot] in #1156
  • go-ceph: bump the aws-sdk group with 4 updates by @dependabot[bot] in #1153
  • go-ceph: bump golang.org/x/sys from 0.33.0 to 0.34.0 by @dependabot[bot] in #1155
  • docs: document the args parameter somewhat unusual type by @phlogistonjohn in #1152

Full Changelog: v0.34.0...v0.35.0

Release v0.34.0

10 Jun 15:31
Compare
Choose a tag to compare

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> ...

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 ... and ceph smb show ... from ceph smb manager module

API stability updates

The following APIs are now stable:

rbd

  • Image.EncryptionLoad2

Other changes

cephfs

rbd

  • rbd: make Image.Write() and Image.WriteAt() propagate errors by @idryomov in #1125

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

15 Apr 18:31
Compare
Choose a tag to compare

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:

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

  • rgw/admin: support check-bucket-index by @sj14 in #1098
    • Adds CheckBucketIndex API method

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

  • rbd: Memory allocation improvements for EncryptionLoad APIs by @anoopcs9 in #1078

rgw

  • rgw/admin: fix op-mask url parameter by @sj14 in #1101

Internal

Full Changelog: v0.32.0...v0.33.0

Release v0.32.0

11 Feb 17:54
v0.32.0
Compare
Choose a tag to compare

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

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

  • rbd: fix cleanup of GroupSnapRollback and Sparsify progress callbacks by @idryomov in #1067

Internal

Full Changelog: v0.31.0...v0.32.0

Release v0.31.0

17 Dec 16:25
Compare
Choose a tag to compare

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

  • rados: implement rados_getaddrs by @gman0 in #1037
    • Adds Conn.GetAddrs implementing rados_getaddrs

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

rbd

Internal

Full Changelog: v0.30.0...v0.31.0

Release v0.30.0

15 Oct 17:56
Compare
Choose a tag to compare

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

  • rbd: implement librbd.rbd_group_snap_get_info by @nixpanic in #1025
    Adds:
    • GroupSnapGetInfo

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

Full Changelog: v0.29.0...v0.30.0

v0.29.0

13 Aug 21:10
Compare
Choose a tag to compare

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:

New Features

rados

  • OSD class method execution by @vslpsl in #989
    Adds
    • ReadOpExecStep.Bytes
    • ReadOp.Exec
    • WriteOp.Exec

rados/striper

  • Add new rados/striper package by @phlogistonjohn in #1015
    Adds
    • New
    • 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

rbd

  • rbd: add support for CloneImageByID() by @nixpanic in #1000
  • Adds CloneImageByID

Internal

Full Changelog: v0.28.0...v0.29.0

v0.28.0

11 Jun 14:24
Compare
Choose a tag to compare

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

  • rgw/admin: remove unknown user test case from user_bucket_test.go by @thotz in #987

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

15 Apr 19:06
Compare
Choose a tag to compare

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:

New Features

cephfs/admin

  • API for quiesceing io on a subvolume. by @manishym in #958
    • Adds FSQuiesce similar to ceph fs quiesce <volume>

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

  • cephfs/admin: Adjust build tags for subvolume quiescing API tests by @anoopcs9 in #976

Internal

Full Changelog: v0.26.0...v0.27.0

v0.26.0

13 Feb 14:56
Compare
Choose a tag to compare

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

Internal

Full Changelog: v0.25.0...v0.26.0