28 Commits

Author SHA1 Message Date
iAmClever
8123b2ebf7
feat: 增加对seata框架代理数据源的检测 (#704) (#705) 2025-03-07 15:27:23 +08:00
TaoYu
1661184f82 release 4.3.1 2024-06-12 10:34:04 +08:00
TaoYu
32f3c6da8d release 4.3.1 2024-06-11 17:26:21 +08:00
Z.P
c1f12172e2
fix:事务后置回调中开启事务死循环 (#621)
Co-authored-by: zhangpeng <xinniankuailezp@163.com>
2024-01-17 10:23:25 +08:00
Ling Hengqian
620444cdbe
Fixes CI errors caused by Druid and Spring Framework changes (#613) 2024-01-03 08:34:06 +08:00
huayanYu
8f633a5270 release 4.3.0 2024-01-02 22:50:52 +08:00
qxo
b6d2595ae8
perf: @Bean初始化优化, 以消除:is not eligible for getting processed by all BeanPostProcessors (#608)
1. 由于Advisor会优先初始化,故相关@Bean应加: @Role(BeanDefinition.ROLE_INFRASTRUCTURE)
以消除:is not eligible for getting processed by all BeanPostProcessors

2. 去除@EnableConfigurationProperties(DynamicDataSourceProperties.class) 改为static方式配置是为了加@Role(BeanDefinition.ROLE_INFRASTRUCTURE)

3. spring 5.2+ 配置类如不内部不存在@Bean方法引用应加: proxyBeanMethods = false 以去除不必要代理类
 ie: `@Configuration(proxyBeanMethods = false)`

此PR是了消除启动时的以下日志:

```
 [restartedMain] INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker[376] - Bean 'spring.datasource.dynamic-com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceProperties' of type [com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
12-23 09:29:16.779 [restartedMain] INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker[376] - Bean 'dsProcessor' of type [com.baomidou.dynamic.datasource.processor.DsHeaderProcessor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
```
2024-01-02 13:33:48 +08:00
huayanYu
7994897b25 style 2023-10-23 21:03:29 +08:00
Alvin Kwok
03c7cffec0
feat: gracy destory datasource (#579)
* feat: allow delay close datasource
---------

Co-authored-by: guop <guop0781@fingard.com>
2023-10-23 09:58:04 +08:00
Z.P
b4a0ee219b
feat:增加多数据源事务同步机制&多数据源事务单元测试 (#581)
* feat:增加事务同步机制

---------

Co-authored-by: zhangpeng <xinniankuailezp@163.com>
2023-10-23 09:54:14 +08:00
TaoYu
089dbc294b style format 2023-09-18 12:03:52 +08:00
Ling Hengqian
0d963934ac
Open and Fix NativeTest by Spring Framework under GraalVM CE (#562) 2023-09-06 11:13:11 +08:00
Ling Hengqian
8e8e098208
Refactor dynamic-datasource-spring-boot-starter unit test and Contributor Guides to fix CI (#564) 2023-09-05 22:07:42 +08:00
TaoYu
289e860b0f update springboot version 2.7+. 2023-09-05 14:33:01 +08:00
Ling Hengqian
2aed8df0e2
Init nativeTest by GraalVM CE in CI (#560) 2023-09-05 14:13:25 +08:00
Ling Hengqian
08e2f0a0af
Refactor Contribution Guidelines and unit tests (#559) 2023-09-01 13:44:13 +08:00
Ling Hengqian
6ba32b2505
Add unit tests for dynamic-datasource-spring-boot-starter (#555) 2023-08-28 09:56:59 +08:00
Z.P
d9f2bd000d
fix @DSTransactional 无法获取类|接口|接口方法的注解属性 (#543)
Co-authored-by: zhangpeng <xinniankuailezp@163.com>
2023-08-11 16:10:53 +08:00
TaoYu
a71a54bd13 release 4.1.3 2023-08-07 17:39:21 +08:00
TaoYu
609ba86163 fix: remove spring-web-starter 2023-08-04 17:31:54 +08:00
TaoYu
68a090fc99 featL 完善druid3兼容,完善javadoc 2023-07-18 16:15:23 +08:00
TaoYu
f5541d2b4e release 4.1.1 2023-07-12 23:00:18 +08:00
TaoYu
7d7606fcdb release 4.1.0 2023-07-11 18:01:45 +08:00
huayanYu
e87a127f99 release 4.0.0 2023-06-27 20:42:05 +08:00
TaoYu
8bbfaf934d release 4.0.0-B1 2023-06-13 15:02:21 +08:00
TaoYu
313a67d9e3 version 2023-06-13 11:20:14 +08:00
TaoYu
97869a5172 feat: add spring-boot-common module 2023-05-09 14:58:15 +08:00
TaoYu
bf68f16e5a feat: prepare 4.0.0 add two modules 2023-05-08 18:11:01 +08:00