fix(deps): update dependency @astrojs/vercel to v8 #662
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
7.0.0->8.0.0Release Notes
withastro/adapters (@astrojs/vercel)
v8.0.0Compare Source
Major Changes
#375
e7881f7Thanks @Princesseuh! - Updates internal code to works with Astro 5 changes to hybrid rendering. No changes are necessary to your project, apart from using Astro 5#397
776a266Thanks @Princesseuh! - Welcome to the Astro 5 beta! This release has no changes from the latest alpha of this package, but it does bring us one step closer to the final, stable release.Starting from this release, no breaking changes will be introduced unless absolutely necessary.
To learn how to upgrade, check out the Astro v5.0 upgrade guide in our beta docs site.
#377
b77f99cThanks @alexanderniebuhr! - Updates the adapter to use newIntegrationRouteDatatype#451
f248546Thanks @ematipico! - Updates esbuild dependency to v0.24.0#384
7d83f60Thanks @bluwy! - Removes deprecatedspeedInsightsoption in favor of Vercel's direct support: https://vercel.com/docs/speed-insights/quickstart#392
3a49eb7Thanks @Princesseuh! - Updates internal code for Astro 5 changes. No changes is required to your project, apart from using Astro 5Minor Changes
#424
3351348Thanks @ematipico! - Deprecates the entrypoints@astrojs/vercel/serverlessand@astrojs/vercel/static. These will continue to work but are no longer documented and will be removed in a future version. We recommend updating to the@astrojs/vercelentrypoint as soon as you are able:#447
7d9835fThanks @laymonage! - Add support for Node 22 on Vercel serverless#385
bb725b7Thanks @florian-lefebvre! - Cleans upastro:envsupportPatch Changes
b725b49Thanks @ematipico! - Fixes a regression where the@astrojs/vercelsingle entry point for the adapter was causing some regressions in users projects.v7.8.2Compare Source
Patch Changes
5b802a4Thanks @hrabiel! - Fix excluding routes with rest parameters from ISRv7.8.1Patch Changes
46fbb26Thanks @matthewp! - Prevent crawling for dependencies outside of the workspace rootv7.8.0Minor Changes
#11728
5ea02b1Thanks @matthewp! - Deprecates thefunctionPerRouteoptionThis option is now deprecated, and will be removed entirely in Astro v5.0. We suggest removing this option from your configuration as soon as you are able to:
import { defineConfig } from 'astro/config'; import vercel from '@​astrojs/vercel/serverless'; export default defineConfig({ // ... output: 'server', adapter: vercel({ - functionPerRoute: true, }), });Patch Changes
#11783
fc81b01Thanks @matthewp! - Prevent race condition with Node 18Using Node 18 there can be a race condition where polyfill for the
cryptoglobal is not applied in time. This change ensures the polyfills run first.v7.7.2Patch Changes
#11323
41064ceThanks @ascorbic! - Extracts fs helpers into shared internal-helpers module#11296
5848d97Thanks @florian-lefebvre! - Fixesastro:envgetSecret compatibilityUpdated dependencies [
41064ce]:v7.7.1Patch Changes
#11261
f5f8ed2Thanks @matthewp! - Fix backwards compat with Astro <= 4.9#11227
24ce898Thanks @matthewp! - In Vercel Edge, include cookies set by Astro.cookies.setv7.7.0Minor Changes
2bdca27Thanks @florian-lefebvre! - Adds support for experimentalastro:envreleased in Astro 4.10v7.6.0Minor Changes
f0acd30Thanks @ematipico! - Implements the vercel skew protectionv7.5.4Patch Changes
8d5f3e8Thanks @renovate! - Updatesesbuilddependency to v0.20. This should not affect projects in most cases.v7.5.3Patch Changes
#10756
c75ededdb401cfa55e1ad2682d5e95494f49604eThanks @Princesseuh! - Fixeswidthsanddensitiesnot working when using Vercel's Image Optimization.Note that you still need to make sure that the widths you're outputting are enabled in the
imageConfigproperty of the Vercel adapter in order for these properties to work.v7.5.2Patch Changes
a9a3694a98060be9a33045bb0fcf92ccf1acff6fThanks @jacobdalamb! - Updates the supported version of Node.jsv7.5.1Patch Changes
31590d44ef8b7c96a757e9b835144d57d767383cThanks @matthewp! - Move nft warnings behind verbose loggingv7.5.0Minor Changes
a573cc199a00d35410197ba4117c97764a984dc0Thanks @tk04! - Theisr.excludeconfiguration can now include routes with dynamic and spread parameters.v7.4.0Minor Changes
cfbaa8a767b8794c2dcd8e164672195378be396aThanks @lilnasy! - The special-case handling ofsrc/vercel-edge-middleware.jsfile is now deprecated. This file allowed you to access the edge runtime'sRequestContextobject, and create the middlewarelocalsfrom its fields. However, this object includes only one field - thewaitUntil()function - which is now available directly asctx.locals.vercel.edge.waitUntil().v7.3.6Patch Changes
1ea0a25b94125e4f6f2ac82b42f638e22d7bdffd]:v7.3.5Patch Changes
f2e60a96754ed1d86001fe4d5d3a0c0ef657408dThanks @FredKSchott! - Fixes an issue that was preventing the use ofsharpin some cases and causing a runtime errorv7.3.4Patch Changes
ae2a10e1a768e31d243194694222932ffafb54ccThanks @mingjunlu! - Fixes an issue where functions were also created for prerendered routes withfunctionPerRouteenabled.v7.3.3Patch Changes
a013182d322a3969e39d647aad75ec10f8bd1ed7Thanks @matthewp! - Fixes edge middleware calling nested routesv7.3.2Patch Changes
3cc20109277813ccb9578ca87a8b0d680a73c35cThanks @matthewp! - Fix loading client-scripts in dev with ISRv7.3.1Patch Changes
2ffc5721bc22631c44d90ac43ec27fdb0b5b2d1bThanks @florian-lefebvre! - Prevents infinite redirects when AstrotrailingSlashconfiguration is set to"always"and "vercel.json"trailingSlashconfiguration is set totruev7.3.0Minor Changes
#9987
0699f34d5c4481c027c4d29d73944f79f97008dfThanks @lilnasy! - Implements verification for edge middleware. This is a security measure to ensure that your serverless functions are only ever called by your edge middleware and not a third party.When
edgeMiddlewareis enabled, the serverless function will now respond with403 Forbiddenfor requests that are not verified to have come from the generated edge middleware. No user action is necessary.v7.2.0Minor Changes
#9714
e2fe51c828dc7ea8204788e59e3953fe36c97836Thanks @lilnasy! - Introduces a new config option,isr, that allows you to deploy your project as an ISR function. ISR (Incremental Static Regeneration) caches your on-demand rendered pages in the same way as prerendered pages after first request.To enable this feature, set
isrto true in your Vercel adapter configuration inastro.config.mjs:v7.1.1Patch Changes
bc1742df9423ba66e33dcbf65fbebf67a236175dThanks @matthewp! - Fix regression with bundling of @libsql/clientv7.1.0Minor Changes
041fdd5c89920f7ccf944b095f29e451f78b0e28Thanks @ematipico! - Adds experimental support for internationalization domainsPatch Changes
#9885
49e0c24d7f90d00e986533fcf546665967540ce7Thanks @matthewp! - Better ignores for Vercel file-tracerThe Vercel adapter has a file-tracer it uses to detect which files should be moved over to the
dist/folder. When it's done, it prints warnings for things that it detected that maybe should be moved.This change expands how we do ignores so that:
.pnpm.@libsql/clientis ignored, a package we know is not bundled.v7.0.2Patch Changes
3435b7f1e1ca38fdee8f3b89e2d2667f125d01b5Thanks @lilnasy! - Fixes an issue where the serverless function ignored cookies added using Astro.cookies.v7.0.1Patch Changes
05adaaa2d217a3ecb34244d9b40603f35cef4a37Thanks @lilnasy! - Fixes an issue where edge middleware did not work.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled because a matching PR was automerged previously.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.