Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ jobs:
GRADLE_OPTS: -Dorg.gradle.jvmargs=-Xmx2g
steps:
- name: Checkout
uses: actions/checkout@v5
uses: actions/checkout@v7

- name: Setup Java
uses: actions/setup-java@v5
with:
distribution: temurin
java-version: 21
java-version: 25

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v6
Expand All @@ -42,7 +42,7 @@ jobs:

- name: Upload test results
if: always()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: test-results
path: |
Expand All @@ -53,7 +53,7 @@ jobs:

- name: Upload coverage report
if: always()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: coverage-report
path: build/reports/jacoco/**
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
security-events: write
steps:
- name: Checkout
uses: actions/checkout@v5
uses: actions/checkout@v7

- name: Initialize CodeQL
uses: github/codeql-action/init@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
CONFIRMATION: ${{ inputs.confirmation }}
steps:
- name: Checkout release ref
uses: actions/checkout@v5
uses: actions/checkout@v7
with:
ref: ${{ inputs.release_ref }}
fetch-depth: 0
Expand Down Expand Up @@ -127,7 +127,7 @@ jobs:
GRADLE_OPTS: -Dorg.gradle.jvmargs=-Xmx2g
steps:
- name: Checkout release ref
uses: actions/checkout@v5
uses: actions/checkout@v7
with:
ref: ${{ needs.validate.outputs.validated_sha }}

Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ include migration notes.

## Unreleased

- Updated the Gradle wrapper to 9.6.1, Spotless to 8.8.0, Caffeine to 3.2.4,
and JJWT to 0.13.0.
- Updated CI and release actions to current action majors and aligned CI with Java 25.

- Certified Vigil for Spring Boot 4.1.x, Spring Framework 7.x, Spring Security
7.1.x, Java 25, Gradle 9.1.x, and Jackson 3.
- Updated build tooling to Spring Boot 4.1.0, Java 25 toolchains, Gradle 9.1.0,
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Vigil provides JWT lifecycle, request authentication, cookie helpers, tenant con

## Compatibility

Vigil `7.0.x` supports Java 25, Spring Boot 4.1.x, Spring Framework 7.x, Spring Security 7.1.x, Gradle 9.1.x, and Jackson 3. Vigil `6.0.x` was the final Java 21 / Spring Boot 3.5 line.
Vigil `7.1.x` supports Java 25, Spring Boot 4.1.x, Spring Framework 7.x, Spring Security 7.1.x, Gradle 9.6.x, and Jackson 3. Vigil `6.0.x` was the final Java 21 / Spring Boot 3.5 line.

`7.1.0` is the current release line. Public consumers should pin an exact version and review the release notes before upgrading.

Expand Down
10 changes: 5 additions & 5 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ plugins {
id("java-library")
id("org.springframework.boot") version "4.1.0" apply false
id("io.spring.dependency-management") version "1.1.7"
id("com.diffplug.spotless") version "7.0.2"
id("com.diffplug.spotless") version "8.8.0"
id("checkstyle")
id("jacoco")
id("com.vanniktech.maven.publish") version "0.34.0"
Expand Down Expand Up @@ -42,12 +42,12 @@ dependencies {
annotationProcessor("org.springframework.boot:spring-boot-configuration-processor")

// JWT - api scope exposes Claims, JwtException to consumers
api("io.jsonwebtoken:jjwt-api:0.12.6")
runtimeOnly("io.jsonwebtoken:jjwt-impl:0.12.6")
runtimeOnly("io.jsonwebtoken:jjwt-jackson:0.12.6")
api("io.jsonwebtoken:jjwt-api:0.13.0")
runtimeOnly("io.jsonwebtoken:jjwt-impl:0.13.0")
runtimeOnly("io.jsonwebtoken:jjwt-jackson:0.13.0")

// Cache (for token blacklist)
implementation("com.github.ben-manes.caffeine:caffeine:3.1.8")
implementation("com.github.ben-manes.caffeine:caffeine:3.2.4")

// Validation
implementation("jakarta.validation:jakarta.validation-api")
Expand Down
2 changes: 1 addition & 1 deletion docs/releases/release-policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Current tested compatibility envelope:
- Spring Framework 7.x through Spring Boot 4.1.x;
- Spring Security 7.1.x through Spring Boot 4.1.x;
- Jackson 3 through `tools.jackson` packages;
- Gradle 9.1.x wrapper;
- Gradle 9.6.x wrapper;
- HS256 with a configured 256-bit minimum secret;
- RS256 with configured PEM private/public keys and JWKS publication.

Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-9.1.0-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-9.6.1-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
Loading