Skip to content

2.0.0 - #179

Merged
kethinov merged 1 commit into
rooseveltframework:mainfrom
kethinov:2.0.0
Sep 3, 2026
Merged

2.0.0#179
kethinov merged 1 commit into
rooseveltframework:mainfrom
kethinov:2.0.0

Conversation

@kethinov

@kethinov kethinov commented Sep 3, 2026

Copy link
Copy Markdown
Member
  • Improved performance considerably in several places.
  • Added configureWorkers to 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. Added stopWorkers to stop them. See CONFIGURATION.md.
  • Added trimModel param, 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 memoryLimit to configureWorkers to 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.

- Improved performance considerably in several places.
- Added `configureWorkers` to 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. Added `stopWorkers` to stop them. See CONFIGURATION.md.
- Added `trimModel` param, 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 `memoryLimit` to `configureWorkers` to 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.
@kethinov
kethinov merged commit 822c9f5 into rooseveltframework:main Sep 3, 2026
36 checks passed
@kethinov
kethinov deleted the 2.0.0 branch September 3, 2026 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant