Skip to content

Commit bfdc815

Browse files
authored
chore: corrected constants deprecations (#1821)
* chore: corrected constants deprecations * chore: adapt changelogs
1 parent 0fcce82 commit bfdc815

File tree

11 files changed

+106
-40
lines changed

11 files changed

+106
-40
lines changed

CHANGELOG.md

Lines changed: 30 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,36 @@
11
## Release (2025-XX-YY)
22
- `cdn`: [v0.2.0](services/cdn/CHANGELOG.md#v020-2025-04-01)
33
- **API enhancement:** Provide waiter infrastructure
4-
- `logme`: [v0.21.2](services/logme/CHANGELOG.md#v0212-2025-04-02)
5-
- **Bugfix:** `PartialUpdateInstanceWaitHandler` does not finish when update is succeeded
6-
- **Deprecation:** Deprecated `InstanceStateSuccess`, `InstanceStateFailed`, `InstanceTypeCreate`, `InstanceTypeUpdate`, `InstanceTypeDelete` and will be removed after 2nd October 2025
7-
- `mariadb`: [v0.21.2](services/mariadb/CHANGELOG.md#v0212-2025-04-02)
8-
- **Bugfix:** `PartialUpdateInstanceWaitHandler` does not finish when update is succeeded
9-
- **Deprecation:** Deprecated `InstanceStateSuccess`, `InstanceStateFailed`, `InstanceTypeCreate`, `InstanceTypeUpdate`, `InstanceTypeDelete` and will be removed after 2nd October 2025
10-
- `opensearch`: [v0.20.2](services/opensearch/CHANGELOG.md#v0202-2025-04-02)
11-
- **Bugfix:** `PartialUpdateInstanceWaitHandler` does not finish when update is succeeded
12-
- **Deprecation:** Deprecated `InstanceStateSuccess`, `InstanceStateFailed`, `InstanceTypeCreate`, `InstanceTypeUpdate`, `InstanceTypeDelete` and will be removed after 2nd October 2025
13-
- `redis`: [v0.21.2](services/redis/CHANGELOG.md#v0212-2025-04-02)
14-
- **Bugfix:** `PartialUpdateInstanceWaitHandler` does not finish when update is succeeded
15-
- **Deprecation:** Deprecated `InstanceStateSuccess`, `InstanceStateFailed`, `InstanceTypeCreate`, `InstanceTypeUpdate`, `InstanceTypeDelete` and will be removed after 2nd October 2025
16-
- `rabbitmq`: [v0.21.2](services/rabbitmq/CHANGELOG.md#v0212-2025-04-02)
17-
- **Bugfix:** `PartialUpdateInstanceWaitHandler` does not finish when update is succeeded
18-
- **Deprecation:** Deprecated `InstanceStateSuccess`, `InstanceStateFailed`, `InstanceTypeCreate`, `InstanceTypeUpdate`, `InstanceTypeDelete` and will be removed after 2nd October 2025
4+
- `logme`:
5+
- [v0.21.2](services/logme/CHANGELOG.md#v0212-2025-04-02)
6+
- **Bugfix:** `PartialUpdateInstanceWaitHandler` does not finish when update is succeeded
7+
- **Deprecation:** Deprecated `InstanceStateSuccess`, `InstanceStateFailed`, `InstanceTypeCreate`, `InstanceTypeUpdate`, `InstanceTypeDelete` and will be removed after 2nd October 2025
8+
- [v0.22.0](services/logme/CHANGELOG.md#v0220-2025-04-03)
9+
- **Feature:** Adapt constants to evolved API.
10+
- `mariadb`:
11+
- [v0.21.2](services/mariadb/CHANGELOG.md#v0212-2025-04-02)
12+
- **Bugfix:** `PartialUpdateInstanceWaitHandler` does not finish when update is succeeded
13+
- **Deprecation:** Deprecated `InstanceStateSuccess`, `InstanceStateFailed`, `InstanceTypeCreate`, `InstanceTypeUpdate`, `InstanceTypeDelete` and will be removed after 2nd October 2025
14+
- [v0.22.0](services/logme/CHANGELOG.md#v0220-2025-04-03)
15+
- **Feature:** Adapt constants to evolved API.
16+
- `opensearch`:
17+
- [v0.20.2](services/opensearch/CHANGELOG.md#v0202-2025-04-02)
18+
- **Bugfix:** `PartialUpdateInstanceWaitHandler` does not finish when update is succeeded
19+
- **Deprecation:** Deprecated `InstanceStateSuccess`, `InstanceStateFailed`, `InstanceTypeCreate`, `InstanceTypeUpdate`, `InstanceTypeDelete` and will be removed after 2nd October 2025
20+
- [v0.21.0](services/opensearch/CHANGELOG.md#v0210-2025-04-03)
21+
- **Feature:** Adapt constants to evolved API.
22+
- `redis`:
23+
- [v0.21.2](services/redis/CHANGELOG.md#v0212-2025-04-02)
24+
- **Bugfix:** `PartialUpdateInstanceWaitHandler` does not finish when update is succeeded
25+
- **Deprecation:** Deprecated `InstanceStateSuccess`, `InstanceStateFailed`, `InstanceTypeCreate`, `InstanceTypeUpdate`, `InstanceTypeDelete` and will be removed after 2nd October 2025
26+
- [v0.22.0](services/redis/CHANGELOG.md#v0220-2025-04-03)
27+
- **Feature:** Adapt constants to evolved API.
28+
- `rabbitmq`:
29+
- [v0.21.2](services/rabbitmq/CHANGELOG.md#v0212-2025-04-02)
30+
- **Bugfix:** `PartialUpdateInstanceWaitHandler` does not finish when update is succeeded
31+
- **Deprecation:** Deprecated `InstanceStateSuccess`, `InstanceStateFailed`, `InstanceTypeCreate`, `InstanceTypeUpdate`, `InstanceTypeDelete` and will be removed after 2nd October 2025
32+
- [v0.22.0](services/rabbitmq/CHANGELOG.md#v0220-2025-04-03)
33+
- **Feature:** Adapt constants to evolved API.
1934

2035

2136

services/logme/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## v0.22.0 (2025-04-03)
2+
- **Feature:** Adapt constants to evolved API.
3+
14
## v0.21.2 (2025-04-02)
25
- **Bugfix:** `PartialUpdateInstanceWaitHandler` does not finish when update is succeeded
36
- **Deprecation:** Deprecated `InstanceStateSuccess`, `InstanceStateFailed`, `InstanceTypeCreate`, `InstanceTypeUpdate`, `InstanceTypeDelete` and will be removed after 2nd October 2025

services/logme/wait/wait.go

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,23 @@ const (
2020
InstanceStatusDeleting = "deleting"
2121
InstanceStatusUpdating = "updating"
2222

23-
// Deprecated: InstanceStateSuccess is deprecated and will be removed after 2nd October 2025.
23+
InstanceOperationStateInProgress = "in progress"
24+
InstanceOperationStateSucceeded = "succeeded"
25+
InstanceOperationStateFailed = "failed"
26+
27+
InstanceOperationTypeCreate = "create"
28+
InstanceOperationTypeUpdate = "update"
29+
InstanceOperationTypeDelete = "delete"
30+
31+
// Deprecated: InstanceStateSuccess is deprecated and will be removed after 2nd October 2025. Use [InstanceOperationStateSucceeded] instead.
2432
InstanceStateSuccess = "succeeded"
25-
// Deprecated: InstanceStateFailed is deprecated and will be removed after 2nd October 2025.
33+
// Deprecated: InstanceStateFailed is deprecated and will be removed after 2nd October 2025. Use [InstanceOperationStateFailed] instead.
2634
InstanceStateFailed = "failed"
27-
// Deprecated: InstanceTypeCreate is deprecated and will be removed after 2nd October 2025.
35+
// Deprecated: InstanceTypeCreate is deprecated and will be removed after 2nd October 2025. Use [InstanceOperationTypeCreate] instead.
2836
InstanceTypeCreate = "create"
29-
// Deprecated: InstanceTypeUpdate is deprecated and will be removed after 2nd October 2025.
37+
// Deprecated: InstanceTypeUpdate is deprecated and will be removed after 2nd October 2025. Use [InstanceOperationTypeUpdate] instead.
3038
InstanceTypeUpdate = "update"
31-
// Deprecated: InstanceTypeDelete is deprecated and will be removed after 2nd October 2025.
39+
// Deprecated: InstanceTypeDelete is deprecated and will be removed after 2nd October 2025. Use [InstanceOperationTypeDelete] instead.
3240
InstanceTypeDelete = "delete"
3341
)
3442

services/mariadb/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## v0.22.0 (2025-04-03)
2+
- **Feature:** Adapt constants to evolved API.
3+
14
## v0.21.2 (2025-04-02)
25
- **Bugfix:** `PartialUpdateInstanceWaitHandler` does not finish when update is succeeded
36
- **Deprecation:** Deprecated `InstanceStateSuccess`, `InstanceStateFailed`, `InstanceTypeCreate`, `InstanceTypeUpdate`, `InstanceTypeDelete` and will be removed after 2nd October 2025

services/mariadb/wait/wait.go

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,22 @@ const (
2020
InstanceStatusDeleting = "deleting"
2121
InstanceStatusUpdating = "updating"
2222

23-
// Deprecated: InstanceStateSuccess is deprecated and will be removed after 2nd October 2025.
23+
InstanceOperationStateInProgress = "in progress"
24+
InstanceOperationStateSucceeded = "succeeded"
25+
InstanceOperationStateFailed = "failed"
26+
InstanceOperationTypeCreate = "create"
27+
InstanceOperationTypeUpdate = "update"
28+
InstanceOperationTypeDelete = "delete"
29+
30+
// Deprecated: InstanceStateSuccess is deprecated and will be removed after 2nd October 2025. Use [InstanceOperationStateSucceeded] instead.
2431
InstanceStateSuccess = "succeeded"
25-
// Deprecated: InstanceStateFailed is deprecated and will be removed after 2nd October 2025.
32+
// Deprecated: InstanceStateFailed is deprecated and will be removed after 2nd October 2025. Use [InstanceOperationStateFailed] instead.
2633
InstanceStateFailed = "failed"
27-
// Deprecated: InstanceTypeCreate is deprecated and will be removed after 2nd October 2025.
34+
// Deprecated: InstanceTypeCreate is deprecated and will be removed after 2nd October 2025. Use [InstanceOperationTypeCreate] instead.
2835
InstanceTypeCreate = "create"
29-
// Deprecated: InstanceTypeUpdate is deprecated and will be removed after 2nd October 2025.
36+
// Deprecated: InstanceTypeUpdate is deprecated and will be removed after 2nd October 2025. Use [InstanceOperationTypeUpdate] instead.
3037
InstanceTypeUpdate = "update"
31-
// Deprecated: InstanceTypeDelete is deprecated and will be removed after 2nd October 2025.
38+
// Deprecated: InstanceTypeDelete is deprecated and will be removed after 2nd October 2025. Use [InstanceOperationTypeDelete] instead.
3239
InstanceTypeDelete = "delete"
3340
)
3441

services/opensearch/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## v0.21.0 (2025-04-03)
2+
- **Feature:** Adapt constants to evolved API.
3+
14
## v0.20.2 (2025-04-02)
25
- **Bugfix:** `PartialUpdateInstanceWaitHandler` does not finish when update is succeeded
36
- **Deprecation:** Deprecated `InstanceStateSuccess`, `InstanceStateFailed`, `InstanceTypeCreate`, `InstanceTypeUpdate`, `InstanceTypeDelete` and will be removed after 2nd October 2025

services/opensearch/wait/wait.go

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,22 @@ const (
2020
InstanceStatusDeleting = "deleting"
2121
InstanceStatusUpdating = "updating"
2222

23-
// Deprecated: InstanceStateSuccess is deprecated and will be removed after 2nd October 2025.
23+
InstanceOperationStateInProgress = "in progress"
24+
InstanceOperationStateSucceeded = "succeeded"
25+
InstanceOperationStateFailed = "failed"
26+
InstanceOperationTypeCreate = "create"
27+
InstanceOperationTypeUpdate = "update"
28+
InstanceOperationTypeDelete = "delete"
29+
30+
// Deprecated: InstanceStateSuccess is deprecated and will be removed after 2nd October 2025. Use [InstanceOperationStateSucceeded] instead.
2431
InstanceStateSuccess = "succeeded"
25-
// Deprecated: InstanceStateFailed is deprecated and will be removed after 2nd October 2025.
32+
// Deprecated: InstanceStateFailed is deprecated and will be removed after 2nd October 2025. Use [InstanceOperationStateFailed] instead.
2633
InstanceStateFailed = "failed"
27-
// Deprecated: InstanceTypeCreate is deprecated and will be removed after 2nd October 2025.
34+
// Deprecated: InstanceTypeCreate is deprecated and will be removed after 2nd October 2025. Use [InstanceOperationTypeCreate] instead.
2835
InstanceTypeCreate = "create"
29-
// Deprecated: InstanceTypeUpdate is deprecated and will be removed after 2nd October 2025.
36+
// Deprecated: InstanceTypeUpdate is deprecated and will be removed after 2nd October 2025. Use [InstanceOperationTypeUpdate] instead.
3037
InstanceTypeUpdate = "update"
31-
// Deprecated: InstanceTypeDelete is deprecated and will be removed after 2nd October 2025.
38+
// Deprecated: InstanceTypeDelete is deprecated and will be removed after 2nd October 2025. Use [InstanceOperationTypeDelete] instead.
3239
InstanceTypeDelete = "delete"
3340
)
3441

services/rabbitmq/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## v0.22.0 (2025-04-03)
2+
- **Feature:** Adapt constants to evolved API.
3+
14
## v0.21.2 (2025-04-02)
25
- **Bugfix:** `PartialUpdateInstanceWaitHandler` does not finish when update is succeeded
36
- **Deprecation:** Deprecated `InstanceStateSuccess`, `InstanceStateFailed`, `InstanceTypeCreate`, `InstanceTypeUpdate`, `InstanceTypeDelete` and will be removed after 2nd October 2025

services/rabbitmq/wait/wait.go

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,22 @@ const (
2020
InstanceStatusDeleting = "deleting"
2121
InstanceStatusUpdating = "updating"
2222

23-
// Deprecated: InstanceStateSuccess is deprecated and will be removed after 2nd October 2025.
23+
InstanceOperationStateInProgress = "in progress"
24+
InstanceOperationStateSucceeded = "succeeded"
25+
InstanceOperationStateFailed = "failed"
26+
InstanceOperationTypeCreate = "create"
27+
InstanceOperationTypeUpdate = "update"
28+
InstanceOperationTypeDelete = "delete"
29+
30+
// Deprecated: InstanceStateSuccess is deprecated and will be removed after 2nd October 2025. Use [InstanceOperationStateSucceeded] instead.
2431
InstanceStateSuccess = "succeeded"
25-
// Deprecated: InstanceStateFailed is deprecated and will be removed after 2nd October 2025.
32+
// Deprecated: InstanceStateFailed is deprecated and will be removed after 2nd October 2025. Use [InstanceOperationStateFailed] instead.
2633
InstanceStateFailed = "failed"
27-
// Deprecated: InstanceTypeCreate is deprecated and will be removed after 2nd October 2025.
34+
// Deprecated: InstanceTypeCreate is deprecated and will be removed after 2nd October 2025. Use [InstanceOperationTypeCreate] instead.
2835
InstanceTypeCreate = "create"
29-
// Deprecated: InstanceTypeUpdate is deprecated and will be removed after 2nd October 2025.
36+
// Deprecated: InstanceTypeUpdate is deprecated and will be removed after 2nd October 2025. Use [InstanceOperationTypeUpdate] instead.
3037
InstanceTypeUpdate = "update"
31-
// Deprecated: InstanceTypeDelete is deprecated and will be removed after 2nd October 2025.
38+
// Deprecated: InstanceTypeDelete is deprecated and will be removed after 2nd October 2025. Use [InstanceOperationTypeDelete] instead.
3239
InstanceTypeDelete = "delete"
3340
)
3441

services/redis/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## v0.22.0 (2025-04-03)
2+
- **Feature:** Adapt constants to evolved API.
3+
14
## v0.21.2 (2025-04-02)
25
- **Bugfix:** `PartialUpdateInstanceWaitHandler` does not finish when update is succeeded
36
- **Deprecation:** Deprecated `InstanceStateSuccess`, `InstanceStateFailed`, `InstanceTypeCreate`, `InstanceTypeUpdate`, `InstanceTypeDelete` and will be removed after 2nd October 2025

services/redis/wait/wait.go

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,22 @@ const (
2020
InstanceStatusDeleting = "deleting"
2121
InstanceStatusUpdating = "updating"
2222

23-
// Deprecated: InstanceStateSuccess is deprecated and will be removed after 2nd October 2025.
23+
InstanceOperationStateInProgress = "in progress"
24+
InstanceOperationStateSucceeded = "succeeded"
25+
InstanceOperationStateFailed = "failed"
26+
InstanceOperationTypeCreate = "create"
27+
InstanceOperationTypeUpdate = "update"
28+
InstanceOperationTypeDelete = "delete"
29+
30+
// Deprecated: InstanceStateSuccess is deprecated and will be removed after 2nd October 2025. Use [InstanceOperationStateSucceeded] instead.
2431
InstanceStateSuccess = "succeeded"
25-
// Deprecated: InstanceStateFailed is deprecated and will be removed after 2nd October 2025.
32+
// Deprecated: InstanceStateFailed is deprecated and will be removed after 2nd October 2025. Use [InstanceOperationStateFailed] instead.
2633
InstanceStateFailed = "failed"
27-
// Deprecated: InstanceTypeCreate is deprecated and will be removed after 2nd October 2025.
34+
// Deprecated: InstanceTypeCreate is deprecated and will be removed after 2nd October 2025. Use [InstanceOperationTypeCreate] instead.
2835
InstanceTypeCreate = "create"
29-
// Deprecated: InstanceTypeUpdate is deprecated and will be removed after 2nd October 2025.
36+
// Deprecated: InstanceTypeUpdate is deprecated and will be removed after 2nd October 2025. Use [InstanceOperationTypeUpdate] instead.
3037
InstanceTypeUpdate = "update"
31-
// Deprecated: InstanceTypeDelete is deprecated and will be removed after 2nd October 2025.
38+
// Deprecated: InstanceTypeDelete is deprecated and will be removed after 2nd October 2025. Use [InstanceOperationTypeDelete] instead.
3239
InstanceTypeDelete = "delete"
3340
)
3441

0 commit comments

Comments
 (0)