Skip to content

Commit

Permalink
Released 0.12.1
Browse files Browse the repository at this point in the history
* Released 0.12.1

* [maven-release-plugin] prepare release 0.12.1

* [maven-release-plugin] prepare for next development iteration
  • Loading branch information
lhazlewood committed Oct 5, 2023
1 parent 1625067 commit fad6e27
Show file tree
Hide file tree
Showing 11 changed files with 29 additions and 31 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Release Notes

### JJWT_RELEASE_VERSION
### 0.12.1

Enabled reflective access on JDK 17+ to `java.io.ByteArrayInputStream` and `sun.security.util.KeyUtil` for
`jjwt-impl.jar`
Expand Down
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.0</version>
<version>0.12.1</version>
</dependency>
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt-impl</artifactId>
<version>0.12.0</version>
<version>0.12.1</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt-jackson</artifactId> <!-- or jjwt-gson if Gson is preferred -->
<version>0.12.0</version>
<version>0.12.1</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.0'
runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.12.0'
runtimeOnly 'io.jsonwebtoken:jjwt-jackson:0.12.0' // or 'io.jsonwebtoken:jjwt-gson:0.12.0' for gson
implementation 'io.jsonwebtoken:jjwt-api:0.12.1'
runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.12.1'
runtimeOnly 'io.jsonwebtoken:jjwt-jackson:0.12.1' // or 'io.jsonwebtoken:jjwt-gson:0.12.1' 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.0')
runtimeOnly('io.jsonwebtoken:jjwt-impl:0.12.0')
runtimeOnly('io.jsonwebtoken:jjwt-orgjson:0.12.0') {
api('io.jsonwebtoken:jjwt-api:0.12.1')
runtimeOnly('io.jsonwebtoken:jjwt-impl:0.12.1')
runtimeOnly('io.jsonwebtoken:jjwt-orgjson:0.12.1') {
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.0</version>
<version>0.12.1</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.0'
implementation 'io.jsonwebtoken:jjwt-jackson:0.12.1'
}
```

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.0</version>
<version>0.12.1</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.0'
implementation 'io.jsonwebtoken:jjwt-gson:0.12.1'
}
```
Expand Down
2 changes: 1 addition & 1 deletion api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt-root</artifactId>
<version>0.13.0-SNAPSHOT</version>
<version>0.12.2-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion extensions/gson/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt-root</artifactId>
<version>0.13.0-SNAPSHOT</version>
<version>0.12.2-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion extensions/jackson/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt-root</artifactId>
<version>0.13.0-SNAPSHOT</version>
<version>0.12.2-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion extensions/orgjson/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt-root</artifactId>
<version>0.13.0-SNAPSHOT</version>
<version>0.12.2-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion extensions/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt-root</artifactId>
<version>0.13.0-SNAPSHOT</version>
<version>0.12.2-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion impl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt-root</artifactId>
<version>0.13.0-SNAPSHOT</version>
<version>0.12.2-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion impl/src/main/java/io/jsonwebtoken/impl/lang/AddOpens.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* may break at any time in the future (theoretically even for a minor
* release!).
*
* @since JJWT_RELEASE_VERSION, gratefully copied from <a href="https://github.com/stefan-zobel/wip/blob/b74e927edddf19a5dce7c8610835f620c0b6f557/src/main/java/misc/AddOpens.java">https://github.com/stefan-zobel/wip/blob/b74e927edddf19a5dce7c8610835f620c0b6f557/src/main/java/misc/AddOpens.java</a>
* @since 0.12.1, gratefully copied from <a href="https://github.com/stefan-zobel/wip/blob/b74e927edddf19a5dce7c8610835f620c0b6f557/src/main/java/misc/AddOpens.java">https://github.com/stefan-zobel/wip/blob/b74e927edddf19a5dce7c8610835f620c0b6f557/src/main/java/misc/AddOpens.java</a>
* under the terms of the Apache 2 open source license (same as the JJWT license).
*/
public final class AddOpens {
Expand Down
16 changes: 7 additions & 9 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +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.13.0-SNAPSHOT</version>
<version>0.12.2-SNAPSHOT</version>
<name>JJWT</name>
<description>JSON Web Token support for the JVM and Android</description>
<packaging>pom</packaging>
Expand Down Expand Up @@ -91,7 +90,7 @@
<properties>

<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<arguments/>
<arguments />

<jjwt.root>${basedir}</jjwt.root>
<jjwt.previousVersion>0.11.2</jjwt.previousVersion>
Expand All @@ -114,7 +113,7 @@
<orgjson.version>20230618</orgjson.version>
<gson.version>2.9.0</gson.version>

<maven.javadoc.additionalOptions/>
<maven.javadoc.additionalOptions />

<!-- Optional Runtime Dependencies: -->
<bouncycastle.version>1.76</bouncycastle.version>
Expand All @@ -130,7 +129,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 />
<test.addOpens>
--add-opens java.base/java.lang=ALL-UNNAMED, <!-- Needed by EasyMock/cglib -->
--add-opens java.desktop/java.beans=ALL-UNNAMED, <!-- Needed by EasyMock/cglib -->
Expand Down Expand Up @@ -474,8 +473,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>
Expand Down Expand Up @@ -709,7 +707,7 @@
<!-- <configuration>-->
<!-- <source>${jdk.version}</source>-->
<!-- <target>${jdk.version}</target>-->
<!-- <release/>-->
<!-- <release />-->
<!-- <encoding>${project.build.sourceEncoding}</encoding>-->
<!-- <excludes>-->
<!-- <exclude>module-info.java</exclude>-->
Expand Down
2 changes: 1 addition & 1 deletion tdjar/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt-root</artifactId>
<version>0.13.0-SNAPSHOT</version>
<version>0.12.2-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down

0 comments on commit fad6e27

Please sign in to comment.