Skip to content

Releases: rom-rb/rom

v5.1.1

06 Aug 09:13
v5.1.1
031987c
Compare
Choose a tag to compare

rom

Changed

  • Dependency on rom-core was bumped to >= 5.1.1 (@solnic)

rom-core

Fixed

  • Loading the gem no longer crashes in the absence of rom gem (issue #560) (@solnic)

rom-changeset

Changed

  • Dependency on rom-core was bumped to >= 5.1.1 (@solnic)

rom-repository

Changed

  • Dependency on rom-core was bumped to >= 5.1.1 (@solnic)

Compare v5.1.0...v5.1.1

v5.1.0

30 Jul 07:48
v5.1.0
166013c
Compare
Choose a tag to compare

rom-core

Added

  • ROM::Transformer.map shortcut for defining transformations (@solnic)
  • ROM::Transformer supports instance methods as mapping functions now (@solnic)
  • ROM::Transformer configuration can be now inlined ie relation :users, as: :json_serializer (@solnic)

Fixed

  • Combining same relation multiple times no longer crashes auto-mapping (fixes #547) (@solnic)
  • ROM::Transformer works correctly with inheritance (@solnic)
  • CommandCompiler supports command options correctly now (@solnic)

Changed

  • Plugin API has been generalized to enable arbitrary component plugins (@flash-gordon)

rom-changeset

Added

  • Plugin API 🎉 (@solnic)
  • Support for command_options in changesets for providing any additional command options (@solnic)
  • Support for command_plugins in changesets for enabling command plugins and configuring them (@solnic)

rom-repository

Added

Compare v5.0.2...v5.1.0

v5.0.2

01 May 10:46
v5.0.2
7245b8c
Compare
Choose a tag to compare

rom

  • Dependency on rom-core was bumped to ~> 5.0, >= 5.0.2 (solnic)
  • Dependency on rom-changeset was bumped to ~> 5.0, >= 5.0.1 (solnic)

rom-core 5.0.2

Fixed

  • Forwarding to root in Relation::Combined behaves as expected when another combined relation was returned from the root (issue #525) (solnic)
  • Specifying attribute options as the third argument in attribute DSL works again (issue #540) (solnic)

rom-changeset 5.0.1

Changed

  • Relation::Combined#changeset will raise a meaningful NotImplementedError now (solnic)
  • Passing an array to Changeset#associate will raise a meaningful NotImplementedError now (solnic)

rom-repository

No changes

Compare v5.0.1...v5.0.2

v5.0.1

27 Apr 09:49
v5.0.1
418c56a
Compare
Choose a tag to compare

rom

  • Dependency on rom-core was bumped to ~> 5.0, >= 5.0.1 (solnic)

rom-core

  • Missing dependency on transproc was added (solnic)

v5.0.0

27 Apr 09:49
v5.0.0
0cbd9d0
Compare
Choose a tag to compare
  • All version numbers have been inlined to 5.0.0
  • rom-mapper gem has been retired and ROM::Mapper is now part of rom-core

rom

  • rom-core bumped to 5.0.0 (solnic)
  • rom-changeset bumped to 5.0.0 (solnic)
  • rom-repository bumped to 5.0.0 (solnic)
  • rom-mapper was moved to core under rom/mapper so it's no longer a runtime dependency (solnic)

rom-core

  • [BREAKING] Types::Int is now Types::Integer (flash-gordon)
  • [BREAKING] Attribute aliases are no longer stored in attribute's type meta (waiting-for-dev)
  • Updated to work with dry-types 1.0.0 (flash-gordon)
  • Updated to work with dry-struct 1.0.0 (flash-gordon)
  • Updated to work with dry-initializer 3.0.0 (solnic)

rom-repository

  • [BREAKING] Support for ruby <= 2.4 was dropped (flash-gordon)
  • [BREAKING] Repository::Root#aggregate was removed in favor of Relation#combine (v-kolesnikov)

rom-changeset

No changes

Compare v4.2.1...v5.0.0

v4.2.1

05 May 09:53
v4.2.1
7571b18
Compare
Choose a tag to compare

v4.2.1 2018-05-03

  • rom-core updated to ['~> 4.2', '>= 4.2.1']

Compare v4.2.0...v4.2.1

rom-core v4.2.1

v4.2.1 2018-05-03

  • dry-types dependency is constrained with ~> 0.12.1

rom-mapper 1.2.1 2018-05-03

  • dry-types dependency is constrained with ~> 0.12.1

4.2.0

29 Mar 09:54
Compare
Choose a tag to compare

rom v4.2.0

  • rom-core updated to ['~> 4.1', '>= 4.1.3']
  • rom-changeset updated to ['~> 1.0', '>= 1.0.2']

Compare v4.1.2...v4.2.0

rom-core v4.2.0

Fixed

  • Relation#map_with applies auto-mapping prior custom mappers (solnic)
  • Relation#map_to works along with Relation#map_with (solnic)
  • Relation#commands no longers tries to map results through all custom registered mappers (solnic)

Added

  • Custom MapperCompiler subclass can provide mapper options via mapper_options(...) class attribute (solnic)

rom-changeset v1.0.2

Fixed

  • add_timestamps mapping no longer overwrites existing timestamps (cgeorgii)

4.0.2

02 Nov 01:36
Compare
Choose a tag to compare

v4.0.2 2017-11-02

rom-core v4.0.2

Added

  • Schemas have access to finalized relation registry (GustavoCaso + flash-gordon + solnic)

Fixed

  • Defining schema uses default attribute class correctly again (v-kolesnikov)
  • Primary key name(s) are preserved when projecting schemas (flash-gordon + solnic)
  • Global command cache was replaced with a local one (flash-gordon)

rom-mapper v1.0.2

Fixed

  • Missing dependency on dry-struct was added (solnic)

rom-repository v1.0.1

Fixed

  • YARD docs for Repository::Root no longer mention Repository#changeset as it was removed in 4.0.0 (solnic)
  • Correct runtime dependencies were added (solnic)

rom-changeset v1.0.1

Fixed

  • Depends on final release of rom-core ~> 4.0 (solnic)

Compare v4.0.1...v4.0.2

4.0.1

22 Oct 11:12
Compare
Choose a tag to compare

rom-core

v4.0.1

Internal

  • Schema#to_input_hash uses attribute types instead of whole attribute objects (solnic)

rom-mapper

1.0.1

Added

  • Support for inferred enum schema attributes (solnic)

Compare v4.0.0...v4.0.1

v3.3.3

19 Oct 11:18
v3.3.3
a27102c
Compare
Choose a tag to compare

v3.3.3 2017-10-19

Fixed

  • Fix warnings issued by redefining JSON types (graywolf)

Compare v3.3.2...v3.3.3