github vercel/vercel now@18.0.0

latest releases: @vercel/static-build@2.5.3, @vercel/next@4.2.7, vercel@34.1.8...
4 years ago

Breaking Changes

Previously the .env file would not be applied during now dev build (there was a separate .env.build file) and .env was only the runtime variables. In version 18, .env stores both build and runtime variables during now dev. This complements the new now env pull feature which creates the .env file by pulling the values from the cloud.

Previously ls subcommands would return all data. In version 18, the results are paginated and require a --next to view the next page.

Previously the default .nowignore was applied to source files during upload. In version 18, the same ignore list is applied to static build outputs so that you never accidentally serve your node_modules or .env file.

A new command, now env, is available in version 18 to complement the Environment Variables UI.

Full Change Log

  • [now-cli] Fix now env stdin detection and don't throw for known errors (#4060) [@styfle]
  • [now-cli] Change now env pull console output (#4059) [@styfle]
  • [now-cli] Prefer .env over .env.build during now dev (#4057) [@styfle]
  • [now-cli] Update now env to support empty values (#4046) [@styfle]
  • [now-cli] Improve pagination message (#4035) [@anatrajkovska]
  • [now-build-utils] Exclude now.json from fallback build src (#4042) [@styfle]
  • [now-cli] Fix removing a deployment (#4036) [@anatrajkovska]
  • [now-python] Fix missing sys modules for relative module import (#4024) [@hongquan]
  • [now-cli] Clean up tests for now dev (#4038) [@styfle]
  • [now-cli] Fix now dev routing for continue: true (#4033) [@styfle]
  • [now-cli] Implement pagination for now ls (#4027) [@anatrajkovska]
  • [examples][now-static-build] Add Ionic Angular framework (#3970) [@coetry]
  • [now-cli] Improve pagination message (#4026) [@anatrajkovska]
  • [now-cli] Add now env command (#3999) [@styfle]
  • [now-routing-utils] Catch error from compile route (#4019) [@styfle]
  • [now-next] Correctly Exclude API Routes from Pages (#4018) [@Timer]
  • [now-node] Add NowApiHandler type (#4001) [Logan McAnsh]
  • [now-next] Fix some typos related to fixtures (#3995) [@arunoda]
  • [api-frameworks] Removed Environment Variables (#3997) [@leo]
  • [now-static-build] Fix 12-creact-react-app test fixture (#3990) [@styfle]
  • [now-build-utils] Hide internal stack trace for errors (#3988) [@styfle]
  • [now-cli] Fix error message link to build logs (#3986) [@styfle]
  • [now-cli] Fix for adding secret with hyphen prefix (#3983) [@styfle]
  • [examples] Upgrade Next.js (#3984) [Tim Neutkens]
  • [now-cli] Bump mri to 1.1.5 (#3982) [@styfle]
  • [now-routing-utils] Update to not add path segments to redirect query automatically (#3981) [@ijjk]
  • [now-static-build][now-client] Ignore known static outputs (#3980) [@styfle]
  • [now-cli][now-client] Change forceNewWithCache to withCache (#3966) [@rdev]
  • [now-go] Fix import for go-bridge (#3976) [@styfle]
  • [now-cli] Update signal-exit to v3.0.3 (#3974) [@TooTallNate]
  • [now-next] Fix dynamic routes and data routes order (#3973) [@ijjk]
  • [tests] Add additional env vars (#3968) [@styfle]
  • [examples][now-static-build] Bump ionic-react to latest typescript (#3967) [@styfle]
  • [examples] Add Dojo Example (#3882) [Anthony Gubler]
  • [tests] Cancel previous workflows on push (#3965) [@styfle]
  • [tests] Separate into workflows (#3961) [@styfle]
  • [frameworks][now-static-build] Support Docusaurus v2 and v1 (#3964) [@AndyBitz]
  • [now-cli] Add pagination for now alias ls (#3915) [@anatrajkovska]
  • [now-cli] Update docusaurus test (#3963) [@AndyBitz]
  • [tests] Fix test initialize existing directory --f -> -f (#3960) [@styfle]
  • [frameworks][now-static-build] Fix Docusaurus build command (#3959) [@AndyBitz]
  • [now-cli] Fix slight spelling mistake: --f -> -f in now --force error (#3958) [@MaxLeiter]
  • [now-cli][now-client] Add --force-with-cache flag support (#3953) [@rdev]
  • [tests] Fix coverage checks (#3957) [@styfle]
  • [now-cli] Add pagination for now domains ls (#3922) [@anatrajkovska]
  • [now-cli] Ignore 404 for aliases and certs when removing a domain (#3955) [@AndyBitz]

Don't miss a new vercel release

NewReleases is sending notifications on new releases.