Skip to content

Commit

Permalink
- Updated README.md version numbers to reflect the upcoming 0.11.4 re…
Browse files Browse the repository at this point in the history
…lease

- Added 0.11.4 release/changelog notes
  • Loading branch information
lhazlewood committed Apr 26, 2022
1 parent a7c1d3c commit 1f72034
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 14 deletions.
12 changes: 11 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
## Release Notes

### 0.11.4 (pending release)
### 0.11.4

This patch release:

* Adds additional handling for rare JSON parsing exceptions and wraps them in a `JwtException` to allow the application to handle these conditions as JWT concerns.
* Upgrades the `jjwt-jackson` module's Jackson dependency to `2.12.6.1`.
* Upgrades the `jjwt-orgjson` module's org.json:json dependency to `20220320`.
* Upgrades the `jjwt-gson` module's gson dependency to `2.9.0`.
* Upgrades the internal testing BouncyCastle version and any references in README documentation examples to `1.70`.
* Contains various documentation and typo fixes.

The patch also makes various internal project POM and build enhancements to reduce repetition and the chance for
stale references, and overall create a cleaner build with less warnings. It also ensures that CI testing builds
and executes on all latest OpenJDK versions from Java 7 to Java 18 (inclusive).

Issues included in this patch are listed in the [JJWT 0.11.4 milestone](https://github.com/jwtk/jjwt/milestone/25?closed=1).

### 0.11.3

Expand Down
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -264,18 +264,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.11.3</version>
<version>0.11.4</version>
</dependency>
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt-impl</artifactId>
<version>0.11.3</version>
<version>0.11.4</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt-jackson</artifactId> <!-- or jjwt-gson if Gson is preferred -->
<version>0.11.3</version>
<version>0.11.4</version>
<scope>runtime</scope>
</dependency>
<!-- Uncomment this next dependency if you are using JDK 10 or earlier and you also want to use
Expand All @@ -295,11 +295,11 @@ If you're building a (non-Android) JDK project, you will want to define the foll

```groovy
dependencies {
compile 'io.jsonwebtoken:jjwt-api:0.11.3'
runtime 'io.jsonwebtoken:jjwt-impl:0.11.3',
compile 'io.jsonwebtoken:jjwt-api:0.11.4'
runtime 'io.jsonwebtoken:jjwt-impl:0.11.4',
// Uncomment the next line if you want to use RSASSA-PSS (PS256, PS384, PS512) algorithms:
//'org.bouncycastle:bcprov-jdk15on:1.70',
'io.jsonwebtoken:jjwt-jackson:0.11.3' // or 'io.jsonwebtoken:jjwt-gson:0.11.3' for gson
'io.jsonwebtoken:jjwt-jackson:0.11.4' // or 'io.jsonwebtoken:jjwt-gson:0.11.4' for gson
}
```

Expand All @@ -315,9 +315,9 @@ Add the dependencies to your project:

```groovy
dependencies {
api 'io.jsonwebtoken:jjwt-api:0.11.3'
runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.11.3'
runtimeOnly('io.jsonwebtoken:jjwt-orgjson:0.11.3') {
api 'io.jsonwebtoken:jjwt-api:0.11.4'
runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.11.4'
runtimeOnly('io.jsonwebtoken:jjwt-orgjson:0.11.4') {
exclude group: 'org.json', module: 'json' //provided by Android natively
}
// Uncomment the next line if you want to use RSASSA-PSS (PS256, PS384, PS512) algorithms:
Expand Down Expand Up @@ -1328,7 +1328,7 @@ scope which is the typical JJWT default). That is:
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt-jackson</artifactId>
<version>0.11.3</version>
<version>0.11.4</version>
<scope>compile</scope> <!-- Not runtime -->
</dependency>
```
Expand All @@ -1337,7 +1337,7 @@ scope which is the typical JJWT default). That is:
```groovy
dependencies {
implementation 'io.jsonwebtoken:jjwt-jackson:0.11.3'
implementation 'io.jsonwebtoken:jjwt-jackson:0.11.4'
}
```
Expand Down Expand Up @@ -1436,7 +1436,7 @@ scope which is the typical JJWT default). That is:
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt-gson</artifactId>
<version>0.11.3</version>
<version>0.11.4</version>
<scope>compile</scope> <!-- Not runtime -->
</dependency>
```
Expand All @@ -1445,7 +1445,7 @@ scope which is the typical JJWT default). That is:
```groovy
dependencies {
implementation 'io.jsonwebtoken:jjwt-gson:0.11.3'
implementation 'io.jsonwebtoken:jjwt-gson:0.11.4'
}
```
Expand Down

0 comments on commit 1f72034

Please sign in to comment.