You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix unbounded growth of ShortcodeCompiler::$_viewData on the shared shortcode.compiler singleton. Since v1.0.32 (#88), view data merged on every View::renderContents() call was never released, causing $_viewData to grow linearly across independent, sequential top-level renders within a request (memory pressure on pages rendering many views). The fix resets $_viewData only at the top-level render boundary (Factory::doneRendering()), so nested-view data merging introduced in #88 is preserved while data from unrelated top-level renders no longer accumulates (#89).
Tests
Add package regression test ViewDataAccumulationTest verifying $_viewData does not accumulate across independent top-level renders, while nested renders still see merged parent data.