Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions packages/manager/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).

## [2025-09-25] - v1.151.1

### Added:

- DBaaS - Display Beta chip for VPC fields and update related documentation link

## [2025-09-23] - v1.151.0

### Added:
Expand Down
2 changes: 1 addition & 1 deletion packages/manager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "linode-manager",
"author": "Linode",
"description": "The Linode Manager website",
"version": "1.151.0",
"version": "1.151.1",
"private": true,
"type": "module",
"bugs": {
Expand Down
1 change: 1 addition & 0 deletions packages/manager/src/dev-tools/FeatureFlagTool.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ const options: { flag: keyof Flags; label: string }[] = [
{ flag: 'databaseResize', label: 'Database Resize' },
{ flag: 'databaseAdvancedConfig', label: 'Database Advanced Config' },
{ flag: 'databaseVpc', label: 'Database VPC' },
{ flag: 'databaseVpcBeta', label: 'Database VPC Beta' },
{ flag: 'databasePremium', label: 'Database Premium' },
{
flag: 'databaseRestrictPlanResize',
Expand Down
1 change: 1 addition & 0 deletions packages/manager/src/featureFlags.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ export interface Flags {
databaseRestrictPlanResize: boolean;
databases: boolean;
databaseVpc: boolean;
databaseVpcBeta: boolean;
dbaasV2: BetaFeatureFlag;
dbaasV2MonitorMetrics: BetaFeatureFlag;
disableLargestGbPlans: boolean;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { useAllVPCsQuery, useRegionQuery } from '@linode/queries';
import {
Autocomplete,
BetaChip,
Box,
Checkbox,
Notice,
Expand All @@ -10,6 +11,7 @@ import {
import * as React from 'react';

import { Link } from 'src/components/Link';
import { useFlags } from 'src/hooks/useFlags';
import { getAPIErrorOrDefault } from 'src/utilities/errorUtils';

import { MANAGE_NETWORKING_LEARN_MORE_LINK } from '../constants';
Expand Down Expand Up @@ -40,6 +42,7 @@ export const DatabaseVPCSelector = (props: DatabaseVPCSelectorProps) => {
privateNetworkValues,
} = props;

const flags = useFlags();
const isCreate = mode === 'create';
const { data: selectedRegion } = useRegionQuery(selectedRegionId);
const regionSupportsVPCs = selectedRegion?.capabilities.includes('VPCs');
Expand Down Expand Up @@ -123,19 +126,24 @@ export const DatabaseVPCSelector = (props: DatabaseVPCSelectorProps) => {

return (
<>
<Typography
<Box
sx={(theme: Theme) => ({
display: 'flex',
marginTop: theme.spacingFunction(20),
marginBottom: theme.spacingFunction(4),
})}
variant="h3"
>
Assign a VPC
</Typography>
<Typography variant="h3">Assign a VPC</Typography>
{flags.databaseVpcBeta && <BetaChip />}
</Box>

<Typography>
Assign this cluster to an existing VPC.{' '}
<Link to={MANAGE_NETWORKING_LEARN_MORE_LINK}>Learn more.</Link>
<Link
to={`${MANAGE_NETWORKING_LEARN_MORE_LINK + (flags.databaseVpcBeta ? '-beta' : '')}`}
>
Learn more.
</Link>
</Typography>
<Box style={{ display: 'flex' }}>
<Autocomplete
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,19 @@
import { useAllVPCsQuery } from '@linode/queries';
import { Button, CircleProgress, ErrorState, Typography } from '@linode/ui';
import {
BetaChip,
Button,
CircleProgress,
ErrorState,
Typography,
} from '@linode/ui';
import { Grid } from '@mui/material';
import React from 'react';
import { makeStyles } from 'tss-react/mui';

import { Link } from 'src/components/Link';
import { useFlags } from 'src/hooks/useFlags';

import { MANAGE_NETWORKING_LEARN_MORE_LINK } from '../../constants';
import { getReadOnlyHost } from '../../utilities';
import {
StyledGridContainer,
Expand Down Expand Up @@ -41,6 +51,7 @@ export const DatabaseManageNetworking = ({ database }: Props) => {
},
sectionTitle: {
marginBottom: '0.25rem',
display: 'flex',
},
sectionTitleAndText: {
width: '100%',
Expand All @@ -59,6 +70,7 @@ export const DatabaseManageNetworking = ({ database }: Props) => {
},
}));

const flags = useFlags();
const { classes } = useStyles();
const [isManageNetworkingDrawerOpen, setIsManageNetworkingDrawerOpen] =
React.useState(false);
Expand Down Expand Up @@ -118,9 +130,15 @@ export const DatabaseManageNetworking = ({ database }: Props) => {
<div className={classes.sectionTitleAndText}>
<div className={classes.sectionTitle}>
<Typography variant="h3">Manage Networking</Typography>
{flags.databaseVpcBeta && <BetaChip />}
</div>
<Typography sx={{ maxWidth: '500px' }}>
Update access settings or the VPC assignment.
Update access settings or the VPC assignment.{' '}
<Link
to={`${MANAGE_NETWORKING_LEARN_MORE_LINK + (flags.databaseVpcBeta ? '-beta' : '')}`}
>
Learn more.
</Link>
<br />
Note that a change of VPC assignment settings can disrupt service
availability. Avoid writing data to the database while a change is
Expand Down