-
-
Notifications
You must be signed in to change notification settings - Fork 25
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 v3 #15
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.
I would point this branch to https://github.com/fastify/fastify-auth/pull/66/files as a dependency instead.
index.js
Outdated
@@ -64,6 +64,6 @@ function getAuthenticateHeader (authenticate) { | |||
} | |||
|
|||
module.exports = fp(basicPlugin, { | |||
fastify: '>=1.0.0', | |||
fastify: '>=3.0.0', |
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 could be >=3.x
now right?
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.
I would just do 3.x
package.json
Outdated
"fastify-auth": "^0.3.0", | ||
"standard": "^11.0.1", | ||
"tap": "^12.0.1" | ||
"fastify": "^3.0.0-alpha.1", |
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.
can use rc
here
package.json
Outdated
"standard": "^11.0.1", | ||
"tap": "^12.0.1" | ||
"fastify": "^3.0.0-alpha.1", | ||
"fastify-auth": "^0.7.2", |
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 needs to be published and then it can be updated with the new types @mcollina is fastify-auth ready to go? I can publish major if so
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 (I've updated this.
@Ethan-Arrowood can you take a look?
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
As titled.
@Ethan-Arrowood sorry if I took this one even if you put your name on it, but I'm working on a demo with Fastify v3 and I need this plugin ;)
Note: I've disabled the test with
fastify-auth
, as it's not ready for v3 yet.Checklist
npm run test
andnpm run benchmark