This changelog goes through all the changes that have been made in each release without substantial changes to our git log.
Conversion
method ToDB() ([]byte, error)
return type is nil (#1296)v0.6.5
v0.6.4
v0.6.3
Exist
functionSumInt
functionv0.6.2
v0.4.5
v0.4.4
v0.4.3
v0.4.2
v0.4.1
v0.4.0 RC1 Changes:
Improvements:
v0.3.2 Improvements:
Bug Fixes:
v0.3.1
Features:
Improvements:
v0.2.3 : Improved documents; Optimistic Locking support; Timestamp with time zone support; Mapper change to tableMapper and columnMapper & added PrefixMapper & SuffixMapper support custom table or column name’s prefix and suffix;Insert now return affected, err instead of id, err; Added UseBool & Distinct;
v0.2.2 : Postgres drivers now support lib/pq; Added method Iterate for record by record to handler;Added SetMaxConns(go1.2+) support; some bugs fixed.
v0.2.1 : Added database reverse tool, now support generate go & c++ codes, see Xorm Tool README; some bug fixed.
v0.2.0 : Added Cache supported, select is speeder up 3~5x; Added SameMapper for same name between struct and table; Added Sync method for auto added tables, columns, indexes;
v0.1.9 : Added postgres and mymysql supported; Added ` and ? supported on Raw SQL even if postgres; Added Cols, StoreEngine, Charset function, Added many column data type supported, please see Mapping Rules.
v0.1.8 : Added union index and union unique supported, please see Mapping Rules.
v0.1.7 : Added IConnectPool interface and NoneConnectPool, SysConnectPool, SimpleConnectPool the three implements. You can choose one of them and the default is SysConnectPool. You can customrize your own connection pool. struct Engine added Close method, It should be invoked before system exit.
v0.1.6 : Added conversion interface support; added struct derive support; added single mapping support
v0.1.5 : Added multi threads support; added Sql() function for struct query; Get function changed return inteface; MakeSession and Create are instead with NewSession and NewEngine.
v0.1.4 : Added simple cascade load support; added more data type supports.
v0.1.3 : Find function now supports both slice and map; Add Table function for multi tables and temperory tables support
v0.1.2 : Insert function now supports both struct and slice pointer parameters, batch inserting and auto transaction
v0.1.1 : Add Id, In functions and improved README
v0.1.0 : Initial release.