Skip to content

Releases: integreat-io/integreat

v1.6.2

29 Apr 14:13
6d460dd
Compare
Choose a tag to compare

Bug fixes:

  • When the get step in a SYNC action responded with noaction, SYNC would respond with error. Will now respond with noaction
  • The action authenticator would not include meta props from options

v1.6.1

18 Mar 20:35
5934960
Compare
Choose a tag to compare

Update type of action meta with jobId and stepId.

v1.6.0

18 Mar 12:54
f39db46
Compare
Choose a tag to compare

New features:

  • Transporters:

    • Add stopListening() to interface.
    • Pass on emit function,
  • Dispatch:

    • Implement dispatchedCount on the instance .
    • Emit a done event when all dispatched actions are completed.
  • Idents:

    • Implement mapping on identConfig to allow more props on ident.
    • Complete idents on dispatch() and authenticate() callback, when completeIdent is true (without the middleware).
    • Don't fetch already completed ident.
    • Add ident type SYST
  • Authenticators:

    • Implement new action authenticator
    • Implement validate() method on token authenticator.
    • Provide dispatch to authenticator authenticate() and validate().
    • Make the authentication object available to the authenticate() method.
  • Jobs:

    • Change how preconditions and postconditions work with a failOnErrorInPostconditions 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.
  • Actions:

    • Support the gid meta property.
    • Set id and cid on incoming actions.
    • Preserve id, cid, gid, and ident on incoming action when mutation removes them.
    • Make id, cid, and gid be treated correctly by dispatch, action handlers, and jobs.
    • Set targetService on outgoing actions, unless meta.options.doSetTargetService is false.
    • Run middleware on queued actions as well
  • Support providing your own mapTransform

  • New response status code: toomany

Bug fixes

  • Use warning instead of error on noaction 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 and SET_META through GET and SET handlers
  • Return badrequest for GET_ALL without a pageSize (used to fall back silently to not using GET_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 and updatedAt

v1.5.12

15 Feb 17:55
0fd6a63
Compare
Choose a tag to compare

A few package updates.

v1.5.11

08 Feb 20:35
74307f7
Compare
Choose a tag to compare

Update a few deps, including a security update of nanoid.

v1.5.10

05 Jul 08:57
0ef9f45
Compare
Choose a tag to compare

Update deps.

v1.5.9

14 Mar 14:53
f6bc53f
Compare
Choose a tag to compare

Update deps.

v1.5.8

17 Feb 21:22
a6fbbc3
Compare
Choose a tag to compare

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

16 Feb 10:27
bebae56
Compare
Choose a tag to compare

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

17 Jan 16:53
41d90b9
Compare
Choose a tag to compare

Update deps.