Skip to content

Commit 17edb2b

Browse files
authored
Merge pull request #12845 from cpathipa/revert-12815-staging
Revert Release v.1.150.0 → Staging
2 parents d008f10 + a5e9ae4 commit 17edb2b

File tree

341 files changed

+2670
-9429
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

341 files changed

+2670
-9429
lines changed

packages/api-v4/CHANGELOG.md

Lines changed: 9 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,9 @@
1-
## [2025-09-09] - v0.148.0
2-
3-
### Added:
4-
5-
- Support for Node Pool `label` field ([#12710](https://github.com/linode/manager/pull/12710))
6-
- Volumes IAM RBAC permissions ([#12744](https://github.com/linode/manager/pull/12744))
7-
- NodeBalancers IAM RBAC permissions ([#12780](https://github.com/linode/manager/pull/12780))
8-
- Additional device slots to `Devices` type to match new API limits ([#12791](https://github.com/linode/manager/pull/12791))
9-
10-
### Changed:
11-
12-
- Use `v4beta` API endpoint for `updateNodePool` ([#12710](https://github.com/linode/manager/pull/12710))
13-
- Update `CreateNodePoolData` to satisfy @linode/validation's `CreateNodePoolSchema`'s type ([#12793](https://github.com/linode/manager/pull/12793))
14-
15-
### Fixed:
16-
17-
- Wrong import path for EntityType ([#12764](https://github.com/linode/manager/pull/12764))
18-
19-
### Upcoming Features:
20-
21-
- Add DELETE, PUT API endpoints for Streams ([#12645](https://github.com/linode/manager/pull/12645))
22-
- ACLP Alert: Add `regions` property in `CreateAlertDefinitionPayload` and `EditAlertDefinitionPayload` ([#12745](https://github.com/linode/manager/pull/12745))
23-
- Add DELETE, PUT API endpoints for Destinations ([#12749](https://github.com/linode/manager/pull/12749))
24-
251
## [2025-08-26] - v0.147.0
262

3+
274
### Added:
285

29-
- ACLP: `CloudPulseServiceType` type for type safety across cloudpulse ([#12646](https://github.com/linode/manager/pull/12646))
6+
- ACLP: `CloudPulseServiceType` type for type safety across cloudpulse ([#12646](https://github.com/linode/manager/pull/12646))
307

318
### Changed:
329

@@ -41,11 +18,12 @@
4118

4219
- API endpoint for Datastream - Create Destination ([#12627](https://github.com/linode/manager/pull/12627))
4320
- Updated AccontMaintenance interface to make time fields nullable to match API ([#12665](https://github.com/linode/manager/pull/12665))
44-
- Update `KubernetesCluster` `vpc_id` and `subnet_id` types to include `null` ([#12700](https://github.com/linode/manager/pull/12700))
21+
- Update `KubernetesCluster` `vpc_id` and `subnet_id` types to include `null` ([#12700](https://github.com/linode/manager/pull/12700))
4522
- CloudPulse: Update cloud pulse metrics request payload type at `types.ts` ([#12704](https://github.com/linode/manager/pull/12704))
4623

4724
## [2025-08-12] - v0.146.0
4825

26+
4927
### Added:
5028

5129
- ACLP: `string` type for `capabilityServiceTypeMapping` constant ([#12573](https://github.com/linode/manager/pull/12573))
@@ -73,6 +51,7 @@
7351

7452
## [2025-07-29] - v0.145.0
7553

54+
7655
### Added:
7756

7857
- `VPC Dual Stack` and `VPC IPv6 Large Prefixes` to account capabilities ([#12309](https://github.com/linode/manager/pull/12309))
@@ -90,13 +69,14 @@
9069
### Upcoming Features:
9170

9271
- CloudPulse: Update service type in `types.ts` ([#12508](https://github.com/linode/manager/pull/12508))
93-
- ACLP-Alerting: Add nodebalancer to AlertServiceType for Alerts onboarding ([#12510](https://github.com/linode/manager/pull/12510))
72+
- ACLP-Alerting: Add nodebalancer to AlertServiceType for Alerts onboarding ([#12510](https://github.com/linode/manager/pull/12510))
9473
- Add vpc_id and subnet_id to KubernetesCluster payload type ([#12513](https://github.com/linode/manager/pull/12513))
9574
- Add API endpoints (GET, POST) for Streams ([#12524](https://github.com/linode/manager/pull/12524))
9675
- ACLP-Alerting: Add firewall to AlertServiceType for Alerts onboarding ([#12550](https://github.com/linode/manager/pull/12550))
9776

9877
## [2025-07-15] - v0.144.0
9978

79+
10080
### Changed:
10181

10282
- ACLP:Alerting - fixed the typo from evaluation_periods_seconds to evaluation_period_seconds ([#12466](https://github.com/linode/manager/pull/12466))
@@ -116,7 +96,7 @@
11696

11797
### Changed:
11898

119-
- Allow `authorized_keys` to be null in `Profile` type ([#12390](https://github.com/linode/manager/pull/12390))
99+
- Allow `authorized_keys` to be null in `Profile` type ([#12390](https://github.com/linode/manager/pull/12390))
120100

121101
### Removed:
122102

@@ -134,6 +114,7 @@
134114

135115
## [2025-06-17] - v0.142.0
136116

117+
137118
### Added:
138119

139120
- `has_user_data` to `Linode` type ([#12352](https://github.com/linode/manager/pull/12352))

packages/api-v4/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@linode/api-v4",
3-
"version": "0.148.0",
3+
"version": "0.147.0",
44
"homepage": "https://github.com/linode/manager/tree/develop/packages/api-v4",
55
"bugs": {
66
"url": "https://github.com/linode/manager/issues"
@@ -70,4 +70,4 @@
7070
"tsc -p tsconfig.json --noEmit true --emitDeclarationOnly false"
7171
]
7272
}
73-
}
73+
}

packages/api-v4/src/account/types.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -344,8 +344,6 @@ export const EventActionKeys = [
344344
'database_migrate',
345345
'database_upgrade',
346346
'destination_create',
347-
'destination_delete',
348-
'destination_update',
349347
'disk_create',
350348
'disk_delete',
351349
'disk_duplicate',
@@ -472,8 +470,6 @@ export const EventActionKeys = [
472470
'stackscript_revise',
473471
'stackscript_update',
474472
'stream_create',
475-
'stream_delete',
476-
'stream_update',
477473
'subnet_create',
478474
'subnet_delete',
479475
'subnet_update',

packages/api-v4/src/cloudpulse/types.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,6 @@ export interface CreateAlertDefinitionPayload {
196196
description?: string;
197197
entity_ids?: string[];
198198
label: string;
199-
regions?: string[];
200199
rule_criteria: {
201200
rules: MetricCriteria[];
202201
};
@@ -338,10 +337,10 @@ export interface EditAlertDefinitionPayload {
338337
description?: string;
339338
entity_ids?: string[];
340339
label?: string;
341-
regions?: string[];
342340
rule_criteria?: {
343341
rules: MetricCriteria[];
344342
};
343+
scope?: AlertDefinitionScope;
345344
severity?: AlertSeverityType;
346345
status?: AlertStatusType;
347346
tags?: string[];
Lines changed: 3 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { destinationSchema } from '@linode/validation';
1+
import { createDestinationSchema } from '@linode/validation';
22

33
import { BETA_API_ROOT } from '../constants';
44
import Request, {
@@ -10,11 +10,7 @@ import Request, {
1010
} from '../request';
1111

1212
import type { Filter, ResourcePage as Page, Params } from '../types';
13-
import type {
14-
CreateDestinationPayload,
15-
Destination,
16-
UpdateDestinationPayload,
17-
} from './types';
13+
import type { CreateDestinationPayload, Destination } from './types';
1814

1915
/**
2016
* Returns all the information about a specified Destination.
@@ -49,38 +45,7 @@ export const getDestinations = (params?: Params, filter?: Filter) =>
4945
*/
5046
export const createDestination = (data: CreateDestinationPayload) =>
5147
Request<Destination>(
52-
setData(data, destinationSchema),
48+
setData(data, createDestinationSchema),
5349
setURL(`${BETA_API_ROOT}/monitor/streams/destinations`),
5450
setMethod('POST'),
5551
);
56-
57-
/**
58-
* Updates a Destination.
59-
*
60-
* @param destinationId { number } The ID of the Destination.
61-
* @param data { object } Options for type, label, etc.
62-
*/
63-
export const updateDestination = (
64-
destinationId: number,
65-
data: UpdateDestinationPayload,
66-
) =>
67-
Request<Destination>(
68-
setData(data, destinationSchema),
69-
setURL(
70-
`${BETA_API_ROOT}/monitor/streams/destinations/${encodeURIComponent(destinationId)}`,
71-
),
72-
setMethod('PUT'),
73-
);
74-
75-
/**
76-
* Deletes a Destination.
77-
*
78-
* @param destinationId { number } The ID of the Destination.
79-
*/
80-
export const deleteDestination = (destinationId: number) =>
81-
Request<{}>(
82-
setURL(
83-
`${BETA_API_ROOT}/monitor/streams/destinations/${encodeURIComponent(destinationId)}`,
84-
),
85-
setMethod('DELETE'),
86-
);

packages/api-v4/src/datastream/streams.ts

Lines changed: 2 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { createStreamSchema, updateStreamSchema } from '@linode/validation';
1+
import { createStreamSchema } from '@linode/validation';
22

33
import { BETA_API_ROOT } from '../constants';
44
import Request, {
@@ -10,7 +10,7 @@ import Request, {
1010
} from '../request';
1111

1212
import type { Filter, ResourcePage as Page, Params } from '../types';
13-
import type { CreateStreamPayload, Stream, UpdateStreamPayload } from './types';
13+
import type { CreateStreamPayload, Stream } from './types';
1414

1515
/**
1616
* Returns all the information about a specified Stream.
@@ -47,27 +47,3 @@ export const createStream = (data: CreateStreamPayload) =>
4747
setURL(`${BETA_API_ROOT}/monitor/streams`),
4848
setMethod('POST'),
4949
);
50-
51-
/**
52-
* Updates a Stream.
53-
*
54-
* @param streamId { number } The ID of the Stream.
55-
* @param data { object } Options for type, status, etc.
56-
*/
57-
export const updateStream = (streamId: number, data: UpdateStreamPayload) =>
58-
Request<Stream>(
59-
setData(data, updateStreamSchema),
60-
setURL(`${BETA_API_ROOT}/monitor/streams/${encodeURIComponent(streamId)}`),
61-
setMethod('PUT'),
62-
);
63-
64-
/**
65-
* Deletes a Stream.
66-
*
67-
* @param streamId { number } The ID of the Stream.
68-
*/
69-
export const deleteStream = (streamId: number) =>
70-
Request<{}>(
71-
setURL(`${BETA_API_ROOT}/monitor/streams/${encodeURIComponent(streamId)}`),
72-
setMethod('DELETE'),
73-
);

packages/api-v4/src/datastream/types.ts

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -103,33 +103,14 @@ interface CustomHeader {
103103

104104
export interface CreateStreamPayload {
105105
destinations: number[];
106-
details: StreamDetails;
106+
details?: StreamDetails;
107107
label: string;
108108
status?: StreamStatus;
109109
type: StreamType;
110110
}
111111

112-
export interface UpdateStreamPayload {
113-
destinations: number[];
114-
details: StreamDetails;
115-
label: string;
116-
status: StreamStatus;
117-
type: StreamType;
118-
}
119-
120-
export interface UpdateStreamPayloadWithId extends UpdateStreamPayload {
121-
id: number;
122-
}
123-
124112
export interface CreateDestinationPayload {
125113
details: CustomHTTPsDetails | LinodeObjectStorageDetails;
126114
label: string;
127115
type: DestinationType;
128116
}
129-
130-
export type UpdateDestinationPayload = CreateDestinationPayload;
131-
132-
export interface UpdateDestinationPayloadWithId
133-
extends UpdateDestinationPayload {
134-
id: number;
135-
}

0 commit comments

Comments
 (0)