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

🚀 [Feature]: Ability to use separate version #1235

Open
3 tasks done
KoNekoD opened this issue Mar 8, 2025 · 1 comment
Open
3 tasks done

🚀 [Feature]: Ability to use separate version #1235

KoNekoD opened this issue Mar 8, 2025 · 1 comment
Labels
✏️ Feature New feature or request

Comments

@KoNekoD
Copy link

KoNekoD commented Mar 8, 2025

Feature Description

Now the contrib version doesn't have the separation as in the original fiber

jwtware "github.com/gofiber/contrib/jwt"

I want to be able to easily switch between versions, for example I want to use jwt compatible with fiber 3.

So just change

jwtware "github.com/gofiber/contrib/v2/jwt"

To

jwtware "github.com/gofiber/contrib/v3/jwt"

What do you think guys?

Additional Context (optional)

No response

Code Snippet (optional)

Checklist:

  • I agree to follow Fiber's Code of Conduct.
  • I have checked for existing issues that describe my suggestion prior to opening this one.
  • I understand that improperly formatted feature requests may be closed without explanation.
@KoNekoD KoNekoD added the ✏️ Feature New feature or request label Mar 8, 2025
@gaby
Copy link
Member

gaby commented Mar 10, 2025

@KoNekoD Each contrib has it's own go.mod so the version goes at the end.

Example:

jwtware "github.com/gofiber/contrib/jwt/v2
jwtware "github.com/gofiber/contrib/jwt/v3

There's no go.mod file at the root of this repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✏️ Feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants