|
| 1 | +# Changelog since v1.0.1 |
| 2 | + |
| 3 | +## Notable Changes |
| 4 | + |
| 5 | +- Cherry picks PR #172: Added extra verification of source PersistentVolumeClaim before creating snapshot.([#175](https://github.com/kubernetes-csi/external-snapshotter/pull/175), [@xing-yang](https://github.com/xing-yang)) |
| 6 | + |
| 7 | +# Changelog since v0.4.1 |
| 8 | + |
| 9 | +## Breaking Changes |
| 10 | + |
| 11 | +- Switch to use TypedLocalObjectReference in core API.([#16](https://github.com/kubernetes-csi/external-snapshotter/pull/16), [@xing-yang](https://github.com/xing-yang)) |
| 12 | +- Update snapshotter to use CSI spec 1.0.([#58](https://github.com/kubernetes-csi/external-snapshotter/pull/58), [@msau42](https://github.com/msau42)) |
| 13 | +- Call CreateSnapshot to check if snapshot is processed instead of ListSnapshots.([#61](https://github.com/kubernetes-csi/external-snapshotter/pull/61), [@xing-yang](https://github.com/xing-yang)) |
| 14 | +- Bumping k8s version to 1.13.0-beta.1.([#64](https://github.com/kubernetes-csi/external-snapshotter/pull/64), [@verult](https://github.com/verult)) |
| 15 | +- Rename `Ready` to `ReadyToUse` in the `Status` field of `VolumeSnapshot` API object.([#74](https://github.com/kubernetes-csi/external-snapshotter/pull/74), [@xing-yang](https://github.com/xing-yang)) |
| 16 | + |
| 17 | +## Actions Required |
| 18 | + |
| 19 | +- CSI plugin must support the 1.0 spec. CSI spec versions < 1.0 are no longer supported. |
| 20 | + - In CSI v1.0, `SnapshotStatus` is removed from `CreateSnapshotResponse`, and is replaced with a Boolean `ReadyToUse`. |
| 21 | + - The snapshot controller now calls `CreateSnapshot` instead of `ListSnapshots` to check if snapshot is processed after it is cut. Driver maintainer needs to make changes accordingly in the driver. |
| 22 | + - In CSI v1.0, .google.protobuf.Timestamp is used instead of int64 to represent the creation time of a snapshot. Driver maintainer needs to make changes accordingly in the driver. The creation time is visible to the admin when running `kubectl describe volumesnapshotcontent` to examine the details of a `VolumeSnapshotContent`. |
| 23 | + |
| 24 | +- The renaming from `Ready` to `ReadyToUse` in the `Status` field of `VolumeSnapshot` API object is visible to the user when running `kubectl describe volumesnapshot` to view the details of a snapshot. |
| 25 | + |
| 26 | +- External-provisioner sidecar container which depends on external-snapshotter APIs needs to be updated whenever there is an API change in external-snapshotter. Compatible sidecar container images for external-provisioner and external-snapshotter need to be used together, i.e., both are v1.0.0 or both are v1.0.1. |
| 27 | + |
| 28 | +## Deprecations |
| 29 | + |
| 30 | +- The following VolumeSnapshotClass parameters are deprecated and will be removed in a future release: |
| 31 | + |
| 32 | +| Deprecated | Replacement | |
| 33 | +| ------------------------------------ | --------------------------------------------------- | |
| 34 | +| csiSnapshotterSecretName | csi.storage.k8s.io/snapshotter-secret-name | |
| 35 | +| csiSnapshotterSecretNameSpace | csi.storage.k8s.io/snapshotter-secret-namespace | |
| 36 | + |
| 37 | +## Major Changes |
| 38 | + |
| 39 | +- Add classListerSynced for WaitForCacheSync.([#74](https://github.com/kubernetes-csi/external-snapshotter/pull/74), [@wackxu](https://github.com/wackxu)) |
| 40 | +- Fix initializeCaches bug.([#74](https://github.com/kubernetes-csi/external-snapshotter/pull/74), [@wackxu](https://github.com/wackxu)) |
| 41 | +- Deploy: split out RBAC definitions.([#53](https://github.com/kubernetes-csi/external-snapshotter/pull/53), [@pohly](https://github.com/pohly)) |
| 42 | +- Update unit tests and disable broken status unit tests.([#58](https://github.com/kubernetes-csi/external-snapshotter/pull/58), [@msau42](https://github.com/msau42)) |
| 43 | +- Use existing content name if already in snapshot object for static provisioning, otherwise construct new name for content for dynamic provisioning.([#65](https://github.com/kubernetes-csi/external-snapshotter/pull/65), [@xing-yang](https://github.com/xing-yang)) |
| 44 | +- Add `VolumeSnapshotContent` deletion policy.([#74](https://github.com/kubernetes-csi/external-snapshotter/pull/74), [@jingxu97](https://github.com/jingxu97)) |
| 45 | +- Add `VolumeSnapshot` and `VolumeSnapshotContent` in Use Protection using Finalizers.([#74](https://github.com/kubernetes-csi/external-snapshotter/pull/74), [@xing-yang](https://github.com/xing-yang)) |
| 46 | +- Cherry-pick #76: Use protosanitizer library so secrets will be stripped from the logs.([#77](https://github.com/kubernetes-csi/external-snapshotter/pull/77), [@msau42](https://github.com/msau42)) |
| 47 | +- Adds new reserved prefixed parameter keys which are stripped out of parameter list, and adds deprecation notice for old keys and keep their behavior the same.([#79](https://github.com/kubernetes-csi/external-snapshotter/pull/79), [@xing-yang](https://github.com/xing-yang)) |
0 commit comments