Skip to content

Commit

Permalink
Version reference changes in preparation for the 0.12.3 release
Browse files Browse the repository at this point in the history
  • Loading branch information
lhazlewood committed Oct 15, 2023
1 parent 28a2ca7 commit bc540fc
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -540,18 +540,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.2</version>
<version>0.12.3</version>
</dependency>
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt-impl</artifactId>
<version>0.12.2</version>
<version>0.12.3</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt-jackson</artifactId> <!-- or jjwt-gson if Gson is preferred -->
<version>0.12.2</version>
<version>0.12.3</version>
<scope>runtime</scope>
</dependency>
<!-- Uncomment this next dependency if you are using:
Expand All @@ -574,9 +574,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.2'
runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.12.2'
runtimeOnly 'io.jsonwebtoken:jjwt-jackson:0.12.2' // or 'io.jsonwebtoken:jjwt-gson:0.12.2' for gson
implementation 'io.jsonwebtoken:jjwt-api:0.12.3'
runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.12.3'
runtimeOnly 'io.jsonwebtoken:jjwt-jackson:0.12.3' // or 'io.jsonwebtoken:jjwt-gson:0.12.3' 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.
Expand All @@ -601,9 +601,9 @@ Add the dependencies to your project:

```groovy
dependencies {
api('io.jsonwebtoken:jjwt-api:0.12.2')
runtimeOnly('io.jsonwebtoken:jjwt-impl:0.12.2')
runtimeOnly('io.jsonwebtoken:jjwt-orgjson:0.12.2') {
api('io.jsonwebtoken:jjwt-api:0.12.3')
runtimeOnly('io.jsonwebtoken:jjwt-impl:0.12.3')
runtimeOnly('io.jsonwebtoken:jjwt-orgjson:0.12.3') {
exclude(group: 'org.json', module: 'json') //provided by Android natively
}
/*
Expand Down Expand Up @@ -2952,7 +2952,7 @@ scope which is the typical JJWT default). That is:
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt-jackson</artifactId>
<version>0.12.2</version>
<version>0.12.3</version>
<scope>compile</scope> <!-- Not runtime -->
</dependency>
```
Expand All @@ -2961,7 +2961,7 @@ scope which is the typical JJWT default). That is:

```groovy
dependencies {
implementation 'io.jsonwebtoken:jjwt-jackson:0.12.2'
implementation 'io.jsonwebtoken:jjwt-jackson:0.12.3'
}
```

Expand Down Expand Up @@ -3069,7 +3069,7 @@ scope which is the typical JJWT default). That is:
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt-gson</artifactId>
<version>0.12.2</version>
<version>0.12.3</version>
<scope>compile</scope> <!-- Not runtime -->
</dependency>
```
Expand All @@ -3078,7 +3078,7 @@ scope which is the typical JJWT default). That is:
```groovy
dependencies {
implementation 'io.jsonwebtoken:jjwt-gson:0.12.2'
implementation 'io.jsonwebtoken:jjwt-gson:0.12.3'
}
```
Expand Down
2 changes: 1 addition & 1 deletion api/src/main/java/io/jsonwebtoken/JwtBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ public interface JwtBuilder extends ClaimsMutator<JwtBuilder> {
* @param payload the string used to set UTF-8-encoded bytes as the JWT payload.
* @return the builder for method chaining.
* @see #content(String)
* @deprecated since JJWT_RELEASE VERSION in favor of {@link #content(String)}
* @deprecated since 0.12.0 in favor of {@link #content(String)}
* because both Claims and Content are technically 'payloads', so this method name is misleading. This method will
* be removed before the 1.0 release.
*/
Expand Down

0 comments on commit bc540fc

Please sign in to comment.