All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Moved add_rewrite_tag calls to init hook.
- Ability to register custom routes.
- The Pagination helper now adds its data into the debugger.
- Code style fixes for the Pagination helper.
- Menu location to the menu helper data.
- Filters for menu object and menu items by the menu location.
- Documentation for Model class.
- A
set_args()
method for Model to make it possible to set arguments for an already instantiated model dynamically.
- A bug where renaming a model to a name it already had would throw an error.
- A bug where sending an array as a JSON POST payload to a DustPress site would cause an error.
- By giving the AJAX request a
data
parameter, it now returns the resulting data with the rendered partial. DustPress.js 2.1.0 is required for the front-end side.
- The
get_post
andget_posts
methods in theQuery
class now get the keyimage_id
containing the the featured image id if it is found.
- The
Pagination
helper allows changing the amount of pages displayed with the newneighbours
parameter. - Corrected documentation for
Query
classes recursive post querying functionality.
- Fixed a Notice from
is_cacheable_function
method when$ttl
is not set in some model
- Changed the default functionality for the render cacheing to be true
- Fixed not properly recognizing tidy & render arguments on older DustPress.js calls
- Model and partial containing the basic functionality of the default wp-activate.php file.
- Modifiied core so that when wp-activate.php is loaded the execution is stopped and DustPress creates its own instance.
- Optimized file loading routines to reduce loading times
- Support for new DustPress.js version