Releases: aaronmallen/activeinteractor
Releases · aaronmallen/activeinteractor
v1.0.0-beta.3
v1.0.0-beta.2
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 ofActiveInteractor.config
- #104 Interactor generators will no longer generate separate context classes for
interactors ifActiveInteractor.config.rails.generate_context_classes
is set tofalse
Fixed
- #103 various generator fixes
Removed
- #102
ActiveInteractor.logger=
useActiveInteractor.config.logger=
instead
v1.0.0-beta.1
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 attributesActiveInteractor::Generators
various improvements to rails generatorsActiveInteractor::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 ofActiveInteractor::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