- Improved performance considerably in several places.
- Added
configureWorkersto set how many PHP processes to keep, whether PHP rechecks a template on disk before reusing its compiled form, and whether to use worker processes at all. AddedstopWorkersto stop them. See CONFIGURATION.md. - Added
trimModelparam, on by default. Model trimming is a performance optimization, but you can turn it off if you see buggy behavior. - Added a memory limit for the PHP processes, defaulting to 256 MB. PHP's command line runtime has none of its own, so a template that ran away would keep taking memory until the operating system killed something, which need not have been PHP. It is now the render that fails, and the worker is replaced. Added
memoryLimittoconfigureWorkersto change it or turn it off. - Fixed some ambiguous errors and improved stability.
- Fixed overly aggressive handling of circular references in model data.
- Updated various dependencies.