Skip to content

Releases: lucasnetau/php-ec

Improved Callbacks

05 Aug 05:59
Compare
Choose a tag to compare

Add in support for onComplete(), onTimeout(), onProgress() called by fire(), makes for cleaner rules.
Also split acceptEvent into acceptInitialEvent() and acceptSubsequentEvent() to remove boilerplate for setting up and crosschecking context.

Rule Child Classes

11 Jun 03:03
Compare
Choose a tag to compare

Provide Rule child classes to cover some of the standard code required for each rule type

Shutdown Order

12 May 12:18
Compare
Choose a tag to compare

Improve shutdown handling when actions exit on their own before input processes have exited
BugFixes

Management Server

08 Apr 05:16
Compare
Choose a tag to compare

Implement a basic HTTP management server to view into the state of a running Scheduler

Update TimeBucket dependancies

15 Feb 07:22
7fe86fc
Compare
Choose a tag to compare

Remove TimeBucket dependancy as it is not a hard requirement for PHP-EC

Bug Fix

19 Jan 06:00
d6ad606
Compare
Choose a tag to compare

Fix instances that may have the old PHP7.4+ serialisation format from v0.2.10-v0.2.12

Custom Object Serialisation support

09 Nov 05:04
Compare
Choose a tag to compare

Implement support for PHP7.4+ custom object serialisation https://wiki.php.net/rfc/custom_object_serialization. This introduces a new format for the save file, the older serialize/unserialize methods are left to support restoring previous version state files. This fixes deprecation messages from PHP8.1 which has deprecated the Serializable Interface.

More pedantic validation when restoring state and early failure and exit if we cannot load from saved state.

Improved Error Handling

28 Oct 02:38
Compare
Choose a tag to compare

Improve our error handling for source and action processes. Setup sensible ini params and error handlers when requested to ensure we don't leak warnings/errors etc down the interprocess pipes.

Error Handling

13 Oct 11:34
Compare
Choose a tag to compare
  • Add unhandled exception handling to the ActionHelper class

  • Support millisecond granularity of events

Infinite Loop

01 Oct 04:45
Compare
Choose a tag to compare

Fix an Infinite Recursion Loop bug that could be triggered by a timed out Rule that emits an event and does not set a flag prior to that to ensure it doesn't continue to emit the same event. The Scheduler will continue to process the event and give it to the Correlation Engine, which then checks timeouts creating the loop.

Small fix to shutdown process when all input processes exit unexpectedly