Releases: genius257/view
Releases · genius257/view
2.0.0
- Changed the minimum PHP version from 7.2 to 7.4
- Component properties are no longer specified via the properties attribute, but now via all public class attributes.
- Component property trim, changed from protected to public.
- Standard Component class no longer support children (use the new ComponentWithChildren class instead)
- Component
_render
method is nowrender
instead. - The component render method now allows output buffer AND return statement at the same time, or neither.
- Rendering components should now be done via the static method
renderComponent
on theView
class. - Added small internal guard statement to the internal custom parser. Nothing SHOULD break, but double check.