Skip to content

Commit

Permalink
Merge pull request kubernetes-sigs#10798 from enxebre/deprecate-root-…
Browse files Browse the repository at this point in the history
…errors-pkg

🌱  Deprecate obsolete errors pkg
  • Loading branch information
k8s-ci-robot authored Sep 4, 2024
2 parents b6a3e68 + bc87d3d commit 50a0714
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/book/src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@
- [v1.5 to v1.6](./developer/providers/migrations/v1.5-to-v1.6.md)
- [v1.6 to v1.7](./developer/providers/migrations/v1.6-to-v1.7.md)
- [v1.7 to v1.8](./developer/providers/migrations/v1.7-to-v1.8.md)
- [v1.8 to v1.9](./developer/providers/migrations/v1.8-to-v1.9.md)
- [Provider contracts](./developer/providers/contracts.md)
- [Cluster Infrastructure](./developer/providers/cluster-infrastructure.md)
- [Control Plane](./developer/providers/control-plane.md)
Expand Down
22 changes: 22 additions & 0 deletions docs/book/src/developer/providers/migrations/v1.8-to-v1.9.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Cluster API v1.8 compared to v1.9

This document provides an overview over relevant changes between Cluster API v1.8 and v1.9 for
maintainers of providers and consumers of our Go API.

## Go version

- The Go version used by Cluster API is Go 1.22.x

## Changes by Kind

### Deprecation

### Removals

### API Changes

### Other

### Suggested changes for providers

- The Errors package was created when capi provider implementation was running as machineActuators that needed to vendor core capi to function. There is no usage recommendations today and its value is questionable since we moved to CRDs that inter-operate mostly via conditions. Instead we plan to drop the dedicated semantic for terminal failure and keep improving Machine lifecycle signal through conditions. Therefore the Errors package [has been deprecated in v1.8](https://github.com/kubernetes-sigs/cluster-api/issues/10784). It's recommented to remove any usage of the currently exported variables.
2 changes: 2 additions & 0 deletions errors/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,6 @@ limitations under the License.
*/

// Package errors makes a set of error message handlers available for use by Cluster API Providers.
//
// Deprecated: This package will be removed in one of the next releases.
package errors

0 comments on commit 50a0714

Please sign in to comment.