Changelog
Changelog
![Cover for Improvements to Support Center](https://cdn.statically.io/img/vercel.com/_next/image?url=https%3A%2F%2Fassets.vercel.com%2Fimage%2Fupload%2Fcontentful%2Fimage%2Fe5382hct74si%2F7B02kj8fc4fKpULghIpPGi%2Fa0981971ff282a1fdc3b3110a8bcb4af%2FSupport_Center_Light.png&w=3840&q=95&dpl=dpl_7XLs8dgG5gQ3Q9R2oqwUSignHFBq)
![Cover for Improvements to Support Center](https://cdn.statically.io/img/vercel.com/_next/image?url=https%3A%2F%2Fassets.vercel.com%2Fimage%2Fupload%2Fcontentful%2Fimage%2Fe5382hct74si%2F7tGG9toW1q5g0474qjIGD9%2F8620478c6fe8df826478c4085dad7512%2FSupport_Center_Dark.png&w=3840&q=95&dpl=dpl_7XLs8dgG5gQ3Q9R2oqwUSignHFBq)
Improvements to Support Center
The Support Center now has an improved design to make it easier to understand the state of your support cases. You can now find cases by:
- Searching the subject lines
- Filtering by status
- Sorting by Last Updated, Date Created and Severity
Support Center is available to Pro and Enterprise customers.
![Cover for New utilities to work with Vercel Functions](https://cdn.statically.io/img/vercel.com/_next/image?url=https%3A%2F%2Fassets.vercel.com%2Fimage%2Fupload%2Fcontentful%2Fimage%2Fe5382hct74si%2F25V4HZKyhi85tqzhXga8uV%2Fe6a449647e17bc062044348c7a87c420%2FGeist_OG_Changelog__4_.png&w=3840&q=95&dpl=dpl_7XLs8dgG5gQ3Q9R2oqwUSignHFBq)
![Cover for New utilities to work with Vercel Functions](https://cdn.statically.io/img/vercel.com/_next/image?url=https%3A%2F%2Fassets.vercel.com%2Fimage%2Fupload%2Fcontentful%2Fimage%2Fe5382hct74si%2F5S1q0cxfX7MQAjlrlkYQCJ%2Fd59f808cd7a126cbc47d02b2142c899b%2FGeist_OG_Changelog_Dark.png&w=3840&q=95&dpl=dpl_7XLs8dgG5gQ3Q9R2oqwUSignHFBq)
New utilities to work with Vercel Functions
@vercel/functions
now includes new utilities:
geolocation
: Returns location information of the incoming requestipAddress
: Returns the IP address of the incoming requestgetEnv
: Returns system environment variables from Vercel
Install the latest package to use these methods today:
pnpm i @vercel/functions
Learn more in the documentation.
Improved CDN Performance
We've improved our Edge Network performance by increasing the initial TCP congestion window by 300%. This enhancement allows sending more data in the initial and subsequent round-trips, resulting in faster page loads for websites of all sizes.
End users will experience significant speed improvements when first loading any site hosted on Vercel, with many sites seeing up to 3x faster initial page loads. The larger initial congestion window allows data transfer to ramp up more quickly, reaching higher speeds in fewer round-trips. This optimization is particularly beneficial for high-latency connections, such as those on mobile devices.
This performance upgrade is available immediately for all Vercel customers across all plans, with no action required. Your sites will automatically benefit from these improvements without any changes needed on your part.
Fast Origin Transfer is now automatically compressed
We’ve improved Fast Origin Transfer—our Edge Network’s ability to transfer data from every region globally to the origin—to be compressed by default.
Fast Origin Transfer is incurred when using any of Vercel’s compute projects, like Functions, Middleware, and Incremental Static Regeneration (ISR). Starting today, all data transfer between edge regions and the origin location is now automatically compressed. This matches the behavior of Fast Data Transfer.
Learn more about Fast Origin Transfer and how to optimize.
![Cover for Log Drains now support the Vercel Firewall](https://cdn.statically.io/img/vercel.com/_next/image?url=https%3A%2F%2Fassets.vercel.com%2Fimage%2Fupload%2Fcontentful%2Fimage%2Fe5382hct74si%2F4RmY3hZnvEq3m8njQpzkHh%2Fd89f86f989d246145ac599c52b00c9c2%2FFirewall_Log_Drains_-_Light.png&w=3840&q=95&dpl=dpl_7XLs8dgG5gQ3Q9R2oqwUSignHFBq)
![Cover for Log Drains now support the Vercel Firewall](https://cdn.statically.io/img/vercel.com/_next/image?url=https%3A%2F%2Fassets.vercel.com%2Fimage%2Fupload%2Fcontentful%2Fimage%2Fe5382hct74si%2F5o5Xfl0GdqzBNAaXd4XOFG%2F627012441bccc004183de527b18a5c65%2FFirewall_Log_Drains_-_Dark.jpg&w=3840&q=95&dpl=dpl_7XLs8dgG5gQ3Q9R2oqwUSignHFBq)
Log Drains now support the Vercel Firewall
You can now drain Vercel Firewall actions to external providers through Log Drains.
Requests denied by the Vercel Firewall will be drained with the firewall
source. This includes the following events:
- Requests blocked by a Custom Rule
- Requests blocked by Challenge Mode
- Requests blocked Managed Rules (e.g. OWASP CRS)
- Requests blocked by an IP Rule
If a rule is set to log
or to bypass
, requests will not be sent to Log Drains. Firewall actions are also surfaced inside of Monitoring.
Learn more about the Log Drains.
![Cover for Vercel Firewall now supports localized challenge pages](https://cdn.statically.io/img/vercel.com/_next/image?url=https%3A%2F%2Fassets.vercel.com%2Fimage%2Fupload%2Fcontentful%2Fimage%2Fe5382hct74si%2F1H8mZtev2JZjzHs6GoZJK1%2F320591f7cce61b2f31978d6b2e1ea032%2FChallenge_-_Light__1_.png&w=3840&q=95&dpl=dpl_7XLs8dgG5gQ3Q9R2oqwUSignHFBq)
![Cover for Vercel Firewall now supports localized challenge pages](https://cdn.statically.io/img/vercel.com/_next/image?url=https%3A%2F%2Fassets.vercel.com%2Fimage%2Fupload%2Fcontentful%2Fimage%2Fe5382hct74si%2F6Tjtdez4raJLPSn1cN0P5q%2F80495f51c29ce9f05c2b6eaae1a77158%2FChallenge_Mode_-_Dark__1_.png&w=3840&q=95&dpl=dpl_7XLs8dgG5gQ3Q9R2oqwUSignHFBq)
Vercel Firewall now supports localized challenge pages
The Vercel Firewall now localizes the challenge page text to 22 different languages.
Challenges are automatically served for malicious traffic or when defined through custom rules. The updated page also features a new design, which supports light and dark mode.
Learn more about the Vercel Firewall.
![Cover for OpenID Connect (OIDC) Federation now available in Beta](https://cdn.statically.io/img/vercel.com/_next/image?url=https%3A%2F%2Fassets.vercel.com%2Fimage%2Fupload%2Fcontentful%2Fimage%2Fe5382hct74si%2F6hwbFmAfCiwcbIdBMAVI23%2Fb653c3308f958b72fd1f8fcf43366a95%2FOpenID_Connect_Tokens_Light.jpg&w=3840&q=95&dpl=dpl_7XLs8dgG5gQ3Q9R2oqwUSignHFBq)
![Cover for OpenID Connect (OIDC) Federation now available in Beta](https://cdn.statically.io/img/vercel.com/_next/image?url=https%3A%2F%2Fassets.vercel.com%2Fimage%2Fupload%2Fcontentful%2Fimage%2Fe5382hct74si%2F5nsnHdmuzylYvyvat6Xgu5%2F0f50a0bd5d3744d26b2210aa457061bf%2FOpenID_Connect_Tokens_Dark__1_.jpg&w=3840&q=95&dpl=dpl_7XLs8dgG5gQ3Q9R2oqwUSignHFBq)
OpenID Connect (OIDC) Federation now available in Beta
Vercel now supports OpenID Connect (OIDC) Federation, enabling you to enhance your security by replacing long-lived environment variable credentials with short-lived, RSA-signed JWTs for external requests in both builds and Vercel Functions.
You can now leverage Vercel's OIDC Identity Provider (IdP) to issue persistent tokens for cloud providers such as AWS, Azure, GCP, and more.
Enable OIDC in your project's security settings and leverage the @vercel/functions
package for integration with third-party providers, like this:
import { awsCredentialsProvider } from '@vercel/functions/oidc';import * as s3 from '@aws/client-s3'; const s3client = new s3.S3Client({ credentials: awsCredentialsProvider({ roleArn: process.env.AWS_ROLE_ARN!, }),});
Learn more about OpenID Connect Federation in the documentation.
![Cover for Improvements to Runtime Logs](https://cdn.statically.io/img/vercel.com/_next/image?url=https%3A%2F%2Fassets.vercel.com%2Fimage%2Fupload%2Fcontentful%2Fimage%2Fe5382hct74si%2F7BLbk7zrY9DisWBBgas71H%2F55af45e2b58dcc7a0e93557d3c437fae%2FSearch_Params_in_Logs_Light.png&w=3840&q=95&dpl=dpl_7XLs8dgG5gQ3Q9R2oqwUSignHFBq)
![Cover for Improvements to Runtime Logs](https://cdn.statically.io/img/vercel.com/_next/image?url=https%3A%2F%2Fassets.vercel.com%2Fimage%2Fupload%2Fcontentful%2Fimage%2Fe5382hct74si%2F1uTVI4i38GuDAZijwJ39Sx%2F30ff74e65b4231ed61f6da4795b194aa%2FSearch_Params_in_Logs_Dark.png&w=3840&q=95&dpl=dpl_7XLs8dgG5gQ3Q9R2oqwUSignHFBq)
Improvements to Runtime Logs
Runtime logs now have improved filtering and visibility of request details:
- Query Params Visibility: View query parameters for each request directly in the UI.
- Request ID Filtering: Filter logs by request ID using the new filter icon next to each ID.
These improvements are available to all Vercel customers.
Easier toolbar setup for SvelteKit and other Vite-based frameworks
Vite-based frameworks such as SvelteKit, Remix, Nuxt, or Astro can now more easily integrate with the Vercel Toolbar in both local and production environments. The Toolbar enables you to comment on deployments, toggle feature flags, view draft content from a CMS, and more.
The updated @vercel/toolbar
package offers a Vite plugin and client-side function for injection and configuration, and can be integrated like this:
import { vercelToolbar } from '@vercel/toolbar/plugins/vite';import { defineConfig } from 'vite';
export default defineConfig({ plugins: [/* others...*/ vercelToolbar()] // ...});
// in your framework's client entry point:import { mountVercelToolbar } from '@vercel/toolbar/vite';
mountVercelToolbar();
Check out the documentation to learn more.
Streaming to be enabled by default for all Node.js Vercel Functions
Streaming will soon be enabled by default for all Node.js Vercel Functions.
This change will be effective for Hobby accounts starting July 8th, 2024; and for Pro and Enterprise accounts starting October 1st, 2024.
To enable streaming as the default immediately for all your Vercel Functions, set the VERCEL_FORCE_NODEJS_STREAMING
environment variable in your project to true
. Streaming will be enabled on your next deployment.
Streaming responses from functions will change the format and frequency of your runtime logs. If you are using Log Drains, you should ensure that your ingestion pipeline can handle the new format and increased frequency.
Check out this blog post and our streaming documentation for more details.
![Cover for Improvements to Support Center](https://cdn.statically.io/img/vercel.com/_next/image?url=https%3A%2F%2Fassets.vercel.com%2Fimage%2Fupload%2Fcontentful%2Fimage%2Fe5382hct74si%2F7B02kj8fc4fKpULghIpPGi%2Fa0981971ff282a1fdc3b3110a8bcb4af%2FSupport_Center_Light.png&w=3840&q=95&dpl=dpl_7XLs8dgG5gQ3Q9R2oqwUSignHFBq)
![Cover for Improvements to Support Center](https://cdn.statically.io/img/vercel.com/_next/image?url=https%3A%2F%2Fassets.vercel.com%2Fimage%2Fupload%2Fcontentful%2Fimage%2Fe5382hct74si%2F7tGG9toW1q5g0474qjIGD9%2F8620478c6fe8df826478c4085dad7512%2FSupport_Center_Dark.png&w=3840&q=95&dpl=dpl_7XLs8dgG5gQ3Q9R2oqwUSignHFBq)
The Support Center now has an improved design to make it easier to understand the state of your support cases. You can now find cases by:
- Searching the subject lines
- Filtering by status
- Sorting by Last Updated, Date Created and Severity
Support Center is available to Pro and Enterprise customers.
![Cover for New utilities to work with Vercel Functions](https://cdn.statically.io/img/vercel.com/_next/image?url=https%3A%2F%2Fassets.vercel.com%2Fimage%2Fupload%2Fcontentful%2Fimage%2Fe5382hct74si%2F25V4HZKyhi85tqzhXga8uV%2Fe6a449647e17bc062044348c7a87c420%2FGeist_OG_Changelog__4_.png&w=3840&q=95&dpl=dpl_7XLs8dgG5gQ3Q9R2oqwUSignHFBq)
![Cover for New utilities to work with Vercel Functions](https://cdn.statically.io/img/vercel.com/_next/image?url=https%3A%2F%2Fassets.vercel.com%2Fimage%2Fupload%2Fcontentful%2Fimage%2Fe5382hct74si%2F5S1q0cxfX7MQAjlrlkYQCJ%2Fd59f808cd7a126cbc47d02b2142c899b%2FGeist_OG_Changelog_Dark.png&w=3840&q=95&dpl=dpl_7XLs8dgG5gQ3Q9R2oqwUSignHFBq)
@vercel/functions
now includes new utilities:
geolocation
: Returns location information of the incoming requestipAddress
: Returns the IP address of the incoming requestgetEnv
: Returns system environment variables from Vercel
Install the latest package to use these methods today:
pnpm i @vercel/functions
Learn more in the documentation.
We've improved our Edge Network performance by increasing the initial TCP congestion window by 300%. This enhancement allows sending more data in the initial and subsequent round-trips, resulting in faster page loads for websites of all sizes.
End users will experience significant speed improvements when first loading any site hosted on Vercel, with many sites seeing up to 3x faster initial page loads. The larger initial congestion window allows data transfer to ramp up more quickly, reaching higher speeds in fewer round-trips. This optimization is particularly beneficial for high-latency connections, such as those on mobile devices.
This performance upgrade is available immediately for all Vercel customers across all plans, with no action required. Your sites will automatically benefit from these improvements without any changes needed on your part.
We’ve improved Fast Origin Transfer—our Edge Network’s ability to transfer data from every region globally to the origin—to be compressed by default.
Fast Origin Transfer is incurred when using any of Vercel’s compute projects, like Functions, Middleware, and Incremental Static Regeneration (ISR). Starting today, all data transfer between edge regions and the origin location is now automatically compressed. This matches the behavior of Fast Data Transfer.
Learn more about Fast Origin Transfer and how to optimize.
![Cover for Log Drains now support the Vercel Firewall](https://cdn.statically.io/img/vercel.com/_next/image?url=https%3A%2F%2Fassets.vercel.com%2Fimage%2Fupload%2Fcontentful%2Fimage%2Fe5382hct74si%2F4RmY3hZnvEq3m8njQpzkHh%2Fd89f86f989d246145ac599c52b00c9c2%2FFirewall_Log_Drains_-_Light.png&w=3840&q=95&dpl=dpl_7XLs8dgG5gQ3Q9R2oqwUSignHFBq)
![Cover for Log Drains now support the Vercel Firewall](https://cdn.statically.io/img/vercel.com/_next/image?url=https%3A%2F%2Fassets.vercel.com%2Fimage%2Fupload%2Fcontentful%2Fimage%2Fe5382hct74si%2F5o5Xfl0GdqzBNAaXd4XOFG%2F627012441bccc004183de527b18a5c65%2FFirewall_Log_Drains_-_Dark.jpg&w=3840&q=95&dpl=dpl_7XLs8dgG5gQ3Q9R2oqwUSignHFBq)
You can now drain Vercel Firewall actions to external providers through Log Drains.
Requests denied by the Vercel Firewall will be drained with the firewall
source. This includes the following events:
- Requests blocked by a Custom Rule
- Requests blocked by Challenge Mode
- Requests blocked Managed Rules (e.g. OWASP CRS)
- Requests blocked by an IP Rule
If a rule is set to log
or to bypass
, requests will not be sent to Log Drains. Firewall actions are also surfaced inside of Monitoring.
Learn more about the Log Drains.
![Cover for Vercel Firewall now supports localized challenge pages](https://cdn.statically.io/img/vercel.com/_next/image?url=https%3A%2F%2Fassets.vercel.com%2Fimage%2Fupload%2Fcontentful%2Fimage%2Fe5382hct74si%2F1H8mZtev2JZjzHs6GoZJK1%2F320591f7cce61b2f31978d6b2e1ea032%2FChallenge_-_Light__1_.png&w=3840&q=95&dpl=dpl_7XLs8dgG5gQ3Q9R2oqwUSignHFBq)
![Cover for Vercel Firewall now supports localized challenge pages](https://cdn.statically.io/img/vercel.com/_next/image?url=https%3A%2F%2Fassets.vercel.com%2Fimage%2Fupload%2Fcontentful%2Fimage%2Fe5382hct74si%2F6Tjtdez4raJLPSn1cN0P5q%2F80495f51c29ce9f05c2b6eaae1a77158%2FChallenge_Mode_-_Dark__1_.png&w=3840&q=95&dpl=dpl_7XLs8dgG5gQ3Q9R2oqwUSignHFBq)
The Vercel Firewall now localizes the challenge page text to 22 different languages.
Challenges are automatically served for malicious traffic or when defined through custom rules. The updated page also features a new design, which supports light and dark mode.
Learn more about the Vercel Firewall.
![Cover for OpenID Connect (OIDC) Federation now available in Beta](https://cdn.statically.io/img/vercel.com/_next/image?url=https%3A%2F%2Fassets.vercel.com%2Fimage%2Fupload%2Fcontentful%2Fimage%2Fe5382hct74si%2F6hwbFmAfCiwcbIdBMAVI23%2Fb653c3308f958b72fd1f8fcf43366a95%2FOpenID_Connect_Tokens_Light.jpg&w=3840&q=95&dpl=dpl_7XLs8dgG5gQ3Q9R2oqwUSignHFBq)
![Cover for OpenID Connect (OIDC) Federation now available in Beta](https://cdn.statically.io/img/vercel.com/_next/image?url=https%3A%2F%2Fassets.vercel.com%2Fimage%2Fupload%2Fcontentful%2Fimage%2Fe5382hct74si%2F5nsnHdmuzylYvyvat6Xgu5%2F0f50a0bd5d3744d26b2210aa457061bf%2FOpenID_Connect_Tokens_Dark__1_.jpg&w=3840&q=95&dpl=dpl_7XLs8dgG5gQ3Q9R2oqwUSignHFBq)
Vercel now supports OpenID Connect (OIDC) Federation, enabling you to enhance your security by replacing long-lived environment variable credentials with short-lived, RSA-signed JWTs for external requests in both builds and Vercel Functions.
You can now leverage Vercel's OIDC Identity Provider (IdP) to issue persistent tokens for cloud providers such as AWS, Azure, GCP, and more.
Enable OIDC in your project's security settings and leverage the @vercel/functions
package for integration with third-party providers, like this:
import { awsCredentialsProvider } from '@vercel/functions/oidc';import * as s3 from '@aws/client-s3'; const s3client = new s3.S3Client({ credentials: awsCredentialsProvider({ roleArn: process.env.AWS_ROLE_ARN!, }),});
Learn more about OpenID Connect Federation in the documentation.
![Cover for Improvements to Runtime Logs](https://cdn.statically.io/img/vercel.com/_next/image?url=https%3A%2F%2Fassets.vercel.com%2Fimage%2Fupload%2Fcontentful%2Fimage%2Fe5382hct74si%2F7BLbk7zrY9DisWBBgas71H%2F55af45e2b58dcc7a0e93557d3c437fae%2FSearch_Params_in_Logs_Light.png&w=3840&q=95&dpl=dpl_7XLs8dgG5gQ3Q9R2oqwUSignHFBq)
![Cover for Improvements to Runtime Logs](https://cdn.statically.io/img/vercel.com/_next/image?url=https%3A%2F%2Fassets.vercel.com%2Fimage%2Fupload%2Fcontentful%2Fimage%2Fe5382hct74si%2F1uTVI4i38GuDAZijwJ39Sx%2F30ff74e65b4231ed61f6da4795b194aa%2FSearch_Params_in_Logs_Dark.png&w=3840&q=95&dpl=dpl_7XLs8dgG5gQ3Q9R2oqwUSignHFBq)
Runtime logs now have improved filtering and visibility of request details:
- Query Params Visibility: View query parameters for each request directly in the UI.
- Request ID Filtering: Filter logs by request ID using the new filter icon next to each ID.
These improvements are available to all Vercel customers.
Vite-based frameworks such as SvelteKit, Remix, Nuxt, or Astro can now more easily integrate with the Vercel Toolbar in both local and production environments. The Toolbar enables you to comment on deployments, toggle feature flags, view draft content from a CMS, and more.
The updated @vercel/toolbar
package offers a Vite plugin and client-side function for injection and configuration, and can be integrated like this:
import { vercelToolbar } from '@vercel/toolbar/plugins/vite';import { defineConfig } from 'vite';
export default defineConfig({ plugins: [/* others...*/ vercelToolbar()] // ...});
// in your framework's client entry point:import { mountVercelToolbar } from '@vercel/toolbar/vite';
mountVercelToolbar();
Check out the documentation to learn more.
Streaming will soon be enabled by default for all Node.js Vercel Functions.
This change will be effective for Hobby accounts starting July 8th, 2024; and for Pro and Enterprise accounts starting October 1st, 2024.
To enable streaming as the default immediately for all your Vercel Functions, set the VERCEL_FORCE_NODEJS_STREAMING
environment variable in your project to true
. Streaming will be enabled on your next deployment.
Streaming responses from functions will change the format and frequency of your runtime logs. If you are using Log Drains, you should ensure that your ingestion pipeline can handle the new format and increased frequency.
Check out this blog post and our streaming documentation for more details.