Bump to Spring Boot 4.1.0 (#3125)

Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
This commit is contained in:
Avgustin Marinov
2026-06-12 11:34:33 +03:00
committed by GitHub
parent 24714b01fc
commit aa79097c1f
2 changed files with 3 additions and 7 deletions

View File

@@ -61,10 +61,6 @@ public class DistributedLockRepository extends DefaultLockRepository {
timeToLive * lockProperties.getRefreshOnRemainPercent() / 100);
final int refreshAfterMS = timeToLive - triggerOnRemainMS;
refreshAfterMillis = refreshAfterMS <= 0 ? null : refreshAfterMS;
// to ensure that deprecated acquire and renew will use the lockProperties ttl. none shall call them but anyway - for sure
// to be removed when the #setTimeToLive method is removed from DefaultLockRepository
setTimeToLive(lockProperties.getTtl());
}
@Transactional(propagation = Propagation.REQUIRES_NEW)

View File

@@ -17,7 +17,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>4.0.7</version>
<version>4.1.0</version>
</parent>
<groupId>org.eclipse.hawkbit</groupId>
@@ -58,8 +58,8 @@
<java.client.version>17</java.client.version>
<!-- must be the same as the parent version -->
<spring-boot.version>4.0.7</spring-boot.version>
<spring-cloud.version>2025.1.1</spring-cloud.version>
<spring-boot.version>4.1.0</spring-boot.version>
<spring-cloud.version>2025.1.2</spring-cloud.version>
<spring-ai.version>1.1.7</spring-ai.version>
<springdoc-openapi.version>3.0.3</springdoc-openapi.version>