Skip to content

Commit 07b6199

Browse files
authored
Merge pull request #2626 from adobe/maintenance
Prepare for 4.9.0
2 parents 933b768 + f9ca369 commit 07b6199

File tree

15 files changed

+64
-28
lines changed

15 files changed

+64
-28
lines changed

.github/workflows/maven-ci-and-prb.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ jobs:
4848
- name: Set up JDK
4949
uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
5050
with:
51-
java-version: 21
52-
distribution: 'temurin'
51+
java-version: 25
52+
distribution: 'oracle'
5353
cache: 'maven'
5454
- name: Build with Maven
5555
run: ./mvnw -B -V -Dstyle.color=always clean verify

CHANGELOG.md

Lines changed: 36 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ Whenever a 3rd party library is updated, S3Mock will update it's MINOR version.
88
* [PLANNED - 5.x - RELEASE TBD](#planned---5x---release-tbd)
99
* [Planned changes](#planned-changes)
1010
* [CURRENT - 4.x - THIS VERSION IS UNDER ACTIVE DEVELOPMENT](#current---4x---this-version-is-under-active-development)
11+
* [4.11.0 - PLANNED](#4110---planned)
1112
* [4.10.0 - PLANNED](#4100---planned)
12-
* [4.9.0 - PLANNED](#490---planned)
13+
* [4.9.0](#490)
1314
* [4.8.0](#480)
1415
* [4.7.0](#470)
1516
* [4.6.0](#460)
@@ -148,24 +149,43 @@ Running S3Mock in unit tests is still supported by using [TestContainers](https:
148149
# CURRENT - 4.x - THIS VERSION IS UNDER ACTIVE DEVELOPMENT
149150
Version 4.x is JDK17 LTS bytecode compatible, with Docker and JUnit / direct Java integration.
150151

151-
**The current major version 4 will receive new features, dependency updates and bug fixes on a continuous basis.**
152+
**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.**
152153

153-
## 4.10.0 - PLANNED
154+
## 4.11.0 - PLANNED
154155
Version 4.x is JDK17 LTS bytecode compatible, with Docker and JUnit / direct Java integration.
155156

157+
**This is the last currently planned minor release of 4.x.**
158+
156159
* Features and fixes
157160
* TBD
158161
* Refactorings
159162
* TBD
160163
* Version updates (deliverable dependencies)
164+
* Update to Spring Boot 3.5.8
165+
* Planned release November 20th 2025
166+
* TBD: link to milestone
167+
* Version updates (build dependencies)
161168
* TBD
169+
170+
## 4.10.0 - PLANNED
171+
Version 4.x is JDK17 LTS bytecode compatible, with Docker and JUnit / direct Java integration.
172+
173+
* Features and fixes
174+
* TBD
175+
* Refactorings
176+
* TBD
177+
* Version updates (deliverable dependencies)
178+
* Update to Spring Boot 3.5.7
179+
* Planned release October 23rd 2025
180+
* https://github.com/spring-projects/spring-boot/milestone/399
162181
* Version updates (build dependencies)
163182
* TBD
164183

165-
## 4.9.0 - PLANNED
184+
## 4.9.0
166185
Version 4.x is JDK17 LTS bytecode compatible, with Docker and JUnit / direct Java integration.
167186

168187
* Features and fixes
188+
* Remove Content-Type expectation from PutBucketVersioning (Fixes #2635)
169189
* Let S3Mock validate bucket names according to AWS rules
170190
* Refactorings
171191
* Let TaggingHeaderConverter convert XML tags
@@ -177,11 +197,21 @@ Version 4.x is JDK17 LTS bytecode compatible, with Docker and JUnit / direct Jav
177197
* Build: update Google Checkstyle to the latest version and fix violations.
178198
* Build: use ktlint-maven-plugin to validate Kotlin code style.
179199
* Version updates (deliverable dependencies)
180-
* TBD
200+
* Bump spring-boot.version from 3.5.5 to 3.5.6
201+
* Bump aws-v2.version from 2.32.31 to 2.33.12
202+
* Bump aws.version from 1.12.788 to 1.12.791
181203
* Version updates (build dependencies)
204+
* Bump Java 21 to Java 25 to build S3Mock.
205+
* Bump kotlin.version from 2.2.10 to 2.2.20
206+
* Bump aws.sdk.kotlin:s3-jvm from 1.5.26 to 1.5.41
207+
* Bump org.xmlunit:xmlunit-assertj3 from 2.10.3 to 2.10.4
208+
* Bump org.apache.maven.plugins:maven-surefire-plugin from 3.5.3 to 3.5.4
209+
* Bump org.apache.maven.plugins:maven-failsafe-plugin from 3.5.3 to 3.5.4
182210
* Bump com.puppycrawl.tools:checkstyle from 11.0.0 to 11.0.1
211+
* Bump digital.pragmatech.testing:spring-test-profiler from 0.0.11 to 0.0.12
183212
* Bump actions/stale from 9.1.0 to 10.0.0
184-
* Bump github/codeql-action from 3.29.11 to 3.30.1
213+
* Bump github/codeql-action from 3.29.11 to 3.30.3
214+
* Bump step-security/harden-runner from 2.13.0 to 2.13.1
185215
* Bump maven from 3.9.9 to 3.9.11
186216
* Bump maven wrapper from 3.3.2 to 3.3.3
187217

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@
6464
* [Contributing](#contributing)
6565
* [Licensing](#licensing)
6666
* [Powered by](#powered-by)
67+
* [Star History](#star-history)
6768
<!-- TOC -->
6869

6970
## S3Mock

docker/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<groupId>com.adobe.testing</groupId>
2424
<artifactId>s3mock-parent</artifactId>
25-
<version>4.8.1-SNAPSHOT</version>
25+
<version>4.9.0-SNAPSHOT</version>
2626
</parent>
2727

2828
<artifactId>s3mock-docker</artifactId>

integration-tests/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<groupId>com.adobe.testing</groupId>
2424
<artifactId>s3mock-parent</artifactId>
25-
<version>4.8.1-SNAPSHOT</version>
25+
<version>4.9.0-SNAPSHOT</version>
2626
</parent>
2727

2828
<artifactId>s3mock-integration-tests</artifactId>

integration-tests/src/test/kotlin/com/adobe/testing/s3mock/its/VersionsIT.kt

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -238,14 +238,15 @@ internal class VersionsIT : S3TestBase() {
238238
RequestBody.fromFile(UPLOAD_FILE),
239239
).versionId()
240240

241-
s3Client
242-
.putObject(
243-
{
244-
it.bucket(bucketName)
245-
it.key(UPLOAD_FILE_NAME)
246-
},
247-
RequestBody.fromFile(UPLOAD_FILE),
248-
).versionId()
241+
val versionId =
242+
s3Client
243+
.putObject(
244+
{
245+
it.bucket(bucketName)
246+
it.key(UPLOAD_FILE_NAME)
247+
},
248+
RequestBody.fromFile(UPLOAD_FILE),
249+
).versionId()
249250

250251
s3Client
251252
.deleteObject {
@@ -255,6 +256,11 @@ internal class VersionsIT : S3TestBase() {
255256
assertThat(it.deleteMarker()).isEqualTo(true)
256257
}
257258

259+
val listObjectVersions = s3Client.listObjectVersions { it.bucket(bucketName) }
260+
assertThat(listObjectVersions.hasVersions()).isTrue
261+
assertThat(listObjectVersions.versions()[0].key()).isEqualTo(UPLOAD_FILE_NAME)
262+
assertThat(listObjectVersions.versions()[0].versionId()).isEqualTo(versionId)
263+
258264
assertThatThrownBy {
259265
s3Client.getObject {
260266
it.bucket(bucketName)

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
<groupId>com.adobe.testing</groupId>
2323
<artifactId>s3mock-parent</artifactId>
24-
<version>4.8.1-SNAPSHOT</version>
24+
<version>4.9.0-SNAPSHOT</version>
2525
<packaging>pom</packaging>
2626

2727
<name>S3Mock - Parent</name>

server/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<groupId>com.adobe.testing</groupId>
2424
<artifactId>s3mock-parent</artifactId>
25-
<version>4.8.1-SNAPSHOT</version>
25+
<version>4.9.0-SNAPSHOT</version>
2626
</parent>
2727

2828
<artifactId>s3mock</artifactId>

server/src/main/java/com/adobe/testing/s3mock/BucketController.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,8 +231,7 @@ public ResponseEntity<VersioningConfiguration> getVersioningConfiguration(@PathV
231231
},
232232
params = {
233233
VERSIONING
234-
},
235-
consumes = APPLICATION_XML_VALUE
234+
}
236235
)
237236
@S3Verified(year = 2025)
238237
public ResponseEntity<Void> putVersioningConfiguration(

testsupport/common/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<groupId>com.adobe.testing</groupId>
2424
<artifactId>s3mock-testsupport-reactor</artifactId>
25-
<version>4.8.1-SNAPSHOT</version>
25+
<version>4.9.0-SNAPSHOT</version>
2626
</parent>
2727

2828
<artifactId>s3mock-testsupport-common</artifactId>

0 commit comments

Comments
 (0)