Skip to content

Releases: crashtech/torque-postgresql

Add support to array associations using UUID

11 Apr 07:15
Compare
Choose a tag to compare

This version removes the assumption that associations are made using an integer type. It now does not take much into consideration the type, leaving PG to figure the type out or raise errors.

Add support to Rails 7.0

04 Apr 00:27
Compare
Choose a tag to compare

Add support to Rails 7.

Adapted super for enums since Rails 7 includes its own method to create enums.
IMPORTANT! A lot has changed in the associations' area, so beware that it may contain issues, even though all tests here are green.

Fix for Rails 6.1.5

01 Apr 03:10
Compare
Choose a tag to compare

With the new minor version for Rails 6, there was an issue with managing array associations with loading records and adding records at the same time. This is fixed in this version.

Fix problem with default value

02 Dec 07:16
Compare
Choose a tag to compare
  • Changing the default value was breaking due to a different class coming as the column

Bug fixes

25 Nov 06:16
Compare
Choose a tag to compare
  • Fix problem with recent version of Ruby
  • Fix problem with default value

Inheritance improvement and General fixes

23 Sep 22:05
Compare
Choose a tag to compare
  • Improve inheritance by not relying on Auxilary Statement
  • Add extended support for default values
  • Fix an error with default values, array, and jsonb columns
  • Fix an error with the most recent versions of Rails
  • Fix an error with the current? method for period columns

Fix enum and table inheritance

16 Sep 01:44
Compare
Choose a tag to compare
  • Make sure that table inheritance, more specifically .cast_record works with uuid columns
  • Change query that fetches the enum values to a more verbose one and transaction-safe

Fix to association cache

14 Jun 18:35
Compare
Choose a tag to compare

Fix #48 by disabling cache for associations connected using array columns.

Fixes to belongs to many

04 May 03:11
Compare
Choose a tag to compare
  • Improves around array and default value
  • Fix save action when saving the association

Fix to belongs to many and enum

04 Mar 23:55
Compare
Choose a tag to compare
  • Fixed a problem with ENUM that prevent it to follow Rails pattern
  • Fixed a problem with BelongsToMany where direct changes to the ids were not being saved