1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/History.txt

167 lines
4.2 KiB
Text
Raw Normal View History

2011-05-10 20:09:28 -04:00
== 2.1.1 (unreleased)
* Bug fixes
* Fixed thread safety bug in ToSql visitor. Thanks Damon McCormick and
Cameron Walters!
== 2.1.0 / 2011/04/30
2010-12-01 12:19:09 -05:00
* Enhancements
* AST is now Enumerable
2010-12-09 17:52:55 -05:00
* AND nodes are now n-ary nodes
* SQL Literals may be used as Attribute names
* Added Arel::Nodes::NamedFunction for representing generic SQL functions
* Add Arel::SelectManager#limit=
* Add Arel::SelectManager#offset
* Add Arel::SelectManager#offset=
2011-03-22 00:23:48 -04:00
* Added Arel::SelectManager#create_insert for building an insert manager.
* SQL Literals are allowed for values in INSERT statements.
* Math operations have been added to attributes, thanks to
Vladimir Meremyanin.
2010-12-01 12:19:09 -05:00
2011-02-02 18:09:54 -05:00
* Bug fixes
* MSSQL adds TOP to sub selects
* Assigning nil to take() removes LIMIT from statement.
* Assigning nil to offset() removes OFFSET from statement.
* TableAlias leg ordering fixed
2011-02-02 18:09:54 -05:00
2010-12-02 17:01:08 -05:00
* Deprecations
* Calls to `insert` are deprecated. Please use `compile_insert` then call
`to_sql` on the resulting object and execute that SQL.
* Calls to `update` are deprecated. Please use `compile_update` then call
`to_sql` on the resulting object and execute that SQL.
* Calls to `delete` are deprecated. Please use `compile_delete` then call
`to_sql` on the resulting object and execute that SQL.
* Arel::Table#joins is deprecated and will be removed in 3.0.0 with no
2010-12-03 19:04:36 -05:00
replacement.
* Arel::Table#columns is deprecated and will be removed in 3.0.0 with no
2010-12-03 19:04:36 -05:00
replacement.
* Arel::Table.table_cache is deprecated and will be removed in 3.0.0 with no
2010-12-03 19:04:36 -05:00
replacement.
2010-12-09 17:52:55 -05:00
* Arel::Nodes::And.new takes a single list instead of left and right.
2010-12-13 16:29:33 -05:00
* Arel::Table#primary_key is deprecated and will be removed in 3.0.0 with no
replacement.
* Arel::SelectManager#where_clauses is deprecated and will be removed in
3.0.0 with no replacement.
* Arel::SelectManager#wheres is deprecated and will be removed in
3.0.0 with no replacement.
== 2.0.9 / 2010/02/25
* Bug Fixes
* Custom LOCK strings are allowed. Fixes LH # 6399
https://rails.lighthouseapp.com/projects/8994/tickets/6399-allow-database-specific-locking-clauses-to-be-used
* Strings passed to StringManager#on will be automatically tagged as SQL
literals. Fixes Rails LH #6384
https://rails.lighthouseapp.com/projects/8994/tickets/6384-activerecord-303-and-3-0-stable-generate-invalid-sql-for-has_many-through-association-with-conditions
== 2.0.8 / 2010/02/08
* Bug Fixes
* Added set operation support
* Fixed problems with *_any / *_all methods.
== 2.0.7
2010-12-06 23:28:33 -05:00
* Bug Fixes
* Limit members are visited
2011-01-03 13:19:31 -05:00
* Fixing MSSQL TOP support
2010-12-06 23:28:33 -05:00
== 2.0.6 12/01/2010
* Bug Fixes
* Rails 3.0.x does not like that Node is Enumerable, so removing for now.
2010-11-30 14:09:56 -05:00
== 2.0.5 11/30/2010
2010-11-22 17:28:34 -05:00
2010-11-29 18:31:28 -05:00
* Enhancements
* Arel::Visitors::DepthFirst can walk your AST depth first
* Arel::Nodes::Node is enumerable, depth first
2010-11-22 17:28:34 -05:00
* Bug fixes
* #lock will lock SELECT statements "FOR UPDATE" on mysql
* Nodes::Node#not factory method added for creating Nodes::Not nodes
2010-11-23 21:22:42 -05:00
* Added an As node
2010-11-22 17:28:34 -05:00
* Deprecations
* Support for Subclasses of core classes will be removed in ARel version
2.2.0
2010-11-17 11:38:35 -05:00
== 2.0.4
* Bug fixes
* Speed improvements for Range queries. Thanks Rolf Timmermans!
2010-11-16 11:15:58 -05:00
== 2.0.3
* Bug fixes
* Fixing Oracle support
* Added a visitor for "Class" objects
2010-11-11 11:54:55 -05:00
== 2.0.2
* Bug fixes
* MySQL selects from DUAL on empty FROM
* Visitor translates nil to NULL
* Visitor translates Bignum properly
== 2.0.1
* Bug fixes
== 2.0.0 / 2010-08-01
* Enhancements
* Recreate library using the Visitor pattern.
http://en.wikipedia.org/wiki/Visitor_pattern
2010-03-10 17:05:00 -05:00
== 0.3.0 / 2010-03-10
2010-03-10 16:51:01 -05:00
* Enhancements
* Introduced "SQL compilers" for query generation.
* Added support for Oracle (Raimonds Simanovskis) and IBM/DB (Praveen Devarao).
* Improvements to give better support to ActiveRecord.
2010-02-05 12:19:55 -05:00
== 0.2.1 / 2010-02-05
* Enhancements
* Bump dependency version of activesupport to 3.0.0.beta
2010-01-31 21:27:16 -05:00
== 0.2.0 / 2010-01-31
2009-11-10 15:02:57 -05:00
* Ruby 1.9 compatibility
2010-01-31 21:27:16 -05:00
* Many improvements to support the Arel integration into ActiveRecord (see `git log v0.1.0..v0.2.0`)
* Thanks to Emilio Tagua and Pratik Naik for many significant contributions!
2009-11-10 15:02:57 -05:00
== 0.1.0 / 2009-08-06
* 1 major enhancement
* Birthday!