All Versions
47
Latest Version
Avg Release Cycle
65 days
Latest Release
-

Changelog History
Page 2

  • v2.1.0.beta3 Changes

    February 02, 2018
    • More simplifications because of activity.
  • v2.1.0.beta2 Changes

    January 23, 2018
    • Simplify Nested and several other internals by using the new Activity API.
  • v2.1.0.beta1 Changes

    December 20, 2017
    • โž• Add deprecation/call and deprecation/context that help with the new call API and symbols for options keys.
  • v2.0.7 Changes

    • ๐Ÿ‘ Allow to use any method with the Model macro, e.g.

      step Model( Comment, :[] )
      

    will now invoke Comment[ params[:id] ], which makes using Sequel a breeze. code: contract do .. end etc needs to be moved to a new gem if we want to keep it alive.

  • v2.0.6 Changes

    • ๐Ÿ›  Fix what we broke in 2.0.5, where Wrap would always use the current operation subclass and not the empty Trailblazer::Operation. Thanks to @mensfeld.
  • v2.0.5 Changes

    • In Wrap, use self instead of a hard class reference. This allows using Wrap in the compat gem.
  • v2.0.4 Changes

    • When using Nested(X), the automatic :name option is now "Nested(X)" instead of the cryptic proc string.
  • v2.0.3 Changes

  • v2.0.2 Changes

    • โœ‚ Remove uber dependency as we use our own Option::KW now.
    • ๐Ÿ— In Contract::Build( builder: ) you now also have access to the name: keyword. Note that you need to double-splat in builders.

      ```ruby
      Contract::Build( builder: ->(options, constant:, **) )
      ```
      

      Same for :method and Callable.

    • Policy::Guard( :method ) now works.

  • v2.0.1 Changes

    • โž• Add fail_fast: true for step and failure to short-circuit the pipe. Note that more "eloquent" semantics are coming in trailblazer-bpmn.
    • Add fail!, fail_fast!, pass!, and pass_fast!. Note that they are all experimental API and not documented, yet.
    • โœ‚ Remove Builder and allow dynamic Nested.

      step Nested( ->(options, params:) { params[:type] == "moderated" ? Moderated : Comment } )
      
    • โœ‚ Remove override in favor of step .., override: true. Note that this method wasn't documented.

    • Numerous internal simplifications documented here.