You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

CHANGELOG.md 8.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  1. # Changelog
  2. This changelog goes through all the changes that have been made in each release
  3. without substantial changes to our git log.
  4. ## [1.0.5](https://gitea.com/xorm/xorm/pulls?q=&type=all&state=closed&milestone=1299) - 2020-09-08
  5. * BUGFIXES
  6. * Fix bug of ToDB when update on a nil pointer (#1786)
  7. * Fix warnings with schema Sync2 with default varchar as NVARCHAR (#1783)
  8. * Do not ever quote asterisk symbol. Fixes #1780 (#1781)
  9. * Fix bug on get columns for postgres (#1779)
  10. ## [1.0.4](https://gitea.com/xorm/xorm/pulls?q=&type=all&state=closed&milestone=1286) - 2020-09-02
  11. * FEATURES
  12. * Add params for mssql to allow redefine varchar as nvarchar or char as nchar (#1741)
  13. * BUGFIXES
  14. * Fix mysql dialect error from invalid db identifier in orderby clause (#1743) (#1751)
  15. * ENHANCEMENTS
  16. * Support get dataSourceName on ContextHook for monitor which DB executed SQL (#1740)
  17. * MISC
  18. * Correct default detection in MariaDB >= 10.2.7 (#1778)
  19. ## [1.0.3](https://gitea.com/xorm/xorm/pulls?q=&type=all&state=closed&milestone=1281) - 2020-07-10
  20. * BUGFIXES
  21. * Fix dump of sqlite (#1639)
  22. * ENHANCEMENTS
  23. * Fix index name parsing in SQLite dialect (#1737)
  24. * add hooks for Commit and Rollback (#1733)
  25. ## [1.0.2](https://gitea.com/xorm/xorm/pulls?q=&type=all&state=closed&milestone=1261) - 2020-06-16
  26. * FEATURES
  27. * Add Hook (#1644)
  28. * BUGFIXES
  29. * Fix bug when ID used but no reference table given (#1709)
  30. * Fix find and count bug (#1651)
  31. * ENHANCEMENTS
  32. * chore: improve snakeCasedName performance (#1688)
  33. * Fix find with another struct (#1666)
  34. * fix GetColumns missing ordinal position (#1660)
  35. * MISC
  36. * chore: improve titleCasedName performance (#1691)
  37. ## [1.0.1](https://gitea.com/xorm/xorm/pulls?q=&type=all&state=closed&milestone=1253) - 2020-03-25
  38. * BUGFIXES
  39. * Oracle : Local Naming Method (#1515)
  40. * Fix find and count bug (#1618)
  41. * Fix duplicated deleted condition on FindAndCount (#1619)
  42. * Fix find and count bug with cache (#1622)
  43. * Fix postgres schema problem (#1624)
  44. * Fix quote with blank (#1626)
  45. ## [1.0.0](https://gitea.com/xorm/xorm/pulls?q=&type=all&state=closed&milestone=1242) - 2020-03-22
  46. * BREAKING
  47. * Add context for dialects (#1558)
  48. * Move zero functions to a standalone package (#1548)
  49. * Merge core package back into the main repository and split into serval sub packages. (#1543)
  50. * FEATURES
  51. * Use a new ContextLogger interface to implement logger (#1557)
  52. * BUGFIXES
  53. * Fix setschema (#1606)
  54. * Fix dump/import bug (#1603)
  55. * Fix pk bug (#1602)
  56. * Fix master/slave bug (#1601)
  57. * Fix bug when dump (#1597)
  58. * Ignore schema when dbtype is not postgres (#1593)
  59. * Fix table name (#1590)
  60. * Fix find alias bug (#1581)
  61. * Fix rows bug (#1576)
  62. * Fix map with cols (#1575)
  63. * Fix bug on deleted with join (#1570)
  64. * Improve quote policy (#1567)
  65. * Fix break session sql enable feature (#1566)
  66. * Fix mssql quote (#1535)
  67. * Fix join table name quote bug (#1534)
  68. * Fix mssql issue with duplicate columns. (#1225)
  69. * Fix mysql8.0 sync failed (#808)
  70. * ENHANCEMENTS
  71. * Fix batch insert interface slice be panic (#1598)
  72. * Move some codes to statement sub package (#1574)
  73. * Remove circle file (#1569)
  74. * Move statement as a sub package (#1564)
  75. * Move maptype to tag parser (#1561)
  76. * Move caches to manager (#1553)
  77. * Improve code (#1552)
  78. * Improve some codes (#1551)
  79. * Improve statement (#1549)
  80. * Move tag parser related codes as a standalone sub package (#1547)
  81. * Move reserve words related files into dialects sub package (#1544)
  82. * Fix `Conversion` method `ToDB() ([]byte, error)` return type is nil (#1296)
  83. * Check driver.Valuer response, and skip the column if nil (#1167)
  84. * Add cockroach support and tests (#896)
  85. * TESTING
  86. * Improve tests (#1572)
  87. * BUILD
  88. * Add changelog file and tool configuration (#1546)
  89. * DOCS
  90. * Fix outdate changelog (#1565)
  91. ## old changelog
  92. * **v0.6.5**
  93. * Postgres schema support
  94. * vgo support
  95. * Add FindAndCount
  96. * Database special params support via NewEngineWithParams
  97. * Some bugs fixed
  98. * **v0.6.4**
  99. * Automatical Read/Write seperatelly
  100. * Query/QueryString/QueryInterface and action with Where/And
  101. * Get support non-struct variables
  102. * BufferSize on Iterate
  103. * fix some other bugs.
  104. * **v0.6.3**
  105. * merge tests to main project
  106. * add `Exist` function
  107. * add `SumInt` function
  108. * Mysql now support read and create column comment.
  109. * fix time related bugs.
  110. * fix some other bugs.
  111. * **v0.6.2**
  112. * refactor tag parse methods
  113. * add Scan features to Get
  114. * add QueryString method
  115. * **v0.4.5**
  116. * many bugs fixed
  117. * extends support unlimited deep
  118. * Delete Limit support
  119. * **v0.4.4**
  120. * ql database expriment support
  121. * tidb database expriment support
  122. * sql.NullString and etc. field support
  123. * select ForUpdate support
  124. * many bugs fixed
  125. * **v0.4.3**
  126. * Json column type support
  127. * oracle expirement support
  128. * bug fixed
  129. * **v0.4.2**
  130. * Transaction will auto rollback if not Rollback or Commit be called.
  131. * Gonic Mapper support
  132. * bug fixed
  133. * **v0.4.1**
  134. * deleted tag support for soft delete
  135. * bug fixed
  136. * **v0.4.0 RC1**
  137. Changes:
  138. * moved xorm cmd to [github.com/go-xorm/cmd](github.com/go-xorm/cmd)
  139. * refactored general DB operation a core lib at [github.com/go-xorm/core](https://github.com/go-xorm/core)
  140. * moved tests to github.com/go-xorm/tests [github.com/go-xorm/tests](github.com/go-xorm/tests)
  141. Improvements:
  142. * Prepared statement cache
  143. * Add Incr API
  144. * Specify Timezone Location
  145. * **v0.3.2**
  146. Improvements:
  147. * Add AllCols & MustCols function
  148. * Add TableName for custom table name
  149. Bug Fixes:
  150. * #46
  151. * #51
  152. * #53
  153. * #89
  154. * #86
  155. * #92
  156. * **v0.3.1**
  157. Features:
  158. * Support MSSQL DB via ODBC driver ([github.com/lunny/godbc](https://github.com/lunny/godbc));
  159. * Composite Key, using multiple pk xorm tag
  160. * Added Row() API as alternative to Iterate() API for traversing result set, provide similar usages to sql.Rows type
  161. * ORM struct allowed declaration of pointer builtin type as members to allow null DB fields
  162. * Before and After Event processors
  163. Improvements:
  164. * Allowed int/int32/int64/uint/uint32/uint64/string as Primary Key type
  165. * Performance improvement for Get()/Find()/Iterate()
  166. * **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;
  167. * **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.
  168. * **v0.2.1** : Added database reverse tool, now support generate go & c++ codes, see [Xorm Tool README](https://github.com/go-xorm/xorm/blob/master/xorm/README.md); some bug fixed.
  169. * **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;
  170. * **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](#mapping).
  171. * **v0.1.8** : Added union index and union unique supported, please see [Mapping Rules](#mapping).
  172. * **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.
  173. * **v0.1.6** : Added conversion interface support; added struct derive support; added single mapping support
  174. * **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.
  175. * **v0.1.4** : Added simple cascade load support; added more data type supports.
  176. * **v0.1.3** : Find function now supports both slice and map; Add Table function for multi tables and temperory tables support
  177. * **v0.1.2** : Insert function now supports both struct and slice pointer parameters, batch inserting and auto transaction
  178. * **v0.1.1** : Add Id, In functions and improved README
  179. * **v0.1.0** : Initial release.