Skip to content

Commit 1a9aeb6

Browse files
Bump org.springframework.boot from 3.3.5 to 3.4.0 (#42)
* Bump org.springframework.boot from 3.3.5 to 3.4.0 Bumps [org.springframework.boot](https://github.com/spring-projects/spring-boot) from 3.3.5 to 3.4.0. - [Release notes](https://github.com/spring-projects/spring-boot/releases) - [Commits](spring-projects/spring-boot@v3.3.5...v3.4.0) --- updated-dependencies: - dependency-name: org.springframework.boot dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Updating Spring version, fixing deprecations and fixing a bug with configuration definition --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Roman Khlebnov <suppie.rk@gmail.com>
1 parent 7647987 commit 1a9aeb6

File tree

5 files changed

+9
-11
lines changed

5 files changed

+9
-11
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ This version does not allow setting most of the local cache properties in favor
1414
<dependency>
1515
<groupId>io.github.suppierk</groupId>
1616
<artifactId>spring-boot-multilevel-cache-starter</artifactId>
17-
<version>3.3.5.0</version>
17+
<version>3.4.0.0</version>
1818
</dependency>
1919
```
2020

2121
### Gradle
2222
```groovy
23-
implementation 'io.github.suppierk:spring-boot-multilevel-cache-starter:3.3.5.0'
23+
implementation 'io.github.suppierk:spring-boot-multilevel-cache-starter:3.4.0.0'
2424
```
2525

2626
## Use cases

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ plugins {
99
id 'java-library'
1010

1111
// Core frameworks
12-
id 'org.springframework.boot' version '3.3.5'
12+
id 'org.springframework.boot' version '3.4.0'
1313
id 'io.spring.dependency-management' version '1.1.6'
1414

1515
// Publishing

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ SONATYPE_AUTOMATIC_RELEASE=true
2727

2828
GROUP=io.github.suppierk
2929
POM_ARTIFACT_ID=spring-boot-multilevel-cache-starter
30-
VERSION_NAME=3.3.5.0
30+
VERSION_NAME=3.4.0.0
3131
POM_PACKAGING=jar
3232

3333
POM_NAME=Spring Boot Multilevel Cache Starter

src/main/java/io/github/suppie/spring/cache/MultiLevelCacheConfigurationProperties.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,7 @@ public class MultiLevelCacheConfigurationProperties {
6161
*/
6262
public RedisCacheConfiguration toRedisCacheConfiguration() {
6363
RedisCacheConfiguration configuration =
64-
RedisCacheConfiguration.defaultCacheConfig()
65-
.disableCachingNullValues()
66-
.entryTtl(timeToLive);
64+
RedisCacheConfiguration.defaultCacheConfig().entryTtl(timeToLive);
6765

6866
if (useKeyPrefix) {
6967
configuration.prefixCacheNameWith(keyPrefix);

src/test/java/io/github/suppie/spring/cache/MultiLevelCacheTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@
4141
import org.springframework.boot.autoconfigure.cache.CacheAutoConfiguration;
4242
import org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration;
4343
import org.springframework.boot.test.context.SpringBootTest;
44-
import org.springframework.boot.test.mock.mockito.MockBean;
4544
import org.springframework.cache.Cache;
4645
import org.springframework.data.redis.connection.RedisConnection;
4746
import org.springframework.data.redis.connection.RedisConnectionFactory;
4847
import org.springframework.data.redis.listener.RedisMessageListenerContainer;
4948
import org.springframework.test.context.ActiveProfiles;
49+
import org.springframework.test.context.bean.override.mockito.MockitoBean;
5050

5151
@ActiveProfiles("test")
5252
@SpringBootTest(
@@ -61,10 +61,10 @@ class MultiLevelCacheTest {
6161

6262
@Autowired MultiLevelCacheManager cacheManager;
6363

64-
@MockBean RedisMessageListenerContainer redisMessageListenerContainer;
64+
@MockitoBean RedisMessageListenerContainer redisMessageListenerContainer;
6565

66-
@MockBean RedisConnection redisConnection;
67-
@MockBean RedisConnectionFactory redisConnectionFactory;
66+
@MockitoBean RedisConnection redisConnection;
67+
@MockitoBean RedisConnectionFactory redisConnectionFactory;
6868

6969
@ParameterizedTest
7070
@MethodSource("operations")

0 commit comments

Comments
 (0)