release_notes.md 6.0 KB
Newer Older
G
gaohongtao 已提交
1 2 3
+++
date = "2016-02-05T17:03:18+08:00"
title = "Release Notes"
T
terrymanu 已提交
4
weight = 1
G
gaohongtao 已提交
5 6 7 8
+++

# Release Notes

T
terrymanu 已提交
9 10
## 1.3.2-SNAPSHOT

11 12 13 14
### 功能提升

1. [ISSUE #79](https://github.com/dangdangdotcom/sharding-jdbc/issues/79) 关于MySQL 分页limit

15 16 17 18
### 缺陷修正

1. [ISSUE #36](https://github.com/dangdangdotcom/sharding-jdbc/issues/36) ShardingPreparedStatement无法反复设置参数
1. [ISSUE #114](https://github.com/dangdangdotcom/sharding-jdbc/issues/114) ShardingPreparedStatement执行批处理任务时,反复解析sql导致oom
G
gaoht 已提交
19
1. [ISSUE #33](https://github.com/dangdangdotcom/sharding-jdbc/issues/33) Limit支持问题
G
gaoht 已提交
20
1. [ISSUE #124](https://github.com/dangdangdotcom/sharding-jdbc/issues/124) com.dangdang.ddframe.rdb.sharding.jdbc.adapter.AbstractStatementAdapter.getUpdateCount返回值不符合JDBC规范
21

T
terrymanu 已提交
22
## 1.3.1
H
haocao 已提交
23

T
fix #91  
terrymanu 已提交
24 25 26
### 功能提升

1. [ISSUE #91](https://github.com/dangdangdotcom/sharding-jdbc/issues/91) 开放对Statement.getGeneratedKeys的支持,可返回原生的数据库自增主键
T
fix #95  
terrymanu 已提交
27
1. [ISSUE #92](https://github.com/dangdangdotcom/sharding-jdbc/issues/92) 查询类DQL语句事件发送
T
fix #91  
terrymanu 已提交
28

T
fix #89  
terrymanu 已提交
29 30 31
### 缺陷修正

1. [ISSUE #89](https://github.com/dangdangdotcom/sharding-jdbc/issues/89) 读写分离和分片的hint一起使用导致冲突
T
fix #95  
terrymanu 已提交
32
1. [ISSUE #95](https://github.com/dangdangdotcom/sharding-jdbc/issues/95) 同一线程内写入操作后的读操作均从主库读取改为同一线程且同一连接内
T
fix #89  
terrymanu 已提交
33

H
haocao 已提交
34
## 1.3.0
T
terrymanu 已提交
35

T
terrymanu 已提交
36 37 38 39
### 新功能

1. [ISSUE #85](https://github.com/dangdangdotcom/sharding-jdbc/issues/85) 读写分离

T
fix #82  
terrymanu 已提交
40 41 42
### 功能提升

1. [ISSUE #82](https://github.com/dangdangdotcom/sharding-jdbc/issues/82) TableRule可传入dataSourceName属性,用于指定该TableRule对应的数据源
T
fix #88  
terrymanu 已提交
43
1. [ISSUE #88](https://github.com/dangdangdotcom/sharding-jdbc/issues/88) 放开对其他数据库的限制,可支持标准SQL, 对个性化分页等语句不支持
T
fix #82  
terrymanu 已提交
44

G
fix #81  
gaohongtao 已提交
45 46
### 缺陷修正

T
fix #82  
terrymanu 已提交
47
1. [ISSUE #81](https://github.com/dangdangdotcom/sharding-jdbc/issues/81) 关联表查询使用or查询条件解析结果异常
G
fix #81  
gaohongtao 已提交
48

T
terrymanu 已提交
49
## 1.2.1
G
gaoht 已提交
50 51 52

### 结构调整

T
fix #60  
terrymanu 已提交
53
1. [ISSUE #60](https://github.com/dangdangdotcom/sharding-jdbc/issues/60) API调整,抽离ShardingDataSource,使用工厂代替
T
fix #78  
terrymanu 已提交
54 55
1. [ISSUE #76](https://github.com/dangdangdotcom/sharding-jdbc/issues/76) ShardingRule和TableRule调整为Builder模式
1. [ISSUE #77](https://github.com/dangdangdotcom/sharding-jdbc/issues/77) ShardingRule和TableRule调整为Builder模式
T
fix #60  
terrymanu 已提交
56

T
terrymanu 已提交
57 58
### 功能提升

T
fix #61  
terrymanu 已提交
59
1. [ISSUE #61](https://github.com/dangdangdotcom/sharding-jdbc/issues/61) 在ShardingValue类中加入逻辑表名
T
terrymanu 已提交
60
1. [ISSUE #66](https://github.com/dangdangdotcom/sharding-jdbc/issues/66) 在JDBC层的Statement增加对get/set MaxFieldSize,MaxRows和QueryTimeout的支持
61
1. [ISSUE #72](https://github.com/dangdangdotcom/sharding-jdbc/issues/72) 对于select union all形式的批量插入支持
T
fix #78  
terrymanu 已提交
62
1. [ISSUE #78](https://github.com/dangdangdotcom/sharding-jdbc/issues/78) 简化只分库配置,无需配置逻辑表和真实表对应关系
T
fix #80  
terrymanu 已提交
63
1. [ISSUE #80](https://github.com/dangdangdotcom/sharding-jdbc/issues/80) 简化包含不分片库表的配置,可指定默认数据源,不分片无需配置TableRule
T
terrymanu 已提交
64

G
gaoht 已提交
65 66
### 缺陷修正

67
1. [ISSUE #63](https://github.com/dangdangdotcom/sharding-jdbc/issues/63) ORDER BY与GROUP BY衍生列未添加表名或表别名
T
fix #65  
terrymanu 已提交
68
1. [ISSUE #65](https://github.com/dangdangdotcom/sharding-jdbc/issues/65) 解析条件上下文性能提升
H
fix #67  
haocao 已提交
69
1. [ISSUE #67](https://github.com/dangdangdotcom/sharding-jdbc/issues/67) 分片路由到多表时柔性事务日志无法删除
G
gaohongtao 已提交
70
1. [ISSUE #71](https://github.com/dangdangdotcom/sharding-jdbc/issues/71) 路由单分片LIMIT的OFFSET计算错误
T
fix #75  
terrymanu 已提交
71
1. [ISSUE #75](https://github.com/dangdangdotcom/sharding-jdbc/issues/75) MemoryTransactionLogStorage重试次数更新并发问题
G
gaoht 已提交
72

T
terrymanu 已提交
73
## 1.2.0
T
terrymanu 已提交
74

T
fix #53  
terrymanu 已提交
75 76 77
### 新功能

1. [ISSUE #53](https://github.com/dangdangdotcom/sharding-jdbc/issues/53) 动态表配置
T
terrymanu 已提交
78
1. [ISSUE #58](https://github.com/dangdangdotcom/sharding-jdbc/issues/58) 柔性事务:最大努力送达型初始版本
T
fix #53  
terrymanu 已提交
79

T
fix #49  
terrymanu 已提交
80 81 82
### 结构调整

1. [ISSUE #49](https://github.com/dangdangdotcom/sharding-jdbc/issues/49) 调整属性配置
T
fix #51  
terrymanu 已提交
83
1. [ISSUE #51](https://github.com/dangdangdotcom/sharding-jdbc/issues/51) 重构Hint接口
T
fix #49  
terrymanu 已提交
84 85

### 缺陷修正
T
terrymanu 已提交
86 87

1. [ISSUE #43](https://github.com/dangdangdotcom/sharding-jdbc/issues/43) yaml文件中包含中文,且操作系统模式不是utf-8编码导致的yaml不能解析
T
fix #48  
terrymanu 已提交
88
1. [ISSUE #48](https://github.com/dangdangdotcom/sharding-jdbc/issues/48) yaml文件读取后未关闭
G
gaoht 已提交
89
1. [ISSUE #57](https://github.com/dangdangdotcom/sharding-jdbc/issues/57) SQL解析子查询改进
T
terrymanu 已提交
90

H
haocao 已提交
91 92
## 1.1.0

T
fix #49  
terrymanu 已提交
93
### 新功能
H
haocao 已提交
94

H
haocao 已提交
95 96 97
1. [ISSUE #40](https://github.com/dangdangdotcom/sharding-jdbc/issues/40) 支持YAML文件配置
1. [ISSUE #41](https://github.com/dangdangdotcom/sharding-jdbc/issues/41) 支持Spring命名空间配置
1. [ISSUE #42](https://github.com/dangdangdotcom/sharding-jdbc/issues/42) 支持inline表达式配置
H
haocao 已提交
98

T
fix #49  
terrymanu 已提交
99
### 缺陷修正
H
haocao 已提交
100 101 102

1. [ISSUE #25](https://github.com/dangdangdotcom/sharding-jdbc/issues/25) OR表达式下会出现重复结果问题

G
gaohongtao 已提交
103
## 1.0.1
104

T
fix #49  
terrymanu 已提交
105
### 功能提升
106

H
haocao 已提交
107
1. [ISSUE #39](https://github.com/dangdangdotcom/sharding-jdbc/issues/39) 增加使用暗示(Hint)方式注册分片键值的方式进行SQL路由的功能
108

T
fix #49  
terrymanu 已提交
109
### 缺陷修正
110

H
haocao 已提交
111 112 113 114 115 116
1. [ISSUE #11](https://github.com/dangdangdotcom/sharding-jdbc/issues/11) count函数在某些情况下返回不正确
1. [ISSUE #13](https://github.com/dangdangdotcom/sharding-jdbc/issues/13) Insert 语句 没有写列名 进行了全路由
1. [ISSUE #16](https://github.com/dangdangdotcom/sharding-jdbc/issues/16) 改造多线程执行模型
1. [ISSUE #18](https://github.com/dangdangdotcom/sharding-jdbc/issues/18) 查询Count时,使用getObject()取数会报异常
1. [ISSUE #19](https://github.com/dangdangdotcom/sharding-jdbc/issues/19) sum和avg函数,不加别名不执行merger,加了空指针异常
1. [ISSUE #38](https://github.com/dangdangdotcom/sharding-jdbc/issues/38) JPA与Sharding-JDBC的兼容问题。JPA会自动增加SELECT的列别名,导致ORDER BY只能通过别名,而非列名称获取ResultSet的数据。
T
terrymanu 已提交
117 118 119

## 1.0.0
1. 初始版本。