Skip to content

Releases: crashtech/torque-postgresql

Fix auxiliary statements

31 Jan 02:09
Compare
Choose a tag to compare

New Active Record version implemented an Immutable exception for Arel queries. Since CTEs rely on joins, this fixes how the joins are built during the query.

Fix performance issue

23 Dec 18:20
Compare
Choose a tag to compare
  • Fix performance problems for applications that doesn't use inheritance;
  • Fix specs by dropping the database before running it again.

Fixes to array associations and enum

17 Dec 01:44
Compare
Choose a tag to compare
  • Join on array associations were broken on rails 5.2.3 or higher
  • Improve enum builder to use similar tools as the Interval, which use generated strings
  • Fix array set scopes to properly cast the values while querying
  • Add setting to raise an exception (or just notify) whenever the enum will build a method on top of an existing one
  • Add additional scopes has_ and has_any_ for enum sets
  • Add ability to get the enum values as symbols using Enum::Roles.keys or Model.roles_keys

General Improvements

03 Sep 00:19
Compare
Choose a tag to compare
  • Several bug fixes
  • A bunch of performance improvements
  • Removed some inconsistencies
  • Improve inheritance cast of records with conflicting column names

Small fixes

20 Aug 06:19
c6917fc
Compare
Choose a tag to compare

Just small fixes for geometries and associations.

A bunch of new Features

19 Aug 02:35
Compare
Choose a tag to compare

Incompatibility on

  • Auxiliary statements
  • Enum

How to Upgrade

  • Remove any use of cached auxiliary statements from the code, because there's no more caching for those.
  • Enums cannot be auto-initiated anymore, ensure to call enum :column on the models.

New Features

General fixes and improvements

09 Jan 16:46
Compare
Choose a tag to compare
  1. Fix issue with Enum and Inheritance
  2. Fix error with Rails 2.2
  3. Fix schema dumper trying to export types defined by extensions

Issues fixes and improvements

08 Dec 17:55
64f69bf
Compare
Choose a tag to compare
  • Fix issue with base class identification
  • Fix problem when converting an interval with a weeks part
  • Fix how Enum are initialized to make sure alternative name works
  • Enum improvements
  • Inheritance cache improvements

Rails 5.2 support

22 Nov 12:59
Compare
Choose a tag to compare

Adding support to Rails 5.2

Fix cast records with calculations

21 Nov 07:03
Compare
Choose a tag to compare

When using cast_records with filter, use the join table to filter the models, instead of the base table, allowing calculations like sum to happen correctly