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

fix: prepare for astro 5.0 #120

Merged
merged 1 commit into from
Jan 21, 2024
Merged

fix: prepare for astro 5.0 #120

merged 1 commit into from
Jan 21, 2024

Conversation

mseele
Copy link
Contributor

@mseele mseele commented Jan 18, 2024

remove warning:

[deprecated] The adapter @astro-aws/adapter 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.

remove warning:

[deprecated] The adapter @astro-aws/adapter 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.
@mseele
Copy link
Contributor Author

mseele commented Jan 18, 2024

@lukeshay, this PR switches from the deprecated app.render() method to the one that will work in astro 5.0. The new method is already been available in astro 4.0.

@lukeshay lukeshay merged commit bf856f3 into lukeshay:main Jan 21, 2024
0 of 10 checks passed
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