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>
|
||||
<groupId>io.jsonwebtoken</groupId>
|
||||
<artifactId>jjwt-api</artifactId>
|
||||
<version>0.12.4</version>
|
||||
<version>0.12.5</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.jsonwebtoken</groupId>
|
||||
<artifactId>jjwt-impl</artifactId>
|
||||
<version>0.12.4</version>
|
||||
<version>0.12.5</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.jsonwebtoken</groupId>
|
||||
<artifactId>jjwt-jackson</artifactId> <!-- or jjwt-gson if Gson is preferred -->
|
||||
<version>0.12.4</version>
|
||||
<version>0.12.5</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
<!-- 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
|
||||
dependencies {
|
||||
implementation 'io.jsonwebtoken:jjwt-api:0.12.4'
|
||||
runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.12.4'
|
||||
runtimeOnly 'io.jsonwebtoken:jjwt-jackson:0.12.4' // or 'io.jsonwebtoken:jjwt-gson:0.12.4' for gson
|
||||
implementation 'io.jsonwebtoken:jjwt-api:0.12.5'
|
||||
runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.12.5'
|
||||
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:
|
||||
- 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
|
||||
dependencies {
|
||||
api('io.jsonwebtoken:jjwt-api:0.12.4')
|
||||
runtimeOnly('io.jsonwebtoken:jjwt-impl:0.12.4')
|
||||
runtimeOnly('io.jsonwebtoken:jjwt-orgjson:0.12.4') {
|
||||
api('io.jsonwebtoken:jjwt-api:0.12.5')
|
||||
runtimeOnly('io.jsonwebtoken:jjwt-impl:0.12.5')
|
||||
runtimeOnly('io.jsonwebtoken:jjwt-orgjson:0.12.5') {
|
||||
exclude(group: 'org.json', module: 'json') //provided by Android natively
|
||||
}
|
||||
/*
|
||||
|
@ -3040,7 +3040,7 @@ scope which is the typical JJWT default). That is:
|
|||
<dependency>
|
||||
<groupId>io.jsonwebtoken</groupId>
|
||||
<artifactId>jjwt-jackson</artifactId>
|
||||
<version>0.12.4</version>
|
||||
<version>0.12.5</version>
|
||||
<scope>compile</scope> <!-- Not runtime -->
|
||||
</dependency>
|
||||
```
|
||||
|
@ -3049,7 +3049,7 @@ scope which is the typical JJWT default). That is:
|
|||
|
||||
```groovy
|
||||
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>
|
||||
<groupId>io.jsonwebtoken</groupId>
|
||||
<artifactId>jjwt-gson</artifactId>
|
||||
<version>0.12.4</version>
|
||||
<version>0.12.5</version>
|
||||
<scope>compile</scope> <!-- Not runtime -->
|
||||
</dependency>
|
||||
```
|
||||
|
@ -3166,7 +3166,7 @@ scope which is the typical JJWT default). That is:
|
|||
|
||||
```groovy
|
||||
dependencies {
|
||||
implementation 'io.jsonwebtoken:jjwt-gson:0.12.4'
|
||||
implementation 'io.jsonwebtoken:jjwt-gson:0.12.5'
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
<parent>
|
||||
<groupId>io.jsonwebtoken</groupId>
|
||||
<artifactId>jjwt-root</artifactId>
|
||||
<version>0.12.5-SNAPSHOT</version>
|
||||
<version>0.12.6-SNAPSHOT</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
<parent>
|
||||
<groupId>io.jsonwebtoken</groupId>
|
||||
<artifactId>jjwt-root</artifactId>
|
||||
<version>0.12.5-SNAPSHOT</version>
|
||||
<version>0.12.6-SNAPSHOT</version>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
<parent>
|
||||
<groupId>io.jsonwebtoken</groupId>
|
||||
<artifactId>jjwt-root</artifactId>
|
||||
<version>0.12.5-SNAPSHOT</version>
|
||||
<version>0.12.6-SNAPSHOT</version>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
<parent>
|
||||
<groupId>io.jsonwebtoken</groupId>
|
||||
<artifactId>jjwt-root</artifactId>
|
||||
<version>0.12.5-SNAPSHOT</version>
|
||||
<version>0.12.6-SNAPSHOT</version>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
<parent>
|
||||
<groupId>io.jsonwebtoken</groupId>
|
||||
<artifactId>jjwt-root</artifactId>
|
||||
<version>0.12.5-SNAPSHOT</version>
|
||||
<version>0.12.6-SNAPSHOT</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
<parent>
|
||||
<groupId>io.jsonwebtoken</groupId>
|
||||
<artifactId>jjwt-root</artifactId>
|
||||
<version>0.12.5-SNAPSHOT</version>
|
||||
<version>0.12.6-SNAPSHOT</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</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
|
||||
* audience is still applied when building the JWT.
|
||||
* @see <a href="https://github.com/jwtk/jjwt/issues/916">JJWT Issue 916</a>
|
||||
* @since JJWT_RELEASE_VERSION
|
||||
* @since 0.12.5
|
||||
*/
|
||||
@Test
|
||||
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
|
||||
* crit collection is still applied when building the header.
|
||||
* @see <a href="https://github.com/jwtk/jjwt/issues/916">JJWT Issue 916</a>
|
||||
* @since JJWT_RELEASE_VERSION
|
||||
* @since 0.12.5
|
||||
*/
|
||||
@Test
|
||||
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
|
||||
* crit collection is still applied when building the header.
|
||||
* @see <a href="https://github.com/jwtk/jjwt/issues/916">JJWT Issue 916</a>
|
||||
* @since JJWT_RELEASE_VERSION
|
||||
* @since 0.12.5
|
||||
*/
|
||||
@Test
|
||||
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
|
||||
* crit collection is still applied when building the parser.
|
||||
* @see <a href="https://github.com/jwtk/jjwt/issues/916">JJWT Issue 916</a>
|
||||
* @since JJWT_RELEASE_VERSION
|
||||
* @since 0.12.5
|
||||
*/
|
||||
@Test
|
||||
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
|
||||
* compression algorithm collection is still applied when building the parser.
|
||||
* @see <a href="https://github.com/jwtk/jjwt/issues/916">JJWT Issue 916</a>
|
||||
* @since JJWT_RELEASE_VERSION
|
||||
* @since 0.12.5
|
||||
*/
|
||||
@Test
|
||||
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
|
||||
* encryption algorithm collection is still applied when building the parser.
|
||||
* @see <a href="https://github.com/jwtk/jjwt/issues/916">JJWT Issue 916</a>
|
||||
* @since JJWT_RELEASE_VERSION
|
||||
* @since 0.12.5
|
||||
*/
|
||||
@Test
|
||||
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
|
||||
* key algorithm collection is still applied when building the parser.
|
||||
* @see <a href="https://github.com/jwtk/jjwt/issues/916">JJWT Issue 916</a>
|
||||
* @since JJWT_RELEASE_VERSION
|
||||
* @since 0.12.5
|
||||
*/
|
||||
@Test
|
||||
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
|
||||
* signature algorithm collection is still applied when building the parser.
|
||||
* @see <a href="https://github.com/jwtk/jjwt/issues/916">JJWT Issue 916</a>
|
||||
* @since JJWT_RELEASE_VERSION
|
||||
* @since 0.12.5
|
||||
*/
|
||||
@Test
|
||||
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
|
||||
* operations collection is still applied when building the JWK.
|
||||
* @see <a href="https://github.com/jwtk/jjwt/issues/916">JJWT Issue 916</a>
|
||||
* @since JJWT_RELEASE_VERSION
|
||||
* @since 0.12.5
|
||||
*/
|
||||
@Test
|
||||
void testOperationsWithoutConjunction() {
|
||||
|
|
2
pom.xml
2
pom.xml
|
@ -19,7 +19,7 @@
|
|||
|
||||
<groupId>io.jsonwebtoken</groupId>
|
||||
<artifactId>jjwt-root</artifactId>
|
||||
<version>0.12.5-SNAPSHOT</version>
|
||||
<version>0.12.6-SNAPSHOT</version>
|
||||
<name>JJWT</name>
|
||||
<description>JSON Web Token support for the JVM and Android</description>
|
||||
<packaging>pom</packaging>
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
<parent>
|
||||
<groupId>io.jsonwebtoken</groupId>
|
||||
<artifactId>jjwt-root</artifactId>
|
||||
<version>0.12.5-SNAPSHOT</version>
|
||||
<version>0.12.6-SNAPSHOT</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
Loading…
Reference in New Issue