github twigphp/Twig v3.30.0

5 hours ago

Changelog (v3.29.0...v3.30.0)

  • minor #4950 Fetch the escaper runtime once in the constructor of templates that escape (@fabpot)
  • minor #4948 Compare the date formatter prototype pattern with the derived one once per pattern (@fabpot)
  • bug #4946 Fix split trailing newline (@fabpot)
  • minor #4945 Speed up adding extensions to an environment (@nicolas-grekas)
  • minor #4940 Reuse the already resolved callable when compiling call arguments (@fabpot)
  • minor #4939 Compile the generator guard as an unreachable yield instead of a yield from (@fabpot)
  • feature #4938 Speed up loading a template that the environment has already loaded (@fabpot)
  • bug #4937 Stop the escaping safe analysis from retaining every analyzed node (@fabpot)
  • feature #4936 Allow to call TemplateWrapper::unwrap() without arguments (@derrabus)
  • feature #4934 Expose the escaping strategy a template was compiled with (@fabpot)
  • minor #4933 Improve macro call performance (@fabpot)
  • bug #4932 Fix IntlExtension inheriting values derived by ICU from a date formatter prototype (@fabpot)
  • bug #4931 Fix array access with a Stringable key on subclasses of ArrayObject and ArrayIterator (@fabpot)
  • bug #4930 Report a clear error when a string cannot be split into characters (@fabpot)
  • feature #4929 Deprecate cloning a Twig environment (@fabpot)
  • minor #4928 Report the macro call parentheses deprecation once per call site and name the macro (@fabpot)

Don't miss a new Twig release

NewReleases is sending notifications on new releases.