History.txt 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  1. == 2.2.1 / 2011-09-15
  2. * Enhancements
  3. * Added UpdateManager#key to access the key value
  4. * Added SelectManager#projections= to override any existing projections
  5. * Added SelectManager#source to get the source of the last select core in the AST
  6. == 2.2.0 / 2011-08-09
  7. * Bug Fixes
  8. * The database connection caches visitors for generating SQL.
  9. * FALSE and TRUE nodes can be constructed.
  10. * Fixed ORDER BY / LIMIT clauses for UPDATE statements in Oracle.
  11. == 2.1.4 / 2011-07-25
  12. * Bug Fixes
  13. * Fix depth-first traversal to understand ascending / descending nodes.
  14. * Parentheis are suppressed with nested unions in MySQL. Thanks jhtwong!
  15. == 2.1.3 / 2011-06-27
  16. * Bug Fixues
  17. * Fixed broken gem build.
  18. == 2.1.2 / 2011-06-27
  19. * Bug Fixes
  20. * Visitors can define their own cache strategey so caches are not shared.
  21. Fixes #57
  22. * Informix support fixed. Thanks Khronos.
  23. * Ordering nodes broken to subclasses. Thanks Ernie Miller!
  24. * Reversal supported in ordering nodes. Thanks Ernie Miller!
  25. == 2.1.1 / 2011/05/14
  26. * Bug fixes
  27. * Fixed thread safety bug in ToSql visitor. Thanks Damon McCormick and
  28. Cameron Walters!
  29. == 2.1.0 / 2011/04/30
  30. * Enhancements
  31. * AST is now Enumerable
  32. * AND nodes are now n-ary nodes
  33. * SQL Literals may be used as Attribute names
  34. * Added Arel::Nodes::NamedFunction for representing generic SQL functions
  35. * Add Arel::SelectManager#limit=
  36. * Add Arel::SelectManager#offset
  37. * Add Arel::SelectManager#offset=
  38. * Added Arel::SelectManager#create_insert for building an insert manager.
  39. * SQL Literals are allowed for values in INSERT statements.
  40. * Math operations have been added to attributes, thanks to
  41. Vladimir Meremyanin.
  42. * Bug fixes
  43. * MSSQL adds TOP to sub selects
  44. * Assigning nil to take() removes LIMIT from statement.
  45. * Assigning nil to offset() removes OFFSET from statement.
  46. * TableAlias leg ordering fixed
  47. * Deprecations
  48. * Calls to `insert` are deprecated. Please use `compile_insert` then call
  49. `to_sql` on the resulting object and execute that SQL.
  50. * Calls to `update` are deprecated. Please use `compile_update` then call
  51. `to_sql` on the resulting object and execute that SQL.
  52. * Calls to `delete` are deprecated. Please use `compile_delete` then call
  53. `to_sql` on the resulting object and execute that SQL.
  54. * Arel::Table#joins is deprecated and will be removed in 3.0.0 with no
  55. replacement.
  56. * Arel::Table#columns is deprecated and will be removed in 3.0.0 with no
  57. replacement.
  58. * Arel::Table.table_cache is deprecated and will be removed in 3.0.0 with no
  59. replacement.
  60. * Arel::Nodes::And.new takes a single list instead of left and right.
  61. * Arel::Table#primary_key is deprecated and will be removed in 3.0.0 with no
  62. replacement.
  63. * Arel::SelectManager#where_clauses is deprecated and will be removed in
  64. 3.0.0 with no replacement.
  65. * Arel::SelectManager#wheres is deprecated and will be removed in
  66. 3.0.0 with no replacement.
  67. == 2.0.9 / 2010/02/25
  68. * Bug Fixes
  69. * Custom LOCK strings are allowed. Fixes LH # 6399
  70. https://rails.lighthouseapp.com/projects/8994/tickets/6399-allow-database-specific-locking-clauses-to-be-used
  71. * Strings passed to StringManager#on will be automatically tagged as SQL
  72. literals. Fixes Rails LH #6384
  73. https://rails.lighthouseapp.com/projects/8994/tickets/6384-activerecord-303-and-3-0-stable-generate-invalid-sql-for-has_many-through-association-with-conditions
  74. == 2.0.8 / 2010/02/08
  75. * Bug Fixes
  76. * Added set operation support
  77. * Fixed problems with *_any / *_all methods.
  78. == 2.0.7
  79. * Bug Fixes
  80. * Limit members are visited
  81. * Fixing MSSQL TOP support
  82. == 2.0.6 12/01/2010
  83. * Bug Fixes
  84. * Rails 3.0.x does not like that Node is Enumerable, so removing for now.
  85. == 2.0.5 11/30/2010
  86. * Enhancements
  87. * Arel::Visitors::DepthFirst can walk your AST depth first
  88. * Arel::Nodes::Node is enumerable, depth first
  89. * Bug fixes
  90. * #lock will lock SELECT statements "FOR UPDATE" on mysql
  91. * Nodes::Node#not factory method added for creating Nodes::Not nodes
  92. * Added an As node
  93. * Deprecations
  94. * Support for Subclasses of core classes will be removed in ARel version
  95. 2.2.0
  96. == 2.0.4
  97. * Bug fixes
  98. * Speed improvements for Range queries. Thanks Rolf Timmermans!
  99. == 2.0.3
  100. * Bug fixes
  101. * Fixing Oracle support
  102. * Added a visitor for "Class" objects
  103. == 2.0.2
  104. * Bug fixes
  105. * MySQL selects from DUAL on empty FROM
  106. * Visitor translates nil to NULL
  107. * Visitor translates Bignum properly
  108. == 2.0.1
  109. * Bug fixes
  110. == 2.0.0 / 2010-08-01
  111. * Enhancements
  112. * Recreate library using the Visitor pattern.
  113. http://en.wikipedia.org/wiki/Visitor_pattern
  114. == 0.3.0 / 2010-03-10
  115. * Enhancements
  116. * Introduced "SQL compilers" for query generation.
  117. * Added support for Oracle (Raimonds Simanovskis) and IBM/DB (Praveen Devarao).
  118. * Improvements to give better support to ActiveRecord.
  119. == 0.2.1 / 2010-02-05
  120. * Enhancements
  121. * Bump dependency version of activesupport to 3.0.0.beta
  122. == 0.2.0 / 2010-01-31
  123. * Ruby 1.9 compatibility
  124. * Many improvements to support the Arel integration into ActiveRecord (see `git log v0.1.0..v0.2.0`)
  125. * Thanks to Emilio Tagua and Pratik Naik for many significant contributions!
  126. == 0.1.0 / 2009-08-06
  127. * 1 major enhancement
  128. * Birthday!