From e98616d6568c1845575a9112191745f071d9569a Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Tue, 10 Apr 2018 10:18:32 +0800 Subject: [PATCH] update README --- README.md | 14 +++++++++----- README_CN.md | 38 +++++++++++++++++++------------------- xorm.go | 2 +- 3 files changed, 29 insertions(+), 25 deletions(-) diff --git a/README.md b/README.md index 0ba5f040..0f78af65 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,8 @@ Xorm is a simple and powerful ORM for Go. * Automatical Read/Write seperatelly +* Postgres schema support + # Drivers Support Drivers for Go's sql package which currently support database/sql includes: @@ -50,6 +52,13 @@ Drivers for Go's sql package which currently support database/sql includes: # Changelog +* **v0.6.5** + * Postgres schema support + * vgo support + * Add FindAndCount + * Database special params support via NewEngineWithParams + * Some bugs fixed + * **v0.6.4** * Automatical Read/Write seperatelly * Query/QueryString/QueryInterface and action with Where/And @@ -65,11 +74,6 @@ Drivers for Go's sql package which currently support database/sql includes: * fix time related bugs. * fix some other bugs. -* **v0.6.2** - * refactor tag parse methods - * add Scan features to Get - * add QueryString method - [More changes ...](https://github.com/go-xorm/manual-en-US/tree/master/chapter-16) # Installation diff --git a/README_CN.md b/README_CN.md index 1781a69b..da59b54a 100644 --- a/README_CN.md +++ b/README_CN.md @@ -22,6 +22,8 @@ xorm是一个简单而强大的Go语言ORM库. 通过它可以使数据库操作 * 支持级联加载Struct +* Schema支持(仅Postgres) + * 支持缓存 * 支持根据数据库自动生成xorm的结构体 @@ -52,31 +54,29 @@ xorm是一个简单而强大的Go语言ORM库. 通过它可以使数据库操作 ## 更新日志 +* **v0.6.5** + * 通过 engine.SetSchema 来支持 schema,当前仅支持Postgres + * vgo 支持 + * 新增 `FindAndCount` 函数 + * 通过 `NewEngineWithParams` 支持数据库特别参数 + * 修正部分Bug + +* **v0.6.4** + * 自动读写分离支持 + * Query/QueryString/QueryInterface 支持与 Where/And 合用 + * `Get` 支持获取非结构体变量 + * `Iterate` 支持 `BufferSize` + * 修正部分Bug + * **v0.6.3** * 合并单元测试到主工程 - * 新增`Exist`方法 - * 新增`SumInt`方法 + * 新增 `Exist` 方法 + * 新增 `SumInt` 方法 * Mysql新增读取和创建字段注释支持 - * 新增`SetConnMaxLifetime`方法 + * 新增 `SetConnMaxLifetime` 方法 * 修正了时间相关的Bug * 修复了一些其它Bug -* **v0.6.2** - * 重构Tag解析方式 - * Get方法新增类似Scan的特性 - * 新增 QueryString 方法 - -* **v0.6.0** - * 去除对 ql 的支持 - * 新增条件查询分析器 [github.com/go-xorm/builder](https://github.com/go-xorm/builder), 从因此 `Where, And, Or` 函数 -将可以用 `builder.Cond` 作为条件组合 - * 新增 Sum, SumInt, SumInt64 和 NotIn 函数 - * Bug修正 - -* **v0.5.0** - * logging接口进行不兼容改变 - * Bug修正 - [更多更新日志...](https://github.com/go-xorm/manual-zh-CN/tree/master/chapter-16) ## 安装 diff --git a/xorm.go b/xorm.go index 4e081896..b731aa5f 100644 --- a/xorm.go +++ b/xorm.go @@ -17,7 +17,7 @@ import ( const ( // Version show the xorm's version - Version string = "0.6.4.0910" + Version string = "0.6.5.0410" ) func regDrvsNDialects() bool {