Hapi v17 Support
See original GitHub issueOverview
If you are not aware yet, Hapi v17 is making the transition from callbacks to async
/await
, as well as deprecating some other rarely used functionality. This is a breaking change that may make your plugin no longer compatible with the Hapi API.
Changelog
Draft release notes can be found here: https://github.com/hapijs/hapi/issues/3658
Target Release
The target release date for v17 is the beginning of November.
Tasks
- Reply to this to acknowledge that you are actively maintaining this module and are willing to update it
- Update plugin to be fully
async
/await
compatible using thev17
branch from Hapi for testingPossible dev flow for updating
- Clone Hapi
npm link
within the Hapi reponpm link hapi
within your plugin repo- Your plugin will now be using
v17
of Hapi branch for tests
- Release new major version of your plugin on
npm
. Please use a major version increment as this will be a breaking change and it would be terrible for it to sneak into current versions of Hapi.
Notes
- Support is being dropped for all versions of Node
<8.0.0
. - Hapi
v16
will continue to be supported for as long as there exists a Node LTS actively being supported that is not compatible withv17
. - Targeted release date is November 1st, 2017. Please try to have your plugin updated before then.
- This issue is being opened because your plugin is listed on the official hapi website
Issue Analytics
- State:
- Created 6 years ago
- Reactions:18
- Comments:9 (1 by maintainers)
Top Results From Across the Web
17.0.0 Release Notes · Issue #3658 · hapijs/hapi - GitHub
I am extremely grateful for their support. Lob enables you to seamlessly print and mail documents, postcards, checks, and more via an API....
Read more >Changelog - hapi.dev
Changelog ; #4347. Update hapijs/statehood to 7.0.4 from 7.0.3 ; #4345. Fix memory leaks from teamwork long standing notes ; #4314. Fix tests...
Read more >hapi — v17 Upgrade Guide (Your Move to async/await)
With v17, hapi has full end-to-end support for async/await . ... This hapi v17 migration guide is your helping hand to get your...
Read more >Thinking about updating your Hapi.JS server to V17? | YLD Blog
Thinking about updating your Hapi.JS server to V17? ... There are quite some changes with the latest HAPI.js version that are worth taking...
Read more >hapi-and-healthy - npm
x.x only supports hapi v17 and above! This Hapi.js plugin provides a configurable route for /service-status ( /health ) API reporting which ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’ve added a PR https://github.com/glennjones/hapi-swagger/pull/481 that still needs work. Most of the unit test are passing minus the tests that are dependent on 3rd party plugins which have not yet upgraded to
v17
. Hopefully it’s a starting point that helps @glennjones or others to use.I’ll continue working on the PR as I have time and if @glennjones doesn’t have objections.
Hi - sorry about the delay working 6/7 day weeks at the moment. I have a free block of 3-4 hours on Wednesday 22nd. I will have a look at then.