Skip to content

Changelog

The latest PlanetScale features and product launches.

July 11, 2024
Improvement

Deploy requests: solo admins may now self-approve

We've shipped a small update to the "Require administrator approval for deploy requests" setting. Now, if your database only has a single administrator, they can self-approve their own deploy requests.

If there is more than one administator, then self-approval is not allowed.

View full documentation
June 27, 2024
Improvement

Webhook payload update

We have updated all webhook payloads to include the database and organization names.

Diff
{
"timestamp": 1698252879,
"event": "branch.ready",
+ "organization": "my-org",
+ "database": "example_database",
"resource": { ... }
}
View full documentation
June 24, 2024
Update

New audit logs API endpoint

We have released a new API endpoint for retrieving your organization's audit logs.

  • /v1/organizations/:name/audit-log

A new service token scope read_audit_logs has also been added. You may add this to your service token by visiting your service token settings.

View full documentation
June 17, 2024
Update

Deprecating old versions of the PlanetScale CLI

We are removing support for versions of the PlanetScale CLI older than v0.182.0 (February 2, 2024). On July 1st, they will no longer be able to use the following commands:

  • pscale connect
  • pscale shell
  • pscale database dump
  • pscale database restore-dump

Please update your CLI to version v0.182.0 or later to continue using these commands.

June 6, 2024
Update

New side navigation layout

We’ve just shipped a change to the layout of the PlanetScale app. The top-level navigation links are now along the left-hand side.

Why make this change? We needed to make room for new features. We were starting to be limited by the space available along the top navigation bar. The new side navigation allows for more space and keeps everything easily discoverable.

May 24, 2024
Improvement

VTGate errors are now in DataDog

We are now publishing the rate of errors encountered by each database branch's VTGate to Datadog. You can graph these metrics by using the planetscale.vtgate.errors metric name within your Datadog widget and notebooks.

View full documentation
May 22, 2024
New feature

Pin frequently used databases

We've shipped an improvement to make navigating to your most frequently used databases easier. Starting today, you can pin the databases you use most frequently. To do this, open the database switcher at the top of the page, you'll see a new pin icon next to each database.

The organization switcher has been improved as well. It will show all of your pinned databases across all of your organizations.

May 2, 2024
New feature

Connecting to PlanetScale privately on AWS

Previously only available to Single-tenant and Managed customers, PlanetScale now provides private connection endpoints to AWS regions via AWS PrivateLink for customers on Scaler Pro.

This is helpful in cases where your compliance mandates that your connections do not route through the public Internet, or for customers looking to save costs on their NAT Gateways.

View full documentation
April 30, 2024
Improvement

Insights query latency percentile filtering

Insights now supports filtering query patterns by 50th and 99th percentile query execution time. To find all query patterns that have a 50th percentile execution time above 250 milliseconds, for example, enter p50:>250 in the insights search box.

View full documentation
April 17, 2024
New feature

Global replica credentials

Today, we're introducing the ability to create global replica credentials for your PlanetScale database.

With replica credentials, it makes it easier to query your database's replicas and read-only regions by creating a password dedicated for replica use. These new credentials will be routed to the nearest read-only region with the lowest latency as new regions are added or removed without any code changes or even needing to reconnect.

View full documentation
March 29, 2024
Improvement

Insights anomaly webhook

You can now enable webhooks for database anomalies. With this new hook you can notify your team when PlanetScale has detected slower than expected queries on your database.

The webhook event is branch.anomaly and includes the full database branch information in the payload.

View full documentation
March 13, 2024
New feature

Monthly spend alerts

We’ve released an improvement to the billing page. You can now set spend alerts for your PlanetScale Organization.

To enable monthly spend alerts, go to your organization billing page, click "Enable spend alerts", and enter the maximum spend amount. Organization admins will receive an email once monthly spend hits 75% and 100%.

View full documentation
February 29, 2024
Improvement

CPU and memory metrics now in Datadog

We are now publishing the CPU and memory usage of each database branch's primary node to Datadog. You can graph these metrics by using the planetscale.primary.cpu_usage and planetscale.primary.memory_usage metric names within your Datadog widgets and notebooks.

View full documentation
February 28, 2024
New feature
Schema recommendations

Schema recommendations

Today, we’re releasing schema recommendations inside of PlanetScale Insights.

With schema recommendations, you will automatically receive recommendations to improve database performance, reduce memory and storage, and improve your schema based on production database traffic.

Schema recommendations uses query-level telemetry to generate tailored recommendations in the form of DDL statements that can be applied directly to a database branch and then deployed to production.

View full documentation
February 16, 2024
Update

Foreign key constraints are now generally available

To enable foreign key constraints in any unsharded PlanetScale database, go to your database’s ”Settings” page and check the box to Allow foreign key constraints.

On the database’s ”Dashboard” page, you will see a loading spinner that says it is “Enabling foreign key constraints.” Once it no longer shows, you can use foreign key constraints in your PlanetScale database!

For most cases, foreign key constraints should work as expected in PlanetScale. There are a few cases to be aware of that are unsupported or result in less ideal behavior. You can read more in the limitations section of the foreign key constraints documentation.

If you don’t have an existing PlanetScale database and have an existing internet-accessible MySQL or MariaDB databases that use foreign key constraints, you can also import it into PlanetScale using our database import tool.

View full documentation
February 15, 2024
Update

Safe migrations on development branches

You can now enable safe migrations on development branches. With safe migrations enabled on a branch, you’ll gain zero-downtime schema migrations, schema reverts, and protection against accidental schema changes. Also, now you can use a development branch with safe migrations enabled to set up a workflow with a “staging” branch. Previously, only production branches could have safe migrations enabled.

View full documentation
February 6, 2024
Update
OAuth applications are now in public beta

OAuth applications are now in public beta

OAuth applications are now available to all PlanetScale users in a public beta. An OAuth application in PlanetScale allows you to get authorization from your users for which organizations and databases the PlanetScale API can interact with.

If you are interested in building on top of PlanetScale and allowing your users to authenticate with PlanetScale to gain management access to their organizations and databases, you can create your OAuth application in your PlanetScale organization’s Settings > OAuth applications page.

View full documentation
February 5, 2024
Update

Deprecating Scaler plan

We are committed to remaining the best database for serverless and real-world applications that require massive scale. To support this effort, we are deprecating the Scaler plan. Beginning February 12th 2024, you will no longer be able to create a new Scaler database clusters.

Read the announcement blog post for more information.

View full documentation
November 28, 2023
New feature
Insights Anomalies

Insights Anomalies

Today, we released a new addition to PlanetScale Insights — Anomalies. Anomalies are defined as events where a percentage of slow-running queries substantially increases over a period of time.

The new Anomalies tab in Insights warns you of any anomalies that have occurred in the last 24 hours, with additional information about:

  • The query that triggered the anomaly
  • CPU utilization
  • Memory
  • IOPS
  • Queries per second
  • Rows written per second
  • Rows read per second
  • Errors per second
View full documentation
November 2, 2023
New feature

Fivetran integration

You can now extract data from PlanetScale and use it as a data source in your extract, load, and data transformation (ELT) processes with Fivetran.

It is available today in private preview to Fivetran users. You can request access to the PlanetScale connector from within Fivetran. See our Fivetran integration documentation for more info.

View full documentation