NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #3340 most downloaded on Packagist
Allows you to easily create a sandboxed Twig environment where you can control what tags, filters, functions, and object methods/properties are allowed
Last release 12 days ago
25 Sep 2026
Release timing varies
gaps range from 4 weeks to 1.1 years
Most releases are documented
notes for 14 of 17 stable releases
Nothing withdrawn
no release was ever pulled
2 years old
17 releases · first in 2024
Adjust the method signature for checkSecurity() to be compatible with later versions of Twig
checkSecurity() to be compatible with later versions of Twig (#2)Provide a mechanism for adding Twig Extensions in bulk to the SandboxView
SandboxView (#1632)One column per month.
Remove errant dependency on SEOmatic in the SecurityPolicy helper class
SecurityPolicy helper classAdd an example config/blacklist-sandbox.php and config/whitelist-sandbox.php files for user-customizable Twig sandbox environments
config/blacklist-sandbox.php and config/whitelist-sandbox.php files for user-customizable Twig sandbox environmentsSecurityPolicy::createFromFile() to create a new Twig sandbox from a config file in the config/ directoryBlacklistSecurityPolicy to no longer blacklist innocuous tags/filters/functionsCraft Twig Sandbox no longer automatically handles exceptions when rendering sandbox templates. Instead, you can decide whether to handle the exceptio
sandboxErrorHandler for display in the browser/consolemarkhuot/craft-pest-core:^2.0.4 package instead of the patch version from @bencrokerRemoved the special-casing for the Craft Closure, since it now uses a different loading mechanism
SanboxView to use ::registerTwigExtension rather than overriding ::createTwig()### Added * Initial release
Provide a mechanism for adding Twig Extensions in bulk to the SandboxView
SandboxView (#1632)Remove errant dependency on SEOmatic in the SecurityPolicy helper class
SecurityPolicy helper classAdd an example config/blacklist-sandbox.php and config/whitelist-sandbox.php files for user-customizable Twig sandbox environments
config/blacklist-sandbox.php and config/whitelist-sandbox.php files for user-customizable Twig sandbox environmentsSecurityPolicy::createFromFile() to create a new Twig sandbox from a config file in the config/ directoryBlacklistSecurityPolicy to no longer blacklist innocuous tags/filters/functionsNothing published for this version
Nothing published for this version
Nothing published for this version
Provide a mechanism for adding Twig Extensions in bulk to the SandboxView
SandboxView (#1632)Fixed an issue with PHP versions less than 7.4 and the SandboxView class
7.4 and the SandboxView class (#1614)Remove errant dependency on SEOmatic in the SecurityPolicy helper class
SecurityPolicy helper classAdded Initial release
Your coding agent can read these notes before it upgrades. Set up the MCP server →