Releases: integreat-io/integreat
Releases · integreat-io/integreat
v1.6.2
v1.6.1
Update type of action meta with jobId
and stepId
.
v1.6.0
New features:
-
Transporters:
- Add
stopListening()
to interface. - Pass on
emit
function,
- Add
-
Dispatch:
- Implement
dispatchedCount
on the instance . - Emit a
done
event when all dispatched actions are completed.
- Implement
-
Idents:
- Implement
mapping
onidentConfig
to allow more props on ident. - Complete idents on
dispatch()
andauthenticate()
callback, whencompleteIdent
istrue
(without the middleware). - Don't fetch already completed ident.
- Add ident type
SYST
- Implement
-
Authenticators:
- Implement new
action
authenticator - Implement
validate()
method on token authenticator. - Provide
dispatch
to authenticatorauthenticate()
andvalidate()
. - Make the authentication object available to the
authenticate()
method.
- Implement new
-
Jobs:
- Change how
preconditions
andpostconditions
work with afailOnErrorInPostconditions
flag. - Make
preconditions
also available to job with flows. - Remove job and step info from error messages.
- Include step in origin when job step fails.
- Return
warning
from preconditions. - Set
stepId
on meta for actions dispatch from a job step.
- Change how
-
Actions:
- Support the
gid
meta property. - Set
id
andcid
on incoming actions. - Preserve
id
,cid
,gid
, andident
on incoming action when mutation removes them. - Make
id
,cid
, andgid
be treated correctly by dispatch, action handlers, and jobs. - Set
targetService
on outgoing actions, unlessmeta.options.doSetTargetService
isfalse
. - Run middleware on queued actions as well
- Support the
-
Support providing your own mapTransform
-
New response status code:
toomany
Bug fixes
- Use
warning
instead oferror
onnoaction
responses - Fix bug where original action that started a job would be overwritten by the response to the action
- Don't wrap single job step error in generic error
- Fix bug where parallel job steps with only one step would not return data
- Use same action type and meta when passing
GET_META
andSET_META
throughGET
andSET
handlers - Return
badrequest
forGET_ALL
without apageSize
(used to fall back silently to not usingGET_ALL
) - Fix bug where
postmutation
was run after the postconditions for job with an action - Fix bug where casting with no defaults would remove
createdAt
andupdatedAt
v1.5.12
A few package updates.
v1.5.11
Update a few deps, including a security update of nanoid.
v1.5.10
Update deps.
v1.5.9
Update deps.
v1.5.8
Bug fixes:
meta.queue
was removed before sending action to queue, causing delay timestamp to be lost.- When a job step failed, any origin already set by e.g. an action handler, would mask the step id. Instead, we now prefix any existing origin with the job step id.
v1.5.7
Bug fix:
sourceService
on incoming actions were passed on and made it impossible to know in middleware whether we were dealing with incoming or outgoing actions.
v1.5.6
Update deps.