From 9dde7359ae41b2a73a0d7b96ca4d168d288d816b Mon Sep 17 00:00:00 2001 From: trang Date: Mon, 5 Feb 2018 11:11:55 +0800 Subject: [PATCH] 1.1.7 --- Changelog.md | 34 ++++++++++++++----- README.md | 2 +- .../pom.xml | 2 +- .../pom.xml | 2 +- druid-spring-boot-actuator/pom.xml | 2 +- .../druid-spring-boot-jpa-example/pom.xml | 2 +- .../druid-spring-boot-mybatis-example/pom.xml | 6 +--- druid-spring-boot-example/pom.xml | 2 +- .../druid-spring-boot-autoconfigure/pom.xml | 2 +- .../druid-spring-boot-starter/pom.xml | 2 +- druid-spring-boot/pom.xml | 2 +- pom.xml | 6 +++- 12 files changed, 40 insertions(+), 24 deletions(-) diff --git a/Changelog.md b/Changelog.md index a628788..1ebaac7 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,37 +1,53 @@ # Changelog -### 1.1.4 +## 1.1.6 +### Enhancements +1. 升级 druid 到 1.1.7,以后版本号与 druid 保持一致 + +## 1.1.6 +### Enhancements +1. 新增基于 JPA 的代码示例 +2. 改进 DruidDataSourceInitializer,支持多数据源的 SQL 初始化 +3. 改进自动提示,新增大量精准提示,详情见 [additional-spring-configuration-metadata.json](https://github.com/drtrang/druid-spring-boot/blob/master/druid-spring-boot/druid-spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json) + +### Bug Fixes +1. 修复代码覆盖率显示异常的 bug + +## 1.1.5 +1. 引入 [parent](https://github.com/drtrang/parent) 作为 Parent Pom + +## 1.1.4 1. 新增 DruidDataSourceCustomizer,支持定制化数据源配置 2. 优化 DruidDataSource 初始化的日志打印时机 3. 优化 DruidDataSource 的别名,当 BeanName 的后缀不为 'DataSource' 时增加别名 -### 1.1.3 +## 1.1.3 1. 修复多数据源环境下的注册失败问题 -### 1.1.2 +## 1.1.2 1. 改进多数据源的声明方式,由 Starter 自动发现配置并注册到 ApplicationContext -### 1.1.1 +## 1.1.1 1. 新增 `statement-sql-format-option` 的代码提示 -### 1.1.0 +## 1.1.0 1. 新增 `druid-spring-boot-actuator-starter` 模块 3. 更改包名称为 `com.github.trang.druid.autoconfigure` 4. 更改数据源名称为 `DruidDataSource2` 2. 优化 Auto-configure Bean 的加载条件 5. 优化 Maven 依赖 -### 1.0.3 +## 1.0.3 1. 新增 ConfigFilter 的自动配置,替换 Druid 默认的 `connectionProperties` 方式 2. 修复 `spring.datasource.schema` 会执行两次的 bug -### 1.0.2 +## 1.0.2 1. 新增 WallConfig 的自动配置 2. 新增多数据源支持 -### 1.0.1 +## 1.0.1 1. 新增一部分 application.yml 的自动提示,如 `enabled`、`db-type` 等 2. 统一配置文件位置 -### 1.0.0 +## 1.0.0 1. 提供基于 Druid 的 Spring Boot Starter \ No newline at end of file diff --git a/README.md b/README.md index 90e729d..e3e629f 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Druid Spring Boot Starter 将帮助你在 Spring Boot 中使用 Druid。 com.github.drtrang druid-spring-boot-starter - 1.1.6 + 1.1.7 ``` diff --git a/druid-spring-boot-actuator/druid-spring-boot-actuator-autoconfigure/pom.xml b/druid-spring-boot-actuator/druid-spring-boot-actuator-autoconfigure/pom.xml index b1701fd..278eda9 100644 --- a/druid-spring-boot-actuator/druid-spring-boot-actuator-autoconfigure/pom.xml +++ b/druid-spring-boot-actuator/druid-spring-boot-actuator-autoconfigure/pom.xml @@ -7,7 +7,7 @@ com.github.drtrang druid-spring-boot-actuator - 1.1.6 + 1.1.7 druid-spring-boot-actuator-autoconfigure diff --git a/druid-spring-boot-actuator/druid-spring-boot-actuator-starter/pom.xml b/druid-spring-boot-actuator/druid-spring-boot-actuator-starter/pom.xml index c61d157..306aba5 100644 --- a/druid-spring-boot-actuator/druid-spring-boot-actuator-starter/pom.xml +++ b/druid-spring-boot-actuator/druid-spring-boot-actuator-starter/pom.xml @@ -7,7 +7,7 @@ com.github.drtrang druid-spring-boot-actuator - 1.1.6 + 1.1.7 druid-spring-boot-actuator-starter diff --git a/druid-spring-boot-actuator/pom.xml b/druid-spring-boot-actuator/pom.xml index f60f94d..4083add 100644 --- a/druid-spring-boot-actuator/pom.xml +++ b/druid-spring-boot-actuator/pom.xml @@ -7,7 +7,7 @@ com.github.drtrang druid-spring-boot-parent - 1.1.6 + 1.1.7 druid-spring-boot-actuator diff --git a/druid-spring-boot-example/druid-spring-boot-jpa-example/pom.xml b/druid-spring-boot-example/druid-spring-boot-jpa-example/pom.xml index 1f7b53b..c03ff8f 100644 --- a/druid-spring-boot-example/druid-spring-boot-jpa-example/pom.xml +++ b/druid-spring-boot-example/druid-spring-boot-jpa-example/pom.xml @@ -7,7 +7,7 @@ com.github.drtrang druid-spring-boot-example - 1.1.6 + 1.1.7 druid-spring-boot-jpa-example diff --git a/druid-spring-boot-example/druid-spring-boot-mybatis-example/pom.xml b/druid-spring-boot-example/druid-spring-boot-mybatis-example/pom.xml index d51b1f0..ef120f6 100644 --- a/druid-spring-boot-example/druid-spring-boot-mybatis-example/pom.xml +++ b/druid-spring-boot-example/druid-spring-boot-mybatis-example/pom.xml @@ -7,7 +7,7 @@ com.github.drtrang druid-spring-boot-example - 1.1.6 + 1.1.7 druid-spring-boot-mybatis-example @@ -35,10 +35,6 @@ com.github.drtrang druid-spring-boot-starter - com.h2database h2 diff --git a/druid-spring-boot-example/pom.xml b/druid-spring-boot-example/pom.xml index 8a0638d..92ec9b9 100644 --- a/druid-spring-boot-example/pom.xml +++ b/druid-spring-boot-example/pom.xml @@ -7,7 +7,7 @@ com.github.drtrang druid-spring-boot-parent - 1.1.6 + 1.1.7 druid-spring-boot-example diff --git a/druid-spring-boot/druid-spring-boot-autoconfigure/pom.xml b/druid-spring-boot/druid-spring-boot-autoconfigure/pom.xml index 6ff268a..39c6313 100644 --- a/druid-spring-boot/druid-spring-boot-autoconfigure/pom.xml +++ b/druid-spring-boot/druid-spring-boot-autoconfigure/pom.xml @@ -7,7 +7,7 @@ com.github.drtrang druid-spring-boot - 1.1.6 + 1.1.7 druid-spring-boot-autoconfigure diff --git a/druid-spring-boot/druid-spring-boot-starter/pom.xml b/druid-spring-boot/druid-spring-boot-starter/pom.xml index 2a12054..bdea3bc 100644 --- a/druid-spring-boot/druid-spring-boot-starter/pom.xml +++ b/druid-spring-boot/druid-spring-boot-starter/pom.xml @@ -7,7 +7,7 @@ com.github.drtrang druid-spring-boot - 1.1.6 + 1.1.7 druid-spring-boot-starter diff --git a/druid-spring-boot/pom.xml b/druid-spring-boot/pom.xml index a816683..fbcbaa9 100644 --- a/druid-spring-boot/pom.xml +++ b/druid-spring-boot/pom.xml @@ -7,7 +7,7 @@ com.github.drtrang druid-spring-boot-parent - 1.1.6 + 1.1.7 druid-spring-boot diff --git a/pom.xml b/pom.xml index 20c872d..49f284e 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ druid-spring-boot-parent - 1.1.6 + 1.1.7 pom Druid Spring Boot Starter @@ -54,6 +54,10 @@ druid-spring-boot-example + + 1.1.7 + +