Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

JSON Web Token for Go [RFC 7519](https://tools.ietf.org/html/rfc7519), also see [jwt.io](https://jwt.io) for more.

The latest version is `v5`.
The latest version is `v6`.

## Rationale

Expand All @@ -33,10 +33,10 @@ See [GUIDE.md](https://github.com/cristalhq/jwt/blob/main/GUIDE.md) for more det

## Install

Go version 1.17+
Go version 1.24+

```
go get github.com/cristalhq/jwt/v5
go get github.com/cristalhq/jwt/v6
```

## Example
Expand Down Expand Up @@ -108,8 +108,8 @@ See [these docs][pkg-url].

[build-img]: https://github.com/cristalhq/jwt/workflows/build/badge.svg
[build-url]: https://github.com/cristalhq/jwt/actions
[pkg-img]: https://pkg.go.dev/badge/cristalhq/jwt/v5
[pkg-url]: https://pkg.go.dev/github.com/cristalhq/jwt/v5
[pkg-img]: https://pkg.go.dev/badge/cristalhq/jwt/v6
[pkg-url]: https://pkg.go.dev/github.com/cristalhq/jwt/v6
[reportcard-img]: https://goreportcard.com/badge/cristalhq/jwt
[reportcard-url]: https://goreportcard.com/report/cristalhq/jwt
[coverage-img]: https://codecov.io/gh/cristalhq/jwt/branch/main/graph/badge.svg
Expand Down
2 changes: 1 addition & 1 deletion example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"time"

"github.com/cristalhq/jwt/v5"
"github.com/cristalhq/jwt/v6"
)

func Example_signAndVerify() {
Expand Down
6 changes: 2 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
module github.com/cristalhq/jwt/v5
module github.com/cristalhq/jwt/v6

go 1.19

retract [v5.2.0, v5.3.0] // check 'typ' is too strict (see https://github.com/cristalhq/jwt/pull/150)
go 1.24
2 changes: 1 addition & 1 deletion jwt_bench_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"testing"
"time"

"github.com/cristalhq/jwt/v5"
"github.com/cristalhq/jwt/v6"
)

func BenchmarkAlgEDSA(b *testing.B) {
Expand Down
Loading