|
| 1 | +# Change Log |
| 2 | + |
| 3 | + |
| 4 | +<a name="v2.0.0-beta"></a> |
| 5 | +## [v2.0.0-beta](https://github.com/auth0/go-jwt-middleware/tree/v2.0.0-beta) (2021-12-08) |
| 6 | + |
| 7 | +[Full Changelog](https://github.com/auth0/go-jwt-middleware/compare/v1.0.1...v2.0.0-beta) |
| 8 | + |
| 9 | +**BEFORE YOU UPGRADE** |
| 10 | + |
| 11 | +- This is a major release that includes breaking changes. Please see [MIGRATION_GUIDE](MIGRATION_GUIDE.md) before |
| 12 | +upgrading. This release will require changes to your application. |
| 13 | + |
| 14 | +### Added |
| 15 | + |
| 16 | +* Use github.com/pkg/errors ([#98](https://github.com/auth0/go-jwt-middleware/issues/98)) |
| 17 | +* Add a migration guide ([#99](https://github.com/auth0/go-jwt-middleware/issues/99)) |
| 18 | +* Add cookie token extractor ([#93](https://github.com/auth0/go-jwt-middleware/issues/93), [#63](https://github.com/auth0/go-jwt-middleware/issues/63)) |
| 19 | +* Add token validator using square/go-jose.v2 ([#84](https://github.com/auth0/go-jwt-middleware/issues/84), [#81](https://github.com/auth0/go-jwt-middleware/issues/81), [#79](https://github.com/auth0/go-jwt-middleware/issues/79), [#74](https://github.com/auth0/go-jwt-middleware/issues/74), [#53](https://github.com/auth0/go-jwt-middleware/issues/53)) |
| 20 | +* Add allowed signing algorithms in validator ([#128](https://github.com/auth0/go-jwt-middleware/pull/128)) |
| 21 | +* Add issuer and audience as required params in validator ([#119](https://github.com/auth0/go-jwt-middleware/pull/119)) |
| 22 | +* Add support for jwks |
| 23 | + |
| 24 | +### Changed |
| 25 | + |
| 26 | +* Update docs ([#72](https://github.com/auth0/go-jwt-middleware/issues/72)) |
| 27 | +* Reorganize imports across the project |
| 28 | +* Reorder fields to use less memory |
| 29 | +* Split jwtmiddleware into multiple files |
| 30 | + |
| 31 | +### Breaking |
| 32 | + |
| 33 | +* Simplify JWT library functionality into an interface ([#77](https://github.com/auth0/go-jwt-middleware/issues/77)) |
| 34 | +* Rename Claims to RegisteredClaims in validator pkg |
| 35 | +* Refactor main middleware ([#90](https://github.com/auth0/go-jwt-middleware/issues/90), [#51](https://github.com/auth0/go-jwt-middleware/issues/51), [#51](https://github.com/auth0/go-jwt-middleware/issues/52)) |
| 36 | +* Write back error messages on DefaultErrorHandler |
| 37 | + |
| 38 | +### Fixed |
| 39 | + |
| 40 | +* Fix code smells and code style |
| 41 | + |
| 42 | + |
| 43 | +<a name="v1.0.1"></a> |
| 44 | +## [v1.0.1](https://github.com/auth0/go-jwt-middleware/tree/v1.0.1) (2021-06-21) |
| 45 | + |
| 46 | +[Full Changelog](https://github.com/auth0/go-jwt-middleware/compare/v1.0.0...v1.0.1) |
| 47 | + |
| 48 | +### Added |
| 49 | + |
| 50 | +* Add .github Setup ([#85](https://github.com/auth0/go-jwt-middleware/issues/85)) |
| 51 | + |
| 52 | +### Changed |
| 53 | + |
| 54 | +* Update how to handle jwtMiddleware in Martini ([#78](https://github.com/auth0/go-jwt-middleware/issues/78)) |
| 55 | +* Isolate example-only dependencies ([#94](https://github.com/auth0/go-jwt-middleware/issues/94)) |
| 56 | + |
| 57 | +### Fixed |
| 58 | + |
| 59 | +* Fix broken blog link ([#83](https://github.com/auth0/go-jwt-middleware/issues/83)) |
| 60 | + |
| 61 | + |
| 62 | +<a name="v1.0.0"></a> |
| 63 | +## [v1.0.0](https://github.com/auth0/go-jwt-middleware/tree/v1.0.0) (2021-01-06) |
| 64 | + |
| 65 | +### Added |
| 66 | + |
| 67 | +* Add algorithm check as option |
| 68 | +* Wrap errors with %w instead of %v ([#68](https://github.com/auth0/go-jwt-middleware/issues/68)) |
| 69 | +* Use builtin request context |
| 70 | +* Support Go modules ([#65](https://github.com/auth0/go-jwt-middleware/issues/65)) |
| 71 | +* Add a simple function for logging |
| 72 | +* Add ability to disable auth for preflight requests |
| 73 | +* Add JWT Middleware for Go |
| 74 | +* Add valid check |
| 75 | +* Add a bunch of different ways to extract a token from a request |
| 76 | +* Add additional documentation |
| 77 | +* Add Martini example |
| 78 | +* Add a test case using negroni |
| 79 | + |
| 80 | +### Changed |
| 81 | + |
| 82 | +* Update FromAuthHeader to use strings.Fields instead of splitting strings by space to make parsing logic more robust |
| 83 | +([#11](https://github.com/auth0/go-jwt-middleware/issues/11)) |
| 84 | +* Replace "github.com/codegangsta/negroni" ([#32](https://github.com/auth0/go-jwt-middleware/issues/32)) |
| 85 | +* Reformat examples to use new Claims type ([#57](https://github.com/auth0/go-jwt-middleware/issues/57)) |
| 86 | +* Refactor code to use logf method |
| 87 | +* Disabling auth on OPTIONS now default behavior |
| 88 | +* Basic cleanups for golint ([#56](https://github.com/auth0/go-jwt-middleware/issues/56)) |
| 89 | + |
| 90 | + |
| 91 | +### Fixed |
| 92 | + |
| 93 | +* Fix CredentialsOptional flag being ignored |
| 94 | +* Fix the examples |
| 95 | + |
| 96 | + |
| 97 | +### Security |
| 98 | + |
| 99 | +* Update jwt-go to v4 to address CVE-2020-26160 ([#69](https://github.com/auth0/go-jwt-middleware/issues/69)) |
0 commit comments