feat!: update "Pricings" field to "Prices"
TL;DR
The naming is inconsistent between hcloud-go and the API.
Affects these resources:
- Server Types
- Load Balancer Types
- Storage Box Types
This is a breaking change.
Expected behavior
.
Does this have to be a breaking change? Could we make it backward compatible until we release the next major version?
We could add both fields, but I feel that this confuses users even more than a single field with a slightly wrong name.
We could add both fields, but I feel that this confuses users even more than a single field with a slightly wrong name.
This is probably something that documentation and field deprecation note can fix.
Could we make it backward compatible until we release the next major version?
For existing users of the library, this will reduce the migration guide for the next major release.