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

This commit is contained in:
开源海哥 2023-06-09 10:37:42 +08:00
parent 9f39bbc547
commit ae57f19479
6 changed files with 30 additions and 13 deletions

View File

@ -1,3 +1,20 @@
mybatis-flex v1.3.6 20230609:
新增QueryWrapper 添加对 Lambda 构建的支持
新增APT 添加 processor.tablesDefSuffix 配置 Table 后缀的支持
新增:多表查询支持自动映射实体类中的 association 和 collection 类型,感谢 @王帅
新增BaseMapper.selectCursorByQuery() 用于游标查询的支持
优化QueryColumn 添加一个 QueryTable 参数的构造器
优化:移动 BaseMapper.__queryFields() 方法到 MapperUtil
优化:修改 QueryWrapper 的 leftJoinIf 方法为 leftJoin
修复:代码生成器 EnjoyTemplate 出现 IllegalAccessException 错误的问题
修复:修复 Oracle 批量新增出现 SQL 语法错误的问题
修复QueryWrapper 不能使用超过一次的问题 https://github.com/mybatis-flex/mybatis-flex/issues/49
文档QueryWrapper 文档添加关于 APT 的说明
文档QueryWrapper 文档添加 Lambda 构建的代码示例
文档:一对多添加关于自动映射的相关文档,感谢 @王帅
mybatis-flex v1.3.5 20230606: mybatis-flex v1.3.5 20230606:
新增:代码生成器添加生成 spring-cache 缓存模板配置。感谢 @王帅 新增:代码生成器添加生成 spring-cache 缓存模板配置。感谢 @王帅
新增Db + Row 添加 schema 的支持。感谢 @Font_C 新增Db + Row 添加 schema 的支持。感谢 @Font_C

View File

@ -27,12 +27,12 @@ Maven示例
<dependency> <dependency>
<groupId>com.mybatis-flex</groupId> <groupId>com.mybatis-flex</groupId>
<artifactId>mybatis-flex-core</artifactId> <artifactId>mybatis-flex-core</artifactId>
<version>1.3.5</version> <version>1.3.6</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.mybatis-flex</groupId> <groupId>com.mybatis-flex</groupId>
<artifactId>mybatis-flex-processor</artifactId> <artifactId>mybatis-flex-processor</artifactId>
<version>1.3.5</version> <version>1.3.6</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
``` ```
@ -46,7 +46,7 @@ Gradle示例
```groovy ```groovy
// file: build.gradle // file: build.gradle
ext { ext {
mybatis_flex_version = '1.3.5' mybatis_flex_version = '1.3.6'
} }
dependencies { dependencies {
implementation("com.mybatis-flex:mybatis-flex-core:${mybatis_flex_version}") implementation("com.mybatis-flex:mybatis-flex-core:${mybatis_flex_version}")

View File

@ -12,12 +12,12 @@
<dependency> <dependency>
<groupId>com.mybatis-flex</groupId> <groupId>com.mybatis-flex</groupId>
<artifactId>mybatis-flex-core</artifactId> <artifactId>mybatis-flex-core</artifactId>
<version>1.3.5</version> <version>1.3.6</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.mybatis-flex</groupId> <groupId>com.mybatis-flex</groupId>
<artifactId>mybatis-flex-processor</artifactId> <artifactId>mybatis-flex-processor</artifactId>
<version>1.3.5</version> <version>1.3.6</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
``` ```
@ -28,12 +28,12 @@
<dependency> <dependency>
<groupId>com.mybatis-flex</groupId> <groupId>com.mybatis-flex</groupId>
<artifactId>mybatis-flex-spring</artifactId> <artifactId>mybatis-flex-spring</artifactId>
<version>1.3.5</version> <version>1.3.6</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.mybatis-flex</groupId> <groupId>com.mybatis-flex</groupId>
<artifactId>mybatis-flex-processor</artifactId> <artifactId>mybatis-flex-processor</artifactId>
<version>1.3.5</version> <version>1.3.6</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
`````` ``````
@ -44,12 +44,12 @@
<dependency> <dependency>
<groupId>com.mybatis-flex</groupId> <groupId>com.mybatis-flex</groupId>
<artifactId>mybatis-flex-spring-boot-starter</artifactId> <artifactId>mybatis-flex-spring-boot-starter</artifactId>
<version>1.3.5</version> <version>1.3.6</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.mybatis-flex</groupId> <groupId>com.mybatis-flex</groupId>
<artifactId>mybatis-flex-processor</artifactId> <artifactId>mybatis-flex-processor</artifactId>
<version>1.3.5</version> <version>1.3.6</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
``` ```
@ -70,7 +70,7 @@
<path> <path>
<groupId>com.mybatis-flex</groupId> <groupId>com.mybatis-flex</groupId>
<artifactId>mybatis-flex-processor</artifactId> <artifactId>mybatis-flex-processor</artifactId>
<version>1.3.5</version> <version>1.3.6</version>
</path> </path>
</annotationProcessorPaths> </annotationProcessorPaths>
</configuration> </configuration>

View File

@ -180,7 +180,7 @@ processor.baseMapperClass=com.domain.mapper.MyBaseMapper
``` ```
dependencies { dependencies {
... ...
annotationProcessor 'com.mybatis-flex:mybatis-flex-processor:1.3.5' annotationProcessor 'com.mybatis-flex:mybatis-flex-processor:1.3.6'
} }
``` ```

View File

@ -10,7 +10,7 @@
<dependency> <dependency>
<groupId>com.mybatis-flex</groupId> <groupId>com.mybatis-flex</groupId>
<artifactId>mybatis-flex-codegen</artifactId> <artifactId>mybatis-flex-codegen</artifactId>
<version>1.3.5</version> <version>1.3.6</version>
</dependency> </dependency>
``` ```

View File

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