Skip to content

Changelog

v2.9.1 (2024-11-19)

Full Changelog

v2.9.0 (2024-11-08)

Full Changelog

Breaking changes:

  • Change internal method names and associated translation keys #241 (afuno)

Implemented enhancements:

  • Apply Servactory RuboCop #249 (afuno)
  • Add with support for RSpec Mocks #248 (afuno)
  • Improve be_failure_service matcher in RSpec #245 (afuno)
  • Add access to context in exceptions for use inside Datory #243 (afuno)
  • Add service information to attribute exceptions #242 (afuno)
  • Improve uniqueness of types #240 (afuno)
  • Native support for Datory #238 (afuno)

Fixed:

  • Update spec matchers from with to contains #247 (afuno)
  • Fix class checking inside be_failure_service #244 (afuno)

Dependencies:

  • [08.11.2024] Remove deprecated files and update dependencies #251 (afuno)
  • [14.10.2024] Update libraries #246 (afuno)
  • Add support for Ruby version 3.4.0-preview2 #227 (afuno)

Merged pull requests:

  • Clarify Rails 8.0 versions in CI #250 (afuno)

v2.9.0.rc9 (2024-11-03)

Full Changelog

Implemented enhancements:

Merged pull requests:

  • Clarify Rails 8.0 versions in CI #250 (afuno)

v2.9.0.rc8 (2024-10-27)

Full Changelog

Implemented enhancements:

  • Add with support for RSpec Mocks #248 (afuno)

v2.9.0.rc7 (2024-10-22)

Full Changelog

Fixed:

  • Update spec matchers from with to contains #247 (afuno)

v2.9.0.rc6 (2024-10-13)

Full Changelog

Implemented enhancements:

  • Improve be_failure_service matcher in RSpec #245 (afuno)

Dependencies:

  • [14.10.2024] Update libraries #246 (afuno)
  • Add support for Ruby version 3.4.0-preview2 #227 (afuno)

v2.9.0.rc5 (2024-10-10)

Full Changelog

Fixed:

  • Fix class checking inside be_failure_service #244 (afuno)

v2.9.0.rc4 (2024-09-30)

Full Changelog

v2.9.0.rc3 (2024-09-23)

Full Changelog

Implemented enhancements:

  • Add access to context in exceptions for use inside Datory #243 (afuno)

v2.9.0.rc2 (2024-09-22)

Full Changelog

Breaking changes:

  • Change internal method names and associated translation keys #241 (afuno)

Implemented enhancements:

  • Add service information to attribute exceptions #242 (afuno)
  • Improve uniqueness of types #240 (afuno)

v2.9.0.rc1 (2024-09-17)

Full Changelog

Implemented enhancements:

v2.8.0 (2024-08-28)

Full Changelog

Breaking changes:

  • Remove deprecated error classes and configurations #237 (afuno)

Implemented enhancements:

  • Implement to_h method for Result #236 (afuno)

Dependencies:

v2.7.0 (2024-08-13)

Full Changelog

Breaking changes:

Implemented enhancements:

  • Add dynamic option multiple_of #231 (afuno)
  • Improve text translation mechanism in dynamic option consists_of #230 (afuno)

Dependencies:

  • Update Ruby version and Bundler version #229 (afuno)
  • [05.07.2024] Update libraries #228 (afuno)

Merged pull requests:

v2.6.3 (2024-07-26)

Full Changelog

v2.6.2 (2024-05-19)

Full Changelog

Fixed:

  • Add support for optional values for dynamic option format #226 (afuno)

v2.6.1 (2024-05-15)

Full Changelog

Implemented enhancements:

  • Add collection_mode_class_names configuration to template for generator #225 (afuno)
  • Improve naming of some variables #224 (afuno)

Fixed:

  • Correct location of translations #223 (afuno)
  • Correct translation for format.unknown #222 (afuno)

v2.6.0 (2024-05-13)

Full Changelog

Breaking changes:

  • Replace service_class_name attribute with service #212 (afuno)
  • Rewrite consists_of option as dynamic and refuse collection mode #180 (afuno)

Implemented enhancements:

  • Add example for predicate_methods_enabled configuration #221 (afuno)
  • Refactor configuration #220 (afuno)
  • Revert collection_mode_class_names configuration and improve translations #216 (afuno)
  • Add config i18n_root_key #213 (afuno)

Fixed:

  • Update attribute to service in valid_with #219 (afuno)
  • Improve work and examples for consists_of option #217 (afuno)
  • Fix check in consists_of option of input when it is optional #215 (afuno)
  • Fix consists_of option for optional attribute with default value #214 (afuno)

v2.6.0.rc5 (2024-05-11)

Full Changelog

v2.6.0.rc4 (2024-05-11)

Full Changelog

v2.6.0.rc3 (2024-05-11)

Full Changelog

v2.6.0.rc2 (2024-05-10)

Full Changelog

v2.6.0.rc1 (2024-05-10)

Full Changelog

v2.5.2 (2024-05-02)

Full Changelog

Fixed:

v2.5.1 (2024-05-01)

Full Changelog

Fixed:

v2.5.0 (2024-04-30)

Full Changelog

Breaking changes:

Implemented enhancements:

  • Add duration format for dynamic option format #207 (afuno)
  • Delete prepare_vs_must conflict handling #206 (afuno)
  • Add uuid format for dynamic option format #205 (afuno)
  • Add configuration option for predicate methods #204 (afuno)
  • Delete prepare_vs_collection conflict handling #203 (afuno)
  • Add result_class configuration #202 (afuno)
  • Add generators #201 (afuno)
  • Add helpers and matchers for RSpec #197 (afuno)
  • Add fail_on! method to catch unexpected service exceptions #196 (afuno)

Fixed:

  • Fix usage of collection_mode_class_names configuration #200 (afuno)

Dependencies:

v2.5.0.rc7 (2024-04-28)

Full Changelog

v2.5.0.rc6 (2024-04-24)

Full Changelog

v2.5.0.rc5 (2024-04-24)

Full Changelog

v2.5.0.rc4 (2024-04-24)

Full Changelog

v2.5.0.rc3 (2024-04-23)

Full Changelog

2.5.0.rc2 (2024-04-21)

Full Changelog

v2.5.0.rc1 (2024-04-21)

Full Changelog

v2.4.3 (2024-03-29)

Full Changelog

Implemented enhancements:

  • Add output data transfer to on_failure in Result #195 (afuno)

v2.4.2 (2024-03-29)

Full Changelog

Implemented enhancements:

  • Add output data transfer to Result in case of failure #194 (afuno)

v2.4.1 (2024-03-26)

Full Changelog

Fixed:

v2.4.0 (2024-03-26)

Full Changelog

Implemented enhancements:

  • Improve name of Result class by adding name of service class #192 (afuno)
  • Add boolean format for dynamic option format #189 (afuno)
  • Add ability to customize formats in dynamic option format #188 (afuno)
  • Rename setup method to use for dynamic options #187 (afuno)
  • Add datetime format for dynamic option format #186 (afuno)
  • Simplify date format for dynamic option format #185 (afuno)
  • Add time format for dynamic option format #184 (afuno)
  • Add password format for dynamic option format #183 (afuno)
  • Add email format for dynamic option format #182 (afuno)
  • Add dynamic option format with first format for date #181 (afuno)
  • Add translations for dynamic options #179 (afuno)
  • Improve collections and consists_of option #178 (afuno)
  • Improve handling of input, internal and output in their options #176 (afuno)
  • Implement dynamic options #175 (afuno)
  • Implement new approach to storing service data #174 (afuno)
  • Add support for meta option for fail_input!, fail_internal! and fail_output! methods #173 (afuno)

Fixed:

Dependencies:

  • Update libraries from 20.03.2024 #190 (afuno)

v2.3.1 (2024-03-22)

Full Changelog

v2.3.0 (2024-03-06)

Full Changelog

Breaking changes:

  • Rename exception classes and configs #163 (afuno)

v2.2.3 (2024-03-05)

Full Changelog

Fixed:

  • Fix inheritance of internal_option_helpers and output_option_helpers configurations #177 (afuno)

v2.2.2 (2024-03-01)

Full Changelog

Fixed:

  • Delete previously added exceptions for NoMethodError and NameError #172 (afuno)
  • Simplify error texts for NoMethodError and NameError exceptions #171 (afuno)

v2.2.1 (2024-02-28)

Full Changelog

Fixed:

  • Add default value for type in Failure #170 (afuno)

v2.2.0 (2024-02-28)

Full Changelog

Implemented enhancements:

  • Add example of service behavior when calling fail! before assigning output #167 (afuno)
  • Prevent overwriting reserved methods #166 (afuno)
  • Added tests to check async work #165 (afuno)
  • Add success! method for early success #162 (afuno)
  • Add outputs attribute for on_success #161 (afuno)
  • Move error translations to separate place #159 (afuno)
  • Add helper support for internal and output #158 (afuno)
  • Add support for on_success and on_failure methods for Result #155 (afuno)
  • Add support for type option for fail! method #154 (afuno)
  • Add support for inclusion option for internal and output #153 (afuno)
  • Improve examples in tests #152 (afuno)
  • Improve exception handling and exception texts #150 (afuno)
  • Add support for must option for output #149 (afuno)
  • Add support for must option for internal #148 (afuno)
  • Add support for nested types for consists_of option #142 (afuno)

Fixed:

  • Added passing type inside fail_result! #169 (afuno)
  • Add configs and examples for helper options #168 (afuno)

Merged pull requests:

  • Add support for Rails versions from 4.2 to 5.2 #151 (afuno)

v2.2.0.rc4 (2024-02-27)

Full Changelog

v2.2.0.rc3 (2024-02-24)

Full Changelog

v2.2.0.rc2 (2024-02-19)

Full Changelog

Fixed:

  • Fix data definition for as_success method in Result #164 (afuno)

v2.2.0.rc1 (2024-02-19)

Full Changelog

Dependencies:

v2.1.1 (2024-01-10)

Full Changelog

Implemented enhancements:

Dependencies:

  • Update libraries from 10.01.2024 #147 (afuno)

v2.1.0 (2023-12-18)

Full Changelog

Implemented enhancements:

  • Delete value from input in favor of local definition #145 (afuno)
  • Single validation for all attributes #143 (afuno)
  • Cataloging of examples and tests #140 (afuno)
  • Add fail_result! method #139 (afuno)

Fixed:

Dependencies:

  • Update libraries from 12.12.2023 #138 (afuno)
  • Update libraries from 16.12.2023 #141 (afuno)

v2.0.4 (2023-12-18)

Full Changelog

v2.0.3 (2023-11-16)

Full Changelog

Implemented enhancements:

  • Optimize adding options to input, internal and output attributes #137 (afuno)

v2.0.2 (2023-11-13)

Full Changelog

Implemented enhancements:

  • Improve work of types in collection mode #135 (afuno)

Dependencies:

  • Update libraries from 13.11.2023 #136 (afuno)

v2.0.1 (2023-11-05)

Full Changelog

Breaking changes:

  • Delete inputs, internals and outputs aliases #131 (afuno)

Implemented enhancements:

Dependencies:

v1.9.7 (2023-11-03)

Full Changelog

v2.0.0.rc6 (2023-10-29)

Full Changelog

v2.0.0.rc5 (2023-10-28)

Full Changelog

v2.0.0.rc4 (2023-10-28)

Full Changelog

Breaking changes:

  • Change names of configs for Actions #127 (afuno)

Implemented enhancements:

  • Fix config usage #128 (afuno)
  • Improve structure and naming of Actions #126 (afuno)
  • Implement advanced mode support for hash mode #125 (afuno)

Dependencies:

  • Update libraries from 28.10.2023 #124 (afuno)
  • Update libraries from 20.10.2023 #123 (afuno)

v2.0.0.rc3 (2023-10-19)

Full Changelog

Implemented enhancements:

  • Improvements for collections and code optimization #122 (afuno)

v2.0.0.rc2 (2023-10-17)

Full Changelog

Implemented enhancements:

v2.0.0.rc1 (2023-10-10)

Full Changelog

Breaking changes:

  • Implement new way of working with collections #120 (afuno)
  • Refuse required option from internal #116 (afuno)

Implemented enhancements:

Dependencies:

  • Update libraries from 07.10.2023 #119 (afuno)
  • Update libraries from 11.09.2023 #115 (afuno)

v1.9.6 (2023-10-10)

Full Changelog

v1.9.5 (2023-08-19)

Full Changelog

Implemented enhancements:

  • Optimize Input when working with option_helpers #113 (afuno)
  • Add only and except support for inputs, internals and outputs #111 (afuno)
  • Improve storage method naming #110 (afuno)

Dependencies:

  • Update libraries from 19.08.2023 #114 (afuno)
  • Update libraries from 05.08.2023 #112 (afuno)

v1.9.4 (2023-07-28)

Full Changelog

Implemented enhancements:

  • Add context attribute to wrap_in #109 (afuno)

v1.9.3 (2023-07-27)

Full Changelog

Implemented enhancements:

  • Improve errors about undefined attributes #107 (afuno)

Dependencies:

  • Update libraries from 27.07.2023 #108 (afuno)

v1.9.2 (2023-07-24)

Full Changelog

Fixed:

  • Fix definition of inputs when passing from params #106 (afuno)

v1.9.1 (2023-07-24)

Full Changelog

Fixed:

  • Fix definition of inputs when passing from params #105 (afuno)

v1.9.0 (2023-07-20)

Full Changelog

Breaking changes:

  • Improve work with Servactory::TestKit::Result #104 (afuno)

v1.8.8 (2023-07-19)

Full Changelog

Implemented enhancements:

Dependencies:

  • Update libraries from 20.07.2023 #103 (afuno)

v1.8.7 (2023-07-13)

Full Changelog

Implemented enhancements:

  • Add optionality for inclusion in input #100 (afuno)
  • Add custom message for call method #98 (afuno)

v1.8.6 (2023-07-04)

Full Changelog

Implemented enhancements:

Dependencies:

  • Update libraries from 04.07.2023 #97 (afuno)

v1.8.5 (2023-06-29)

Full Changelog

Implemented enhancements:

v1.8.4 (2023-06-29)

Full Changelog

Fixed:

  • Safely getting data from internals and outputs #93 (afuno)

v1.8.3 (2023-06-28)

Full Changelog

Fixed:

  • Improve data processing and performance #92 (afuno)

v1.8.2 (2023-06-28)

Full Changelog

Implemented enhancements:

Fixed:

  • Add check for presence of attributes #91 (afuno)

Documentation:

  • Move documentation to separate repository #90 (afuno)

v1.8.1 (2023-06-24)

Full Changelog

Implemented enhancements:

v1.8.0 (2023-06-20)

Full Changelog

Breaking changes:

  • Rename method_shortcuts to shortcuts_for_make #83 (afuno)

Implemented enhancements:

Fixed:

Documentation:

  • Create documentation version 1.7 #85 (afuno)
  • Add generator for CHANGELOG.md #80 (afuno)

v1.7.1 (2023-06-18)

Full Changelog

Implemented enhancements:

  • Add error method and update examples #79 (afuno)

v1.7.0 (2023-06-17)

Full Changelog

Breaking changes:

  • Rewrite work with attributes and improve performance #76 (afuno)

Documentation:

  • Add analytics to documentation #75 (afuno)

v1.6.14 (2023-06-16)

Full Changelog

Implemented enhancements:

  • Rename Test to TestKit #73 (afuno)
  • Add ability to get information about class #72 (afuno)

Documentation:

  • Update sections in documentation #74 (afuno)

v1.6.13 (2023-06-14)

Full Changelog

Fixed:

v1.6.12 (2023-06-13)

Full Changelog

Fixed:

v1.6.11 (2023-06-13)

Full Changelog

Fixed:

  • Fix conflict between input and output #69 (afuno)

v1.6.10 (2023-06-12)

Full Changelog

Implemented enhancements:

Dependencies:

  • Update libraries from 12.06.2023 #67 (afuno)

v1.6.9 (2023-06-11)

Full Changelog

Implemented enhancements:

v1.6.8 (2023-06-10)

Full Changelog

Implemented enhancements:

  • Add custom helpers for input #63 (afuno)

Documentation:

  • Add and update texts in documentation #64 (afuno)

v1.6.7 (2023-06-10)

Full Changelog

Fixed:

  • Improve work and prepare tools for testing #62 (afuno)

v1.6.6 (2023-06-10)

Full Changelog

Implemented enhancements:

Documentation:

  • Improve examples in documentation and repository #60 (afuno)

v1.6.5 (2023-06-06)

Full Changelog

Implemented enhancements:

  • Add stage with wrap_in and rollback support #58 (afuno)

Dependencies:

  • Update libraries from 03.06.2023 #57 (afuno)

Documentation:

  • Move documentation site from docs to website #56 (afuno)

v1.6.4 (2023-06-03)

Full Changelog

Implemented enhancements:

  • Add position option for make #54 (afuno)

Documentation:

v1.6.3 (2023-05-30)

Full Changelog

Implemented enhancements:

  • Improve internal behavior for input #51 (afuno)
  • Add use of call method if make was not used #50 (afuno)
  • Add unless for make #49 (afuno)
  • Rename "check" to "validation" #45 (afuno)
  • Rename "check" to "validation" #43 (afuno)

Dependencies:

  • Update versions of dependencies from 27.05.2023 #40 (afuno)

Documentation:

  • Add "Advanced mode" examples #48 (afuno)
  • Add Russian version of documentation #46 (afuno)
  • Add Russian version of documentation #44 (afuno)
  • Improve the appearance of documentation #42 (afuno)

v1.6.2 (2023-05-27)

Full Changelog

Implemented enhancements:

Documentation:

v1.6.0 (2023-05-24)

Full Changelog

Breaking changes:

  • Improve and simplify naming #35 (afuno)
  • Simplify the use of the array option #34 (afuno)
  • Rework error handling #33 (afuno)
  • Add support for the meta attribute for the fail! method #31 (afuno)

Dependencies:

  • Update versions of dependencies from 23.05.2023 #36 (afuno)

Documentation:

v1.5.2 (2023-05-21)

Full Changelog

Implemented enhancements:

  • Add custom message support for inclusion option #30 (afuno)

v1.5.1 (2023-05-20)

Full Changelog

Fixed:

  • Fix work with input attribute options #29 (afuno)

v1.5.0 (2023-05-20)

Full Changelog

Breaking changes:

Implemented enhancements:

  • Improve inheritance for attributes and methods #26 (afuno)

Dependencies:

  • Update versions of dependencies from 20.05.2023 #28 (afuno)

v1.4.7 (2023-05-19)

Full Changelog

Implemented enhancements:

  • Add Rails support for use as needed #25 (afuno)

v1.4.6 (2023-05-16)

Full Changelog

Implemented enhancements:

  • Add support for I18n and transfer all texts to the localization file #24 (afuno)

v1.4.5 (2023-05-15)

Full Changelog

Implemented enhancements:

  • Improve syntax for define_input_conflicts #23 (afuno)
  • Improve syntax for define_input_methods #22 (afuno)
  • Uniform style for adding an element to Set #21 (afuno)
  • Add call method and statuses to the result #18 (afuno)

Dependencies:

  • Update versions of dependencies from 15.05.2023 #20 (afuno)

v1.4.4 (2023-05-15)

Full Changelog

Implemented enhancements:

  • Add as option to override internal input name #19 (afuno)
  • Use Set instead of Array #17 (afuno)
  • Make the new method private #16 (afuno)

v1.4.3 (2023-05-12)

Full Changelog

Implemented enhancements:

  • Add methods for failures, improve error handling, improve configuration #15 (afuno)

v1.4.2 (2023-05-08)

Full Changelog

Implemented enhancements:

  • Improve work with attributes #14 (afuno)
  • Add checks for the class of the returned result #13 (afuno)

v1.4.1 (2023-05-07)

Full Changelog

Implemented enhancements:

  • Improve required and types checks #12 (afuno)

Dependencies:

v1.4.0 (2023-05-07)

Full Changelog

Implemented enhancements:

  • Add support for collections of input argument options and add the basis for an "advanced mode" #9 (afuno)

Documentation:

  • Add information to the README #10 (afuno)

v1.3.0 (2023-05-06)

Full Changelog

Implemented enhancements:

  • Add advanced mode support for array #6 (afuno)

Documentation:

  • Add examples to the README #8 (afuno)

Merged pull requests:

  • Change the workflow for a release #7 (afuno)

v1.2.0 (2023-05-05)

Full Changelog

Implemented enhancements:

  • Add support for Ruby 2.7 #5 (afuno)
  • Add support for Ruby 3.0 #4 (afuno)
  • Add support for Ruby 3.1 and update error text in must #3 (afuno)

v1.1.0 (2023-05-05)

Full Changelog

Implemented enhancements:

  • Rename gem to Servactory #2 (afuno)

v1.0.2 (2023-05-05)

Full Changelog

v1.0.1 (2023-05-05)

Full Changelog

v1.0.0 (2023-05-05)

Full Changelog

Implemented enhancements:

  • Prepare the foundation and implement the DSL prototype #1 (afuno)

* This Changelog was automatically generated by github_changelog_generator