- Fix a bug in
patch
whereSubprocess()
was missing inMacro::Strategy
. - Introduce
Model::Build
andModel::Find
macros, which are a replacement for the less customizableModel()
. See https://trailblazer.to/2.1/docs/macro/#macro-model-model-find
- Use
Macro.id_for
forRescue
, meaning IDs will now be consistent à laRescue/1
instead ofRescue(1)
. - In
Each
's tracing code, usedeveloper-0.1.0
API. - Use
trailblazer-operation-0.10.1
.
- Use
trailblazer-activity-dsl-linear-1.2.0
and change internal API as required.
- Fix an introspect bug in
Each()
where we couldn't look into"invoke_block_activity"
.
- Introduce
AssignVariable
. - Use trailblazer-activity-dsl-linear-1.1.0.
- Introducing the
Each()
macro to iterate over datasets while invoking a particular operation, as if they were run as separate serially connected operations.
- Restructured internals, it's much more readable,
Dynamic
andStatic
are completely separated now. Static
handles:auto_wire
and allows to route any nested terminus. This was not possible before, you only hadFastTrack
generic termini.- Better warning when using
Nested(Operation)
without a dynamic decider. - Internal structure of
Nested()
has changed, the trace looks different.
- Now implements patching.
- Remove
ctx[:"result.model"]
. - Don't set
ctx[:model]
unlessBuilder
returns a model.
- In
Nested()
, we no longer useRailway::End::Success
andRailway::End::Failure
as static outputs but simply useRailway
's default termini objects. - Use
dsl
's newInject()
API instead of a overriding:inject
inModel()
andPolicy()
.
- Yanked, pushed accidentially.
- Allow omitting
:params
when calling the operation by defaulting it to{}
inModel()
. - Use
dsl-linear
0.5.0 and above, which allows removingInject()
uses.
Yanked due to inconsistency.
- Improve
Nested()
warning message. - Fix exception in
Rescue()
macro when it's handler is aModule
.
- Allow connecting ends of the dynamically selected activity for
Nested()
using:auto_wire
.
- Support for Ruby 3.0.
- Upgrade DSL version to fix step's circuit interface eating passed arguments
- Upgrade OP version to remove OP::Container reference in tests
- Rename Model()'s
not_found_end
kwarg tonot_found_terminus
for consistency.
- Fix to make macros available in all Linear::DSL strategies.
- Make
params
optional inModel
. - Support for adding
End.not_found
end inModel
.
- Fix case when Macros generate same id due to small entropy
- Finally.
- Remove the explicit
dsl-linear
dependency.
- Use symbol keys on
ctx
, only.
- Dependency bumps.
- Works with
>= activity-0.8
. - Implement old functionality of
Nested()
.
- Use
operation-0.4.1
. - Change back to MIT license.
- Nested :input, :output now uses activity's VariableMapping.
- Use newest operation.
- New operation version.
- Fix
Wrap
which didn't deprecateModule
s properly.
- Move all code related to DSL (
ClassDependencies
) back to thetrailblazer
gem. - Configurable field key for the
Model()
macro
- First release into an unsuspecting world. Goal is to have this gem decoupled from any Representable and Reform dependencies.