Skip to content

Commit

Permalink
release: v0.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
hanchuanchuan committed May 4, 2019
1 parent 401e4dd commit 2bbe6ca
Show file tree
Hide file tree
Showing 5 changed files with 935 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,22 @@
# goInception 更新日志


## [v0.7.1-beta] - 2019-5-4

### Update
* 优化json类型字段处理逻辑,不再检查其默认值和NOT NULL约束 (#7, #22)
* 优化must_have_columns参数值解析
* 优化insert select审核逻辑

### Fix
* 修复和完善add column(...)语法支持
* 修复开启osc时,alter语句有多余空格时执行失败的bug

### New Features
* 添加`enable_null_index_name`参数,允许不指定索引名 (#25)
* 添加语法树打印功能(beta) (#21)


## [v0.7-beta] - 2019-4-26

### Update
Expand Down
1 change: 1 addition & 0 deletions docs/options.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ enable_foreign_key | false | true,false | 是不是支持外键
enable_identifer_keyword | false | true,false | 检查在SQL语句中,是不是有标识符被写成MySQL的关键字,默认值为报警。
enable_not_innodb | false | true,false | 建表指定的存储引擎不为Innodb,不报错
enable_nullable | false | true,false | 创建或者新增列时如果列为NULL,是不是报错
enable_null_index_name `v0.7.1`| false | true,false | 创建索引时是否允许空索引名
enable_orderby_rand | false | true,false | order by rand时是不是报错
enable_partition_table | false | true,false | 是不是支持分区表
enable_pk_columns_only_int | false | true,false | 是否强制主键列必须是int
Expand Down
1 change: 1 addition & 0 deletions docs/params.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@ execute | false | bool | 开启执行功能
backup | false | bool | 开启备份功能,仅在执行时生效
ignore_warnings | false | bool | 是否忽略警告,仅在执行时生效。该参数控制有警告时是继续执行还是中止
fingerprint `v0.6.2` | false | bool | 开启sql指纹功能。dml语句相似时,可以根据相同的指纹ID复用explain结果,以减少远端数据库explain操作,并提高审核速度
query-print `v0.7.1` | false | bool | 打印SQL语法树,返回JSON格式结果,详情请**[语法树打印](../tree)**
Loading

0 comments on commit 2bbe6ca

Please sign in to comment.