quarkiverse / quarkus-mybatis

Quarkus MyBatis Extension
Apache License 2.0
89 stars 33 forks source link

Bump com.baomidou:mybatis-plus from 3.5.3.1 to 3.5.3.2 #340

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps com.baomidou:mybatis-plus from 3.5.3.1 to 3.5.3.2.

Release notes

Sourced from com.baomidou:mybatis-plus's releases.

v3.5.3.2

feat: 升级mybatis至3.5.13,mybatis-spring至2.1.1

feat: jsqlparser提供统一解析类,可配置解析函数,并加入缓存选项

feat: 增加Sequence初始化debug日志

feat: 参数填充器支持多参数填充

feat: BaseMapper新增selectMaps(page, wrapper)与selectList(page, wrapper)方法

feat: 乐观锁字段支持 java.time.Instant

feat: wrapper#apply支持配置mapping比如column={0,javaType=int,jdbcType=NUMERIC,typeHandler=xxx.xxx.MyTypeHandler}

feat: 调整 QueryWrapper 需要主动开启检查 SQL 注入过滤(移除掉wrapper的orderby的sql过滤功能)

feat: 新增星瑞格数据库支持

feat: updateWrapper#setSql方法支持动态入参参考wrapper#apply方法

feat: 自动 SQL 维护 DDL 支持 SQL 执行存储过程

perf: ktWrapper加强泛型限制

fix: 修复在选择springdoc文档注释时entity描述异常

fix: 在主键的IdType为AUTO的情况下,Table#getAllInsertSqlColumnMaybeIf("xx.")所生成sql错误问题

fix: 租户插件支持update set subSelect的情况

fix: 修复高版本Jdk提示非法反射警告(Illegal reflective access by com.baomidou.mybatisplus.core.toolkit.SetAccessibleAction)

fix: 修复高版本Jdk插件动态代理反射错误 (Unable to make field protected java.lang.reflect.InvocationHandler java.lang.reflect.Proxy.h accessible)

fix: 修复路径替换将原有的“.”替换成了文件分隔符“/”

fix: 修复Beetl模板引擎无法生成注释

fix: 修复Types.DOUBLE类型无法映射

fix: 修复转换父类公共字段报错

fix: 修复生成器无法通过cfg.取值

fix: 修复单元测试下MockBean时事务回滚失败

fix: 修复Warpper类nonEmptyOfWhere方法命名不规范,导致Ognl未正确缓存带来的执行开销

fix: ClickHouseQuery类的tableComment()方法返回表注释字段为comment

... (truncated)

Changelog

Sourced from com.baomidou:mybatis-plus's changelog.

[v3.5.3.2] 2023.08.08

  • feat: 升级mybatis至3.5.13,mybatis-spring至2.1.1
  • feat: jsqlparser提供统一解析类,可配置解析函数,并加入缓存选项
  • feat: 增加Sequence初始化debug日志
  • feat: 参数填充器支持多参数填充
  • feat: BaseMapper新增selectMaps(page, wrapper)与selectList(page, wrapper)方法
  • feat: 乐观锁字段支持 java.time.Instant
  • feat: wrapper#apply支持配置mapping比如column={0,javaType=int,jdbcType=NUMERIC,typeHandler=xxx.xxx.MyTypeHandler}
  • feat: 调整 QueryWrapper 需要主动开启检查 SQL 注入过滤(移除掉wrapper的orderby的sql过滤功能)
  • feat: 新增星瑞格数据库支持
  • feat: updateWrapper#setSql方法支持动态入参参考wrapper#apply方法
  • feat: 自动 SQL 维护 DDL 支持 SQL 执行存储过程
  • perf: ktWrapper加强泛型限制
  • fix: 修复在选择springdoc文档注释时entity描述异常
  • fix: 在主键的IdTypeAUTO的情况下,Table#getAllInsertSqlColumnMaybeIf("xx.")所生成sql错误问题
  • fix: 租户插件支持update set subSelect的情况
  • fix: 修复高版本Jdk提示非法反射警告(Illegal reflective access by com.baomidou.mybatisplus.core.toolkit.SetAccessibleAction)
  • fix: 修复高版本Jdk插件动态代理反射错误 (Unable to make field protected java.lang.reflect.InvocationHandler java.lang.reflect.Proxy.h accessible)
  • fix: 修复路径替换将原有的“.”替换成了文件分隔符“/”
  • fix: 修复Beetl模板引擎无法生成注释
  • fix: 修复Types.DOUBLE类型无法映射
  • fix: 修复转换父类公共字段报错
  • fix: 修复生成器无法通过cfg.取值
  • fix: 修复单元测试下MockBean时事务回滚失败
  • fix: 修复Warpper类nonEmptyOfWhere方法命名不规范,导致Ognl未正确缓存带来的执行开销
  • fix: ClickHouseQuery类的tableComment()方法返回表注释字段为comment
  • fix: 修复在选择springdoc文档注释时entity描述异常问题
  • fix: Table#getAllInsertSqlColumnMaybeIf("xx.")下的sql生成错误问题
  • fix: Db类增加根据实体不为空的字段条件查询方法重载
  • fix: 生成器对于Kotlin的Entity文件的superEntityClass的错误
  • fix: 修复springdoc freemarker模式下 表注释取值取不到
  • opt: 增强参数填充处理器,防止因参数名称与填充名称一致类型不匹配导致转换错误
  • opt: 优化方法注入,去除SelectPage,SelectMapsPage,SelectByMap,DeleteByMap注入
  • opt: 减少MappedStatement堆内存占用
  • opt: 解决PluginUtils重复获取元数据带来的性能消耗
  • opt: 注入方法去除多余的换行符
  • opt: 去除SqlRunner持有的sqlSessionFactory变量
  • opt: 解决Sequence初始化多次问题(自定义情况下可不创建默认主键生成器)
  • opt: 优化 SqlHelper#getMapper 返回泛型
  • opt: 去除SqlRunner持有的sqlSessionFactory变量
  • docs: 修正DdlHelper注释错误
Commits
  • f9addf8 Merge branch '3.0' into github3.0
  • d9fc470 发布版本 3.5.3.2
  • 6533a70 Merge branch '3.0' into github3.0
  • 926f877 Merge branch '3.0' into 3.gay
  • 9a800a9 upgrade kotlin 1.9.0
  • bfa636a jsqlparser 缓存优化
  • 62a58e3 Merge pull request #5554 from baomidou/dependabot/gradle/org.jetbrains.kotlin...
  • 6c99bbf Bump org.jetbrains.kotlin:kotlin-reflect from 1.7.10 to 1.9.0
  • c7bd198 新增 jsqlparser 缓存 Caffeine 缓存实现抽象类
  • 4cc8f55 fix: gitee issues/I6E5LV 支持 SQL 执行存储过程
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)