-
-
Notifications
You must be signed in to change notification settings - Fork 195
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
Fix tests with node 15 #228
Conversation
de68a6d
to
cdbcdf8
Compare
cdbcdf8
to
40228a6
Compare
@kwhitley Is it possible to merge this PR? |
@Chocobozzz Maybe we should remove node 6 support since the CI tests are broken there? I think that all support for node <9 should be removed, but I guess that's out of scope for this PR :) |
@kontrollanten Agreed with you, node v6 could be serenely removed. Like some other users (I guess) I'd like to use the latest Node LTS version (v14), is it possible for you @kwhitley to push -up this urgent topic? |
Co-authored-by: kontrollanten <[email protected]>
Co-authored-by: kontrollanten <[email protected]>
- 10 | ||
- 11 | ||
- 12 | ||
- 14 |
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.
👍
As far as I understand the failing tests is due to a race condition in |
I fixed the expiration tests |
Thanks for the fix @Chocobozzz! I got to the failing point yesterday and had to shelve it again... I'm going to release this (sadly) as a major version, as it absolutely breaks backwards compat (by dropping old Node versions). The only question is whether to even try to maintain restify support within this new scope. If no one uses it, better to drop support along with the old Node versions to simplify the codebase and make future support less painful. Thoughts? |
FWIW I use this with Restify in production, and would hate to see that support dropped... :/ |
@kwhitley I don't have these errors, and neither does travis. What is your nodejs version? This PR was just fixing tests and add node 15 support, not removing node 6 support. I think we should just merge the test fixes, support node 15 and keep compat' with restify and node 6. They worked in 1.5.2 so I don't see why they would not work anymore now. |
Agreed with what you said @Chocobozzz. |
What do you think @kwhitley? |
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.
LGTM
Any update for the new release? |
Merged and going out tonight... thanks so much @Chocobozzz and everyone else for your patience! <3 Sincerest apologies for how ridiculously long this has taken to push through... I've been swamped with a few other libraries and my upcoming Cloudflare Workers work (on top of full time job)! Cheers all and thanks again! |
No problem thanks for you work and your lib @kwhitley 😽 |
Please after the merge, could you create a patch release?
It blocks node upgrade of projects that uses your library: Chocobozzz/PeerTube#2700
Thanks for your work :)