mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
cfbaa8a767
* deprecation(vercel): `vercel-edge-middleware.js` file * add changeset * `Astro.locals.waitUntil()` -> `Astro.locals.vercel.edge.waitUntil()` * export edge locals interface
5 lines
396 B
Markdown
5 lines
396 B
Markdown
---
|
|
"@astrojs/vercel": minor
|
|
---
|
|
|
|
The special-case handling of `src/vercel-edge-middleware.js` file is now deprecated. This file allowed you to access the edge runtime's `RequestContext` object, and create the middleware `locals` from its fields. However, this object includes only one field - the `waitUntil()` function - which is now available directly as `ctx.locals.vercel.edge.waitUntil()`.
|