Skip to content

Releases: komposable/dekorator

v1.7.0

10 Nov 14:25
5b38b1f
Compare
Choose a tag to compare

Added

  • Add Rails 8.0 support (#55)

v1.6.0

10 Sep 13:46
3e98fa3
Compare
Choose a tag to compare

Added

  • Add Rails 7.2 support (#54)

Removed

  • Drop Ruby 3.0 support (#54)
  • Drop Rails 6.1 support (#54)

Full Changelog: v1.5.0...v1.6.0

v1.5.0

06 Mar 15:41
5a0aa4c
Compare
Choose a tag to compare

Added

  • Add Ruby 3.3 support (#53)
  • Include #decorated method in ActiveRecord::Base (#52)

Fixes

  • Fix RSpec decorator_spec.rb template by using File#exist? instead File#exists? (#51)

Removed

  • Drop Ruby 2.7 support (#53)
  • Drop Rails 6.0 support (#53)

Full Changelog: v1.4.0...v1.5.0

v1.4.0

09 Nov 18:34
b037876
Compare
Choose a tag to compare

Changed

  • ⚠️ Breaking .decorates_association now generate #decorated_[ASSOCIATION_NAME] instead #[ASSOCIATION_NAME] (#48)

v1.3.0

06 Nov 13:21
cfad5af
Compare
Choose a tag to compare

Added

  • Add Rails 7.1 support (#49)

Removed

  • Add Rails 7.0 on CI tests via Appraisals (#47)
  • Drop Ruby 2.5 and 2.6 support (#47)
  • Remove Coveralls usage (#47)

v1.2.1

14 Oct 20:11
ff780b8
Compare
Choose a tag to compare

Changed

  • Make decorated Enumerable not lazy anymore (#46)

v1.2.0

14 Oct 17:25
3c7c635
Compare
Choose a tag to compare

Added

  • Add Rails 7.0 support (#43)

Fixes

  • Avoid n+1 queries when decorate ActiveRecord::Relation (#44)

v1.1.0

23 Dec 17:20
3d551db
Compare
Choose a tag to compare

Added

  • Ruby 2.7 support (#37)
  • List decorators in Rails stats task (#38)
  • Add Rails 6.1 support and drop Rails 5.0 and 5.1 support (#41)

Changed

  • Refactorisation (#39)

Removed

  • Remove DecoratedEnumerableProxy (#36)
  • Drop Ruby 2.4 support (#37)
  • Drop Rails 5.0 and 5.1 support (#41)

v1.0.0

03 Dec 10:13
501a724
Compare
Choose a tag to compare

Added

  • Avoid deep decoration (#25)
  • Make decorate accessible in ApplicationController (#29)

Changed

  • Moved to Komposable organization (#13)
  • Replace Travis CI by Github Actions and remove ruby 2.3 support (#23)
  • Update railtie to prevent triggering initialization autoloaded constant deprecation warning (#30)
  • Improve generators (#31)

Fixes

  • Fix DecoratedEnumerableProxy for Rails 6 (5a656333)

1.0.0.pre.1

30 Jan 14:10
37b852c
Compare
Choose a tag to compare
1.0.0.pre.1 Pre-release
Pre-release

Added

  • Create Dekorator::Base the base of decorators (a2a36d6)
  • Create dekorator:install generator (a2a36d6)
  • Create decorator generator (a2a36d6)