- Add configuration to allow not trigger reload on each request (alex-lairan)
- Allow namespace configuration from within an auto_registration path (sasa-b)
- Compatible with Rails 7.0 (nolantait)
- Compatible with Rails 7.1 (cflipse)
- Dropped support for Rails < 6.0
- Dropped support for Ruby < 2.7
- Updated dependencies to allow Rails 6.1 (alex-lairan)
- Read new-style Rails6 configuration, inferring all defined databases (cflipse)
- Updated generator to produce files that are actually compatible with ROM 5.0 (cflipse)
- Allow rails6 (cflipse)
- Updated to depend on rom-* 5.0
- Repository generator creates a
by_id
method (cflipse)
- Rake task automatically attempts to include
rom-sql
's tasks (cflipse) - Escape special characters in username & password from parsed database.yml (Cervajz)
- do not double log when ActiveRecord is present (Cervajz)
- running the install generator no longer results in a broken app if
DATABASE_URL
is not set (cflipse)
- ROM output is broadcast to STDOUT during rails console (radar)
- Generators default to same adapter as the default gateway (cflipse)
- Default auto-registration path set to app (cflipse)
- Include controller extensions in API controllers (cflipse)
- Fix Rails.logger lookup bug (cflipse)
- Add a new
rom:install
generator (cflipse)
- Stop breaking rails loading when not yet configured. (cflipse)
- Repository generator prefers
struct_namespace
over mapper (radar, cflipse)
- Loosen ROM dependency
- Updated to work with ROM 4.0.beta (cflipse)
- Generated repositories now inherit from
ROM::Repository::Root
(cflipse)
- remove ROM::Model::Form (cflipse)
- remove form generator (cflipse)
- remove deprecated
config.repositories
method (cflipse) - No longer depends on
rom-model
gem (cflipse) - No longer depends on
charlatan
gem (artofhuman)
- Add
rom-repository
generator (fmartin91)
- Updated to work with ROM 3.0.beta (maximderbin, cflipse)
- Command generators now produce a flat directory structure (cflipse)
- Dropped runtime dependency on
virtus
(bilby91) - Updated generators to remove validatior hints (cflipse)
- Updated generators to provide before hook hints, rather than override
execute
(cflipse)
rom-support
dependency was replaced withdry-core
(solnic + flash-gordon)
- Updated to work with Rails 5 (cflipse)
- Form validations are now handled entirely within form (cflipse)
- [Rails5] when applicable, parmeters are converted to unsafe hash (cflipse)
- Dropping support for ruby 2.1 and below
- Updated to work with rom 2.0
- Loosen Gem dependencies for Rails 4.2
- Allow multiple auto_registration paths (vbyno)
- Fixed generated mapper's
register_as
(duduribeiro)
- Updated to work with new ROM configuration API.
- Raise a helpful error when trying to use uniqueness validation without a relation (xaviershay)
- Switched to extracted rom-model (solnic)
- Updated to work with ROM 0.9.0 (solnic)
- Setting connectin URI for jruby that needs jdbc adapter (austinthecoder)
embedded
validators allowing to nest validations for embedded values (solnic)- Uniqueness validation supports
:scope
option (vrish88)
ROM.env
is lazy-finalized on first access of any of the components (solnic)db:setup
provided by the railtie now loads:environment
(solnic)repositories
in railtie configuration deprecated in favor ofgateways
(solnic)
method_missing
in validators behaves properly now (solnic)
db:setup
task which works OOTB with rom-sql tasks (solnic)
MissingRepositoryConfigError
is raised when repositories are not configured (solnic)
- The railitie no longer set
nil
as default repository when ActiveRecord is not present (solnic)
- Generator uses correct directory for commands (cflipse)
- Generators can now add
register_as
andrepository
settings (cflipse) - Database errors are now wrapped in Form objects so they can be handled gracefully (cflipse)
Form.mappings
which sets up auto-mapping command results (solnic)- Form descendants can use
input
andvalidations
blocks (cflipse) - Form generators can generate a shared base form class for new/update forms (cflipse)
ROM::Model::Form
for modeling and setting up web-forms (solnic + cflipse)- Support for timestamps attributes in Form objects (kchien)
- Allow setup using a configuration block from railtie (aflatter)
- [BREAKING] Model::Params renamed to Model::Attributes (solnic + cflipse)
- Improved initialization process which works with AR-style configurations (aflatter)
- input params uses virtus'
:strict
mode by default (stevehodgkiss)
rom
extension is now mixed into ActionController::Base which addresses #12 (solnic)
- Generators for relations, mappers and commands (solnic)
- Support for Spring and reload in development mode (solnic)
- Setup will be skipped when there are missing elements in the registries (solnic)
- Support for loading commands (solnic)
- Support for username and password in database.yml (solnic)
- Support for more db schemes (solnic)
- Missing runtime dep on rom gem (solnic)
First public release