Releases: wireframe-framework/Wireframe
Releases · wireframe-framework/Wireframe
0.21.2
Fixed
- Second fix for the issue with non-null falsy value handling in View. Fix introduced in 0.21.1 was not fully functional yet.
0.21.1
Fixed
- Fixed an issue where non-null but falsy values passed as an arguments value to Wireframe::render() were replaced by null due to View::get() passing control over to View::getFromController().
0.21.0
Added
- Hookable method MethodPropsTrait::getMethodPropCacheName(string $name, string $context). Note that when hooking into this method one should refer to the object that implements the trait, such as a specific Controller class.
Changed
- Include language ID in persistent cache name generated by MethodPropsTrait for cacheable methods.
0.20.2
Fixed
- Fixed an issue where View arguments were accidentally overriding arguments provided for partials during rendering.
0.20.1
Fixed
- Fixed an issue with Composer package, no code changes to the module.
0.20.0
Added
- Support for short-circuiting Page rendering at Controller by returning a string from Controller::render().
Fixed
- In case a Page was rendered more than once during a single request, there was a chance that it might've had a reference to a stashed Controller object.
0.19.2
Fixed
- Fixed an issue where rendering subsequent pages within a view placeholder wasn't working properly. This issue was caused by view placeholder optimizations introduced in 0.19.0.
0.19.1
Changed
- Various minor updates and additions to the Tracy Debugger panel GUI, Wireframe API, and Wireframe Hooks.
0.19.0
Added
- New autoloaded (optional) companion module Wireframe Hooks.
- Wireframe API debugger for Tracy, currently only available for superusers.
- New method
Partial::getFilename(?string $ext = null, bool $with_ext = true). This is otherwise the same as type juggling a Partial object to string, but provides more customizability via params when called directly. - New methods
Partials::getPath()andPartials::getFilenames(string $ext = null, bool $with_ext = true).
Changed
- Wireframe API built-in endpoints now provide more verbose errors if debug mode is enabled or user is logged in as superuser.
- When rendering view placeholder, skip most of the Wireframe init process. This is an optimization, but also lets us access any values previously set for the View object etc.
Fixed
- In some cases Wireframe API wasn't able to catch errors; this part should now work more consistently.
- Enabled endpoints setting in Wireframe API module config now works as expected.
0.18.3
Fixed
- Fixed an issue where Wireframe Tracy panel displayed errors if opened on the Admin.