Skip to content

Releases: Helvetitec/flowengine

Version 1.4.1

26 Mar 20:41

Choose a tag to compare

Fixes

  • Fixed exception if context is null and user tries to call $flowRun->mergeContext();

Full Changelog: v1.4.0...v1.4.1

Version 1.4.0

26 Mar 19:08

Choose a tag to compare

Changes

Changed parameters from FlowRun::clear

Before

string $flowClass, ?string $flowType = null, ?string $flowId = null, ?Carbon $clearOlderThan = null

After

string $flowClass, ?Carbon $clearOlderThan = null, ?string $flowType = null, ?string $flowId = null

Added FlowRun::clearAll.

ClearAll would remove all FlowRuns from the database older than a certain date. As a security measure the date is mandatory.

Full Changelog: v1.3.3...v1.4.0

Version 1.3.3

26 Mar 12:34

Choose a tag to compare

Fixes

  • When running FlowEngine, reset cooldown when cooldown is set, but in the past.
    Full Changelog: v1.3.2...v1.3.3

Version 1.3.2

26 Mar 12:15

Choose a tag to compare

Fixes

  • Made $context parameters and return values NULLABLE. They were already nullable inside the FlowRun class, but weren't nullable when reading them.

Full Changelog: v1.3.1...v1.3.2

Version 1.3.1

25 Mar 17:52

Choose a tag to compare

Fixes

  • Added getOwner() method in FlowSubject for overall support.

Full Changelog: v1.3.0...v1.3.1

Version 1.3.0

25 Mar 17:44

Choose a tag to compare

Breaking Changes

  • Removed HasFlow, port everything to HasFlowRuns!

Full Changelog: v1.2.8...v1.3.0

Version 1.2.8

25 Mar 16:56

Choose a tag to compare

Changes

  • Renamed subject to owner in FlowRun model.

Full Changelog: v1.2.7...v1.2.8

Version 1.2.7

25 Mar 14:11

Choose a tag to compare

Whats New

  • Added broadcastContext to HasFlowRuns. With this method you will be able to broadcast context fields over all connected FlowRuns at once.

Full Changelog: v1.2.6...v1.2.7

Version 1.2.6

25 Mar 13:10

Choose a tag to compare

Fixes

  • Made cooldown everywhere nullable
  • Set cooldown to NULL when deactivating FlowEngine

Full Changelog: v1.2.5...v1.2.6

Version 1.2.5

25 Mar 12:57

Choose a tag to compare

Whats New

  • Added clear method to clear all content inside the context to FlowEngine
  • Added reset method to reset the flow to the 'start' state and stop it with presistance. It is also possible to add a cooldown and to clear the context if wished.

Full Changelog: v1.2.4...v1.2.5