-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Need help in migrating Hapi application to v20.0.1 #4480
Comments
For major releases we have detailed migration explanations in GitHub issues labelled with "Breaking changes" and "Release notes" labels. Here are the one you'll need to go through considering your starting point and the destination version:
I don't think there is an automated or quick way for you to move from v16 API to v17+ API as the move to async/await kind of impacted the way you write your handlers. I'll close this issue but we can keep the discussion going if needed. |
Runtime
Node.js
Runtime version
v16.20.2
Module version
^20.0.1
Used with
Hapi application
Any other relevant information
No response
How can we help?
I need to migrate a hapi.js application from v16.4.3 to ^20.0.1.
Since there are major changes made in v17.0.0 including reply() interface upgradation. Is there any optimal way to replace
return reply()
toreturn reply.reponse()
in all the handlers?The text was updated successfully, but these errors were encountered: