diff --git a/changes.txt b/changes.txt index 27bf4666..7190ca12 100644 --- a/changes.txt +++ b/changes.txt @@ -1,3 +1,18 @@ +mybatis-flex v1.2.0 20230426: +新增:FlexGlobalConfig.setDefaultConfig 方法,使其扩展更加灵活,用于适配 solon +新增:BaseMapper.insertBatch(entities,size) 方法,自定义分批插入;感谢 @庄佳彬 +新增:Entity 的监听器可以配置为父类 BaseEntity 的支持 +新增:Apt 添加自定义 字段名命名风格 的支持 #I6YGRG +修复:processor.tablesClassName 配置不起作用的问题;感谢 @玩具猫 +修复:left join 关联查询 on 有第二个条件赋值错误的问题; #I6YT2R +修复:审计日志中赋值异常的问题 #I6Z1R8 +修复:修复 createIdKeyGenerator 对 keyType.None 判断错误的问题 +优化:修改 @Table 注解,删除其 @Inherited +文档:重构文档结构、使之更加清晰;感谢 @snow +文档:同步新版本 apt 功能文档 + + + mybatis-flex v1.1.9 20230424: 新增:根据 id 查询数据时,返回默认字段而非全部字段;感谢 @wnp 新增:APT 添加忽略 entity 后缀的配置支持 diff --git a/docs/zh/intro/getting-started.md b/docs/zh/intro/getting-started.md index b0d73588..dd5dc7cb 100644 --- a/docs/zh/intro/getting-started.md +++ b/docs/zh/intro/getting-started.md @@ -27,7 +27,7 @@ Maven示例: com.mybatis-flex mybatis-flex-core - 1.1.9 + 1.2.0 ``` @@ -36,7 +36,7 @@ Gradle示例: ```groovy // file: build.gradle ext { - mybatis_flex_version = '1.1.9' + mybatis_flex_version = '1.2.0' } dependencies { implementation("com.mybatis-flex:mybatis-flex-core:${mybatis_flex_version}") diff --git a/docs/zh/intro/maven.md b/docs/zh/intro/maven.md index d333a85a..4007f2f2 100644 --- a/docs/zh/intro/maven.md +++ b/docs/zh/intro/maven.md @@ -9,7 +9,7 @@ com.mybatis-flex mybatis-flex-core - 1.1.9 + 1.2.0 ``` @@ -19,7 +19,7 @@ com.mybatis-flex mybatis-flex-spring - 1.1.9 + 1.2.0 `````` @@ -29,6 +29,6 @@ com.mybatis-flex mybatis-flex-spring-boot-starter - 1.1.9 + 1.2.0 ``` \ No newline at end of file diff --git a/docs/zh/others/apt.md b/docs/zh/others/apt.md index 5ecc7059..5e3d2186 100644 --- a/docs/zh/others/apt.md +++ b/docs/zh/others/apt.md @@ -159,7 +159,7 @@ processor.baseMapperClass=com.domain.mapper.MyBaseMapper ``` dependencies { ... - annotationProcessor 'com.mybatis-flex:mybatis-flex-annotation:1.1.9' + annotationProcessor 'com.mybatis-flex:mybatis-flex-annotation:1.2.0' } ``` diff --git a/docs/zh/others/codegen.md b/docs/zh/others/codegen.md index b3bb8af5..3da7ae2c 100644 --- a/docs/zh/others/codegen.md +++ b/docs/zh/others/codegen.md @@ -9,7 +9,7 @@ com.mybatis-flex mybatis-flex-codegen - 1.1.9 + 1.2.0 ``` diff --git a/pom.xml b/pom.xml index e7b524e3..a8ce5988 100644 --- a/pom.xml +++ b/pom.xml @@ -7,7 +7,7 @@ com.mybatis-flex parent pom - 1.1.9 + 1.2.0 mybatis-flex https://mybatis-flex.com