Skip to content
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

Merged
merged 10 commits into from
May 8, 2020
Merged

Support fastify v3 #15

merged 10 commits into from
May 8, 2020

Conversation

delvedor
Copy link
Member

@delvedor delvedor commented Apr 26, 2020

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

  • run npm run test and npm run benchmark
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message and code follows Code of conduct

Copy link
Member

@mcollina mcollina left a 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',
Copy link
Member

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?

Copy link
Member

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",
Copy link
Member

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",
Copy link
Member

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

Copy link
Member

@mcollina mcollina left a 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?

Copy link
Member

@Ethan-Arrowood Ethan-Arrowood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mcollina mcollina merged commit 4a067df into master May 8, 2020
@jsumners jsumners deleted the support-fastify-v3 branch April 27, 2022 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants