Skip to content

Releases: mingyang66/spring-parent

5.0.4

06 Jan 11:15
Compare
Choose a tag to compare

Bug Fixes

  1. @I18nOperation注解新增removePackClass属性,对指定的外层类进行剥离,不进行多语言处理;
  2. @DesensitizeOperation注解新增removePackClass属性,对指定的外层类进行剥离,不进行脱敏处理;
  3. @RateLimiterOperation注解对应的限流组件逻辑优化调整,新增使用案例文档说明;
  4. 新增PrintLogUtils.printPlatform打印业务日志;
  5. com.emily.infrastructure.sensitize.SensitizeUtils脱敏工具类支持剥离n层外层包装类;
  6. emily-spring-boot-desensitize脱敏SDK其它模块对其的依赖根据当前项目是否引入,未引用则自动返回原值,做到物理分离;
  7. I18n多语言工具SDK新增对Map集合指定key翻译注解@I18nMapProperty;
  8. I18n多语言工具SDK新增对两个字段灵活定义传入不同key value场景对指定的key对应的value进行多语言处理注解@I18nFlexibleProperty;
  9. 修复@I18nFlexibleProperty注解多语言处理逻辑bug;
  10. 修复@DesensitizeFlexibleProperty注解脱敏处理逻辑bug;
  11. I18n多语言工具SDK新增@I18nPluginProperty自定义多语言翻译插件;
  12. I18n新增I18nPluginRegistry插件注册中心,允许spring启动的时候自动将bean注册到注册中心;
  13. 脱敏SDK新增@DesensitizePluginProperty基于插件的脱敏注解;
  14. 重命名TracingStage为TracingPhase;
  15. logger SDK新增LoggerPrintApplicationEvent、LoggerPrintApplicationListener打印日志事件监听器,其它模块通过PrintLogUtils工具类打印日志全部更改为事件模式;

Dependency Upgrades

  1. Upgrade to springboot 3.4.1;
  2. Upgrade to springcloud 2024.0.0;
  3. Upgrade to mybatis-spring-boot-starter 3.0.4;
  4. Upgrade to jackson 2.18.2;

5.0.3

13 Dec 06:20
Compare
Choose a tag to compare

Bug Fixes

  1. PrintLogUtils工具类打印日志入参修改为String,线程池的初始化优先取系统自带线程池;
  2. Redis SDK移除仓储相关源码,新增消息监听器配置类,新增redis-spring-boot-sample示例模块,验证消息订阅发布;
  3. 新增com.otter.infrastructure.servlet.RequestUtils.getHeaderOrDefault获取请求头方法;
  4. 移除IocUtils、IocApplicationContextInitializer初始化上下文类,SystemNumberHelper类获取系统编号更改为通过TracingAutoConfiguration设置;
  5. PrintLogUtils打印日志工具类中printRequest、printThirdParty方法提供基于Supplier函数参数的方法,并将使用到的地方全部更改为此类方法;
  6. 对404 NoResourceFoundException、405 HttpRequestMethodNotSupportedException返回的异常处理,响应头分别标记为404 405异常状态;
  7. 新增RequestUtils.getHeaders方法及对应的单元测试;
  8. 过滤器、API日志拦截器、全局异常捕获获取URL方式更改为通过FilterUtil.getRequestPath方法;
  9. MethodHelper方法中通过通过MethodInvocation和HttpServletRequest获取入参方案优化调整;
  10. 新增com.otter.infrastructure.servlet.RequestUtils.getParameters方法;
  11. 新增com.emily.infrastructure.aop.utils.MethodInvocationUtils.getMethodArgs方法及对应的单元测试类;
  12. Logger SDK支持关闭组件开关后整个系统不在打印任何日志到文件中,所有日志都打印到控制台上,LogbackApplicationContextInitializer初始化新增开关控制、LoggerFactory对未初始化场景返回默认Logger对象;
  13. 新增@TracingOperation链路追踪注解,解决非servlet上下文执行完成任务后移除上下文;

5.0.2

25 Nov 06:49
Compare
Choose a tag to compare

Bug Fixes

  1. JsonUtils新增对对象或字符串转为JsonNode对象的支持方法readTree、valueToTree;
  2. 新增emily-spring-boot-i18n多语言转换module;
  3. 对emily-spring-boot-transfer模块中RestTemplate拦截器支持http、https及单个请求timeout超时时间代码重构;
  4. knife4j-openapi3-jakarta-spring-boot-starter包版本更新;
  5. 更新emily-spring-boot-parent module模块;
  6. com.emily.infrastructure.logback.entity.BaseLogger建造者模式实现方案修改;
  7. 移除ResponseHttpEntityMethodReturnValueHandler、ResponseHttpHeadersReturnValueHandler、ResponseMethodReturnValueHandler返回值包装类;
  8. com.emily.infrastructure.web.response.entity.BaseResponse类建造者模式实现方案修改;
  9. ContextHolder重命名为TracingHolder;
  10. 移除com.emily.infrastructure.web.filter.filter.DelegateRequestWrapper并由ContentCachingRequestWrapper代替;
  11. 移除com.emily.infrastructure.tracing.holder.ContextTransmitter;
  12. 移除ParameterInterceptor拦截器,内部的设置阶段标识功能迁移到ContentCachingWrapperFilter过滤器类中;

Dependency Upgrades

  1. Upgrade to springboot 3.4.0;

5.0.1

20 Sep 05:11
Compare
Choose a tag to compare

基础库发布5.0.1
Bug Fixes

  1. 新增emily-spring-boot-parent module定义插件管理;
  2. StringUtils新增countOfContains方法计算字符串包含数量;
  3. emily-spring-boot-rateLimiter限流组件添加限流支撑能力;
  4. 全局异常处理组件对UndeclaredThrowableException捕获处理受检查异常抛出真实异常信息;
    <dependencyManagement>
        <dependencies>
            <dependency>
            <dependency>
                <groupId>io.github.mingyang66</groupId>
                <artifactId>emily-dependencies</artifactId>
                <version>5.0.1</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
            </dependency>
        </dependencies>
    </dependencyManagement>

5.0.0

04 Sep 02:25
Compare
Choose a tag to compare

Bug Fixes

  1. 新增emily-spring-boot-transfer模块,提供对feign的支持;
  2. emily-spring-boot-core模块移除emily-spring-boot-logger日志依赖引用;
  3. 移除BeanFactoryUtils工具类;
  4. 新增spring-cloud-dependencies依赖管理,去掉consul相关依赖管理;
  5. emily-spring-boot-starter中RestTemplate拦截器迁移到emily-spring-boot-transfer
  6. 新增emily-spring-boot-validation模块并将emily-spring-boot-starter中valid校验迁移到此模块;
  7. emily-spring-boot-core deleted common-io dependency;
  8. emily-spring-boot-starter add common-io dependency;
  9. 新增emily-spring-boot-web module并且将emily-spring-boot-starter中请求响应全局处理迁移过来;
  10. 新增emily-spring-boot-tracing链路追踪模块;
  11. 将emily-spring-boot-core重命名为emily-spring-boot-aop;
  12. emily-dependencies添加knife4j-openapi2-spring-boot-starter依赖管理;
  13. 新增emily-spring-boot-rateLimiter限流组件模块;
  14. emily-spring-boot-web中新增emily-spring-boot-aop依赖;

Dependency Upgrades

  1. Upgrade to springboot 3.3.3;
    <dependencyManagement>
        <dependencies>
            <dependency>
            <dependency>
                <groupId>io.github.mingyang66</groupId>
                <artifactId>emily-dependencies</artifactId>
                <version>5.0.0</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
            </dependency>
        </dependencies>
    </dependencyManagement>

4.4.8

13 Aug 07:50
Compare
Choose a tag to compare

Bug Fixes

  1. JsonUtils新增readTree工具方法;
  2. DeSensitiveUtils脱敏工具类优化调整;
  3. 脱敏工具类中提示Unchecked cast使用@SuppressWarnings("unchecked")注解处理;
  4. DataMaskUtils脱敏隐藏工具类判定字符串长度由"abc".length==0修改为”abc“.isEmpty()方法;
  5. redis sdk 依赖优化调整,RedisTemplate、StringRedisTemplate、ReactiveRedisTemplate、ReactiveStringRedisTemplate
    四个模板对象支持默认对象注入容器,支持配置标识+模板名称模式获取实例对象;
  6. RedisDbFactory新增ReactiveRedisTemplate、ReactiveStringRedisTemplate模板对象支持,优化方法获取默认模板相关代码;
  7. Redis SDK新增package-info.java支持;
  8. Redis SDK新增服务启动故障分析类RedisIdentifierFailureAnalyzer.java;
  9. Logger SDK新增自动化配置类元数据生成支持spring-boot-configuration-processor依赖,只在编译阶段存在;
  10. 新增emily-spring模块,添加ClassPathResourceSupport类对类路径、系统文件路径下文件解析;
  11. CharacterInfo新增竖线常量VERTICAL;
  12. 新增emily-dependencies物料清单module;
  13. 新增emily-parent父module;
  14. 新增emily-project module将oceansky相关java module归类到此模块下;
  15. 新增emily-spring-boot-project 模块,将spring-boot相关模块归类到此模块下;
  16. 新增emily-spring-boot-sample模块,将demo相关模块归类到此模块下;

Dependency Upgrades

  1. Upgrade to springboot 3.3.2;
  2. Upgrade to maven-gpg-plugin 3.2.4;
  3. Upgrade to maven-javadoc-plugin 3.7.0;
  4. Upgrade to maven-compiler-plugin 3.13.0;
  5. Upgrade to maven-source-plugin 3.3.1;
    <dependencyManagement>
        <dependencies>
            <dependency>
            <dependency>
                <groupId>io.github.mingyang66</groupId>
                <artifactId>emily-dependencies</artifactId>
                <version>4.4.8</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
            </dependency>
        </dependencies>
    </dependencyManagement>

4.4.3

21 Jun 09:34
Compare
Choose a tag to compare

基础库发布4.4.3
Bug Fixes

  1. 新增ComputeUtils.getEffectiveValue获取字符串数字有效位数工具方法;
  2. com.emily.infrastructure.captcha.CaptchaUtils.convertStreamToBase64新增将图形验证码图片流转换为Base64字符串方法;
  3. ocean-sensitive组件对脱敏工具类SensitiveUtils、DeSensitiveUtils新增指定外层包装未标记脱敏注解但是会对内层标记脱敏注解的类字段进行脱敏;
  4. SensitiveUtils、DeSensitiveUtils 脱敏工具类支持对指定包装外层包了Map、List、Collection、Array等集合类型的数据进行脱敏;
  5. ComputeUtils工具类新增round、toPercentage保留小数位数及转换为百分比方法;
  6. 新增自带默认值ComputeUtils.getEffectiveValue(java.lang.String, java.lang.String)小数位数工具方法;
  7. ComputeUtils工具类新增rounding相关方法对BigDecimal进行舍入处理;
  8. PrintLoggerUtils打印日志类对Logger对象的初始化修改为静态内部类模式延迟加载。
  9. 各个模块新增module-info.java模块系统支持;。、

Dependency Upgrades

  1. Upgrade to logback 1.5.6;
  2. Upgrade to slf4j-api 2.0.13;
  3. Upgrade to spring-boot 3.3.0;
  4. Upgrade to druid-spring-boot-3-starter 1.2.23;
<!--Java通用工具组件SDK-->
<dependency>
  <groupId>io.github.mingyang66</groupId>
  <artifactId>oceansky-common</artifactId>
  <version>4.4.3</version>
</dependency>
<!--Java通用日志组件SDK-->
<dependency>
  <groupId>io.github.mingyang66</groupId>
  <artifactId>oceansky-logger</artifactId>
  <version>4.4.3</version>
</dependency>
<!--Java图形验证码SDK-->
<dependency>
  <groupId>io.github.mingyang66</groupId>
  <artifactId>oceansky-captcha</artifactId>
  <version>4.4.3</version>
</dependency>
<!--Java简繁体转换、多语言支持SDK-->  
<dependency>
  <groupId>io.github.mingyang66</groupId>
  <artifactId>oceansky-language</artifactId>
  <version>4.4.3</version>
</dependency>
<!--Java实体类脱敏SDK-->  
<dependency>
  <groupId>io.github.mingyang66</groupId>
  <artifactId>oceansky-sensitive</artifactId>
  <version>4.4.3</version>
</dependency>  
<!--Java基于jackson的序列化反序列化SDK-->  
<dependency>
  <groupId>io.github.mingyang66</groupId>
  <artifactId>oceansky-json</artifactId>
  <version>4.4.3</version>
</dependency>  
<!--Java基于JWT获取签名解析签名SDK-->  
<dependency>
  <groupId>io.github.mingyang66</groupId>
  <artifactId>oceansky-jwt</artifactId>
  <version>4.4.3</version>
</dependency>  
<!--Java基于日期转换比较计算SDK-->  
<dependency>
  <groupId>io.github.mingyang66</groupId>
  <artifactId>oceansky-date</artifactId>
  <version>4.4.3</version>
</dependency>  

基于springboot的开源SDKpom依赖引用

<!-- Java基于logback的日志组件SDK -->
<dependency>
    <groupId>io.github.mingyang66</groupId>
    <artifactId>emily-spring-boot-logger</artifactId>
    <version>4.4.3</version>
</dependency>
<!-- 基于druid的数据库多数据源切换SDK -->
<dependency>
    <groupId>io.github.mingyang66</groupId>
    <artifactId>emily-spring-boot-datasource</artifactId>
    <version>4.4.3</version>
</dependency>
<!-- 基于springboot的请求AOP拦截、返回值包装、全局异常处理SDK -->
<dependency>
    <groupId>io.github.mingyang66</groupId>
    <artifactId>emily-spring-boot-starter</artifactId>
    <version>4.4.3</version>
</dependency>
<!-- 基于springboot的多集群多配置SDK -->
<dependency>
    <groupId>io.github.mingyang66</groupId>
    <artifactId>emily-spring-boot-redis</artifactId>
    <version>4.4.3</version>
</dependency>
<!-- 基于springboot的RabbitMQ支持多虚拟主机多集群SDK -->
<dependency>
    <groupId>io.github.mingyang66</groupId>
    <artifactId>emily-spring-boot-rabbitmq</artifactId>
    <version>4.4.3</version>
</dependency>

4.4.2

30 Apr 08:09
Compare
Choose a tag to compare

`Bug Fixes

  1. com.emily.infrastructure.core.helper.ServletHelper.getMethodArgs方法参数脱敏注解处理优化;
  2. com.emily.infrastructure.core.helper.RequestUtils.getHeaders方法新增获取请求头信息;
  3. DefaultRequestMethodInterceptor全局拦截器优化调整;
  4. DefaultMybatisMethodInterceptor全局拦截器优化调整,对获取参数先后数据做调整;
  5. 新增@IsAccountCode判定是否符合指定条件的账号参数校验注解;
  6. 注解@IsPrefix重命名为@IsPrefixes;
  7. 注解@IsSuffix重命名为@IsSuffixes;
  8. DateConvertUtils工具类新增toInstant方法;
  9. DatePatterInfo新增常量YYYY_MM_DD_T_HH_MM_SS_Z支持ISO-8601;
  10. springboot自定义注解@ISINT@islong@isdouble新增min、max参数,支持最小值和最大值;
  11. 注解@ISINT@islong@isdouble新增allows参数,支持特例值;
  12. 修改返回值包装类名及注解名;
  13. 自定义注解优化调整;
  14. 请求拦截器代码逻辑优化调整;

Dependency Upgrades

  1. Upgrade to springboot 3.2.5;
  2. Upgrade to druid-spring-boot-3-starter 1.2.21;
  3. Upgrade to logback 1.5.0;
  4. Upgrade to slf4j-api 2.21.1;
  5. Upgrade to jackson 2.15.4;
    `
<!--Java通用工具组件SDK-->
<dependency>
  <groupId>io.github.mingyang66</groupId>
  <artifactId>oceansky-common</artifactId>
  <version>4.4.2</version>
</dependency>
<!--Java通用日志组件SDK-->
<dependency>
  <groupId>io.github.mingyang66</groupId>
  <artifactId>oceansky-logger</artifactId>
  <version>4.4.2</version>
</dependency>
<!--Java图形验证码SDK-->
<dependency>
  <groupId>io.github.mingyang66</groupId>
  <artifactId>oceansky-captcha</artifactId>
  <version>4.4.2</version>
</dependency>
<!--Java简繁体转换、多语言支持SDK-->  
<dependency>
  <groupId>io.github.mingyang66</groupId>
  <artifactId>oceansky-language</artifactId>
  <version>4.4.2</version>
</dependency>
<!--Java实体类脱敏SDK-->  
<dependency>
  <groupId>io.github.mingyang66</groupId>
  <artifactId>oceansky-sensitive</artifactId>
  <version>4.4.2</version>
</dependency>  
<!--Java基于jackson的序列化反序列化SDK-->  
<dependency>
  <groupId>io.github.mingyang66</groupId>
  <artifactId>oceansky-json</artifactId>
  <version>4.4.2</version>
</dependency>  
<!--Java基于JWT获取签名解析签名SDK-->  
<dependency>
  <groupId>io.github.mingyang66</groupId>
  <artifactId>oceansky-jwt</artifactId>
  <version>4.4.2</version>
</dependency>  
<!--Java基于日期转换比较计算SDK-->  
<dependency>
  <groupId>io.github.mingyang66</groupId>
  <artifactId>oceansky-date</artifactId>
  <version>4.4.2</version>
</dependency>  

基于springboot的开源SDKpom依赖引用

<!-- Java基于logback的日志组件SDK -->
<dependency>
    <groupId>io.github.mingyang66</groupId>
    <artifactId>emily-spring-boot-logger</artifactId>
    <version>4.4.2</version>
</dependency>
<!-- 基于druid的数据库多数据源切换SDK -->
<dependency>
    <groupId>io.github.mingyang66</groupId>
    <artifactId>emily-spring-boot-datasource</artifactId>
    <version>4.4.2</version>
</dependency>
<!-- 基于springboot的请求AOP拦截、返回值包装、全局异常处理SDK -->
<dependency>
    <groupId>io.github.mingyang66</groupId>
    <artifactId>emily-spring-boot-starter</artifactId>
    <version>4.4.2</version>
</dependency>
<!-- 基于springboot的多集群多配置SDK -->
<dependency>
    <groupId>io.github.mingyang66</groupId>
    <artifactId>emily-spring-boot-redis</artifactId>
    <version>4.4.2</version>
</dependency>
<!-- 基于springboot的RabbitMQ支持多虚拟主机多集群SDK -->
<dependency>
    <groupId>io.github.mingyang66</groupId>
    <artifactId>emily-spring-boot-rabbitmq</artifactId>
    <version>4.4.2</version>
</dependency>

4.4.1

13 Jan 02:19
Compare
Choose a tag to compare

基础库发布4.4.1
Bug Fixes

  1. LuaScriptTools新增基于ZSET有序集合的环形节点;
  2. LuaScriptTools新增基于TTL查询永久有效的key的lua脚本及方法;
  3. LuaScriptTools新增基于list列表有序环形结构及lua脚本;
  4. LuaScriptTools新增基于redis lua脚本的加锁解锁脚本及逻辑;
  5. LuaScriptTools新增基于redis scan指令的批量获取数据lua脚本及指令;
  6. LuaScriptTools中tryGetLock、releaseLock获取和释放锁方法及lua脚本优化调整,解决A线程可能会释放B线程持有的锁问题;
  7. 基础库中的所有建造者模式类的create方法都更改为对应实体类的newBuilder();
  8. CaptchaBuilder类建造方法优化调整;
  9. emily-spring-boot-parent默认引入spring-boot-starter-test单元测试依赖;
  10. DateCompareUtils工具类新增isAfter、isBefore、isEqual方法;
  11. oceansky-sensitive脱敏工具类新增@JsonMapField注解专业对Map集合数据脱敏;
  12. oceansky-sensitive单元测试工具升级到junit5;
  13. 移除com.emily.infrastructure.logger.configuration.type.LevelType枚举类,并由org.slf4j.event.Level替换;
  14. HeaderInfo新增IP相关请求头,RequestUtils工具类方法优化并新增相关单元测试类;
  15. RequestHelper重名名为ServletHelper;
  16. com.emily.infrastructure.core.helper.RequestUtils.getRealClientIp方法新增获取请求真实IP地址;
  17. emis-spring-boot-starter SDK新增参数校验注解@IsInclude、@IsLocalDate、@IsLocalDateTime、@IsLocalTime;
  18. emis-spring-boot-starter SDK新增参数校验注解@ISINT@islong@isdouble、@IsBigDecimal、@IsPrefix、@IsSuffix;
  19. 全局异常捕获新增ErrorResponseException异常类,统一处理异常信息;
  20. emi-spring-boot-starter SDK新增@IsBeforeEndDate日期大小比较注解;
  21. 新增PrintLoggerUtils打印全局日志工具类,方便开发人员调试;
  22. delete useless code BaseLoggerBuilder;
  23. delete useless code BaseResponseBuilder;

Dependency Upgrades

  1. Upgrade to springboot 3.2.0;
  2. Upgrade to mybatis-spring-boot-starter 3.0.3;
  3. Upgrade to jackson 2.14.3;
  4. Upgrade to common-langs 3.13.0;
  5. Upgrade to logback 1.4.14;
  6. Upgrade to transmittable-thread-local 2.14.4;
  7. Upgrade to SpringCloud 4.1.0;
  8. Upgrade to springboot 3.2.1;
  9. Upgrade to transmittable-thread-local 2.14.5;
<!--Java通用工具组件SDK-->
<dependency>
  <groupId>io.github.mingyang66</groupId>
  <artifactId>oceansky-common</artifactId>
  <version>4.4.1</version>
</dependency>
<!--Java通用日志组件SDK-->
<dependency>
  <groupId>io.github.mingyang66</groupId>
  <artifactId>oceansky-logger</artifactId>
  <version>4.4.1</version>
</dependency>
<!--Java图形验证码SDK-->
<dependency>
  <groupId>io.github.mingyang66</groupId>
  <artifactId>oceansky-captcha</artifactId>
  <version>4.4.1</version>
</dependency>
<!--Java简繁体转换、多语言支持SDK-->  
<dependency>
  <groupId>io.github.mingyang66</groupId>
  <artifactId>oceansky-language</artifactId>
  <version>4.4.1</version>
</dependency>
<!--Java实体类脱敏SDK-->  
<dependency>
  <groupId>io.github.mingyang66</groupId>
  <artifactId>oceansky-sensitive</artifactId>
  <version>4.4.1</version>
</dependency>  
<!--Java基于jackson的序列化反序列化SDK-->  
<dependency>
  <groupId>io.github.mingyang66</groupId>
  <artifactId>oceansky-json</artifactId>
  <version>4.4.1</version>
</dependency>  
<!--Java基于JWT获取签名解析签名SDK-->  
<dependency>
  <groupId>io.github.mingyang66</groupId>
  <artifactId>oceansky-jwt</artifactId>
  <version>4.4.1</version>
</dependency>  
<!--Java基于日期转换比较计算SDK-->  
<dependency>
  <groupId>io.github.mingyang66</groupId>
  <artifactId>oceansky-date</artifactId>
  <version>4.4.1</version>
</dependency>  

基于springboot的开源SDKpom依赖引用

<!-- Java基于logback的日志组件SDK -->
<dependency>
    <groupId>io.github.mingyang66</groupId>
    <artifactId>emily-spring-boot-logger</artifactId>
    <version>4.4.1</version>
</dependency>
<!-- 基于druid的数据库多数据源切换SDK -->
<dependency>
    <groupId>io.github.mingyang66</groupId>
    <artifactId>emily-spring-boot-datasource</artifactId>
    <version>4.4.1</version>
</dependency>
<!-- 基于springboot的请求AOP拦截、返回值包装、全局异常处理SDK -->
<dependency>
    <groupId>io.github.mingyang66</groupId>
    <artifactId>emily-spring-boot-starter</artifactId>
    <version>4.4.1</version>
</dependency>
<!-- 基于springboot的多集群多配置SDK -->
<dependency>
    <groupId>io.github.mingyang66</groupId>
    <artifactId>emily-spring-boot-redis</artifactId>
    <version>4.4.1</version>
</dependency>
<!-- 基于springboot的RabbitMQ支持多虚拟主机多集群SDK -->
<dependency>
    <groupId>io.github.mingyang66</groupId>
    <artifactId>emily-spring-boot-rabbitmq</artifactId>
    <version>4.4.1</version>
</dependency>

4.4.0

11 Nov 06:08
Compare
Choose a tag to compare

Bug Fixes

  1. LogbackPropertyBuilder新增create创建对象方法;
  2. LogbackContext的getLogger方法修改获取logger对象双重锁检查方法代码;
  3. logger sdk code optimize;
  4. logger policy构建对象重构为builder模式;
  5. logger encode构建对象重构为builder模式;
  6. logger filter构建对象重构为builder模式;
  7. 新增CommonKeys解析logger name工具类;
  8. LoggerContext类代码重构优化调整、修改获取loggerName方法;
  9. 新增FixedWindow固定窗口大小归档策略类;
  10. RedisInfo常量类重命名为RedisCommonKeys;
  11. 新增IOC容器DefaultListableBeanFactory的工具类BeanFactoryUtils;
  12. 将Redis sdk中的所有DefaultListableBeanFactory容器工厂替换为BeanFactoryUtils类;
  13. 新增Redis序列化SerializationUtils工具,修改RedisTemplate和StringRedisTemplate实例bean的序列化方式;
  14. redis sdk beanname及join拼接字符串方法优化;
  15. redis sdk 新增validateConnection、shareNativeConnection、eagerInitialization三个属性配置,控制连接、初始化、校验;
  16. redis sdk core code modify;
  17. 新增RedisProperties配置类继承官方的RedisProperties配置类,添加自定义属性配置,修改自定义sdk代码;
  18. redis sdk RedisConnectionDetails属性修改传递对象模式;
  19. redis sdk 新增LuaScriptTool工具类包含限流、环形节点结构;

Dependency Upgrades

  1. Upgrade to springboot 3.1.5
<!--Java通用工具组件SDK-->
<dependency>
  <groupId>io.github.mingyang66</groupId>
  <artifactId>oceansky-common</artifactId>
  <version>4.4.0</version>
</dependency>
<!--Java通用日志组件SDK-->
<dependency>
  <groupId>io.github.mingyang66</groupId>
  <artifactId>oceansky-logger</artifactId>
  <version>4.4.0</version>
</dependency>
<!--Java图形验证码SDK-->
<dependency>
  <groupId>io.github.mingyang66</groupId>
  <artifactId>oceansky-captcha</artifactId>
  <version>4.4.0</version>
</dependency>
<!--Java简繁体转换、多语言支持SDK-->  
<dependency>
  <groupId>io.github.mingyang66</groupId>
  <artifactId>oceansky-language</artifactId>
  <version>4.4.0</version>
</dependency>
<!--Java实体类脱敏SDK-->  
<dependency>
  <groupId>io.github.mingyang66</groupId>
  <artifactId>oceansky-sensitive</artifactId>
  <version>4.4.0</version>
</dependency>  
<!--Java基于jackson的序列化反序列化SDK-->  
<dependency>
  <groupId>io.github.mingyang66</groupId>
  <artifactId>oceansky-json</artifactId>
  <version>4.4.0</version>
</dependency>  
<!--Java基于JWT获取签名解析签名SDK-->  
<dependency>
  <groupId>io.github.mingyang66</groupId>
  <artifactId>oceansky-jwt</artifactId>
  <version>4.4.0</version>
</dependency>  
<!--Java基于日期转换比较计算SDK-->  
<dependency>
  <groupId>io.github.mingyang66</groupId>
  <artifactId>oceansky-date</artifactId>
  <version>4.4.0</version>
</dependency>  

基于springboot的开源SDKpom依赖引用

<!-- Java基于logback的日志组件SDK -->
<dependency>
    <groupId>io.github.mingyang66</groupId>
    <artifactId>emily-spring-boot-logger</artifactId>
    <version>4.4.0</version>
</dependency>
<!-- 基于druid的数据库多数据源切换SDK -->
<dependency>
    <groupId>io.github.mingyang66</groupId>
    <artifactId>emily-spring-boot-datasource</artifactId>
    <version>4.4.0</version>
</dependency>
<!-- 基于springboot的请求AOP拦截、返回值包装、全局异常处理SDK -->
<dependency>
    <groupId>io.github.mingyang66</groupId>
    <artifactId>emily-spring-boot-starter</artifactId>
    <version>4.4.0</version>
</dependency>
<!-- 基于springboot的多集群多配置SDK -->
<dependency>
    <groupId>io.github.mingyang66</groupId>
    <artifactId>emily-spring-boot-redis</artifactId>
    <version>4.4.0</version>
</dependency>
<!-- 基于springboot的RabbitMQ支持多虚拟主机多集群SDK -->
<dependency>
    <groupId>io.github.mingyang66</groupId>
    <artifactId>emily-spring-boot-rabbitmq</artifactId>
    <version>4.4.0</version>
</dependency>