mirror of https://github.com/jwtk/jjwt.git
Released 0.12.5 (#918)
* Preparing for 0.12.5 release * [maven-release-plugin] prepare release 0.12.5 * [maven-release-plugin] prepare for next development iteration
This commit is contained in:
parent
a0a123e848
commit
efffa86b8d
26
README.md
26
README.md
|
@ -543,18 +543,18 @@ If you're building a (non-Android) JDK project, you will want to define the foll
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.jsonwebtoken</groupId>
|
<groupId>io.jsonwebtoken</groupId>
|
||||||
<artifactId>jjwt-api</artifactId>
|
<artifactId>jjwt-api</artifactId>
|
||||||
<version>0.12.4</version>
|
<version>0.12.5</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.jsonwebtoken</groupId>
|
<groupId>io.jsonwebtoken</groupId>
|
||||||
<artifactId>jjwt-impl</artifactId>
|
<artifactId>jjwt-impl</artifactId>
|
||||||
<version>0.12.4</version>
|
<version>0.12.5</version>
|
||||||
<scope>runtime</scope>
|
<scope>runtime</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.jsonwebtoken</groupId>
|
<groupId>io.jsonwebtoken</groupId>
|
||||||
<artifactId>jjwt-jackson</artifactId> <!-- or jjwt-gson if Gson is preferred -->
|
<artifactId>jjwt-jackson</artifactId> <!-- or jjwt-gson if Gson is preferred -->
|
||||||
<version>0.12.4</version>
|
<version>0.12.5</version>
|
||||||
<scope>runtime</scope>
|
<scope>runtime</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<!-- Uncomment this next dependency if you are using:
|
<!-- Uncomment this next dependency if you are using:
|
||||||
|
@ -577,9 +577,9 @@ If you're building a (non-Android) JDK project, you will want to define the foll
|
||||||
|
|
||||||
```groovy
|
```groovy
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation 'io.jsonwebtoken:jjwt-api:0.12.4'
|
implementation 'io.jsonwebtoken:jjwt-api:0.12.5'
|
||||||
runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.12.4'
|
runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.12.5'
|
||||||
runtimeOnly 'io.jsonwebtoken:jjwt-jackson:0.12.4' // or 'io.jsonwebtoken:jjwt-gson:0.12.4' for gson
|
runtimeOnly 'io.jsonwebtoken:jjwt-jackson:0.12.5' // or 'io.jsonwebtoken:jjwt-gson:0.12.5' for gson
|
||||||
/*
|
/*
|
||||||
Uncomment this next dependency if you are using:
|
Uncomment this next dependency if you are using:
|
||||||
- JDK 10 or earlier, and you want to use RSASSA-PSS (PS256, PS384, PS512) signature algorithms.
|
- JDK 10 or earlier, and you want to use RSASSA-PSS (PS256, PS384, PS512) signature algorithms.
|
||||||
|
@ -604,9 +604,9 @@ Add the dependencies to your project:
|
||||||
|
|
||||||
```groovy
|
```groovy
|
||||||
dependencies {
|
dependencies {
|
||||||
api('io.jsonwebtoken:jjwt-api:0.12.4')
|
api('io.jsonwebtoken:jjwt-api:0.12.5')
|
||||||
runtimeOnly('io.jsonwebtoken:jjwt-impl:0.12.4')
|
runtimeOnly('io.jsonwebtoken:jjwt-impl:0.12.5')
|
||||||
runtimeOnly('io.jsonwebtoken:jjwt-orgjson:0.12.4') {
|
runtimeOnly('io.jsonwebtoken:jjwt-orgjson:0.12.5') {
|
||||||
exclude(group: 'org.json', module: 'json') //provided by Android natively
|
exclude(group: 'org.json', module: 'json') //provided by Android natively
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
|
@ -3040,7 +3040,7 @@ scope which is the typical JJWT default). That is:
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.jsonwebtoken</groupId>
|
<groupId>io.jsonwebtoken</groupId>
|
||||||
<artifactId>jjwt-jackson</artifactId>
|
<artifactId>jjwt-jackson</artifactId>
|
||||||
<version>0.12.4</version>
|
<version>0.12.5</version>
|
||||||
<scope>compile</scope> <!-- Not runtime -->
|
<scope>compile</scope> <!-- Not runtime -->
|
||||||
</dependency>
|
</dependency>
|
||||||
```
|
```
|
||||||
|
@ -3049,7 +3049,7 @@ scope which is the typical JJWT default). That is:
|
||||||
|
|
||||||
```groovy
|
```groovy
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation 'io.jsonwebtoken:jjwt-jackson:0.12.4'
|
implementation 'io.jsonwebtoken:jjwt-jackson:0.12.5'
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -3157,7 +3157,7 @@ scope which is the typical JJWT default). That is:
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.jsonwebtoken</groupId>
|
<groupId>io.jsonwebtoken</groupId>
|
||||||
<artifactId>jjwt-gson</artifactId>
|
<artifactId>jjwt-gson</artifactId>
|
||||||
<version>0.12.4</version>
|
<version>0.12.5</version>
|
||||||
<scope>compile</scope> <!-- Not runtime -->
|
<scope>compile</scope> <!-- Not runtime -->
|
||||||
</dependency>
|
</dependency>
|
||||||
```
|
```
|
||||||
|
@ -3166,7 +3166,7 @@ scope which is the typical JJWT default). That is:
|
||||||
|
|
||||||
```groovy
|
```groovy
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation 'io.jsonwebtoken:jjwt-gson:0.12.4'
|
implementation 'io.jsonwebtoken:jjwt-gson:0.12.5'
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>io.jsonwebtoken</groupId>
|
<groupId>io.jsonwebtoken</groupId>
|
||||||
<artifactId>jjwt-root</artifactId>
|
<artifactId>jjwt-root</artifactId>
|
||||||
<version>0.12.5-SNAPSHOT</version>
|
<version>0.12.6-SNAPSHOT</version>
|
||||||
<relativePath>../pom.xml</relativePath>
|
<relativePath>../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>io.jsonwebtoken</groupId>
|
<groupId>io.jsonwebtoken</groupId>
|
||||||
<artifactId>jjwt-root</artifactId>
|
<artifactId>jjwt-root</artifactId>
|
||||||
<version>0.12.5-SNAPSHOT</version>
|
<version>0.12.6-SNAPSHOT</version>
|
||||||
<relativePath>../../pom.xml</relativePath>
|
<relativePath>../../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>io.jsonwebtoken</groupId>
|
<groupId>io.jsonwebtoken</groupId>
|
||||||
<artifactId>jjwt-root</artifactId>
|
<artifactId>jjwt-root</artifactId>
|
||||||
<version>0.12.5-SNAPSHOT</version>
|
<version>0.12.6-SNAPSHOT</version>
|
||||||
<relativePath>../../pom.xml</relativePath>
|
<relativePath>../../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>io.jsonwebtoken</groupId>
|
<groupId>io.jsonwebtoken</groupId>
|
||||||
<artifactId>jjwt-root</artifactId>
|
<artifactId>jjwt-root</artifactId>
|
||||||
<version>0.12.5-SNAPSHOT</version>
|
<version>0.12.6-SNAPSHOT</version>
|
||||||
<relativePath>../../pom.xml</relativePath>
|
<relativePath>../../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>io.jsonwebtoken</groupId>
|
<groupId>io.jsonwebtoken</groupId>
|
||||||
<artifactId>jjwt-root</artifactId>
|
<artifactId>jjwt-root</artifactId>
|
||||||
<version>0.12.5-SNAPSHOT</version>
|
<version>0.12.6-SNAPSHOT</version>
|
||||||
<relativePath>../pom.xml</relativePath>
|
<relativePath>../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>io.jsonwebtoken</groupId>
|
<groupId>io.jsonwebtoken</groupId>
|
||||||
<artifactId>jjwt-root</artifactId>
|
<artifactId>jjwt-root</artifactId>
|
||||||
<version>0.12.5-SNAPSHOT</version>
|
<version>0.12.6-SNAPSHOT</version>
|
||||||
<relativePath>../pom.xml</relativePath>
|
<relativePath>../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
|
|
|
@ -795,7 +795,7 @@ class DefaultJwtBuilderTest {
|
||||||
* Asserts that if a .audience() builder is used, and its .and() method is not called, the change to the
|
* Asserts that if a .audience() builder is used, and its .and() method is not called, the change to the
|
||||||
* audience is still applied when building the JWT.
|
* audience is still applied when building the JWT.
|
||||||
* @see <a href="https://github.com/jwtk/jjwt/issues/916">JJWT Issue 916</a>
|
* @see <a href="https://github.com/jwtk/jjwt/issues/916">JJWT Issue 916</a>
|
||||||
* @since JJWT_RELEASE_VERSION
|
* @since 0.12.5
|
||||||
*/
|
*/
|
||||||
@Test
|
@Test
|
||||||
void testAudienceWithoutConjunction() {
|
void testAudienceWithoutConjunction() {
|
||||||
|
@ -813,7 +813,7 @@ class DefaultJwtBuilderTest {
|
||||||
* Asserts that if a .header().critical() builder is used, and its .and() method is not called, the change to the
|
* Asserts that if a .header().critical() builder is used, and its .and() method is not called, the change to the
|
||||||
* crit collection is still applied when building the header.
|
* crit collection is still applied when building the header.
|
||||||
* @see <a href="https://github.com/jwtk/jjwt/issues/916">JJWT Issue 916</a>
|
* @see <a href="https://github.com/jwtk/jjwt/issues/916">JJWT Issue 916</a>
|
||||||
* @since JJWT_RELEASE_VERSION
|
* @since 0.12.5
|
||||||
*/
|
*/
|
||||||
@Test
|
@Test
|
||||||
void testCritWithoutConjunction() {
|
void testCritWithoutConjunction() {
|
||||||
|
|
|
@ -511,7 +511,7 @@ class DefaultJwtHeaderBuilderTest {
|
||||||
* Asserts that if a .critical() builder is used, and its .and() method is not called, the change to the
|
* Asserts that if a .critical() builder is used, and its .and() method is not called, the change to the
|
||||||
* crit collection is still applied when building the header.
|
* crit collection is still applied when building the header.
|
||||||
* @see <a href="https://github.com/jwtk/jjwt/issues/916">JJWT Issue 916</a>
|
* @see <a href="https://github.com/jwtk/jjwt/issues/916">JJWT Issue 916</a>
|
||||||
* @since JJWT_RELEASE_VERSION
|
* @since 0.12.5
|
||||||
*/
|
*/
|
||||||
@Test
|
@Test
|
||||||
void testCritWithoutConjunction() {
|
void testCritWithoutConjunction() {
|
||||||
|
|
|
@ -52,7 +52,7 @@ class DefaultJwtParserBuilderTest {
|
||||||
* Asserts that if a .critical() builder is used, and its .and() method is not called, the change to the
|
* Asserts that if a .critical() builder is used, and its .and() method is not called, the change to the
|
||||||
* crit collection is still applied when building the parser.
|
* crit collection is still applied when building the parser.
|
||||||
* @see <a href="https://github.com/jwtk/jjwt/issues/916">JJWT Issue 916</a>
|
* @see <a href="https://github.com/jwtk/jjwt/issues/916">JJWT Issue 916</a>
|
||||||
* @since JJWT_RELEASE_VERSION
|
* @since 0.12.5
|
||||||
*/
|
*/
|
||||||
@Test
|
@Test
|
||||||
void testCriticalWithoutConjunction() {
|
void testCriticalWithoutConjunction() {
|
||||||
|
@ -193,7 +193,7 @@ class DefaultJwtParserBuilderTest {
|
||||||
* Asserts that if a .zip() builder is used, and its .and() method is not called, the change to the
|
* Asserts that if a .zip() builder is used, and its .and() method is not called, the change to the
|
||||||
* compression algorithm collection is still applied when building the parser.
|
* compression algorithm collection is still applied when building the parser.
|
||||||
* @see <a href="https://github.com/jwtk/jjwt/issues/916">JJWT Issue 916</a>
|
* @see <a href="https://github.com/jwtk/jjwt/issues/916">JJWT Issue 916</a>
|
||||||
* @since JJWT_RELEASE_VERSION
|
* @since 0.12.5
|
||||||
*/
|
*/
|
||||||
@Test
|
@Test
|
||||||
void testAddCompressionAlgorithmWithoutConjunction() {
|
void testAddCompressionAlgorithmWithoutConjunction() {
|
||||||
|
@ -246,7 +246,7 @@ class DefaultJwtParserBuilderTest {
|
||||||
* Asserts that if an .enc() builder is used, and its .and() method is not called, the change to the
|
* Asserts that if an .enc() builder is used, and its .and() method is not called, the change to the
|
||||||
* encryption algorithm collection is still applied when building the parser.
|
* encryption algorithm collection is still applied when building the parser.
|
||||||
* @see <a href="https://github.com/jwtk/jjwt/issues/916">JJWT Issue 916</a>
|
* @see <a href="https://github.com/jwtk/jjwt/issues/916">JJWT Issue 916</a>
|
||||||
* @since JJWT_RELEASE_VERSION
|
* @since 0.12.5
|
||||||
*/
|
*/
|
||||||
@Test
|
@Test
|
||||||
void testAddEncryptionAlgorithmWithoutConjunction() {
|
void testAddEncryptionAlgorithmWithoutConjunction() {
|
||||||
|
@ -289,7 +289,7 @@ class DefaultJwtParserBuilderTest {
|
||||||
* Asserts that if an .key() builder is used, and its .and() method is not called, the change to the
|
* Asserts that if an .key() builder is used, and its .and() method is not called, the change to the
|
||||||
* key algorithm collection is still applied when building the parser.
|
* key algorithm collection is still applied when building the parser.
|
||||||
* @see <a href="https://github.com/jwtk/jjwt/issues/916">JJWT Issue 916</a>
|
* @see <a href="https://github.com/jwtk/jjwt/issues/916">JJWT Issue 916</a>
|
||||||
* @since JJWT_RELEASE_VERSION
|
* @since 0.12.5
|
||||||
*/
|
*/
|
||||||
@Test
|
@Test
|
||||||
void testAddKeyAlgorithmWithoutConjunction() {
|
void testAddKeyAlgorithmWithoutConjunction() {
|
||||||
|
@ -335,7 +335,7 @@ class DefaultJwtParserBuilderTest {
|
||||||
* Asserts that if an .sig() builder is used, and its .and() method is not called, the change to the
|
* Asserts that if an .sig() builder is used, and its .and() method is not called, the change to the
|
||||||
* signature algorithm collection is still applied when building the parser.
|
* signature algorithm collection is still applied when building the parser.
|
||||||
* @see <a href="https://github.com/jwtk/jjwt/issues/916">JJWT Issue 916</a>
|
* @see <a href="https://github.com/jwtk/jjwt/issues/916">JJWT Issue 916</a>
|
||||||
* @since JJWT_RELEASE_VERSION
|
* @since 0.12.5
|
||||||
*/
|
*/
|
||||||
@Test
|
@Test
|
||||||
void testAddSignatureAlgorithmWithoutConjunction() {
|
void testAddSignatureAlgorithmWithoutConjunction() {
|
||||||
|
|
|
@ -246,7 +246,7 @@ class AbstractJwkBuilderTest {
|
||||||
* Asserts that if a .operations() builder is used, and its .and() method is not called, the change to the
|
* Asserts that if a .operations() builder is used, and its .and() method is not called, the change to the
|
||||||
* operations collection is still applied when building the JWK.
|
* operations collection is still applied when building the JWK.
|
||||||
* @see <a href="https://github.com/jwtk/jjwt/issues/916">JJWT Issue 916</a>
|
* @see <a href="https://github.com/jwtk/jjwt/issues/916">JJWT Issue 916</a>
|
||||||
* @since JJWT_RELEASE_VERSION
|
* @since 0.12.5
|
||||||
*/
|
*/
|
||||||
@Test
|
@Test
|
||||||
void testOperationsWithoutConjunction() {
|
void testOperationsWithoutConjunction() {
|
||||||
|
|
2
pom.xml
2
pom.xml
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
<groupId>io.jsonwebtoken</groupId>
|
<groupId>io.jsonwebtoken</groupId>
|
||||||
<artifactId>jjwt-root</artifactId>
|
<artifactId>jjwt-root</artifactId>
|
||||||
<version>0.12.5-SNAPSHOT</version>
|
<version>0.12.6-SNAPSHOT</version>
|
||||||
<name>JJWT</name>
|
<name>JJWT</name>
|
||||||
<description>JSON Web Token support for the JVM and Android</description>
|
<description>JSON Web Token support for the JVM and Android</description>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>io.jsonwebtoken</groupId>
|
<groupId>io.jsonwebtoken</groupId>
|
||||||
<artifactId>jjwt-root</artifactId>
|
<artifactId>jjwt-root</artifactId>
|
||||||
<version>0.12.5-SNAPSHOT</version>
|
<version>0.12.6-SNAPSHOT</version>
|
||||||
<relativePath>../pom.xml</relativePath>
|
<relativePath>../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue