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.
- The
Assembler\PostType
andCrumb\PostType
classes both now have a$type
property that can be set when initializing the classes. Previously, these were mismatched, and one was named$post_type
.
- A call to the
Crumb\PostType
class used the wrong parameter name of$post_type
instead of$type
.
- Block: Added an option for removing the first breadcrumb.
- Block: Added a "Markup Style" option for selecting between plain HTML, Microdata, and RDFa (default) markup.
- Overhauled the plugin to use a more robust OOP structure that will allow it to be extended.
- Several new hooks that act as extension points for third-party developers:
x3p0/breadcrumbs/environment
x3p0/breadcrumbs/builder/pre/build
x3p0/breadcrumbs/builder/config
x3p0/breadcrumbs/markup/config
- The
X3P0\Breadcrumbs\Trail
static class should no longer be used and will be removed in version 3.0.0. Instead, use the existingEnvironment
,Builder
, andMarkup
implementations to build breadcrumbs or the Breadcrumbs block.
- The PHP APIs are no longer backward compatible with version 1.0.x.
- Setting the HTML structure via options is no longer supported. Instead, use a
Markup
class.
- Block API bumped to version 3.
- Removed the
x3p0/breadcrumbs/trail
filter hook at the request of a reviewer for the WordPress.org Plugin Review Team.
- 🎉 Literally everything. This is version 1.0, after all.