2016-07-19 20:56:54 -04:00
|
|
|
=== 7.1.0 / 2016-07-19
|
2016-05-29 15:19:17 -04:00
|
|
|
|
|
|
|
* Enhancements
|
|
|
|
|
|
|
|
* Support Ruby 2.4 unified Integer class
|
2016-07-19 20:56:54 -04:00
|
|
|
* Implement `CASE` conditional expression
|
|
|
|
* Support for Bitwise Operations as `InfixOperations`
|
2016-05-29 15:19:17 -04:00
|
|
|
|
2015-12-17 15:03:45 -05:00
|
|
|
=== 7.0.0 / 2015-12-17
|
|
|
|
|
|
|
|
* Enhancements
|
|
|
|
|
|
|
|
* Remove deprecated method `Table#primary_key`
|
|
|
|
* Remove engine from the constructor arguments `Arel::Table`
|
|
|
|
* Deprecate automatic type casting within Arel
|
|
|
|
|
2014-11-25 16:54:45 -05:00
|
|
|
=== 6.0.0 / 2014-11-25
|
2014-02-10 16:40:37 -05:00
|
|
|
|
|
|
|
* Enhancements
|
|
|
|
|
|
|
|
* Remove deprecated `Arel::Expression`
|
|
|
|
* Remove deprecated `Arel::SqlLiteral`
|
|
|
|
* Remove deprecated `SelectManager#joins`
|
|
|
|
* Remove deprecated `SelectManager#to_a`
|
|
|
|
* Remove deprecated `Arel::Sql::Engine`
|
|
|
|
* Remove deprecated `Arel::InnerJoin` constant
|
|
|
|
* Remove deprecated `Arel::OuterJoin` constant
|
|
|
|
|
2013-12-04 20:58:55 -05:00
|
|
|
== 5.0.0 / 2013-12-04
|
|
|
|
|
|
|
|
* Enhancements
|
|
|
|
|
|
|
|
* Remove deprecated code
|
|
|
|
|
|
|
|
* Bug Fixes
|
|
|
|
|
|
|
|
* Fix serializing a relation when calling `to_yaml`
|
|
|
|
|
2014-02-05 15:09:53 -05:00
|
|
|
=== 4.0.2 / 2014-02-05
|
|
|
|
|
|
|
|
* Bug Fixes
|
|
|
|
|
|
|
|
* Fix `SqlLiteral` YAML serialization
|
|
|
|
* PostgreSQL bugfix for invalid SQL in subqueries
|
|
|
|
|
2013-10-22 18:11:38 -04:00
|
|
|
== 4.0.1 / 2013-10-22
|
|
|
|
|
|
|
|
* Enhancements
|
|
|
|
|
|
|
|
* Cache visitor dispatch on a per-visitor basis
|
|
|
|
* Improve performance of #uniq across a large number of nodes
|
|
|
|
|
|
|
|
* Bug Fixes
|
|
|
|
|
|
|
|
* Make visitors threadsafe by removing @last_column
|
|
|
|
* Support `columns_for_distinct` with Oracle adapter
|
|
|
|
|
2013-11-15 09:25:07 -05:00
|
|
|
== 3.0.3 / 2013-11-12
|
|
|
|
|
|
|
|
* Enhancements
|
|
|
|
|
|
|
|
* Support ANSI 2003 window functions
|
|
|
|
|
|
|
|
* Bug Fixes
|
|
|
|
|
|
|
|
* Fix joins in Informix
|
|
|
|
|
2013-11-12 13:07:48 -05:00
|
|
|
== 3.0.2 / 2012-02-21
|
|
|
|
|
|
|
|
* Enhancements
|
|
|
|
|
|
|
|
* Added a module for visiting and transforming bind values
|
|
|
|
* Fix in [] to be false, not in [] to be true
|
|
|
|
|
|
|
|
* Bug Fixes
|
|
|
|
|
|
|
|
* Revert fix for LIMIT / OFFSET when query is ordered in Oracle
|
|
|
|
|
|
|
|
== 3.0.1 / 2012-02-17
|
|
|
|
|
|
|
|
* Bug Fixes
|
|
|
|
|
|
|
|
* Fixed LIMIT / OFFSET when query is ordered in Oracle
|
|
|
|
|
|
|
|
== 3.0.0 / 2012-01-12
|
|
|
|
|
|
|
|
* Enhancements
|
|
|
|
|
|
|
|
* Support connection pool and schema cache
|
|
|
|
|
|
|
|
* Bug Fixes
|
|
|
|
|
|
|
|
* Conditions with no column can be followed by other conditions in Postgres
|
|
|
|
|
|
|
|
== 2.2.3 / 2012-02-21
|
|
|
|
|
|
|
|
* Enhancements
|
|
|
|
|
|
|
|
* Added a module for visiting and transforming bind values
|
|
|
|
|
|
|
|
== 2.2.2 / 2012-02-20
|
|
|
|
|
|
|
|
* Enhancements
|
|
|
|
|
|
|
|
* Support LOCK
|
|
|
|
* Allow using non-table alias as a right-hand relation name
|
|
|
|
* Added SelectManager#distinct
|
|
|
|
|
2011-08-15 13:02:17 -04:00
|
|
|
== 2.2.1 / 2011-09-15
|
2011-08-13 12:10:24 -04:00
|
|
|
|
|
|
|
* Enhancements
|
|
|
|
|
|
|
|
* Added UpdateManager#key to access the key value
|
|
|
|
* Added SelectManager#projections= to override any existing projections
|
|
|
|
* Added SelectManager#source to get the source of the last select core in the AST
|
|
|
|
|
2011-08-09 17:01:44 -04:00
|
|
|
== 2.2.0 / 2011-08-09
|
2011-08-08 18:46:23 -04:00
|
|
|
|
|
|
|
* Bug Fixes
|
|
|
|
|
|
|
|
* The database connection caches visitors for generating SQL.
|
|
|
|
* FALSE and TRUE nodes can be constructed.
|
|
|
|
* Fixed ORDER BY / LIMIT clauses for UPDATE statements in Oracle.
|
|
|
|
|
2011-07-25 18:59:05 -04:00
|
|
|
== 2.1.4 / 2011-07-25
|
2011-06-29 16:45:26 -04:00
|
|
|
|
|
|
|
* Bug Fixes
|
|
|
|
|
|
|
|
* Fix depth-first traversal to understand ascending / descending nodes.
|
2013-05-17 14:27:29 -04:00
|
|
|
* Parenthesis are suppressed with nested unions in MySQL. Thanks jhtwong!
|
2011-06-29 16:45:26 -04:00
|
|
|
|
2011-06-27 12:59:46 -04:00
|
|
|
== 2.1.3 / 2011-06-27
|
|
|
|
|
2013-05-17 14:27:29 -04:00
|
|
|
* Bug Fixes
|
2011-06-27 12:59:46 -04:00
|
|
|
|
|
|
|
* Fixed broken gem build.
|
|
|
|
|
|
|
|
== 2.1.2 / 2011-06-27
|
2011-06-27 12:11:47 -04:00
|
|
|
|
|
|
|
* Bug Fixes
|
|
|
|
|
2013-05-17 14:27:29 -04:00
|
|
|
* Visitors can define their own cache strategy so caches are not shared.
|
2011-06-27 12:11:47 -04:00
|
|
|
Fixes #57
|
2011-06-27 12:31:01 -04:00
|
|
|
* Informix support fixed. Thanks Khronos.
|
|
|
|
* Ordering nodes broken to subclasses. Thanks Ernie Miller!
|
|
|
|
* Reversal supported in ordering nodes. Thanks Ernie Miller!
|
2011-06-27 12:11:47 -04:00
|
|
|
|
2011-05-17 18:03:48 -04:00
|
|
|
== 2.1.1 / 2011/05/14
|
2011-05-10 20:09:28 -04:00
|
|
|
|
|
|
|
* Bug fixes
|
|
|
|
|
|
|
|
* Fixed thread safety bug in ToSql visitor. Thanks Damon McCormick and
|
|
|
|
Cameron Walters!
|
|
|
|
|
2011-04-30 20:24:06 -04:00
|
|
|
== 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
|
2010-12-22 21:02:56 -05:00
|
|
|
* SQL Literals may be used as Attribute names
|
2011-01-04 23:27:34 -05:00
|
|
|
* Added Arel::Nodes::NamedFunction for representing generic SQL functions
|
2011-02-25 18:19:11 -05:00
|
|
|
* Add Arel::SelectManager#limit=
|
2011-02-25 18:23:21 -05:00
|
|
|
* 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.
|
2011-03-22 00:35:23 -04:00
|
|
|
* SQL Literals are allowed for values in INSERT statements.
|
2011-03-07 11:35:48 -05:00
|
|
|
* 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
|
2011-02-25 18:19:11 -05:00
|
|
|
* Assigning nil to take() removes LIMIT from statement.
|
2011-02-25 18:23:21 -05:00
|
|
|
* Assigning nil to offset() removes OFFSET from statement.
|
2011-03-30 12:21:45 -04:00
|
|
|
* 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.
|
|
|
|
|
2010-12-02 17:31:37 -05:00
|
|
|
* Calls to `update` are deprecated. Please use `compile_update` then call
|
|
|
|
`to_sql` on the resulting object and execute that SQL.
|
|
|
|
|
2010-12-02 18:45:00 -05:00
|
|
|
* Calls to `delete` are deprecated. Please use `compile_delete` then call
|
|
|
|
`to_sql` on the resulting object and execute that SQL.
|
|
|
|
|
2010-12-03 19:07:28 -05:00
|
|
|
* Arel::Table#joins is deprecated and will be removed in 3.0.0 with no
|
2010-12-03 19:04:36 -05:00
|
|
|
replacement.
|
|
|
|
|
2010-12-03 19:07:28 -05:00
|
|
|
* Arel::Table#columns is deprecated and will be removed in 3.0.0 with no
|
2010-12-03 19:04:36 -05:00
|
|
|
replacement.
|
|
|
|
|
2010-12-03 19:07:28 -05:00
|
|
|
* 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.
|
|
|
|
|
2010-12-26 21:56:07 -05:00
|
|
|
* Arel::SelectManager#where_clauses is deprecated and will be removed in
|
|
|
|
3.0.0 with no replacement.
|
|
|
|
|
2011-04-11 18:49:27 -04:00
|
|
|
* Arel::SelectManager#wheres is deprecated and will be removed in
|
|
|
|
3.0.0 with no replacement.
|
|
|
|
|
2011-04-30 20:24:06 -04:00
|
|
|
== 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
|
|
|
|
2010-12-01 12:11:30 -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
|
2010-11-23 19:24:41 -05:00
|
|
|
* 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
|
|
|
|
2010-11-30 14:06:09 -05:00
|
|
|
* Deprecations
|
|
|
|
|
2013-04-14 14:45:31 -04:00
|
|
|
* Support for Subclasses of core classes will be removed in Arel version
|
2010-11-30 14:06:09 -05:00
|
|
|
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
|
|
|
|
|
2010-10-16 17:40:45 -04:00
|
|
|
== 2.0.0 / 2010-08-01
|
|
|
|
* Enhancements
|
2011-08-13 12:10:24 -04:00
|
|
|
|
2010-10-16 17:40:45 -04:00
|
|
|
* 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).
|
2013-04-14 14:39:07 -04:00
|
|
|
* Improvements to give better support to Active Record.
|
2010-03-10 16:51:01 -05:00
|
|
|
|
2010-02-05 12:19:55 -05:00
|
|
|
== 0.2.1 / 2010-02-05
|
2010-02-05 12:18:40 -05:00
|
|
|
|
|
|
|
* 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
|
2013-04-14 14:39:07 -04:00
|
|
|
* Many improvements to support the Arel integration into Active Record (see `git log v0.1.0..v0.2.0`)
|
2010-01-31 21:27:16 -05:00
|
|
|
* 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!
|