v1.2.0 release (^.^)YYa!!

This commit is contained in:
开源海哥 2023-04-26 18:00:29 +08:00
parent 75725219cb
commit e3d1d6b99e
6 changed files with 23 additions and 8 deletions

View File

@ -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 后缀的配置支持

View File

@ -27,7 +27,7 @@ Maven示例
<dependency>
<groupId>com.mybatis-flex</groupId>
<artifactId>mybatis-flex-core</artifactId>
<version>1.1.9</version>
<version>1.2.0</version>
</dependency>
```
@ -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}")

View File

@ -9,7 +9,7 @@
<dependency>
<groupId>com.mybatis-flex</groupId>
<artifactId>mybatis-flex-core</artifactId>
<version>1.1.9</version>
<version>1.2.0</version>
</dependency>
```
@ -19,7 +19,7 @@
<dependency>
<groupId>com.mybatis-flex</groupId>
<artifactId>mybatis-flex-spring</artifactId>
<version>1.1.9</version>
<version>1.2.0</version>
</dependency>
``````
@ -29,6 +29,6 @@
<dependency>
<groupId>com.mybatis-flex</groupId>
<artifactId>mybatis-flex-spring-boot-starter</artifactId>
<version>1.1.9</version>
<version>1.2.0</version>
</dependency>
```

View File

@ -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'
}
```

View File

@ -9,7 +9,7 @@
<dependency>
<groupId>com.mybatis-flex</groupId>
<artifactId>mybatis-flex-codegen</artifactId>
<version>1.1.9</version>
<version>1.2.0</version>
</dependency>
```

View File

@ -7,7 +7,7 @@
<groupId>com.mybatis-flex</groupId>
<artifactId>parent</artifactId>
<packaging>pom</packaging>
<version>1.1.9</version>
<version>1.2.0</version>
<name>mybatis-flex</name>
<url>https://mybatis-flex.com</url>