All Versions
22
Latest Version
Avg Release Cycle
148 days
Latest Release
1059 days ago

Changelog History
Page 1

  • v4.0.2 Changes

    May 27, 2021

    ๐Ÿ›  Fixes

    • ๐Ÿ›  Fix kwargs usage for Ruby 3 compatibility #885
    • ๐Ÿ›  Fix ruby warnings for "ambiguous first argument" #881
    • ๐Ÿ›  Fix rake warnings in CI #897
    • ๐Ÿ›  Fix decoration spec #895

    Other Changes

    • ๐Ÿ‘ท Migration from Travis CI to GitHub Actions #893, #896, #903
  • v4.0.1 Changes

    March 25, 2020

    ๐Ÿ›  Fixes

    • Check only object's private methods when preventing delegation #875

    Other Changes

    • ๐Ÿ‘‰ Use alias over alias_method #877
  • v4.0.0 Changes

    February 05, 2020

    ๐Ÿ’ฅ Breaking Changes

    • โฌ‡๏ธ Drop support for Ruby < 2.4 #852, #872
    • Don't delegate public methods overridden by a private method in the decorator #849

    ๐Ÿ›  Fixes

    • โž• Add preservation of decorator options on QueryMethods #868
    • Add #respond_to_missing? to CollectionDecorator so it correctly responds to ORM methods #850
    • ๐Ÿ›  Fix deprecation warning with the new Rails 6 ActionView::Base constructor #866
    • ๐Ÿ›  Fix deprecation warning with Ruby 2.7 #870

    Other Changes

    • โž• Add SimpleCov for code coverage analysis #851
    • โšก๏ธ Update RSpec syntax in the README #855
    • โšก๏ธ Update continuous integration configuration #861, #862, #863, #872
  • v3.1.0 Changes

    March 14, 2019
    • ๐Ÿš… Rails 6 support #841
    • Include ORM query methods in CollectionDecorator (e.g. includes) #845
    • Document the fix for view context leaking in specs #847
  • v3.0.1 Changes

    October 12, 2017
    • Let decorator_class infer anonymous class decorator from superclass #820
    • When inferring decorator fails, show original class instead of ActiveRecord::Base #821
    • ๐Ÿ“š ActiveJob compatibility and documentation #817
  • v3.0.0 Changes

    May 09, 2017

    ๐Ÿ’ฅ Breaking Changes

    • ๐Ÿ“‡ Rename UninferrableSourceError to UninferrableObjectError #768
    • Remove conflicting source aliases: source, to_source, source_class and source_class? #786

    ๐Ÿ†• New Features

    • Generator for creating ApplicationDecorator that other decorators inherit from #796
    • ๐Ÿ”ง Draper configuration with ability to customize the controller Draper uses #788
    • โž• Added support for Rails 5 API-only applications #793
    • โž• Added support for Rails runner #739

    Other Changes

    • Clear view context when the controller changes #799
    • โœ‚ Removed previously deprecated functionality #785
    • Only delegate === if other is an instance of a class that inherits from Decorator #720
    • 0๏ธโƒฃ Always default to CollectionDecorator when NameError is raised #795
    • ๐Ÿ›  Fixed issues in order to support Rails 5.1
    • ๐Ÿ›  Fixed a bug where helpers were used inside a decorator and this decorator was used outside of controller context
  • v3.0.0.pre1 Changes

    July 10, 2016
    • โž• Added support for Rails 5, dropped 4.0 - 4.2
      • Ruby >= 2.2 is required, matching Rails 5
    • โฌ‡๏ธ Dropped support for ActiveModelSerializers 0.8
  • v2.1.0 Changes

    March 27, 2015
    • ๐Ÿ”€ Cleared most issues and merged a few PRs
    • ๐Ÿ‘Œ Improved behavior when decorating structs
    • ๐Ÿ‘Œ Improved how equality is handled
    • Minor improvements to the README
  • v2.0.0 Changes

    March 27, 2015

    Working to breathe new life into the project by shedding baggage.

    • ๐Ÿš… Rails 3.2 support dropped
    • ๐Ÿ’Ž Ruby 1.9.3 and 2.0 support dropped
    • โž• Add support for Rails 4.2 and Ruby 2.2
    • โœ… Rewrite tests to get over RSpec deprecations
    • Get RSpec up to 3.2
    • Try to un-screw the challenges of ActiveModelSerializers

    ๐Ÿ‘ Due to the breakages of dropping legacy support, we've bumped the major version. From here, ๐Ÿšš development effort will likely focus on a version 3.0 that removes features and simplifies usage of the library.

  • v1.4.0

    September 15, 2014