CHANGELOG.rdoc 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240
  1. === 1.3.6 / 2012-04-16
  2. * Enhancements
  3. * Windows: build against SQLite 3.7.11
  4. * Added SQLite3::ResultSet#each_hash for fetching each row as a hash.
  5. * Added SQLite3::ResultSet#next_hash for fetching one row as a hash.
  6. * Bugfixes
  7. * Support both UTF-16LE and UTF-16BE encoding modes on PPC. Closes #63
  8. * Protect parameters to custom functions from being garbage collected too
  9. soon. Fixes #60. Thanks hirataya!
  10. * Fix backwards compatibility with 1.2.5 with bind vars and `query` method.
  11. Fixes #35.
  12. * Fix double definition error caused by defining sqlite3_int64/uint64.
  13. * Fix suspicious version regexp.
  14. * Deprecations
  15. * ArrayWithTypesAndFields#types is deprecated and the class will be removed
  16. in version 2.0.0. Please use the `types` method on the ResultSet class
  17. that created this object.
  18. * ArrayWithTypesAndFields#fields is deprecated and the class will be removed
  19. in version 2.0.0. Please use the `columns` method on the ResultSet class
  20. that created this object.
  21. * The ArrayWithTypesAndFields class will be removed in 2.0.0
  22. * The ArrayWithTypes class will be removed in 2.0.0
  23. * HashWithTypesAndFields#types is deprecated and the class will be removed
  24. in version 2.0.0. Please use the `types` method on the ResultSet class
  25. that created this object.
  26. * HashWithTypesAndFields#fields is deprecated and the class will be removed
  27. in version 2.0.0. Please use the `columns` method on the ResultSet class
  28. that created this object.
  29. === 1.3.5 / 2011-12-03 - ZOMG Holidays are here Edition!
  30. * Enhancements
  31. * Windows: build against SQLite 3.7.9
  32. * Static: enable SQLITE_ENABLE_COLUMN_METADATA
  33. * Added Statement#clear_bindings! to set bindings back to nil
  34. * Bugfixes
  35. * Fixed a segv on Database.new. Fixes #34 (thanks nobu!)
  36. * Database error is not reset, so don't check it in Statement#reset!
  37. * Remove conditional around Bignum statement bindings.
  38. Fixes #52. Fixes #56. Thank you Evgeny Myasishchev.
  39. * Internal
  40. * Use proper endianness when testing database connection with UTF-16.
  41. Fixes #40. Fixes #51
  42. * Use -fPIC for static compilation when host is x86_64.
  43. === 1.3.4 / 2011-07-25
  44. * Enhancements:
  45. * Windows: build against SQLite 3.7.7.1
  46. * Windows: build static binaries that do not depend on sqlite3.dll be
  47. installed anymore
  48. * Bugfixes
  49. * Backup API is conditionaly required so that older libsqlite3 can be used.
  50. Thanks Hongli Lai.
  51. * Fixed segmentation fault when nil is passed to SQLite3::Statement.new
  52. * Fix extconf's hardcoded path that affected installation on certain systems.
  53. === 1.3.3 / 2010-01-16
  54. * Bugfixes
  55. * Abort on installation if sqlite3_backup_init is missing. Fixes #19
  56. * Gem has been renamed to 'sqlite3'. Please use `gem install sqlite3`
  57. === 1.3.2 / 2010-10-30 / RubyConf Uruguay Edition!
  58. * Enhancements:
  59. * Windows: build against 3.7.3 version of SQLite3
  60. * SQLite3::Database can now be open as readonly
  61. db = SQLite3::Database.new('my.db', :readonly => true)
  62. * Added SQLite3::SQLITE_VERSION and SQLite3::SQLITE_VERSION_NUMBER [nurse]
  63. * Bugfixes
  64. * type_translation= works along with Database#execute and a block
  65. * defined functions are kept in a hash to prevent GC. #7
  66. * Removed GCC specific flags from extconf.
  67. * DEPRECATIONS
  68. * SQLite3::Database#type_translation= will be deprecated in the future with
  69. no replacement.
  70. * SQlite3::Version will be deprecated in 2.0.0 with SQLite3::VERSION as the
  71. replacement.
  72. === 1.3.1 / 2010-07-09
  73. * Enhancements
  74. * Custom collations may be defined using SQLite3::Database#collation
  75. * Bugfixes
  76. * Statements returning 0 columns are automatically stepped. [RF #28308]
  77. * SQLite3::Database#encoding works on 1.8 and 1.9
  78. === 1.3.0 / 2010-06-06
  79. * Enhancements
  80. * Complete rewrite of C-based adapter from SWIG to hand-crafted one [tenderlove]
  81. See API_CHANGES document for details.
  82. This closes: Bug #27300, Bug #27241, Patch #16020
  83. * Improved UTF, Unicode, M17N, all that handling and proper BLOB handling [tenderlove, nurse]
  84. * Added support for type translations [tenderlove]
  85. @db.translator.add_translator('sometime') do |type, thing|
  86. 'output' # this will be returned as value for that column
  87. end
  88. * Experimental
  89. * Added API to access and load extensions. [kashif]
  90. These functions maps directly into SQLite3 own enable_load_extension()
  91. and load_extension() C-API functions. See SQLite3::Database API documentation for details.
  92. This closes: Patches #9178
  93. * Bugfixes
  94. * Corrected gem dependencies (runtime and development)
  95. * Fixed threaded tests [Alexey Borzenkov]
  96. * Removed GitHub gemspec
  97. * Fixed "No definition for" warnings from RDoc
  98. * Generate zip and tgz files for releases
  99. * Added Luis Lavena as gem Author (maintainer)
  100. * Prevent mkmf interfere with Mighty Snow Leopard
  101. * Allow extension compilation search for common lib paths [kashif]
  102. (lookup /usr/local, /opt/local and /usr)
  103. * Corrected extension compilation under MSVC [romuloceccon]
  104. * Define load_extension functionality based on availability [tenderlove]
  105. * Deprecation notices for Database#query. Fixes RF #28192
  106. === 1.3.0.beta.2 / 2010-05-15
  107. * Enhancements
  108. * Added support for type translations [tenderlove]
  109. @db.translator.add_translator('sometime') do |type, thing|
  110. 'output' # this will be returned as value for that column
  111. end
  112. * Bugfixes
  113. * Allow extension compilation search for common lib paths [kashif]
  114. (lookup /usr/local, /opt/local and /usr)
  115. * Corrected extension compilation under MSVC [romuloceccon]
  116. * Define load_extension functionality based on availability [tenderlove]
  117. * Deprecation notices for Database#query. Fixes RF #28192
  118. === 1.3.0.beta.1 / 2010-05-10
  119. * Enhancements
  120. * Complete rewrite of C-based adapter from SWIG to hand-crafted one [tenderlove]
  121. See API_CHANGES document for details.
  122. This closes: Bug #27300, Bug #27241, Patch #16020
  123. * Improved UTF, Unicode, M17N, all that handling and proper BLOB handling [tenderlove, nurse]
  124. * Experimental
  125. * Added API to access and load extensions. [kashif]
  126. These functions maps directly into SQLite3 own enable_load_extension()
  127. and load_extension() C-API functions. See SQLite3::Database API documentation for details.
  128. This closes: Patches #9178
  129. * Bugfixes
  130. * Corrected gem dependencies (runtime and development)
  131. * Fixed threaded tests [Alexey Borzenkov]
  132. * Removed GitHub gemspec
  133. * Fixed "No definition for" warnings from RDoc
  134. * Generate zip and tgz files for releases
  135. * Added Luis Lavena as gem Author (maintainer)
  136. * Prevent mkmf interfere with Mighty Snow Leopard
  137. === 1.2.5 / 25 Jul 2009
  138. * Check for illegal nil before executing SQL [Erik Veenstra]
  139. * Switch to Hoe for gem task management and packaging.
  140. * Advertise rake-compiler as development dependency.
  141. * Build gem binaries for Windows.
  142. * Improved Ruby 1.9 support compatibility.
  143. * Taint returned values. Patch #20325.
  144. * Database.open and Database.new now take an optional block [Gerrit Kaiser]
  145. === 1.2.4.1 (internal) / 5 Jul 2009
  146. * Check for illegal nil before executing SQL [Erik Veenstra]
  147. * Switch to Hoe for gem task management and packaging.
  148. * Advertise rake-compiler as development dependency.
  149. * Build gem binaries for Windows.
  150. * Improved Ruby 1.9 support compatibility.
  151. === 1.2.4 / 27 Aug 2008
  152. * Package the updated C file for source builds. [Jamis Buck]
  153. === 1.2.3 / 26 Aug 2008
  154. * Fix incorrect permissions on database.rb and translator.rb [Various]
  155. * Avoid using Object#extend for greater speedups [Erik Veenstra]
  156. * Ruby 1.9 compatibility tweaks for Array#zip [jimmy88@gmail.com]
  157. * Fix linking against Ruby 1.8.5 [Rob Holland <rob@inversepath.com>]
  158. === 1.2.2 / 31 May 2008
  159. * Make the table_info method adjust the returned default value for the rows
  160. so that the sqlite3 change in 3.3.8 and greater can be handled
  161. transparently [Jamis Buck <jamis@37signals.com>]
  162. * Ruby 1.9 compatibility tweaks [Roman Le Negrate <roman2k@free.fr>]
  163. * Various performance enhancements [thanks Erik Veenstra]
  164. * Correct busy_handler documentation [Rob Holland <rob@inversepath.com>]
  165. * Use int_bind64 on Fixnum values larger than a 32bit C int can take. [Rob Holland <rob@inversepath.com>]
  166. * Work around a quirk in SQLite's error reporting by calling sqlite3_reset
  167. to produce a more informative error code upon a failure from
  168. sqlite3_step. [Rob Holland <rob@inversepath.com>]
  169. * Various documentation, test, and style tweaks [Rob Holland <rob@inversepath.com>]
  170. * Be more granular with time/data translation [Rob Holland <rob@inversepath.com>]
  171. * Use Date directly for parsing rather than going via Time [Rob Holland <rob@inversepath.com>]
  172. * Check for the rt library and fdatasync so we link against that when
  173. needed [Rob Holland <rob@inversepath.com>]
  174. * Rename data structures to avoid collision on win32. based on patch
  175. by: Luis Lavena [Rob Holland <rob@inversepath.com>]
  176. * Add test for defaults [Daniel Rodríguez Troitiño]
  177. * Correctly unquote double-quoted pragma defaults [Łukasz Dargiewicz <lukasz.dargiewicz@gmail.com>]