Skip to content

Releases: crashtech/torque-postgresql

Small fixes

09 Aug 06:05

Choose a tag to compare

  • Sort enums while writing the schema dump
  • Added extra tests for insurance

Rails 6.0 and Ruby 2.7 compatibility

23 May 17:26
9a8a8a7

Choose a tag to compare

This version enables the gem to work with Rails 6 and it also removes warnings regarding Ruby 2.7 named argument.

Fix multiple join sources from the same CTE

31 Jan 08:20

Choose a tag to compare

Clear the list of join sources every time that a CTE is built, avoiding wrong information or duplicated ones.

Fix auxiliary statements

31 Jan 02:09

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

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

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

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

Choose a tag to compare

Just small fixes for geometries and associations.

A bunch of new Features

19 Aug 02:35

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

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