Release 1.9.0
Added Blade directive @render_post to render a specific post
View full changelog
Added
- Added Blade directive
@render_post(render a specific post)
Airfleet released several updates this week, focusing on improving post and collection rendering capabilities. The airfleet-elements-core-plugin saw the addition of Blade directives and helpers for rendering specific posts and collections. Additionally, the plugin views were enhanced with new helpers for contextual view information. Meanwhile, the github-files repository made changes to sync.yml, removing a website from syncing and adding a workflow for preview releases.
Added Blade directive @render_post to render a specific post
@render_post (render a specific post)Added several new helpers and blocks for rendering posts and collections.
$_as_flexible (takes a standard component's data and converts it to a structure equivalent to a flexible component)$_render_post (render a specific post)afe_collection (utility CPT to hold collections of items, e.g. accordion items, slides)elements-blocks-post (render any post)elements-blocks-collection (render a Collection post)Added several new helpers for contextual view information, including $_history, $_view_history, $_parents, and $_parent.
$_history helper (an array that provides contextual information about the views history rendered so far)$_view_history helper (an array that provides contextual information about the current view being rendered and its parents)$_parents helper (an array that provides contextual information about the parents of the current view being rendered)$_parent helper (an array that provides contextual information about the immediate parent of the current view being rendered)$history param for filters airfleet/views/context and airfleet/views/enqueue/{$slug}/method)Added workflow for plugin preview releases with prerelease versions and updated plugin lists.
release-plugin-preview.yml workflow for plugin preview releases. Creates prerelease versions with branch names and commit hashes (e.g., 0.5.0-sauce-a0082a4.0); updates preview plugins list and pushes to S3 for the Airfleet Plugin Manager; enables internal team to install release branch/candidates while testing via the Preview Plugins tabsync.yml to include release-plugin-preview.yml in plugins workflows groupsync.yml to exclude release-plugin-preview.yml from legacy projects group