github vercel/vercel vercel@51.8.0

latest releases: @vercel/node@5.7.12, @vercel/gatsby-plugin-vercel-builder@2.1.20, @vercel/nestjs@0.2.74...
9 hours ago

Minor Changes

  • vercel env add now defaults Environment Variables to sensitive on Production and Preview. Sensitive values are encrypted at rest and cannot be retrieved later via the dashboard or CLI; they are still resolved for builds, deployments, vercel env pull, and runtime. (#16041)

    Behavior per target:

    • Production or Preview: defaults to sensitive. Pass --no-sensitive to opt back in to the previous encrypted behavior (value remains readable later).
    • Development: always stored as encrypted (sensitive is not supported by the Vercel API for Development). Passing --sensitive alongside a Development target now errors up-front instead of silently falling back.
    • Mixed selection (e.g., interactive checkbox picks production + preview + development): errors and asks you to run vercel env add separately for Development, because Development cannot share a record type with Production/Preview.

    Flag summary:

    • --sensitive: unchanged in meaning (request a sensitive variable); now errors when combined with Development.
    • --no-sensitive: new; opt out of the new default for Production/Preview.
    • --sensitive --no-sensitive together: errors.

    On teams that enable the "Enforce Sensitive Environment Variables" policy in team settings, the CLI now reads the policy from the team object and notes in the output that the policy is active; the server already promotes Production/Preview variables to sensitive silently, and the CLI's own logs are now honest about it. Passing --no-sensitive on a policy-on team for Production/Preview now emits a warning — the flag is a no-op because the server promotes the variable regardless — and the CLI sends type: 'sensitive' so its own --debug output matches what gets stored.

Patch Changes

  • Updated dependencies [c1866cf1add2107f91cae8292e38e4854bfe0aca]:
    • @vercel/build-utils@13.19.1
    • @vercel/backends@0.1.2
    • @vercel/elysia@0.1.70
    • @vercel/express@0.1.80
    • @vercel/fastify@0.1.73
    • @vercel/go@3.5.0
    • @vercel/h3@0.1.79
    • @vercel/hono@0.2.73
    • @vercel/hydrogen@1.3.6
    • @vercel/koa@0.1.53
    • @vercel/nestjs@0.2.74
    • @vercel/next@4.16.8
    • @vercel/node@5.7.12
    • @vercel/python@6.35.0
    • @vercel/redwood@2.4.12
    • @vercel/remix-builder@5.7.2
    • @vercel/ruby@2.3.2
    • @vercel/rust@1.1.1
    • @vercel/static-build@2.9.20

Don't miss a new vercel release

NewReleases is sending notifications on new releases.