Avg Release Cycle
2721 days ago
- ➕ Added currentUrl to Twig Extension and SmartyPlugins.
- 🚚 Moved codebase over to PSR4.
- ➕ Added in new array syntax for smarty urlFor extension
- 🛠 Fixed Twig view render method not using the data argument correctly.
- ➕ Added in additional parameter to render method to allow local data to be passed into a template during rendering.
🚀 Release Notes
🚀 This is the first release of the newly created Slim Views which takes the only two officially supported Views from the Slim-Extras repository.
Below we will outline what has changed between this and the Slim-Extras Twig and Smarty view classes.
- Methods and properties are no longer static (breaking change)
- Method and property names are more consistent
- Checking if Smarty class is available before including it
- View helper extensions