Release v0.3.0
phlogistonjohn
released this
14 Apr 19:53
·
1057 commits
to master
since this release
The maintainers and contributors to go-ceph are pleased to announce the v0.3.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 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.
New Features
- In the rbd package:
- Add UpdateFeatures implementing rbd_update_features
- Add FeatureSet type for for mapping between features and their names
- Add FeatureOperations constant for RBD_FEATURE_OPERATIONS
- Add FeatureMigrating constant for RBD_FEATURE_MIGRATING
- Add ListWatchers implementing rbd_watchers_list
- Add DiffIterate implementing rbd_diff_iterate2
- In the cephfs package:
- Add MountWithRoot to support the "root" argument to ceph_mount
- Add GetFsCid implementing ceph_get_fs_cid
- Add SetConfigOption implementing ceph_conf_set
- Add GetConfigOption implementing ceph_conf_get
- The Release function is now idempotent
- Add a Directory type for interacting with CephFS directories
- Add Directoy Open implementing ceph_opendir
- Add Directoy Close implementing ceph_closedir
- Add ReadDir implementing ceph_readdir_r
- Add RewindDir implementing ceph_rewinddir
Deprecations & Removals
- Previously, constants in the rbd package prefixed with ImageOption were prefixed with RbdImageOption. The previous naming scheme has been deprecated. The old names are now aliases to the new names and the old names will likely be dropped in a future release.
- Previously, the types ImageOptions and ImageOption were named RbdImageOptions and RbdImageOption. The previous naming scheme has been deprecated. The old names are now aliases to the new names and the old names will likely be dropped in a future release.
Other
- The library is now being tested with Ceph's Octopus (v15.2.z) release
- Various code-quality improvements have been applied to all sub-packages
- Various documentation improvements across all sub-packages
- Various improvements to the test scripts and tooling
- Many other fixes and improvements