CHANGELOG.md 3.08 KB
Newer Older
Snorre Magnus Davøen's avatar
Snorre Magnus Davøen committed
1 2 3
# Change Log
All notable changes to this project will be documented in this file. This change log follows the conventions of [keepachangelog.com](http://keepachangelog.com/).

4 5
## [Unreleased]

Ivar Refsdal's avatar
Ivar Refsdal committed
6 7 8 9 10
## [v0.4.6] - 2020-01-16
### Changed
- Library should stay silent (DEBUG level) by default
- Log error level on failure

Ivar Refsdal's avatar
Ivar Refsdal committed
11 12 13 14 15
## [v0.4.5] - 2020-01-09
### Changed
- Bugfix signing function: Include kid in header by default.
- Support char arrays as jwks-url. This can be used to test without having to use files/URLs.

Ivar Refsdal's avatar
Ivar Refsdal committed
16 17 18 19
## [v0.4.4] - 2020-01-07
### Changed
- Be slightly more paranoid in scopes function.

20 21 22 23
## [v0.4.3] - 2020-01-07
### Added
- Add scopes function to extract jwt scopes from claims

Ivar Refsdal's avatar
Ivar Refsdal committed
24 25 26 27 28 29
## [v0.4.2] - 2020-01-07
### Changed
- Support multiple jwks endpoints is supported #3
- Give meaningful error message when jwks-url or token is nil #4
- Handle token starting with `Bearer ` gracefully #5

30 31 32 33 34
## [v0.4.1] - 2019-07-30
### Changed
- Use defonce to define keystore atom to prevent accidental redefinitions in upstream project's development
- Update dependencies to latest feature/patch versions

Snorre Magnus Davøen's avatar
Snorre Magnus Davøen committed
35
## [v0.4.0] - 2019-06-06
36 37 38 39 40 41 42 43
### Added
- New sign function to sign claims and generate JWTs based on private key in JWK
- resolve-public-key function replaces resolve-key function
- resolve-private-key function makes it possible to resolve private keys from JWKS

### Changed
- resolve-key funtion made private as it is now used by resolve-public-key and resolve-private-key

44 45 46 47 48 49 50 51
## [v0.3.2] - 2018-11-16
### Changed
- Changed log level from error to info for public key lookup error

## [v0.3.1] - 2018-11-08
### Changed
- Improved logging

Snorre Magnus Davøen's avatar
Snorre Magnus Davøen committed
52
## [v0.3.0] - 2018-09-20
53 54 55
### Changed
- Swapped argument order for unsign function to make partial application easier

Snorre Magnus Davøen's avatar
Snorre Magnus Davøen committed
56
## [v0.2.1] - 2018-09-20
57 58 59
### Added
- Error logging for failing key resolve

Snorre Magnus Davøen's avatar
Snorre Magnus Davøen committed
60
## [v0.2.0] - 2018-09-19
61 62 63 64
### Added
- Added specs for unsign and generator for ::jwt
- Added logging for retry in resolve-key function

Snorre Magnus Davøen's avatar
Snorre Magnus Davøen committed
65
## [v0.1.0] - 2018-09-18
Snorre Magnus Davøen's avatar
Snorre Magnus Davøen committed
66
### Added
67 68 69
- Initial implementation of clj-jwt library.
- Function `resolve-key` that fetches jwks keys and returns a PublicKey given the kid in the jwt header.
- Function `unsign` which tries to validate a jwt given a jwks URL and a jwt.
Snorre Magnus Davøen's avatar
Snorre Magnus Davøen committed
70

Ivar Refsdal's avatar
Ivar Refsdal committed
71 72
[Unreleased]: https://gitlab.nsd.no/clojure/clj-jwt/compare/v0.4.6...HEAD
[v0.4.6]: https://gitlab.nsd.no/clojure/clj-jwt/compare/v0.4.5...v0.4.6
Ivar Refsdal's avatar
Ivar Refsdal committed
73
[v0.4.5]: https://gitlab.nsd.no/clojure/clj-jwt/compare/v0.4.4...v0.4.5
Ivar Refsdal's avatar
Ivar Refsdal committed
74
[v0.4.4]: https://gitlab.nsd.no/clojure/clj-jwt/compare/v0.4.3...v0.4.4
Ivar Refsdal's avatar
Ivar Refsdal committed
75
[v0.4.3]: https://gitlab.nsd.no/clojure/clj-jwt/compare/v0.4.2...v0.4.3
Ivar Refsdal's avatar
Ivar Refsdal committed
76
[v0.4.2]: https://gitlab.nsd.no/clojure/clj-jwt/compare/v0.4.1...v0.4.2
77
[v0.4.1]: https://gitlab.nsd.no/clojure/clj-jwt/compare/v0.4.0...v0.4.1
78 79 80
[v0.4.0]: https://gitlab.nsd.no/clojure/clj-jwt/compare/v0.3.2...v0.4.0
[v0.3.2]: https://gitlab.nsd.no/clojure/clj-jwt/compare/v0.3.1...v0.3.2
[v0.3.1]: https://gitlab.nsd.no/clojure/clj-jwt/compare/v0.3.0...v0.3.1
Snorre Magnus Davøen's avatar
Snorre Magnus Davøen committed
81 82 83
[v0.3.0]: https://gitlab.nsd.no/clojure/clj-jwt/compare/v0.2.1...v0.3.0
[v0.2.1]: https://gitlab.nsd.no/clojure/clj-jwt/compare/v0.2.0...v0.2.1
[v0.2.0]: https://gitlab.nsd.no/clojure/clj-jwt/compare/v0.1.0...v0.2.0