Skip to content

Commit e251c92

Browse files
authored
Merge pull request #2820 from adobe/5.0.0-maintenance
5.0.0 maintenance
2 parents 7fa1fce + 277db4f commit e251c92

File tree

5 files changed

+22
-29
lines changed

5 files changed

+22
-29
lines changed

CHANGELOG.md

Lines changed: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@ Whenever a 3rd party library is updated, S3Mock will update it's MINOR version.
55

66
<!-- TOC -->
77
* [Changelog](#changelog)
8-
* [PLANNED - 5.x - RELEASE TBD](#planned---5x---release-tbd)
8+
* [PLANNED - 6.x - RELEASE TBD](#planned---6x---release-tbd)
99
* [Planned changes](#planned-changes)
10-
* [5.0.0 - PLANNED](#500---planned)
11-
* [CURRENT - 4.x - THIS VERSION IS UNDER ACTIVE DEVELOPMENT](#current---4x---this-version-is-under-active-development)
10+
* [CURRENT - 5.x - THIS VERSION IS UNDER ACTIVE DEVELOPMENT](#current---5x---this-version-is-under-active-development)
11+
* [5.0.0](#500)
12+
* [DEPRECATED - 4.x](#deprecated---4x)
1213
* [4.11.0](#4110)
1314
* [4.10.0](#4100)
1415
* [4.9.1](#491)
@@ -113,8 +114,10 @@ Whenever a 3rd party library is updated, S3Mock will update it's MINOR version.
113114
* [1.0.0](#100)
114115
<!-- TOC -->
115116

116-
# PLANNED - 5.x - RELEASE TBD
117-
Version 5.x is JDK17 LTS bytecode compatible (maybe JDK25 LTS, depending on the release date), with Docker integration.
117+
# PLANNED - 6.x - RELEASE TBD
118+
Version 6.x is JDK25 LTS bytecode compatible, with Docker integration.
119+
120+
Probably released with Spring Boot 5.x, updating baselines etc. as Spring Boot 5.x requires.
118121

119122
Any JUnit / direct Java usage support will most likely be dropped and only supported on a best-effort basis.
120123
(i.e., the modules will be deleted from the code base and not released anymore. It *may* be possible to
@@ -124,7 +127,7 @@ to easily to run `S3MockApplication#start` from a static context. These workarou
124127

125128
Running S3Mock in unit tests is still supported by using [TestContainers](https://www.testcontainers.org/).
126129

127-
**Once 5.x is released, 4.x may receive bug fixes and features. This will be best-effort only.**
130+
**Once 6.x is released, 5.x may receive bug fixes and features. This will be best-effort only.**
128131

129132
## Planned changes
130133

@@ -135,9 +138,15 @@ Running S3Mock in unit tests is still supported by using [TestContainers](https:
135138
* Refactoring S3Mock to a "standard" Spring Boot application.
136139
* Removal of workarounds to use `S3MockApplication#start` from a static context
137140
* Version updates
138-
* TBD
141+
* Bump Spring Boot version to 5.0.0
142+
* Bump Spring Framework version to 8.0.0
143+
144+
# CURRENT - 5.x - THIS VERSION IS UNDER ACTIVE DEVELOPMENT
145+
Version 5.x is JDK17 LTS bytecode compatible, with Docker and JUnit / direct Java integration.
146+
147+
**The current major version 5 will receive new features, dependency updates and bug fixes on a continuous basis. We usually follow the Spring Boot release cycle.**
139148

140-
## 5.0.0 - PLANNED
149+
## 5.0.0
141150

142151
* Features and fixes
143152
* Get object with range now returns the same headers as non-range calls.
@@ -157,14 +166,12 @@ Running S3Mock in unit tests is still supported by using [TestContainers](https:
157166
* Compile with Java 25, target Java 17
158167
* Docker container runs Java 25
159168
* Bump TestContainers to 2.0.2
160-
* Bump Alpine Linux to 3.23.0 (release: December 2025)
161-
* This is the latest version of Alpine Linux that supports Java 25.
162169
* Bump Maven to 4.0.0
163170

164-
# CURRENT - 4.x - THIS VERSION IS UNDER ACTIVE DEVELOPMENT
171+
# DEPRECATED - 4.x
165172
Version 4.x is JDK17 LTS bytecode compatible, with Docker and JUnit / direct Java integration.
166173

167-
**The current major version 4 will receive new features, dependency updates and bug fixes on a continuous basis. We usually follow the Spring Boot release cycle.**
174+
**4.x is DEPRECATED and may receive bug fixes and features. This will be best-effort only.**
168175

169176
## 4.11.0
170177
Version 4.x is JDK17 LTS bytecode compatible, with Docker and JUnit / direct Java integration.

docker/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
FROM alpine:3.23.0@sha256:51183f2cfa6320055da30872f211093f9ff1d3cf06f39a0bdb212314c5dc7375 AS staging_area
1818

19-
RUN apk --no-cache add openjdk21-jdk openjdk21-jmods
19+
RUN apk --no-cache add openjdk25-jdk openjdk25-jmods
2020

2121
ENV JAVA_MINIMAL="/opt/java-minimal"
2222

@@ -34,7 +34,7 @@ RUN jdeps \
3434
# suppress any warnings printed to console
3535
-q \
3636
# java release version targeting
37-
--multi-release 21 \
37+
--multi-release 25 \
3838
# output the dependencies at end of run
3939
--print-module-deps \
4040
--recursive \

pom.xml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,6 @@
131131
<spring-test-profiler.version>0.0.14</spring-test-profiler.version>
132132
<ktlint-maven-plugin.version>3.5.0</ktlint-maven-plugin.version>
133133
<jetbrains-annotations.version>26.0.2-1</jetbrains-annotations.version>
134-
<json-unit-assertj.version>4.1.1</json-unit-assertj.version>
135134
</properties>
136135

137136
<dependencyManagement>
@@ -225,11 +224,6 @@
225224
<artifactId>xmlunit-assertj3</artifactId>
226225
<version>${xmlunit-assertj3.version}</version>
227226
</dependency>
228-
<dependency>
229-
<groupId>net.javacrumbs.json-unit</groupId>
230-
<artifactId>json-unit-assertj</artifactId>
231-
<version>${json-unit-assertj.version}</version>
232-
</dependency>
233227
<dependency>
234228
<groupId>software.amazon.awssdk</groupId>
235229
<artifactId>aws-query-protocol</artifactId>
@@ -306,6 +300,7 @@
306300
<version>${jspecify.version}</version>
307301
</dependency>
308302
<dependency>
303+
<!-- Workaround: set version here to force dependencies to converge. -->
309304
<groupId>org.jetbrains</groupId>
310305
<artifactId>annotations</artifactId>
311306
<version>${jetbrains-annotations.version}</version>

server/pom.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -151,11 +151,6 @@
151151
<artifactId>xmlunit-assertj3</artifactId>
152152
<scope>test</scope>
153153
</dependency>
154-
<dependency>
155-
<groupId>net.javacrumbs.json-unit</groupId>
156-
<artifactId>json-unit-assertj</artifactId>
157-
<scope>test</scope>
158-
</dependency>
159154
<dependency>
160155
<groupId>org.jetbrains.kotlin</groupId>
161156
<artifactId>kotlin-test-junit</artifactId>

testsupport/testcontainers/pom.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,6 @@
5252
<groupId>org.jetbrains.kotlin</groupId>
5353
<artifactId>kotlin-stdlib</artifactId>
5454
</dependency>
55-
<dependency>
56-
<groupId>org.jetbrains</groupId>
57-
<artifactId>annotations</artifactId>
58-
</dependency>
5955
<dependency>
6056
<groupId>org.jspecify</groupId>
6157
<artifactId>jspecify</artifactId>

0 commit comments

Comments
 (0)