3.66.0
·
4 commits
to master
since this release
Included commits: 3.65.0...3.66.0
Improvements
- Introduced
TestifyConstants::IS_DATA_BUILDER_RULE_EVAL_ENABLEDandTestifyConstants::DATA_BUILDER_ALLOWED_RULE_FUNCTIONSconstants to control data builder rule execution behavior as part of security issue fixes. - Introduced
TestifyConfig::isDataBuilderRuleEvalEnabled()andTestifyConfig::getDataBuilderAllowedRuleFunctions()to allow projects to disableeval()-based rule execution in data builders and restrict allowed PHP functions, reducing security exposure in test environments. - Replaced
eval()-based rule parsing inAbstractDataBuilderwith a safe token-based parser that restricts execution to Faker formatters, literal arguments, and allow-listed functions when eval is disabled.