This commit is contained in:
trang
2018-02-05 11:11:55 +08:00
parent c041041fe3
commit 9dde7359ae
12 changed files with 40 additions and 24 deletions
+25 -9
View File
@@ -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
+1 -1
View File
@@ -14,7 +14,7 @@ Druid Spring Boot Starter 将帮助你在 Spring Boot 中使用 Druid。
<dependency>
<groupId>com.github.drtrang</groupId>
<artifactId>druid-spring-boot-starter</artifactId>
<version>1.1.6</version>
<version>1.1.7</version>
</dependency>
```
@@ -7,7 +7,7 @@
<parent>
<groupId>com.github.drtrang</groupId>
<artifactId>druid-spring-boot-actuator</artifactId>
<version>1.1.6</version>
<version>1.1.7</version>
</parent>
<artifactId>druid-spring-boot-actuator-autoconfigure</artifactId>
@@ -7,7 +7,7 @@
<parent>
<groupId>com.github.drtrang</groupId>
<artifactId>druid-spring-boot-actuator</artifactId>
<version>1.1.6</version>
<version>1.1.7</version>
</parent>
<artifactId>druid-spring-boot-actuator-starter</artifactId>
+1 -1
View File
@@ -7,7 +7,7 @@
<parent>
<groupId>com.github.drtrang</groupId>
<artifactId>druid-spring-boot-parent</artifactId>
<version>1.1.6</version>
<version>1.1.7</version>
</parent>
<artifactId>druid-spring-boot-actuator</artifactId>
@@ -7,7 +7,7 @@
<parent>
<groupId>com.github.drtrang</groupId>
<artifactId>druid-spring-boot-example</artifactId>
<version>1.1.6</version>
<version>1.1.7</version>
</parent>
<artifactId>druid-spring-boot-jpa-example</artifactId>
@@ -7,7 +7,7 @@
<parent>
<groupId>com.github.drtrang</groupId>
<artifactId>druid-spring-boot-example</artifactId>
<version>1.1.6</version>
<version>1.1.7</version>
</parent>
<artifactId>druid-spring-boot-mybatis-example</artifactId>
@@ -35,10 +35,6 @@
<groupId>com.github.drtrang</groupId>
<artifactId>druid-spring-boot-starter</artifactId>
</dependency>
<!--<dependency>
<groupId>com.github.drtrang</groupId>
<artifactId>druid-spring-boot-actuator-starter</artifactId>
</dependency>-->
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
+1 -1
View File
@@ -7,7 +7,7 @@
<parent>
<groupId>com.github.drtrang</groupId>
<artifactId>druid-spring-boot-parent</artifactId>
<version>1.1.6</version>
<version>1.1.7</version>
</parent>
<artifactId>druid-spring-boot-example</artifactId>
@@ -7,7 +7,7 @@
<parent>
<groupId>com.github.drtrang</groupId>
<artifactId>druid-spring-boot</artifactId>
<version>1.1.6</version>
<version>1.1.7</version>
</parent>
<artifactId>druid-spring-boot-autoconfigure</artifactId>
@@ -7,7 +7,7 @@
<parent>
<groupId>com.github.drtrang</groupId>
<artifactId>druid-spring-boot</artifactId>
<version>1.1.6</version>
<version>1.1.7</version>
</parent>
<artifactId>druid-spring-boot-starter</artifactId>
+1 -1
View File
@@ -7,7 +7,7 @@
<parent>
<groupId>com.github.drtrang</groupId>
<artifactId>druid-spring-boot-parent</artifactId>
<version>1.1.6</version>
<version>1.1.7</version>
</parent>
<artifactId>druid-spring-boot</artifactId>
+5 -1
View File
@@ -10,7 +10,7 @@
</parent>
<artifactId>druid-spring-boot-parent</artifactId>
<version>1.1.6</version>
<version>1.1.7</version>
<packaging>pom</packaging>
<name>Druid Spring Boot Starter</name>
@@ -54,6 +54,10 @@
<module>druid-spring-boot-example</module>
</modules>
<properties>
<druid.version>1.1.7</druid.version>
</properties>
<dependencyManagement>
<dependencies>
<dependency>