Releases: lucasnetau/php-ec
Silence of the logs
v0.6.6 Close the Logger just prior to closing the output stream to ensure al…
Cron in Batch mode
Fix up handling of Cron rules when running in batch mode
Bad copypaste
Fix regression with looking up the first and last events
Small improvements
Micro optimisation for checking if various queues have values or now
Bug fix for Cron events triggering timeout
Attempt to save application state in the event that we are unable to encode as JSON
Race to exit
Fix up an race condition where on Alpine linux waitpid() shows the process as still running when the stdout of the process has been closed.
Bug fix for accessing a nonexistent array key when attempting to load a source function that is not defined
Triggered inputs
Give Rules the ability to request the Scheduler to run an additional input process to gather more data
Round up release
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
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
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
State may be bigger than the default 64K for JSON decoding. Increase the buffer to 10MB