Skip to content

Releases: wireframe-framework/Wireframe

0.21.2

05 Sep 14:20

Choose a tag to compare

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

05 Sep 10:08

Choose a tag to compare

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

18 Jun 17:35
faf32ad

Choose a tag to compare

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

17 Mar 20:22

Choose a tag to compare

Fixed

  • Fixed an issue where View arguments were accidentally overriding arguments provided for partials during rendering.

0.20.1

16 Mar 14:24

Choose a tag to compare

Fixed

  • Fixed an issue with Composer package, no code changes to the module.

0.20.0

16 Mar 14:19
52f1309

Choose a tag to compare

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

09 Jan 18:16
18d7c14

Choose a tag to compare

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

06 Jan 22:42
de163cb

Choose a tag to compare

Changed

  • Various minor updates and additions to the Tracy Debugger panel GUI, Wireframe API, and Wireframe Hooks.

0.19.0

03 Jan 12:47
8049912

Choose a tag to compare

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() and Partials::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

30 Nov 07:00

Choose a tag to compare

Fixed

  • Fixed an issue where Wireframe Tracy panel displayed errors if opened on the Admin.