All Versions
47
Latest Version
Avg Release Cycle
65 days
Latest Release
-
Changelog History
Page 2
Changelog History
Page 2
-
v2.1.0.beta3 Changes
February 02, 2018- More simplifications because of
activity
.
- More simplifications because of
-
v2.1.0.beta2 Changes
January 23, 2018- Simplify
Nested
and several other internals by using the newActivity
API.
- Simplify
-
v2.1.0.beta1 Changes
December 20, 2017- โ Add
deprecation/call
anddeprecation/context
that help with the newcall
API and symbols foroptions
keys.
- โ Add
-
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 emptyTrailblazer::Operation
. Thanks to @mensfeld.
- ๐ Fix what we broke in 2.0.5, where
-
v2.0.5 Changes
- In Wrap, use
self
instead of a hard class reference. This allows using Wrap in the compat gem.
- In Wrap, use
-
v2.0.4 Changes
- When using
Nested(X)
, the automatic:name
option is now"Nested(X)"
instead of the cryptic proc string.
- When using
-
v2.0.3 Changes
Guard
now allows kw args for its option.- ๐ Fix a bug where
Nested( ->{} )
wouldn't_call
the nested operation and did too much work on re-nested the already nested params. Thanks to @eliranf for spotting this. - โ Add
Nested(..., input: )
to dynamically decide the input to the nested operation. http://trailblazer.to/gems/operation/2.0/api.html#nested-input - โ Add
Nested(..., output: )
: http://trailblazer.to/gems/operation/2.0/api.html#nested-output
-
v2.0.2 Changes
- โ Remove
uber
dependency as we use our ownOption::KW
now. ๐ In
Contract::Build( builder: )
you now also have access to thename:
keyword. Note that you need to double-splat in builders.```ruby Contract::Build( builder: ->(options, constant:, **) ) ```
Same for
:method
andCallable
.Policy::Guard( :method )
now works.
- โ Remove
-
v2.0.1 Changes
- โ Add
fail_fast: true
forstep
andfailure
to short-circuit the pipe. Note that more "eloquent" semantics are coming intrailblazer-bpmn
. - Add
fail!
,fail_fast!
,pass!
, andpass_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 ofstep .., override: true
. Note that this method wasn't documented.Numerous internal simplifications documented here.
- โ Add