github vercel/vercel vercel@19.0.0

latest releases: @vercel/static-build@2.4.5, @vercel/remix-builder@2.1.5, @vercel/node@3.0.25...
3 years ago

Changes

New Name

▲Now CLI has been renamed to ▲Vercel CLI.

We will continue publishing now and vercel in tandem until January 2021 at which point, new updates will only be published to vercel.

Install the latest CLI with npm i -g vercel. Uninstall the old CLI with npm uninstall -g now.

https://vercel.com/blog/zeit-is-now-vercel

https://www.notion.so/vercel/Vercel-Launch-1cab2369ab1c4d8db1987b68708be683

Version 19 adds support for the following:

  • vercel.json file
  • .vercelignore file
  • <proj>/.vercel directory
  • VERCEL_ env vars
  • .vercel.app suffix (coming soon)

Project settings inheritance

In version 17, we introduced the concept of Project Linking. This caused some confusion with now switch because most commands no longer observed the current team.

In version 19, this has been changed so that the only commands that will inherit the current working directory's project, are now, now dev, and now env. Other commands such as now ls will respect the team selected from now switch. See PR #4135.

Uploading .env files

In previous versions, we prevented .env files from being uploaded because these often contained secrets written by hand or generated automatically using now env pull. We found many users wanted to upload .env or .env.production because their framework of choice recommends that usage for non-encrypted variables.

In version 19, your .env files will be uploaded and .env.local files will not. See PR #4205.

One more thing

You can use vc or vercel since both are available after npm install -g vercel.

Just type vc to deploy 🚀

Changelog

  • [now-cli] Change precedence of auth directory (#4299) [@styfle]
  • [now-cli] Add getTitleName() and update getCommandName() (#4296) [@styfle]
  • [now-cli] Implement pagination for vercel teams ls (#4294) [@anatrajkovska]
  • [now-cli] Special case @vercel/static when updating builders (#4295) [@TooTallNate]
  • [tests] Ensure the npm registry is used during "Publish" workflow (#4286) [@TooTallNate]
  • [now-cli] Add e2e test for vercel.json and .vercelignore (#4292) [@styfle]
  • [now-cli] Replace now with vercel in pagination message (#4290) [@anatrajkovska]
  • [now-cli] Implement pagination for now dns ls (#4257) [@anatrajkovska]
  • [now-build-utils] Use @now runtimes for zero-config (#4284) [@TooTallNate]
  • [now-build-utils][now-cli] Fix isOfficialRuntime() edge case bug (#4282) [@TooTallNate]
  • [now-cli] Update references to Now CLI as Vercel CLI (#4279) [@TooTallNate]
  • [now-cli] Add special case for .vercel.app (#4281) [@styfle]
  • [now-cli] Update README.md image (#4278) [@styfle]
  • [api] Add cors headers (#4280) [@shuding]
  • [now-cli] Rename bin to support vercel and vc (#4277) [@styfle]
  • [all] Check for VERCEL_ environment variables with getPlatformEnv() (#4274) [@styfle]
  • [now-cli][now-go][now-python] Use `/.vercel/cache' dir during dev (#4273) [@styfle]
  • [tests] Add logging to debug failed npm publish for legacy package names in CI (#4266) [@TooTallNate]
  • [tests] Fix cancel workflow pattern (#4264) [@styfle]
  • [now-node][now-static-build] Add test for timezone utc (#4265) [@styfle]
  • [all] Rename packages to vercel and add logic to publish legacy package names to npm (#4233) [@TooTallNate]
  • [now-cli][now-client] Add support for vercel config files (#4234) [@styfle]
  • [now-cli] Implement pagination for now env ls (#4200) [@anatrajkovska]
  • [tests] Add "no only" and "no skip" eslint rules (#4229) [@lucleray]
  • [now-cli] Fix CORS headers in now dev (#4225) [@styfle]
  • [now-next] Update to pass dynamic page values in the query (#4196) [@ijjk]
  • [api] Update build script (#4224) [@styfle]
  • [now-cli] Update now dev HTML templates to use "Vercel" (#4216) [@TooTallNate]
  • [now dev] Fix handle: miss override headers (#4217) [@styfle]
  • [tests] Run now dev tests agains real deployments (#4183) [@styfle]
  • [now-cli] (Major) Upload .env files but ignore .local files (#4205) [@ijjk]
  • [now-cli]Switch to Vercel in the command help for now domains (#4193) [@lfades]
  • [now-cli] Implement pagination for now projects ls (#4186) [@anatrajkovska]
  • [now-cli] Assert 200 status code in dev server unit tests (#4184) [@TooTallNate]
  • [tests] Remove test.only() so all tests will execute (#4180) [@styfle]
  • [tests] Fix remaining lint errors (#4179) [@styfle]
  • [tests] Fix linting errors on yarn lint (#4178) [@nimish-gupta]
  • [now-cli] Make nowCliPkg parameter non-optional (#4173) [@TooTallNate]
  • [now-cli] Don't print "Error starting dev server" message by default (#4172) [@TooTallNate]
  • [now-cli] Allow to accept equal sign(=) as a value for meta (#4160) [@arunoda]
  • [now-cli] Add 1 minute timeout to now login integration tests (#4166) [@TooTallNate]
  • [now-cli] Remove "Stopping now dev server" message (#4165) [@TooTallNate]
  • [now-next] Update error throwing to use NowBuildError (#4167) [@ijjk]
  • [now-cli] Fix logic to not install bundled runtimes into cache dir for now dev (#4163) [@TooTallNate]
  • [now-next] Provide a better error when failing to load routes-manifest (#4161) [@ijjk]
  • [now-cli] Use imported pkg instead of require("../package.json") (#4159) [@yuler]
  • [api] Use 405 method not allowed (#4148) [@styfle]
  • [now-routing-utils] Add support for permanent in redirects (#4150) [@styfle]
  • [now-cli] Implement pagination for now dns ls <domain> (#4134) [@anatrajkovska]
  • [now-cli] Update chokidar to v3.3.1 (#4142) [@TooTallNate]
  • [now-cli] (Major) Change project settings inheritance (#4135) [@styfle]
  • [examples] Update vercel.svg in Next.js example (#4128) [@pacocoursey]
  • [now-cli] Fix flicker from file upload progress bar (#4125) [@styfle]
  • [now-static-build] Add tests for gem install of native deps (#4123) [@styfle]
  • [now-python] Fix: Relative imported module not seen in sys.modules (#4097) [@hongquan]
  • [all] Rename ZEIT Now to Vercel (#4112) [@styfle]
  • [now-cli] Use vercel.com URL for inspecting deployments (#4111) [@leo]
  • [now-build-utils] Prefer yarn over npm install when both detected (#4106) [@styfle]
  • [now-routing-utils] Fix validation for rewrite/redirect destination segments (#4105) [@styfle]
  • [now-cli] Implement pagination for listing secrets (#4084) [@anatrajkovska]
  • [now dev] Remove "Installing dependencies..." message (#4090) [@TooTallNate]
  • [now-cli] Fix unhandled unauthorized error and improve getTeamById (#4082) [@AndyBitz]
  • [now-cli] Implement pagination for listing certs (#4075) [@anatrajkovska]
  • [now-routing-utils] Fix error when hash contains question mark (#4080) [@styfle]
  • [now-next] Fix static 404 not being used in mono-repo set-up (#4083) [@ijjk]
  • [now-cli] Remove custom error when fetching frameworks fail (#4081) [@lucleray]
  • [now-cli] Fix for RangeError invalid count value (#4074) [@styfle]
  • [now-cli] Proxy everything except Lambdas to the dev server (#4079) [@AndyBitz]
  • [now-cli] Fix undefined teams and cache result (#4071) [@styfle]
  • [examples] Fix typo in Gatsby example (#4063) [@DLevai94]
  • [examples] Fix ionic-react missing public directory (#4070) [@styfle]
  • [now-cli] Fix encoding domain names (#4068) [@styfle]
  • [now-cli] Remove query and all options from log (#4066) [@nkzawa]

Don't miss a new vercel release

NewReleases is sending notifications on new releases.