Releases: rom-rb/rom
Releases · rom-rb/rom
v5.1.1
v5.1.0
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 ierelation :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
- Plugin API 🎉 (@flash-gordon)
v5.0.2
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
inRelation::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 meaningfulNotImplementedError
now (solnic)- Passing an array to
Changeset#associate
will raise a meaningfulNotImplementedError
now (solnic)
rom-repository
No changes
v5.0.1
v5.0.0
- All version numbers have been inlined to
5.0.0
rom-mapper
gem has been retired andROM::Mapper
is now part ofrom-core
rom
rom-core
bumped to5.0.0
(solnic)rom-changeset
bumped to5.0.0
(solnic)rom-repository
bumped to5.0.0
(solnic)rom-mapper
was moved tocore
underrom/mapper
so it's no longer a runtime dependency (solnic)
rom-core
- [BREAKING]
Types::Int
is nowTypes::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 ofRelation#combine
(v-kolesnikov)
rom-changeset
No changes
v4.2.1
v4.2.1 2018-05-03
rom-core
updated to['~> 4.2', '>= 4.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
rom v4.2.0
rom-core
updated to['~> 4.1', '>= 4.1.3']
rom-changeset
updated to['~> 1.0', '>= 1.0.2']
rom-core v4.2.0
Fixed
Relation#map_with
applies auto-mapping prior custom mappers (solnic)Relation#map_to
works along withRelation#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 viamapper_options(...)
class attribute (solnic)
rom-changeset v1.0.2
Fixed
add_timestamps
mapping no longer overwrites existing timestamps (cgeorgii)
4.0.2
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 mentionRepository#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)
4.0.1
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)
v3.3.3
v3.3.3 2017-10-19
Fixed
- Fix warnings issued by redefining JSON types (graywolf)