Plates v4.0.0-alpha Release Notes

Release Date: 2018-02-06 // over 4 years ago
  • v4 has been a complete rewrite in the plates system. It's fairly backwards compatible, but a lot of the internals have changed, and we still have a decent amount of features and work to do for v4.

    Significant Changes

    • Templates are Immutable VO's
    • Rendering is handled via RenderTemplate interfaces
    • Extensions are first class citizens
    • The Engine is now a small wrapper for an IoC Container

    ๐Ÿ†• New Features

    • RenderContext API for defining composable functions and more
    • Components
    • Powerful and customizable naming strategies for dynamic base paths
    • Multi folder fallbacks
    • Relative and Absolute Path templates
    • ๐Ÿ‘ Better Error Handling
    • 0๏ธโƒฃ Default Layouts
    • Deep Sections #169
    • Template Composers
    • Static File Rendering
    • Image/Base64Encoding Rendering
    • And probably a few more ;p

    ๐Ÿ“š Documentation is lacking for many of these features. Contributions are welcome! The best way to learn about the features it to look at the tests and examples.