build: v1.5.3 release (^.^)YYa!!

This commit is contained in:
开源海哥 2023-07-25 18:34:24 +08:00
parent 69c68c6a53
commit b979778b16
6 changed files with 31 additions and 12 deletions

View File

@ -1,6 +1,25 @@
# MyBatis-Flex ChangeLog # MyBatis-Flex ChangeLog
## v1.5.3 20230725:
- 新增:添加 UpdateChain 方便用于对数据进行更新
- 新增:添加对 ActiveRecord 设计模式的支持,感谢 @Suomm
- 新增:代码生成器 ColumnConfig 增加 propertyType. 可以用于自定通用属性的类型。感谢 @jerryzhengsz1
- 新增:添加 selectOneWithRelationsById(根据主表主键来查询 1 条数据) 方法,感谢 @barql
- 新增QueryWrapper.groupBy 支持 Lambda 表达式的功能,感谢 @Suomm
- 新增QueryWrapper 添加 `not like` 构建的支持
- 优化:重命名 QueryWrapperChain 为 QueryChain保存和 UpdateChain 统一
- 修复:`@Relation` 关联查询注解,在指定 selectColumns 出错的问题,感谢 @zhy_balck
- 修复:代码生成器配置 `camelToUnderline` 属性时 entity 生成后编译错误的问题,感谢 @genomics_zcg
- 文档:优化 APT 的文档描述有错别字的问题,感谢 @zhangjx1992
- 文档:添加关于 ActiveRecord 的相关文档,感谢 @Suomm
- 文档:修改代码生成器对 EnjoyTemplate 的描述错误的问题
- 文档:添加更多关于链式查询的相关文档
- 文档:重构文档链接,链式操作的相关文档
- 文档:修改代码生成器对 EnjoyTemplate 的描述错误的问题
## v1.5.2 20230723: ## v1.5.2 20230723:
- 新增:添加 QueryWrapperChain 用于链式调用查询或者操作数据,感谢 @Suomm - 新增:添加 QueryWrapperChain 用于链式调用查询或者操作数据,感谢 @Suomm
- 新增:添加 DbChain 链式调用 Db + Row 的相关方法和功能,感谢 @Suomm - 新增:添加 DbChain 链式调用 Db + Row 的相关方法和功能,感谢 @Suomm

View File

@ -39,7 +39,7 @@ VALUES (1, '张三', 18, '2020-01-11'),
<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.5.2</version> <version>1.5.3</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.mysql</groupId> <groupId>com.mysql</groupId>

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.5.2</version> <version>1.5.3</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.5.2</version> <version>1.5.3</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.5.2</version> <version>1.5.3</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.5.2</version> <version>1.5.3</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.5.2</version> <version>1.5.3</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.5.2</version> <version>1.5.3</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.5.2</version> <version>1.5.3</version>
</path> </path>
</annotationProcessorPaths> </annotationProcessorPaths>
</configuration> </configuration>

View File

@ -219,7 +219,7 @@ pom.xml 添加 `annotationProcessorPaths` 配置,
``` ```
dependencies { dependencies {
... ...
annotationProcessor 'com.mybatis-flex:mybatis-flex-processor:<version>1.5.2</version>' annotationProcessor 'com.mybatis-flex:mybatis-flex-processor:<version>1.5.3</version>'
} }
``` ```

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.5.2</version> <version>1.5.3</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.5.2</version> <version>1.5.3</version>
<name>mybatis-flex</name> <name>mybatis-flex</name>
<url>https://mybatis-flex.com</url> <url>https://mybatis-flex.com</url>
@ -54,7 +54,7 @@
<maven.compiler.source>8</maven.compiler.source> <maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target> <maven.compiler.target>8</maven.compiler.target>
<mybatis-flex.version>1.5.2</mybatis-flex.version> <mybatis-flex.version>1.5.3</mybatis-flex.version>
<mybatis.version>3.5.13</mybatis.version> <mybatis.version>3.5.13</mybatis.version>
<mybatis-spring.version>2.1.0</mybatis-spring.version> <mybatis-spring.version>2.1.0</mybatis-spring.version>