Changelog History
Page 2
-
v1.0.0 Changes
March 23, 2019โ Add support for Postgres Union types and refactor Arel building process into a single module
Union Query Commands
.union
(UNION).union_all
(UNION ALL)- or
.union.all
- or
union_except
(EXCEPT)- or
.union.except
- or
.union_intersect
(INTERSECT)- or
.union.intersect
- or
- 0๏ธโฃ
union_as
(From clause alias name) (defaults to calling class table name)- or
.union.as
- or
order_union
(ORDER BY)- or
.union.order
- or
.reorder_union
(overides previously set.order_union
)- or
union.reorder
- or
JSON Query Commands
.select_row_to_json
(ROW_TO_JSON)- ๐
.json_build_object
(JSON_BUILD_OBJECT) - ๐
.jsonb_build_object
(JSONB_BUILD_OBJECT) - ๐
.json_build_literal
(JSON_BUILD_OBJECT) (static hash / array implementation) - ๐
.jsonb_build_literal
(JSONB_BUILD_OBJECT) (static hash / array implementation)
-
v0.7.0 Changes
September 22, 2018โ Add support for Postgres Commend Table Expression (CTE) methods.
.with/1
.with.recursive/1
-
v0.6.0 Changes
July 25, 2018โฌ๏ธ Reduced Gem file allocation. We only care about stuff in the lib directory.
-
v0.5.1 Changes
June 03, 2018๐ Relaxed PG gem requirement for allowing version 1 to be used.
-
v0.5.0 Changes
May 31, 2018๐ Released non-marked beta version.
-
v0.5.0.beta3 Changes
May 28, 2018Added
inet_contains_or_contained_within/1
method -
v0.5.0.beta2 Changes
May 27, 2018๐ Renamed inet functions to hopefully give a clearer understanding to what these methods are used for.
โ Added support for Postgres Inet functions. View the readme for more details on the following:
#inet_contained_within/1
#inet_contained_within_or_equals/1
#inet_contains_or_equals/1
#inet_contains/1
๐ Deprecation Warnings
๐ The following will be dropped upon v1.0 release. In favor of their prefixed counterparts.
#contained_within/1
#contained_within_or_equals/1
#contains_or_equals/1
-
v0.5.0.beta1 Changes
May 26, 2018โ Added support for Rails 5.0.x
โ Warning for Rails 5.0.x Projects
๐ The proposed changes to this could cause unintended behavior in existing Rails 5.0.x applications. ๐ This is due to the overwrite needed to be done on its internal Predicate builder. ๐ Rails projects above 5.0.x should not experience any unforeseen issues since they contain the necessary structure required.
๐ Use with caution. And always make sure you have good tests to verify everything in your application.
-
v0.4.0 Changes
May 09, 2018- Use Arel's
or
for grouping queries when using#any_of
or#none_of
- Added Plural aliases for
.either_join
:.either_joins
and.either_order
:.either_orders
- Use Arel's
-
v0.3.0 Changes
May 09, 2018- ๐ Fixed ActiveRecord QueryMethod constant load error.