-
Notifications
You must be signed in to change notification settings - Fork 1
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
support fastify 3.x - node >=10 #2
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great PR thanks!
"fastify-plugin": "^2.2.0", | ||
"nats": "1.4.12", | ||
"nats-hemera": "^7.0.2", | ||
"tap": "^14.10.8" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a dev dep.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, reason for upgrade is that tests are using those too... at least fastify-plugin needs an upgrade to support fastify 3 - new tap comes with built in spec reporter
@mashpie Would you mind creating a simple Github Action to enable tests on push? It's also ok to do it afterward. |
Well, yes I could look into this. To me this looks a bit out-of-scope of the current PR. So for now I think the existing travis setup is just fine and working https://travis-ci.com/github/uscreen/fastify-hemera/builds/179037444 |
Alright 👍 |
@mashpie The new version was released https://github.com/hemerajs/fastify-hemera/releases/tag/v10.0.0 |
Thanks a lot for this module!
We've been using it successfully with fastify 2.x. Now as I was starting to check for upgrades and migration options I found fastify-hemera sticking to
^2.0.0
. Turned out to be working without change in 3.2.x. This PR is basically just changing that version to>=2.0.0
.But as I wanted proper tests I added some notes to readme and upgraded fastify and related dependencies. This introduced a new version of
server
which dropped support for node 8:That's why this PR also changes node support and covers versions from 10 to 14 in travis.