mirror of https://github.com/jwtk/jjwt.git
Prep for 0.11.4 release (#732)
- Updated README.md version numbers to reflect the 0.11.4 release - Added 0.11.4 release/changelog notes to CHANGELOG.md
This commit is contained in:
parent
a7c1d3c003
commit
9c0ea0d0eb
12
CHANGELOG.md
12
CHANGELOG.md
|
@ -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
|
||||
|
||||
|
|
26
README.md
26
README.md
|
@ -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
|
||||
|
@ -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
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -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:
|
||||
|
@ -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>
|
||||
```
|
||||
|
@ -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'
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -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>
|
||||
```
|
||||
|
@ -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'
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
<parent>
|
||||
<groupId>io.jsonwebtoken</groupId>
|
||||
<artifactId>jjwt-root</artifactId>
|
||||
<version>0.11.4-SNAPSHOT</version>
|
||||
<version>0.11.5-SNAPSHOT</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
<parent>
|
||||
<groupId>io.jsonwebtoken</groupId>
|
||||
<artifactId>jjwt-root</artifactId>
|
||||
<version>0.11.4-SNAPSHOT</version>
|
||||
<version>0.11.5-SNAPSHOT</version>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
<parent>
|
||||
<groupId>io.jsonwebtoken</groupId>
|
||||
<artifactId>jjwt-root</artifactId>
|
||||
<version>0.11.4-SNAPSHOT</version>
|
||||
<version>0.11.5-SNAPSHOT</version>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
<parent>
|
||||
<groupId>io.jsonwebtoken</groupId>
|
||||
<artifactId>jjwt-root</artifactId>
|
||||
<version>0.11.4-SNAPSHOT</version>
|
||||
<version>0.11.5-SNAPSHOT</version>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
<parent>
|
||||
<groupId>io.jsonwebtoken</groupId>
|
||||
<artifactId>jjwt-root</artifactId>
|
||||
<version>0.11.4-SNAPSHOT</version>
|
||||
<version>0.11.5-SNAPSHOT</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
<parent>
|
||||
<groupId>io.jsonwebtoken</groupId>
|
||||
<artifactId>jjwt-root</artifactId>
|
||||
<version>0.11.4-SNAPSHOT</version>
|
||||
<version>0.11.5-SNAPSHOT</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
14
pom.xml
14
pom.xml
|
@ -14,14 +14,12 @@
|
|||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>io.jsonwebtoken</groupId>
|
||||
<artifactId>jjwt-root</artifactId>
|
||||
<version>0.11.4-SNAPSHOT</version>
|
||||
<version>0.11.5-SNAPSHOT</version>
|
||||
<name>JJWT</name>
|
||||
<description>JSON Web Token support for the JVM and Android</description>
|
||||
<packaging>pom</packaging>
|
||||
|
@ -112,7 +110,7 @@
|
|||
<properties>
|
||||
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<arguments/>
|
||||
<arguments />
|
||||
|
||||
<jjwt.root>${basedir}</jjwt.root>
|
||||
<jjwt.previousVersion>0.10.7</jjwt.previousVersion>
|
||||
|
@ -132,7 +130,7 @@
|
|||
<orgjson.version>20220320</orgjson.version>
|
||||
<gson.version>2.9.0</gson.version>
|
||||
|
||||
<maven.javadoc.additionalOptions></maven.javadoc.additionalOptions>
|
||||
<maven.javadoc.additionalOptions />
|
||||
|
||||
<!-- Optional Runtime Dependencies: -->
|
||||
<bouncycastle.version>1.70</bouncycastle.version>
|
||||
|
@ -146,7 +144,7 @@
|
|||
<surefire.plugin.version>3.0.0-M5</surefire.plugin.version>
|
||||
<clover.version>4.3.1</clover.version> <!-- max version allowed for JDK 7 builds -->
|
||||
<clover.db>${jjwt.root}/target/clover/clover.db</clover.db>
|
||||
<surefire.argLine/>
|
||||
<surefire.argLine />
|
||||
|
||||
</properties>
|
||||
|
||||
|
@ -418,7 +416,7 @@
|
|||
</includes>
|
||||
</artifactSet>
|
||||
<transformers>
|
||||
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
|
||||
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
|
||||
</transformers>
|
||||
</configuration>
|
||||
<executions>
|
||||
|
|
Loading…
Reference in New Issue