diff --git a/CHANGELOG.md b/CHANGELOG.md index c13cf976..a6ae62b0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,11 @@ ### [unreleased] * no changes yet +### [4.5.2] (2022-02-08) +* (all) upgrade openapi to 1.6.6 +* (all) upgrade nimbus-jose-jwt to 9.19 +* (redis) upgrade jedis to 4.1.1 + ### [4.5.1] (2022-01-25) * (all) upgrade bouncycastle to 1.70 * (all) upgrade openapi to 1.6.5 @@ -142,7 +147,8 @@ * Initial release to github and maven central -[unreleased]: https://github.com/bratkartoffel/security-jwt/compare/4.5.0...develop +[unreleased]: https://github.com/bratkartoffel/security-jwt/compare/4.5.2...develop +[4.5.2]: https://github.com/bratkartoffel/security-jwt/compare/4.5.1...4.5.2 [4.5.1]: https://github.com/bratkartoffel/security-jwt/compare/4.5.0...4.5.1 [4.5.0]: https://github.com/bratkartoffel/security-jwt/compare/4.4.2...4.5.0 [4.4.2]: https://github.com/bratkartoffel/security-jwt/compare/4.4.1...4.4.2 diff --git a/README.md b/README.md index 9de0b1b5..0d1b2887 100644 --- a/README.md +++ b/README.md @@ -49,13 +49,13 @@ should be sufficient for the most use cases. eu.fraho.spring security-jwt-base - 4.5.1 + 4.5.2 eu.fraho.spring security-jwt-base-spring-boot-starter - 4.5.1 + 4.5.2 ``` @@ -68,27 +68,27 @@ When you want to add refresh token support, then choose one of the following dep eu.fraho.spring security-jwt-internal - 4.5.1 + 4.5.2 eu.fraho.spring security-jwt-memcache - 4.5.1 + 4.5.2 eu.fraho.spring security-jwt-hibernate - 4.5.1 + 4.5.2 eu.fraho.spring security-jwt-redis - 4.5.1 + 4.5.2 eu.fraho.spring security-jwt-files - 4.5.1 + 4.5.2 ``` diff --git a/build.gradle b/build.gradle index c6035f2d..534c9795 100644 --- a/build.gradle +++ b/build.gradle @@ -176,15 +176,17 @@ task jacocoRootReport(type: JacocoReport) { } // dependencyUpdates should only suggest released versions -dependencyUpdates.resolutionStrategy { - componentSelection { rules -> - rules.all { ComponentSelection selection -> - boolean rejected = ['alpha', 'beta', 'rc', 'cr', 'm', 'preview'].any { qualifier -> - selection.candidate.version ==~ /(?i).*[.-]${qualifier}[.\d-]*/ - } - if (rejected) { - selection.reject('Release candidate') - } - } +static boolean isStable(String version) { + boolean result = ['alpha', 'beta', 'rc', 'cr', 'm', 'preview', 'snapshot'].any { + version ==~ /(?i).*[.-]$it[.\-\d]*/ } + return !result } + +tasks.named("dependencyUpdates").configure { + gradleReleaseChannel = 'current' + revision = 'integration' + rejectVersionIf { + !isStable(it.candidate.version) && isStable(it.currentVersion) + } +} \ No newline at end of file diff --git a/files/README.md b/files/README.md index e0887fa0..f0967ac7 100644 --- a/files/README.md +++ b/files/README.md @@ -7,7 +7,7 @@ This module adds support for storing refresh tokens within an simple json docume eu.fraho.spring security-jwt-files - 4.5.1 + 4.5.2 ``` diff --git a/gradle.properties b/gradle.properties index c6b55c74..268a046c 100644 --- a/gradle.properties +++ b/gradle.properties @@ -4,18 +4,18 @@ springBootVersion=2.0.0.RELEASE lombokPluginVersion=6.3.0 testLoggerPluginVersion=3.1.0 -versionsPluginVersion=0.41.0 +versionsPluginVersion=0.42.0 # dependencies bouncyCastleVersion=1.70 commonsCodecVersion=1.15 expiringMapVersion=0.5.10 jacksonVersion=2.13.1 -jedisVersion=4.0.1 -nimbusJwtVersion=9.16 -openApiVersion=1.6.5 +jedisVersion=4.1.1 +nimbusJwtVersion=9.19 +openApiVersion=1.6.6 spyMemcachedVersion=2.12.3 # test only (internal) dependencies h2Version=1.4.200 jacocoVersion=0.8.7 jupiterVersion=5.8.2 -mockitoVersion=4.3.0 +mockitoVersion=4.3.1 diff --git a/hibernate/README.md b/hibernate/README.md index 63879076..5c1edcaa 100644 --- a/hibernate/README.md +++ b/hibernate/README.md @@ -13,7 +13,7 @@ for rows you have to regularly cleanup the token table, e.g. by using a cronjob. eu.fraho.spring security-jwt-hibernate - 4.5.1 + 4.5.2 ``` diff --git a/internal/README.md b/internal/README.md index 288b406f..cbf302aa 100644 --- a/internal/README.md +++ b/internal/README.md @@ -7,7 +7,7 @@ This module adds support for storing refresh tokens within an in-memory storage. eu.fraho.spring security-jwt-internal - 4.5.1 + 4.5.2 ``` diff --git a/memcache/README.md b/memcache/README.md index 644cbdba..ac23fe81 100644 --- a/memcache/README.md +++ b/memcache/README.md @@ -9,7 +9,7 @@ Please note that the memcache-plugin needs an external memcached server. eu.fraho.spring security-jwt-memcache - 4.5.1 + 4.5.2 ``` diff --git a/redis/README.md b/redis/README.md index e631bd23..25f9708a 100644 --- a/redis/README.md +++ b/redis/README.md @@ -9,7 +9,7 @@ Please note that the redis-plugin needs an external redisd server. eu.fraho.spring security-jwt-redis - 4.5.1 + 4.5.2 ``` diff --git a/version.txt b/version.txt index 4404a17b..6cedcff6 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -4.5.1 +4.5.2