Skip to content

Releases: rom-rb/rom-repository

v1.3.3

31 May 17:37
Compare
Choose a tag to compare

v1.3.3 2017-05-31

Added

  • Changeset#extend to exclude steps from the #diff output, this allows to filter out timestamp changes prior to updates so that we can avoid hitting the database in case of timestamp-only changes. You still can call .map(:touch) if you want to have updated_at refreshed unconditionally (flash-gordon)

Fixed

  • aggregate and combine works correctly with nested graph options where associations are aliased (solnic)
  • Auto-mapping no longer creates intermediate struct objects for combined relations (which caused massive performance degradation in some cases) (solnic)
  • Aliased associations no longer cause mapping to intermediate structs (solnic)

Compare v1.3.2...v1.3.3

v1.3.1

25 Mar 11:38
d3e2069
Compare
Choose a tag to compare

Fixed

  • Support for using custom mappers inside #node (flash-gordon)

Changed

  • Updated dry-initializer (flash-gordon)

Compare v1.3.0...v1.3.1

v1.3.0

07 Mar 10:33
Compare
Choose a tag to compare

Added

  • Support for chaining Changeset#associate (solnic)
  • Inferring association name for Changeset#associate (solnic)
  • Support for restricting Update and Delete changesets explicitly via Changeset#by_pk (solnic)

Compare v1.2.0...v1.3.0