Skip to content

Commit

Permalink
build: 发布 1.5.0 版本
Browse files Browse the repository at this point in the history
  • Loading branch information
houkunlin committed Sep 27, 2023
1 parent 986c7ea commit 9783ade
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 4 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@

**`v1.4.8` 版本已在 `JDK8` `JDK11` `JDK17` 环境下跑通所有单元测试样例**

**`v1.5.0` 版本产生了一些破坏性变更,请谨慎升级**

**Maven**

```xml
Expand Down Expand Up @@ -48,6 +50,7 @@ public class Application {
}
```

**`v1.5.0` 版本产生了一些破坏性变更,请谨慎升级**



Expand Down
5 changes: 4 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ plugins {
}

group = 'com.houkunlin'
version = '1.4.11'
version = '1.5.0'
description = """
系统数据字典自动翻译成字典文本。可集合系统数据库中存储的用户数据字典,也可使用枚举做系统数据字典,主要用在返回数据给前端时自动把字典值翻译成字典文本信息;
The system data dictionary is automatically translated into dictionary text.
Expand Down Expand Up @@ -39,6 +39,9 @@ repositories {

dependencies {
compileOnly 'org.springframework.boot:spring-boot-starter-actuator'
compileOnly 'org.springframework.boot:spring-boot-starter-jdbc'
// compileOnly 'org.springframework.boot:spring-boot-starter-data-jpa'
compileOnly 'com.baomidou:mybatis-plus-boot-starter:3.5.3.1'
testImplementation 'org.springframework.boot:spring-boot-starter-actuator'
compileOnly 'org.springframework.boot:spring-boot-starter-web'
testImplementation 'org.springframework.boot:spring-boot-starter-web'
Expand Down
9 changes: 9 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# 更改日志

## 1.5.0 版本

产生了一些破坏性变更,请谨慎升级
- refactor: 重构 Jackson 序列化器,抽出一个基类序列化器,把 DictText.Type 提取为 DictBoolType 对象
- perf: 优化 Jackson 序列化器对于集合字典的处理
- feat: 防止系统字典值重复加入缓存
- feat: 系统字典类型完整信息单独存储一份,系统字典不允许通过事件进行更新字典数据
- feat: 缓存到 Redis 改为存储到 Redis Hash

## 1.4.11 版本

- feat(swagger): 增加 SpringDoc 的注解配置,把 Swagger/SpringDoc 的注解依赖范围从 传递依赖 改为仅在编译时有效
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* 数据字典配置类型
*
* @author HouKunLin
* @since 1.4.12
* @since 1.5.0
*/
public enum DictBoolType {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* 一般情况下的场景,字典文本转换的基本功能代码
*
* @author HouKunLin
* @since 1.4.12
* @since 1.5.0
*/
public abstract class DictTextJsonSerializerBasic extends JsonSerializer<Object> {
private static final Logger logger = LoggerFactory.getLogger(DictTextJsonSerializerBasic.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.data.redis.core.StringRedisTemplate;

/**
* Redis 字典存储配置
Expand Down

0 comments on commit 9783ade

Please sign in to comment.