Skip to content

Releases: aaronmallen/activeinteractor

v1.0.0-beta.3

12 Jan 12:06
Compare
Choose a tag to compare
v1.0.0-beta.3 Pre-release
Pre-release

Added

  • #109 ActiveInteractor::Organizer.parallel
  • #109 ActiveInteractor::Organizer.perform_in_parallel
  • #109 ActiveInteractor::Context::Base#merge
  • #110 ActiveInteractor::Interactor::PerformOptions

Changed

  • #110 ActiveInteractor::Interactor.perform now takes options

v1.0.0-beta.2

07 Jan 06:03
Compare
Choose a tag to compare
v1.0.0-beta.2 Pre-release
Pre-release

Added

  • #102 ActiveInteractor::Config
  • #102 ActiveInteractor.config
  • #103 ActiveInteractor::Rails
  • #103 ActiveInteractor::Rails::Config
  • #102 ActiveInteractor::Railtie
  • #105 interactor, organizer, and context generators now accept context_attributes
    as arguments.

Changed

  • #102 ActiveInteractor.logger is now part of ActiveInteractor.config
  • #104 Interactor generators will no longer generate separate context classes for
    interactors if ActiveInteractor.config.rails.generate_context_classes is set to false

Fixed

  • #103 various generator fixes

Removed

  • #102 ActiveInteractor.logger= use ActiveInteractor.config.logger= instead

v1.0.0-beta.1

06 Jan 10:09
af26597
Compare
Choose a tag to compare
v1.0.0-beta.1 Pre-release
Pre-release

Added

  • ActiveInteractor.logger=
  • ActiveInteractor::Base#dup
  • ActiveInteractor::Context::Loader
  • ActiveInteractor::Error::InvalidContextClass
  • ActiveInteractor::Interactor::Context#context_fail!
  • ActiveInteractor::Interactor::Context#context_rollback!
  • ActiveInteractor::Interactor::Context.contextualize_with
  • ActiveInteractor::Interactor::Context#finalize_context!

Changed

  • ActiveInteractor::Context::Attributes.attributes now excepts arguments for attributes
  • ActiveInteractor::Generators various improvements to rails generators
  • ActiveInteractor::Interactor::Context.context_class will now first attempt to find an
    existing context class, and only create a new context class if a context is not found.
  • ActiveInteractor::Organizer.organize now excepts symbols and strings as arguments.

Removed

  • ActiveInteractor::Configuration
  • ActiveInteractor::Context::Attributes.attributes= in favor of ActiveInteractor::Context#attributes
  • ActiveInteractor::Context::Attributes.attribute_aliases
  • ActiveInteractor::Context::Attributes#clean!
  • ActiveInteractor::Context::Attributes#keys
  • ActiveInteractor::Interactor#fail_on_invalid_context?
  • ActiveInteractor::Interactor#should_clean_context?
  • ActiveInteractor::Interactor::Callbacks.clean_context_on_completion
  • ActiveInteractor::Interactor::Context.context_attribute_aliases
  • ActiveInteractor::Interactor::Execution

v0.1.7

10 Sep 20:34
91aabf8
Compare
Choose a tag to compare

Fixed

  • #61 Ensure Organizer accurately reports context success

v0.1.6

24 Jul 18:59
ced3eb5
Compare
Choose a tag to compare

Changed

  • #45 Lowered method complexity and enforced single responsibility

Security

  • #48 Update simplecov: 0.16.1 → 0.17.0 (major)
  • #51 Update rake: 12.3.2 → 12.3.3 (patch)

v0.1.5

30 Jun 06:51
03217e1
Compare
Choose a tag to compare

Added

  • #39 ActiveInteractor::Error module

Deprecated

  • #39 ActiveInteractor::Context::Failure in favor of ActiveInteractor::Error::ContextFailure

Security

  • #33, #37 Update rubocop: 0.67.2 → 0.72.0 (major)
  • #34 Various dependency updates
  • #38 Update yard: 0.9.19 → 0.9.20 (minor)

v0.1.4

12 Apr 20:00
Compare
Choose a tag to compare

Added

  • #28: The ability to alias attributes on interactor contexts.

v0.1.3

01 Apr 20:48
Compare
Choose a tag to compare

Added

  • #25: Implement each_perform callbacks on organizers

v0.1.2

01 Apr 15:31
Compare
Choose a tag to compare

Added

  • #22: Allow the directory interactors are generated in to be configurable

v0.1.1

30 Mar 13:12
Compare
Choose a tag to compare

Fixed

  • #15: NameError (uninitialized constant ActiveInteractor::Organizer)
  • #16: NoMethodError (undefined method merge for #<ActiveInteractor::Context::Base>)