Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Dec 13, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@astrojs/vercel (source) 7.0.0 -> 8.0.0 age adoption passing confidence

Release Notes

withastro/adapters (@​astrojs/vercel)

v8.0.0

Compare Source

Major Changes
Minor Changes
  • #​424 3351348 Thanks @​ematipico! - Deprecates the entrypoints @astrojs/vercel/serverless and @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/vercel entrypoint as soon as you are able:

    -import vercel from "@​astrojs/vercel/static"
    +import vercel from "@​astrojs/vercel"
    -import vercel from "@​astrojs/vercel/serverless"
    +import vercel from "@​astrojs/vercel"
  • #​447 7d9835f Thanks @​laymonage! - Add support for Node 22 on Vercel serverless

  • #​385 bb725b7 Thanks @​florian-lefebvre! - Cleans up astro:env support

Patch Changes
  • #​437 b725b49 Thanks @​ematipico! - Fixes a regression where the @astrojs/vercel single entry point for the adapter was causing some regressions in users projects.

v7.8.2

Compare Source

Patch Changes

v7.8.1

Patch Changes

v7.8.0

Minor Changes
  • #​11728 5ea02b1 Thanks @​matthewp! - Deprecates the functionPerRoute option

    This 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 fc81b01 Thanks @​matthewp! - Prevent race condition with Node 18

    Using Node 18 there can be a race condition where polyfill for the crypto global is not applied in time. This change ensures the polyfills run first.

v7.7.2

Patch Changes

v7.7.1

Patch Changes

v7.7.0

Minor Changes

v7.6.0

Minor Changes

v7.5.4

Patch Changes

v7.5.3

Patch Changes

v7.5.2

Patch Changes

v7.5.1

Patch Changes

v7.5.0

Minor Changes

v7.4.0

Minor Changes
  • #​10476 cfbaa8a767b8794c2dcd8e164672195378be396a Thanks @​lilnasy! - 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().

v7.3.6

Patch Changes

v7.3.5

Patch Changes

v7.3.4

Patch Changes

v7.3.3

Patch Changes

v7.3.2

Patch Changes

v7.3.1

Patch Changes

v7.3.0

Minor Changes
  • #​9987 0699f34d5c4481c027c4d29d73944f79f97008df Thanks @​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 edgeMiddleware is enabled, the serverless function will now respond with 403 Forbidden for requests that are not verified to have come from the generated edge middleware. No user action is necessary.

v7.2.0

Minor Changes
  • #​9714 e2fe51c828dc7ea8204788e59e3953fe36c97836 Thanks @​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 isr to true in your Vercel adapter configuration in astro.config.mjs:

    export default defineConfig({
      output: 'server',
      adapter: vercel({ isr: true }),
    });

v7.1.1

Patch Changes

v7.1.0

Minor Changes
Patch Changes
  • #​9885 49e0c24d7f90d00e986533fcf546665967540ce7 Thanks @​matthewp! - Better ignores for Vercel file-tracer

    The 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:

    • Ignores happen within dot folders like .pnpm.
    • @libsql/client is ignored, a package we know is not bundled.

v7.0.2

Patch Changes

v7.0.1

Patch Changes

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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@vercel
Copy link

vercel bot commented Dec 13, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
send-transactions ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 13, 2024 4:12am

@renovate
Copy link
Contributor Author

renovate bot commented Dec 13, 2024

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 8.x releases. But if you manually upgrade to 8.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/astrojs-vercel-8.x branch December 13, 2024 04:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants