Changelog History
Page 1
-
v1.4.0 Changes
- Decorate non-nil objects where
nil?
returns true, namely, ActionText::RichText body [@jamesbrooks]
- Decorate non-nil objects where
-
v1.3.4 Changes
- ๐ Support Rails 6.1 [@y-yagi]
-
v1.3.3 Changes
- ๐ Fixed Ruby 2.7 keyword arguments warning [@pocke]
-
v1.3.2 Changes
January 06, 2020- ๐ Fixed NameError on ActionController::API controllers without jbuilder enhancement [@kamillle]
-
v1.3.1 Changes
August 16, 2019- ๐ Switched back from Ruby's
const_get
to Active Supportconstantize
for fetching decorator modules, due to inability to properly detect namespaced decorator [@sinsoku]
- ๐ Switched back from Ruby's
-
v1.3.0 Changes
June 28, 2019๐ Switched from Active Support
constantize
to Ruby'sconst_get
when fetching decorator modules๐ง Switched
config
from ActiveSupport::Configurable to a simple StructAssociation decoration now propagates from AssociationRelation to spawned Relations (e.g.
@post.comments.order(:id).each
)โฌ๏ธ Dropped support for Rails 3.2, 4.0, and 4.1
-
v1.2.0 Changes
April 01, 2019- Decorate values in Hash recursively [@FumiyaShibusawa]
-
v1.1.1 Changes
November 14, 2018๐ Improved ActionController::API support for Rails 5.0.x [@frodsan]
๐ Fixed "NameError: undefined local variable or method `view_context'" with ActionController::API or when rendering in controllers
-
v1.1.0 Changes
November 07, 2018๐ ActionController::API support [@frodsan]
ActiveDecorator::Decorator.instance.decorate
now returns the decorated object when the receiver was already a decorated object (it used to returnnil
) [@velonica1997]๐ Update decorator_spec.rb syntax to respect RSpec 3 style [@memoht]
๐ Fixed namespace for TestUnit generator with some refactorings [@yhirano55]
-
v1.0.0
June 29, 2017