Release v0.21.0
The maintainers and contributors to go-ceph are pleased to announce the v0.21.0 release. This is another great step towards making it possible to use the power of the Ceph APIs in the Go language.
Special thanks to our new contributors:
- @maitredede made their first contribution in #832
- @Nikhil-Ladha made their first contribution in #848
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
rbd
- rbd: add functions to parse json in mirroring status description field by @phlogistonjohn in #842
- Adds UnmarshalDescriptionJSON method to SiteMirrorImageStatus
- Adds DescriptionReplayStatus method to SiteMirrorImageStatus
- rbd: Add mirror peer site API components by @Nikhil-Ladha in #850
- Adds AddMirrorPeerSite implementing rbd_mirror_peer_site_add
- Adds RemoveMirrorPeerSite implementing rbd_mirror_peer_site_remove
- Adds GetAttributesMirrorPeerSite implementing rbd_mirror_peer_site_get_attributes
- Adds SetAttributesMirrorPeerSite implementing rbd_mirror_peer_site_set_attributes
- Adds ListMirrorPeerSite implementing rbd_mirror_peer_site_list
- Adds SetMirrorPeerSiteClientName implementing rbd_mirror_peer_site_set_client_name
- Adds SetMirrorPeerSiteDirection implementing rbd_mirror_peer_site_set_direction
- Adds SetMirrorPeerSiteName implementing rbd_mirror_peer_site_set_name
- rbd: Add rbd_sparsify_with_progress rbd API by @Nikhil-Ladha in #851
- Adds SparsifyWithProgress implementing rbd_sparsify_with_progress
cephfs
- cephfs: implementation of mkdirs by @maitredede in #832
- Adds MakeDirs implementing ceph_mkdirs
cephfs/admin
- cephfs/admin: Add Subvolume{Group} pinning API by @anoopcs9 in #844
- Adds PinSubVolume similar to ceph fs subvolume pin
- Adds PinSubVolumeGroup similar to ceph fs subvolumegroup pin
- cephfs/admin: Add API to fetch volume info by @anoopcs9 in #846
- Adds FetchVolumeInfo similar to ceph fs volume info
Deprecations & Removals
cephfs/admin
- cephfs admin: deprecate the New function by @phlogistonjohn in #849
Other Changes
rados
- rados: free object list results after listing by @nickjanus in #845
rgw/admin
- rgw/admin: Add missing uid member to usage struct by @Nikhil-Ladha in #848
Internal
- Go: bump tested Go version to 1.19.5 by @ansiwen in #831
- build: propagation of GOPROXY env var by @maitredede in #834
- go-ceph: bump github.com/aws/aws-sdk-go from 1.44.197 to 1.44.212 by @dependabot in #839
- go-ceph: bump github.com/stretchr/testify from 1.8.1 to 1.8.2 by @dependabot in #840
- Dockerfile: Add missing GOPROXY build argument by @anoopcs9 in #843
- go-ceph: bump golang.org/x/sys from 0.5.0 to 0.6.0 by @dependabot in #853
- go-ceph: bump actions/stale from 7 to 8 by @dependabot in #856
- go-ceph: bump github.com/aws/aws-sdk-go from 1.44.212 to 1.44.234 by @dependabot in #854
- go-ceph: bump actions/setup-go from 3 to 4 by @dependabot in #855
- docs: fix version numbers of recently added APIs by @phlogistonjohn in #860
- nfs admin: create directories used by nfs tests by @phlogistonjohn in #859
- rbd: document SparsifyWithProgress callback's arguments by @phlogistonjohn in #861
- docs: fix version for newest api additions by @phlogistonjohn in #863
- go-ceph: update README.md for v0.21.0 release by @phlogistonjohn in #865
Full Changelog: v0.20.0...v0.21.0