Hapi: Review the new v17 โœจ

Created on 19 Oct 2017  ยท  5Comments  ยท  Source: hapijs/hapi

v17 is coming closer and main reason you can help right now is using the latest rc and checking/verifying the docs โœ๏ธ (the rendering of the docs can be messy in some places but a fix for that is coming ^^)
You can install the latest version using npm i [email protected] ๐Ÿš€
v17 requires node 8 (or greater) and has a lot of breaking changes.
You can get a glance of them over at https://github.com/hapijs/hapi/milestone/221
Be aware that probably no current plugin will work anymore (the official hapi plugins almost all have a version now which is compatible though).
You can also start updating your own plugins to be compatible with v17 since no major breaking changes are expected anymore and let maintainers of plugins know v17 is on its way.

If you have any questions post them here or join us in the hapi hour slack. If you find bugs open a new issue. If you have updates/improvements for the docs just open a PR ๐Ÿ™…

๐Ÿ‘‰ Eran spent a lot of time and effort on this release, if you or your company wants to sponsor take a look at https://github.com/hapijs/hapi/issues/3588 ๐Ÿ‘Œ

documentation

Most helpful comment

@AdriVanHoudt We are working on a compatibility plugin for Hapi which adds support for 16.x compatible plugins by recursively wrapping registers and maybe show a warn about migration. Working on more things will keep this thread updated :)

image

BTW really good improvements with rc8 ๐Ÿ‘

All 5 comments

@AdriVanHoudt We are working on a compatibility plugin for Hapi which adds support for 16.x compatible plugins by recursively wrapping registers and maybe show a warn about migration. Working on more things will keep this thread updated :)

image

BTW really good improvements with rc8 ๐Ÿ‘

@pi0 sounds cool ๐Ÿ”ฅ

Also, every section in API.md should have an example. Feel free to submit PRs adding those in.

As an update just released the initial version of hapi-compat which for now targets migration to 17.x. It is for sure missing many many things, but at least provides a way to see what's incompatible inside exciting projects and hopefully speeding up upgrade process...

This is moving to normal ongoing effort.

Was this page helpful?
0 / 5 - 0 ratings