Skip to content

Changelog

2024-10-30

New Hyperdrive configurations to private databases using Tunnels are validated before creation

When creating a new Hyperdrive configuration to a private database using Tunnels, Hyperdrive will verify that it can connect to the database to ensure that your Tunnel and Access application have been properly configured. This makes it easier to debug connectivity issues.

Refer to documentation on connecting to private databases for more information.

2024-09-20

The `node-postgres` (pg) driver is now supported for Pages applications using Hyperdrive.

The popular pg (node-postgres driver no longer requires the legacy node_compat mode, and can now be used in both Workers and Pages for connecting to Hyperdrive. This uses the new (improved) Node.js compatibility in Workers and Pages.

You can set compatibility_flags = ["nodejs_compat_v2"] in your wrangler.toml or via the Pages dashboard to benefit from this change. Visit the Hyperdrive documentation on supported drivers to learn more about the driver versions supported by Hyperdrive.

2024-08-19

Improved caching for Postgres.js

Hyperdrive now better caches Postgres.js queries to reduce queries to the origin database.

2024-08-13

Hyperdrive audit logs now available in the Cloudflare Dashboard

Actions that affect Hyperdrive configs in an account will now appear in the audit logs for that account.

2024-05-24

Increased configuration limits

You can now create up to 25 Hyperdrive configurations per account, up from the previous maximum of 10.

Refer to Limits to review the limits that apply to Hyperdrive.

2024-05-22

Driver performance improvements

Compatibility improvements to how Hyperdrive interoperates with the popular Postgres.js driver have been released. These improvements allow queries made via Postgres.js to be correctly cached (when enabled) in Hyperdrive.

Developers who had previously set prepare: false can remove this configuration when establishing a new Postgres.js client instance.

Read the documentation on supported drivers to learn more about database driver interoperability with Hyperdrive.

2024-04-01

Hyperdrive is now Generally Available

Hyperdrive is now Generally Available and ready for production applications.

Read the announcement blog to learn more about the Hyperdrive and the roadmap, including upcoming support for MySQL databases.

2024-03-19

Improved local development configuration

Hyperdrive now supports a WRANGLER_HYPERDRIVE_LOCAL_CONNECTION_STRING_<BINDING_NAME> environmental variable for configuring local development to use a test/non-production database, in addition to the localConnectionString configuration in wrangler.toml.

Refer to Local development for instructions on how to configure Hyperdrive locally.

2023-09-28

Hyperdrive now available

Hyperdrive is now available in public beta to any developer with a Workers paid plan.

To start using Hyperdrive, visit the get started guide or read the announcement blog to learn more.