Skip to content

Releases: lucasnetau/php-ec

Round up release

21 Dec 00:09

Choose a tag to compare

Support defining code based input sources and actions.

  • Input Source functions are defined via extending the SourceFunction class
  • Action functions
  • Loop is initialised in the Scheduler constructors instead of delaying till run()
  • Input and Action processes can be defined using an array of parameters rather than an escaped string
  • Improved startup recovery and system state table
  • Reduced memory and cycles by using spl_object_id instead of spl_object_hash
  • Logs and exit if a rule throws
  • Support setting process names for child processes

Error edge case

26 May 01:38

Choose a tag to compare

Correctly detect if error recovery was successful
Constructor for Event objects can now accept a DateTimeInterface or a unixtime int for setting datetime

Full Changelog: v0.5.7...v0.5.8

Incremental Improvements

11 May 06:46

Choose a tag to compare

Improve Signal handling
Improve save state failures
Improve admin console

  • can defined a HOST and PORT via ENV
  • JIT statistics now displayed

Increase JSON buffer

29 Apr 02:25

Choose a tag to compare

State may be bigger than the default 64K for JSON decoding. Increase the buffer to 10MB

Improve failed save handling

29 Apr 01:00

Choose a tag to compare

PHP8.2 Support

26 Apr 04:30

Choose a tag to compare

Add AllowDynamicProperties attribute to Event class to silence PHP8.2 deprecation notice
Various small improvements

Drop the CPU

30 Mar 23:52

Choose a tag to compare

Replaced React\Filesystem with a Child Process based offload for save state saving, a huge reduction in CPU time and reduced external dependancies
Opcache statistics are now visible in the administration interface

Heartbeat delay

28 Mar 23:36

Choose a tag to compare

Allow heartbeat to have a delayed startup.

Heartbeat

09 Mar 00:31

Choose a tag to compare

Add a configurable realtime heartbeat event to be injected into a running engine

Failed Action Recovery

15 Feb 23:50

Choose a tag to compare

Implement failed action recovery on restart by replaying actions before starting up any input processes. This could be failed actions due to engine failure (killed by OOM or hardware failure) or due to a misconfiguration or resource unavailability (eg database offline)

Add in additional metrics for tracking how long it takes to do the async save time and size of the save state file, exposed via the management server.

Add $essential flag to input processes to shutdown the engine if the process fails to start or shutdowns cleanly

Full Changelog: v0.4.4...v0.5