-
Notifications
You must be signed in to change notification settings - Fork 209
Release v3.0.0-beta.0 #367
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
Conversation
- Update CHANGELOG.md with v3.0.0-beta.0 release notes - Add migration example showing v2 vs v3 usage - Update .version to v3.0.0-beta.0
- Update MIGRATION.md references to MIGRATION_GUIDE.md
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## v3 #367 +/- ##
=====================================
Coverage ? 96.55%
=====================================
Files ? 18
Lines ? 1508
Branches ? 0
=====================================
Hits ? 1456
Misses ? 34
Partials ? 18 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
- github.com/goccy/go-json v0.10.3 => v0.10.5 - github.com/lestrrat-go/httprc/v3 v3.0.1 => v3.0.3 - github.com/valyala/fastjson v1.6.4 => v1.6.7 - golang.org/x/crypto v0.45.0 => v0.46.0 - golang.org/x/sys v0.38.0 => v0.40.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.
Pull request overview
This PR prepares the v3.0.0-beta.0 release, updating version metadata and fixing documentation references. The release represents a major version upgrade with breaking changes including a pure options pattern, migration to lestrrat-go/jwx v3, and type-safe claims retrieval with generics.
Key Changes:
- Updated version number from v2.3.1 to v3.0.0-beta.0
- Added comprehensive v3.0.0-beta.0 release notes to CHANGELOG.md
- Fixed incorrect migration guide references from
MIGRATION.mdtoMIGRATION_GUIDE.md
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| .version | Updated version number from v2.3.1 to v3.0.0-beta.0 |
| CHANGELOG.md | Added v3.0.0-beta.0 release entry with detailed breaking changes, additions, and migration examples |
| README.md | Fixed migration guide reference from incorrect MIGRATION.md to correct MIGRATION_GUIDE.md |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- actions/checkout v5 => v6 (except govulncheck, kept at v5 to avoid auth conflict) - actions/setup-go v6 => v6.1.0 - codecov/codecov-action 5.5.1 => 5.5.2 - golangci/golangci-lint-action v9.1.0 => v9.2.0
740c008 to
8b6f962
Compare
BEFORE YOU UPGRADE
Added
GetClaims[T](),MustGetClaims[T](),HasClaims())log/slogChanged
github.com/auth0/go-jwt-middleware/v3(#355)Breaking
New()) now require functional options instead of positional parametersContextKey{}is no longer exported - useGetClaims[T]()helper functionTokenExtractorreturnsExtractedToken(with scheme) instead ofstringExclusionUrlHandlerrenamed toExclusionURLHandlerMigration Example
v2:
v3:
See MIGRATION_GUIDE.md for complete migration instructions.