Skip to content

Commit 29ffceb

Browse files
Merge pull request #12439 from linode/staging
Release v1.145.0 - staging → master
2 parents 66a1f06 + 3b02f6a commit 29ffceb

File tree

649 files changed

+7874
-5500
lines changed

Some content is hidden

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

649 files changed

+7874
-5500
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ lib
1212
.vscode
1313
.idea
1414
**/*.iml
15+
*.mdc
1516

1617
# misc
1718
.DS_Store

docs/development-guide/02-component-structure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Here is a minimal code example demonstrating the basic structure of a component
1717
```tsx
1818
import { omittedProps } from "@linode/ui";
1919
import { styled } from "@mui/material/styles";
20-
import * as React from "react";
20+
import * as React from 'react';
2121

2222
// If not exported, it can just be named `Props`
2323
export interface SayHelloProps {

docs/development-guide/05-fetching-data.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ export const useProfile = () =>
125125
Loading and error states are managed by React Query. The earlier username display example becomes greatly simplified:
126126

127127
```tsx
128-
import * as React from "react";
128+
import * as React from 'react';
129129
import { useProfile } from "src/queries/profile";
130130

131131
const UsernameDisplay = () => {
@@ -166,7 +166,7 @@ Before React Query, Redux was used to store API data, loading, and error states.
166166
```tsx
167167
// ---- OLD PATTERN, DON'T USE ---- //
168168

169-
import * as React from "react";
169+
import * as React from 'react';
170170
import profileContainer, {
171171
Props as ProfileProps,
172172
} from "src/containers/profile.container";

docs/development-guide/08-testing.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,12 +210,13 @@ Environment variables related to Cypress logging and reporting, as well as repor
210210
|---------------------------------|----------------------------------------------------|------------------|----------------------------|
211211
| `CY_TEST_USER_REPORT` | Log test account information when tests begin | `1` | Unset; disabled by default |
212212
| `CY_TEST_JUNIT_REPORT` | Enable JUnit reporting | `1` | Unset; disabled by default |
213-
| `CY_TEST_HTML_REPORT` | Generate html report containing E2E test results | `1` | Unset; disabled by default |
213+
| `CY_TEST_HTML_REPORT` | Generate html report containing E2E test results | `1` | Unset; disabled by default |
214214
| `CY_TEST_DISABLE_FILE_WATCHING` | Disable file watching in Cypress UI | `1` | Unset; disabled by default |
215215
| `CY_TEST_DISABLE_RETRIES` | Disable test retries on failure in CI | `1` | Unset; disabled by default |
216216
| `CY_TEST_FAIL_ON_MANAGED` | Fail affected tests when Managed is enabled | `1` | Unset; disabled by default |
217217
| `CY_TEST_GENWEIGHTS` | Generate and output test weights to the given path | `./weights.json` | Unset; disabled by default |
218218
| `CY_TEST_RESET_PREFERENCES` | Reset user preferences when test run begins | `1` | Unset; disabled by default |
219+
| `CY_TEST_RESOURCE_PREFIX` | Prefix to apply to labels of created resources | `test-resource` | Unset; default `cy-test` |
219220
220221
###### Performance
221222

docs/development-guide/11-feature-flags.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export interface Flags {
4545
To consume a feature flag from a function component, use the `useFlags` hook:
4646

4747
```tsx
48-
import * as React from "react";
48+
import * as React from 'react';
4949
import { useFlags } from "src/hooks/useFlags";
5050

5151
const ImagesPricingBanner = () => {
@@ -62,7 +62,7 @@ const ImagesPricingBanner = () => {
6262
For (older) class components, use the `withFeatureFlagConsumer` HOC:
6363

6464
```tsx
65-
import * as React from "react";
65+
import * as React from 'react';
6666
import withFeatureFlags, {
6767
FeatureFlagConsumerProps,
6868
} from "src/containers/withFeatureFlagConsumer.container";

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@
6969
"prepare": "husky"
7070
},
7171
"resolutions": {
72-
"node-fetch": "^2.6.7",
7372
"semver": "^7.5.2",
7473
"yaml": "^2.3.0"
7574
},

packages/api-v4/CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
## [2025-07-01] - v0.143.0
2+
3+
### Changed:
4+
5+
- Allow `authorized_keys` to be null in `Profile` type ([#12390](https://github.com/linode/manager/pull/12390))
6+
7+
### Removed:
8+
9+
- `is_beta` flag from ServiceTypes interface in cloudpulse types ([#12386](https://github.com/linode/manager/pull/12386))
10+
11+
### Upcoming Features:
12+
13+
- Add Beta ACLP alerts property to the `CreateLinodeRequest` type ([#12248](https://github.com/linode/manager/pull/12248))
14+
- Add `parent_entity` field to `FirewallDeviceEntity` ([#12283](https://github.com/linode/manager/pull/12283))
15+
- Fix `getMaintenancePolicies` to properly handle pagination params and return all maintenance policies ([#12334](https://github.com/linode/manager/pull/12334))
16+
- Add `scope` in `Alert` and `EditAlertDefinitionPayload` interfaces, rename `ServiceTypes` interface to `Service`, add `ServiceAlert` interface ([#12377](https://github.com/linode/manager/pull/12377))
17+
- Add maintenance policy types for VM maintenance API ([#12417](https://github.com/linode/manager/pull/12417))
18+
- Add `monitors` field to the `Region` type ([#12375](https://github.com/linode/manager/pull/12375))
19+
- Add CRUD CloudNAT types ([#12379](https://github.com/linode/manager/pull/12379))
20+
121
## [2025-06-17] - v0.142.0
222

323

packages/api-v4/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@linode/api-v4",
3-
"version": "0.142.0",
3+
"version": "0.143.0",
44
"homepage": "https://github.com/linode/manager/tree/develop/packages/api-v4",
55
"bugs": {
66
"url": "https://github.com/linode/manager/issues"

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export const updateAccountInfo = (data: Partial<Account>) =>
7070
*/
7171
export const getAccountSettings = () =>
7272
Request<AccountSettings>(
73-
setURL(`${API_ROOT}/account/settings`),
73+
setURL(`${BETA_API_ROOT}/account/settings`),
7474
setMethod('GET'),
7575
);
7676

@@ -82,7 +82,7 @@ export const getAccountSettings = () =>
8282
*/
8383
export const updateAccountSettings = (data: Partial<AccountSettings>) =>
8484
Request<AccountSettings>(
85-
setURL(`${API_ROOT}/account/settings`),
85+
setURL(`${BETA_API_ROOT}/account/settings`),
8686
setMethod('PUT'),
8787
setData(data, UpdateAccountSettingsSchema),
8888
);

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,10 @@ export const getAccountMaintenance = (params?: Params, filter?: Filter) =>
2424
* Returns a list of maintenance policies that are available for Linodes in this account.
2525
*
2626
*/
27-
export const getMaintenancePolicies = () =>
28-
Request<MaintenancePolicy[]>(
27+
export const getMaintenancePolicies = (params?: Params, filter?: Filter) =>
28+
Request<ResourcePage<MaintenancePolicy>>(
2929
setURL(`${BETA_API_ROOT}/maintenance/policies`),
3030
setMethod('GET'),
31+
setParams(params),
32+
setXFilter(filter),
3133
);

0 commit comments

Comments
 (0)