Skip to content

Releases: sagframe/sagacity-sqltoy

5.6.0 拆分sqltoy-core和sqltoy-spring,让sqltoy不依赖spring

11 Mar 01:45
Compare
Choose a tag to compare

1、拆分sqltoy-orm-core\sqltoy-orm-spring\sqltoy-orm-spring-starter 三个子项目,剥离对spring的依赖
2、分5.6.x 和 5.6.x.jre8 两个分支版本,5.6.x 以jdk17、springboot3.x 为起点

<!-- 其他非spring框架可以基于sagacity-sqltoy 进行扩展 -->
<dependency>
	<groupId>com.sagframe</groupId>
	<artifactId>sagacity-sqltoy</artifactId>
        <!-- jdk8 对应的版本号为:5.6.0.jre8 -->
	<version>5.6.0</version>
</dependency>

<!-- 纯粹springboot项目只需引入sagacity-sqltoy-spring-starter依赖即可  -->
<dependency>
	<groupId>com.sagframe</groupId>
	<artifactId>sagacity-sqltoy-spring-starter</artifactId>
        <!-- jdk8 对应的版本号为:5.6.0.jre8 -->
	<version>5.6.0</version>
</dependency>

3、传统spring项目只需引入sagacity-sqltoy-spring依赖

<dependency>
	<groupId>com.sagframe</groupId>
	<artifactId>sagacity-sqltoy-spring</artifactId>
        <!-- jdk8 对应的版本号为:5.6.0.jre8 -->
	<version>5.6.0</version>
</dependency>

<!-- spring sqltoy xml 配置-->
<!-- 配置sqltoy框架的上下文 -->
<bean id="sqlToyContext" class="org.sagacity.sqltoy.SqlToyContext"
		init-method="initialize" destroy-method="destroy">
	<!-- sqltoy5.6.x 传统spring项目需设置appContext、connectionFactory -->
	<property name="appContext">
		<bean class="org.sagacity.sqltoy.integration.impl.SpringAppContext"/>
	</property>
	<property name="connectionFactory">
		<bean class="org.sagacity.sqltoy.integration.impl.SpringConnectionFactory"/>
	</property>
	<!-- 指定sql.xml 文件的路径实现目录的递归查找,多个路径则用逗号分隔 -->
	<property name="sqlResourcesDir"
			value="classpath:com/sqltoy/quickstart" />
	<!--非必须属性:默认值为false -->
	<property name="debug" value="${sqltoy.debug}" />
</bean>

5.2.100 优化@value(:param)输出,支持日期、数组、集合、枚举等类型

07 Mar 08:52
Compare
Choose a tag to compare

1、优化@value(:param)输出,支持日期、数组、集合、枚举等类型

5.3.71 同步发版

<dependency>
	<groupId>com.sagframe</groupId>
	<artifactId>sagacity-sqltoy</artifactId>
	<version>5.2.100</version>
</dependency>
<dependency>
	<groupId>com.sagframe</groupId>
	<artifactId>sagacity-sqltoy-starter</artifactId>
	<version>5.2.100</version>
</dependency>

5.2.98 针对传统spring xml项目优化sqltoy实例化自动注入applictionContext

26 Feb 07:00
1973d1e
Compare
Choose a tag to compare

1、修改org.sagacity.sqltoy.integration.impl.SpringAppContext 自动注入applictionContext,简化传统spring xml配置项目SqltoyContext实例创建

5.3.70 同步发版

<dependency>
	<groupId>com.sagframe</groupId>
	<artifactId>sagacity-sqltoy</artifactId>
	<version>5.2.98</version>
</dependency>
<dependency>
	<groupId>com.sagframe</groupId>
	<artifactId>sagacity-sqltoy-starter</artifactId>
	<version>5.2.98</version>
</dependency>

5.2.96 优化DateUtil对英文日期星期tues、thur简写解析的缺陷

23 Feb 10:45
Compare
Choose a tag to compare

1、优化DateUtil对英文日期星期二(Tues)、四(Thur)简写的解析缺陷,规范为(Tue、Thu)

感谢@兵兵 的反馈

5.3.69 同步发版

<dependency>
	<groupId>com.sagframe</groupId>
	<artifactId>sagacity-sqltoy</artifactId>
	<version>5.2.96</version>
</dependency>
<dependency>
	<groupId>com.sagframe</groupId>
	<artifactId>sagacity-sqltoy-starter</artifactId>
	<version>5.2.96</version>
</dependency>

5.2.95 优化updateByQuery条件属性跟修改属性一致时的缺陷

20 Feb 12:51
Compare
Choose a tag to compare

1、优化updateByQuery条件属性跟修改属性一致时的缺陷

感谢@俊华 的反馈

5.3.68 同步发版

<dependency>
	<groupId>com.sagframe</groupId>
	<artifactId>sagacity-sqltoy</artifactId>
	<version>5.2.95</version>
</dependency>
<dependency>
	<groupId>com.sagframe</groupId>
	<artifactId>sagacity-sqltoy-starter</artifactId>
	<version>5.2.95</version>
</dependency>

5.2.94 优化安全脱敏邮件类型时非null判断、同比环比计算改用BIGDECIMAL计算

07 Feb 07:44
Compare
Choose a tag to compare

1、优化安全脱敏邮件类型时maskCode非null判断
2、优化同比环比计算改用BIGDECIMAL进行计算保障精度

5.3.67 同步发版

<dependency>
	<groupId>com.sagframe</groupId>
	<artifactId>sagacity-sqltoy</artifactId>
	<version>5.2.94</version>
</dependency>
<dependency>
	<groupId>com.sagframe</groupId>
	<artifactId>sagacity-sqltoy-starter</artifactId>
	<version>5.2.94</version>
</dependency>

5.2.93 修复@loop和sql日志中localDateTime纳秒输出缺陷(请按需升级)

04 Feb 13:32
Compare
Choose a tag to compare

1、修复@loop和sql日志中localDateTime纳秒输出缺陷

感谢 @郁晨 反馈

5.3.66 同步发版

<dependency>
	<groupId>com.sagframe</groupId>
	<artifactId>sagacity-sqltoy</artifactId>
	<version>5.2.93</version>
</dependency>
<dependency>
	<groupId>com.sagframe</groupId>
	<artifactId>sagacity-sqltoy-starter</artifactId>
	<version>5.2.93</version>
</dependency>

5.2.92 修复cte中含@fastPage且union 场景的缺陷

02 Feb 01:05
Compare
Choose a tag to compare

1、修复含with as (select * from @fast( ... union all )) select * from table,极端场景下分页查询count未正确处理union 的缺陷

5.3.65 同步发版

<dependency>
	<groupId>com.sagframe</groupId>
	<artifactId>sagacity-sqltoy</artifactId>
	<version>5.2.92</version>
</dependency>
<dependency>
	<groupId>com.sagframe</groupId>
	<artifactId>sagacity-sqltoy-starter</artifactId>
	<version>5.2.92</version>
</dependency>

5.2.91 修复updateByQuery中UnifyFieldsHandler未判null引发的空指针异常

22 Jan 16:00
Compare
Choose a tag to compare

1、修复updateByQuery中UnifyFieldsHandler未判null引发的空指针异常

5.3.64 同步发版

<dependency>
	<groupId>com.sagframe</groupId>
	<artifactId>sagacity-sqltoy</artifactId>
	<version>5.2.91</version>
</dependency>
<dependency>
	<groupId>com.sagframe</groupId>
	<artifactId>sagacity-sqltoy-starter</artifactId>
	<version>5.2.91</version>
</dependency>

5.2.90 增强loop中LocalDateTime和LocalTime的输出精度

16 Jan 23:40
Compare
Choose a tag to compare

1、增强loop中LocalDateTime和LocalTime的输出精度

5.3.63 同步发版

<dependency>
	<groupId>com.sagframe</groupId>
	<artifactId>sagacity-sqltoy</artifactId>
	<version>5.2.90</version>
</dependency>
<dependency>
	<groupId>com.sagframe</groupId>
	<artifactId>sagacity-sqltoy-starter</artifactId>
	<version>5.2.90</version>
</dependency>