Skip to content

3.0.14

Latest

Choose a tag to compare

@engram-design engram-design released this 14 Aug 11:54

Changed

  • Twig sandbox now allows methods/properties on safe Craft value objects by class family (ElementInterface, ElementQueryInterface, ElementCollection, DateTimeInterface, Illuminate Enumerable), instead of requiring plugins to whitelist every method name.
  • Added allowedClasses support to SecurityPolicy / Templates (merged with the defaults above).
  • Honour Craft’s #[AllowedInSandbox] attributes when present.

Fixed

  • Fixed legitimate element-query usage in sandboxed templates (e.g. {{ fieldHandle.one().title }}) being blocked after the 3.0.10 allow-list enforcement.