Skip to content

Releases: devgeniem/dustpress

Image helper documentation

03 Mar 07:57
Compare
Choose a tag to compare
Merge pull request #24 from ironland/image-helper

Add readme for image helper

Added image helper.

24 Feb 09:24
Compare
Choose a tag to compare
Merge pull request #22 from ironland/image-helper

Add image helper to the core

DustPress 1.5.5 - Model property changes

16 Feb 12:02
Compare
Choose a tag to compare

This release changes the "allowed_functions" property to "api" in DustPress models. Support for deprecated models was added to prevent breaking older code.

If you are still using the deprecated attribute in your models, the following error message will be printed into your PHP error log:

DustPress: Model property "allowed_functions" is deprecated, use "api" instead.

Fix this by changing the $allowed_functions array attribute in all your models to $api.

Moved DustPress execution from shutdown hook to earlier to both help debugging and fix some plugin compatibility issues

12 Jan 07:55
Compare
Choose a tag to compare

DustPress autoload is no longer run if WordPress wouldn't load any template anyway. This should reduce the errors with 3rd party plugins that execute their code outside WordPress templating system.

Improved strtotime helper

11 Jan 07:18
Compare
Choose a tag to compare
Merge pull request #17 from devgeniem/zArubaru-patch-1

Changed strtodate helper to use date_i18n function instead of just the normal date.

Contains helper accepts objects

07 Oct 16:23
Compare
Choose a tag to compare

The Contains helper can now handle both arrays and objects.

contains is a conditional helper. It can be used to determine if an array/object contains a wanted item, so it works like PHP's in_array. It can also have an else condition.

Example:

{@contains key=haystack value="needle"}
  Found it! :)
{:else}
  Didn't find it. :(
{/contains}

Pass DustPress.js data as JSON for Debugger

17 Sep 16:34
Compare
Choose a tag to compare

This release changes the way DustPress returns data for DustPress Debugger when returning data from a DustPress.js ajax call. Now the automatically HTML rendered data will be passed as JSON back to the client to be displayed and debugged in the Debugger.

rename_model

14 Sep 13:09
Compare
Choose a tag to compare

The biggest change in this version update is that you can now use $this->rename_model('NewName') in your models. It changes the name of the main data block in the data tree so template changing becomes easier.

Release notes

09 Sep 10:15
Compare
Choose a tag to compare
  • Added a file extension check (.php) for helper file loading in the DustPress core.
  • get_acf_posts now loads attachment images automatically.
  • Fixed a warning thrown by the ACF Flexible Content data filter.

Caching improved and explained

19 Aug 09:28
Compare
Choose a tag to compare

DustPress caching features are now documented in the README.