Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WARN] [deprecated] The adapter astro-vercel-edge is using a deprecated signature of the 'app.render()' method. #1

Closed
bizz84 opened this issue Apr 22, 2024 · 1 comment · Fixed by #2

Comments

@bizz84
Copy link

bizz84 commented Apr 22, 2024

I'm using this library to deploy my Astro site with Vercel Edge.

Since Astro 4.x, my Vercel logs show a bunch of warnings about this issue:

11:51:06 [WARN] [deprecated] The adapter astro-vercel-edge is using a deprecated signature of the 'app.render()' method. From Astro 4.0, locals and routeData are provided as properties on an optional object to this method. Using the old signature will cause an error in Astro 5.0. See withastro/astro#9199 for more information.

Example:

Xnapper-2024-04-22-10 37 23

The relevant change was merged here:

Accordingly, I believe this library should be updated as well.

@mayank99 thank you so much for creating this library, I've been happily using it in production!

@mayank99
Copy link
Owner

Fixed in 1.0.4

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 a pull request may close this issue.

2 participants