Releases: crashtech/torque-postgresql
Releases · crashtech/torque-postgresql
Add support to array associations using UUID
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
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
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
- Changing the default value was breaking due to a different class coming as the column
Bug fixes
Inheritance improvement and General fixes
- 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
- Make sure that table inheritance, more specifically
.cast_record
works withuuid
columns - Change query that fetches the enum values to a more verbose one and transaction-safe
Fix to association cache
Fix #48 by disabling cache for associations connected using array columns.
Fixes to belongs to many
- Improves around array and default value
- Fix save action when saving the association
Fix to belongs to many and enum
- 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