Minor Changes
-
#11656
ec2459eThanks @prydt! - feat(hyperdrive): add MySQL SSL mode and Custom CA supportHyperdrive now supports MySQL-specific SSL modes (
REQUIRED,VERIFY_CA,VERIFY_IDENTITY) alongside the existing PostgreSQL modes. The--sslmodeflag now validates the provided value based on the database scheme (PostgreSQL or MySQL) and enforces appropriate CA certificate requirements for each.Usage:
# MySQL with CA verification wrangler hyperdrive create my-config --connection-string="mysql://user:pass@host:3306/db" --sslmode=VERIFY_CA --ca-certificate-id=<cert-id> # PostgreSQL (unchanged) wrangler hyperdrive create my-config --connection-string="postgres://user:pass@host:5432/db" --sslmode=verify-full --ca-certificate-id=<cert-id>
Patch Changes
- Updated dependencies [
5cc8fcf]:- @cloudflare/unenv-preset@2.15.0
- miniflare@4.20260301.1