Skip to content

Release 2.5

The following changes have been prepared and implemented.

Attributes

Options

Dynamic Options

New formats have been implemented for the dynamic option format:

  • uuid;
  • duration.

Configuration

Added result_class

Added the result_class configuration for changing the Result class.

ruby
configuration do
  result_class ApplicationService::Result
end
ruby
module ApplicationService
  class Result < Servactory::Result; end
end

Added predicate_methods_enabled

Added the predicate_methods_enabled configuration for disabling predicate methods.

ruby
configuration do
  predicate_methods_enabled false
end

Testing

RSpec

Helpers and matchers for RSpec have been implemented.

More details can be found here.

Ruby

Support for Ruby 2.7 has been removed.

Datory

This release accompanies a new library — Datory.

Datory is based on Servactory and allows you to quickly and reliably implement objects for data serialization and deserialization.