Skip to content

1.2.0 - #178

Merged
kethinov merged 2 commits into
rooseveltframework:mainfrom
kethinov:1.2.0
Aug 10, 2026
Merged

1.2.0#178
kethinov merged 2 commits into
rooseveltframework:mainfrom
kethinov:1.2.0

Conversation

@kethinov

Copy link
Copy Markdown
Member
  • Added runCode and runCodeWithData methods so PHP code can be executed from memory instead of from a file.
  • Hardened input handling to prevent command injection.
  • Altered thrown error message to include PHP error output instead of being written directly to stderr.
  • Altered error thrown when failing to start PHP at all. It now reports the underlying spawn error instead of PHP process exited with code undefined.
  • Added TypeScript definitions for run and runWithData, which were previously missing.
  • Updated various dependencies.

- Added `runCode` and `runCodeWithData` methods so PHP code can be executed from memory instead of from a file.
- Hardened input handling to prevent command injection.
- Altered thrown error message to include PHP error output instead of being written directly to stderr.
- Altered error thrown when failing to start PHP at all. It now reports the underlying spawn error instead of `PHP process exited with code undefined`.
- Added TypeScript definitions for `run` and `runWithData`, which were previously missing.
- Updated various dependencies.
@kethinov
kethinov merged commit bae4b4b into rooseveltframework:main Aug 10, 2026
36 checks passed
@kethinov
kethinov deleted the 1.2.0 branch August 10, 2026 14:37
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