Skip to content
This repository has been archived by the owner on Oct 12, 2020. It is now read-only.

HAPI v17 migration #3

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

HAPI v17 migration #3

wants to merge 3 commits into from

Conversation

HEYGUL
Copy link

@HEYGUL HEYGUL commented Apr 3, 2018

Migrate the plugin to work with HAPI v17

Related to #2

Guillaume Lagorce added 3 commits April 3, 2018 20:39
- use const/let instead of var
- use async/await instead of callbacks
- conform to HAPI v17 plugin API (see [HAPI v17 release notes for detail](hapijs/hapi#3658))
@HEYGUL
Copy link
Author

HEYGUL commented Apr 3, 2018

I just saw TravisCI is running tests against node 4 and 6 versions beside newer ones.
I did not keep compatibility with those old versions, if it is a major issue for you, I might take time to keep compatibility.

@justin-lovell
Copy link
Owner

Hi there! Thank you for submitting the PR; I'm pretty excited about and looked at it, and it appears comprehensive.

For the failing build, let me do some homework to separate out the HAPI pre-17, and as soon as I'm complete, we will release your PR. (I will look at this in 10 hours)

Once again, thank you.

@antony
Copy link

antony commented May 4, 2018

HapiJS v17 requires node v8 so there is no point testing against anything < 8.

I think it would be fair to just add a readme item to say that for Hapi < 17, use the 1.x.x series of this plugin, and for v17 and newer, use the 2.x.x series.

Excited to see this merged so I can upgrade to v17!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants