Skip to content
← Back to Changelog

Monday, January 29th 2024

Public environment variables now display a warning

Posted by

Avatar for JohnPhamous

John Pham

Design Engineer

Avatar for sambecker

Sam Becker

Director of Product Design

When creating and editing Environment Variables on Vercel, you can now see hints to warn you of potentially leaking secret values to the public. This supports all frameworks that use a prefix to mark an environment variable as safe to use on the client like:

  • Next.js
  • Create React App
  • Vue.js
  • Nuxt
  • Gridsome
  • Gatsby
  • SvelteKit
  • Vite

Learn more about Environment Variables.

Post