Skip to main content

Changelog

This changelog gets automatically updated when we release a new version of wp-lemon.

Current major version changelogsโ€‹

5.66.2 - 01 October 2026โ€‹

๐Ÿ› Bug Fixesโ€‹

  • (a11y) Add aria-hidden attributes to icons for improved accessibility
  • (pagination) Enhance accessibility with ARIA attributes and improve styles
  • (style) Add excerpt styling for improved layout

โš™๏ธ Miscellaneous Tasksโ€‹

  • Format CHANGELOG entries for consistency and clarity

5.66.1 - 01 October 2026โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • (agent skills) Add skill and script for self-hosting Google Fonts
  • (search) Enhance search result title styling and increase excerpt length
  • (site) Add get_search_page function for dynamic search URL generation

๐Ÿ› Bug Fixesโ€‹

  • (search) Update search results count in data layer for improved analytics
  • (search) Update search URL generation to remove unnecessary query parameter
  • (site) Update search link to ensure proper URL generation
  • (style) Prevent navbar to be partially hidden under admin bar when logged in

๐Ÿ“š Documentationโ€‹

  • Document new get_search_page function

โš™๏ธ Miscellaneous Tasksโ€‹

  • Update dependencies

5.66.0 - 28 September 2026โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • (customizer) Add location control with ACF Google Map support and sanitize location function
  • (location) Add Location_Customize_Control for ACF Google Map integration and enhance business location retrieval
  • (site) Add get_business_location method to retrieve configured business location

๐Ÿ› Bug Fixesโ€‹

  • (accordion-item) Correct typo in itemprop attribute
  • (acf) Prevent multiple ACF initialization by checking if ACF is already defined
  • (blocks) Enhance core blocks filtering logic and improve documentation
  • (docs) Clarify naming conventions and class usage in SKILL.md
  • (rank-math-schema-item) Update width and max-width properties to unset
  • (twig-filters) Correct parameter type descriptions for picture sizes and tags
  • Correct comment formatting for load more action filter in Node Overview Block

๐Ÿ“š Documentationโ€‹

  • (helper-functions) Add @api annotation to format_phone_number function
  • (twig-filters) Update documentation for header breakpoint and offcanvas menu layout adjustments
  • Document the JS skill
  • Fix docs

โš™๏ธ Miscellaneous Tasksโ€‹

  • Lint files

5.65.2 - 10 September 2026โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • Add publish workflow and update agent instructions

๐Ÿ› Bug Fixesโ€‹

  • (composer) Update package versions and references in composer.lock
  • (filters) Update $args description for picture element filtering
  • (gitattributes) Add phpunit.xml.dist and README.md to export-ignore list
  • (gitattributes) Add resources/agents to export-ignore list
  • (license-manager) Update Timber version reference to use constant VERSION
  • (theme) Correct filter names for button and file block rendering
  • (twig-filters) Correct parameter type documentation for image_sizes attribute

5.65.1 - 09 September 2026โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • (acf) Enhance filter_acf_oembed to support additional query_args for URLs
  • (acf) Add support for return_format = "url" with autoplay option in filter_acf_oembed
  • (header) Add filter for customizing navbar brand HTML in header

๐Ÿ› Bug Fixesโ€‹

  • (admin-controller) Ensure example URL has a trailing slash in support dashboard widget
  • (deps) Update phpdocumentor packages and webmozart/assert to latest versions
  • (node-overview) Initialize $args as an empty array in block_context method
  • (twig-filters) Correct parameter documentation for tags and back button filters

โš™๏ธ Miscellaneous Tasksโ€‹

  • Fix docs

5.65.0 - 04 September 2026โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • (ajax-query) Add getter for allowlisted properties and enhance rendering filters
  • (card-grid) Add filter for default card block in card grid template
  • (iframe) Add iframeReady function to execute callback when iframe content is loaded
  • (scss) Add header box shadow variable and apply it to navbar

๐Ÿ› Bug Fixesโ€‹

  • (acf-block-preview) Update notice styles to use CSS variables for consistency
  • (adjacent-post-info) Enhance functionality to support custom post order and wrap-around navigation
  • (block) Simplify null check for items using null coalescing assignment
  • (blocks) Streamline example attribute assignment in add_dynamic_block_examples function
  • (blocks) Add check to prevent processing of unrecognized block metadata
  • (changelog) Add link to Swiper 14 upgrade guide in changelog
  • (editor) First steps in fixes for iframed editor since WordPress 7.1
  • (lint) Remove unnecessary paths from workflow triggers
  • (static-analysis) Remove unnecessary paths from workflow triggers
  • (theme) Update button color properties to use CSS variables for consistency in wp7.1
  • (theme) Simplify button class addition by removing unnecessary block type check
  • Cast theme author and version to string for consistency
  • Improve backend notification display by conditionally rendering type name

๐Ÿ“š Documentationโ€‹

  • Update filter and generic ajax query docs

๐Ÿงช Testingโ€‹

  • (taxonomy-post-collection) Add tests for handling missing taxonomy and grouping posts by top-level term

โš™๏ธ Miscellaneous Tasksโ€‹

  • Update packages

5.64.0 - 14 August 2026โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • (analytics) Extend Google Tag Manager integration with customizable endpoints
  • Apply WPML filter to page links in site class, so page links are correct in multilingual setups
  • (js) Update Swiper dependency to version 14.1.0 and add upgrade guide
  • Add filter for navwalker link attributes

๐Ÿ› Bug Fixesโ€‹

  • Adjust log_message function to handle WP_Post instances correctly
  • Enhance archive pagination by adding support for multiple languages in rewrite rules
  • Update advanced-custom-fields plugin to version 6.8.6 and add test for blocks directory exposure
  • Remove unnecessary --prefer-dist option from Composer install command
  • Correct HTML syntax in support email template
  • Remove unnecessary remote_user parameter from release workflow

๐Ÿ“š Documentationโ€‹

  • Add Swiper 14 upgrade guide for child sites
  • Add section for creating custom Twig filters in documentation

๐Ÿงช Testingโ€‹

  • Restore Timber locations during state reset

โš™๏ธ Miscellaneous Tasksโ€‹

  • Lint files
  • Break up GitHub workflows for linting, static analysis, and testing
  • Update dependencies
  • Update release workflow for building and deploying theme

Langโ€‹

  • Update Dutch language files

5.63.6 - 29 July 2026โ€‹

๐Ÿ› Bug Fixesโ€‹

  • Exclude README.md and tests from rsync deployments

5.63.5 - 29 July 2026โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • Add show_alt parameter to picture macro for alt attribute control

๐Ÿ› Bug Fixesโ€‹

  • (A11y) Mark images in cards always as decorative
  • (JS) Enhance isAdmin function to support block editor iframe detection

๐Ÿ“š Documentationโ€‹

  • Document missing arguments for video marco

5.63.4 - 11 July 2026โ€‹

๐Ÿ› Bug Fixesโ€‹

  • Update video source merging logic to use provided args instead of default args

5.63.3 - 11 July 2026โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • (section block) provide an option to provide additional smaller variants in class logic

๐Ÿ› Bug Fixesโ€‹

  • Pass holder_classes to node-overview loop actions for improved flexibility

5.63.2 - 10 July 2026โ€‹

๐Ÿ› Bug Fixesโ€‹

  • Correct args merging logic in picture macro to use default arguments

5.63.1 - 07 July 2026โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • Implement HTML email template for support requests and update email headers
  • Add example URL placeholder to support widget form

๐Ÿ› Bug Fixesโ€‹

  • Streamline email body generation in support email template
  • Simplify condition checks in render_acf_block and Admin_Controller
  • Fix: update alignment and background color checks in render_acf_block function
  • Cast email body to string in wp_mail function
  • Correct spelling of 'collapsible' in block field label

๐Ÿ“š Documentationโ€‹

  • Add team settings description to admin controller filters

๐Ÿงช Testingโ€‹

  • Cover support widget mail failure redirect

5.63.0 - 03 July 2026โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • Enhance support widget author handling and update settings resolution
  • Add remote team widget with configurable settings and display
  • Enhance Admin_Controller with configurable settings for dashboard widgets and support behavior
  • Introduce new dashboard support widget
  • Add render_acf_block function API function
  • Add README.md for project documentation and setup instructions
  • Update GitHub Actions workflow to checkout Bedrock and plugin dependencies; install Composer dependencies for theme
  • Add check for REST_REQUEST in webp_src_set function to prevent processing during REST API requests
  • Add initial parameter to send_diagnostics method for activation tracking

๐Ÿ› Bug Fixesโ€‹

  • Update text domain property format in PHPCS ruleset
  • Correct argument merging in picture and video macros
  • Adjust cookie consent event triggers for consistency
  • Exclude wp-content directory from PHPCS checks
  • Add missing type hint for Person in PersonObjectTest

๐Ÿšœ Refactorโ€‹

  • Implement Admin_Controller class for dashboard widget management and remove legacy admin controller

๐Ÿ“š Documentationโ€‹

  • Update documentation for new filters related to the admin class.

๐Ÿงช Testingโ€‹

  • Add test suite for wp-lemon
    • Add feature tests for API queries, diagnostics, license management, and Twig functions
    • Implement ApiQueriesTest to validate API query helpers against post fixtures.
    • Create DeprecatedTwigActionTest to ensure deprecated Twig actions function correctly.
    • Add DiagnosticsTest to verify cron registration and environment guards.
    • Introduce LicenseManagerTest for testing license manager behavior without remote calls.
    • Develop SetupTest to confirm theme setup contracts and child theme overrides.
    • Create SiteTest to validate site context assembly and special page handling.
    • Implement TwigFunctionsAndFiltersTest to test custom Twig functions and filters.
    • Add TestState helper for resetting static theme state between tests.
    • Establish a base TestCase class for shared test state management.

โš™๏ธ Miscellaneous Tasksโ€‹

  • Start work on PHPStan plugin stubs

Langโ€‹

  • Update german translation
  • NL lang update

5.62.0 - 18 June 2026โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • Add filter to remove ACF blocks from excerpts while preserving acf/section
  • Add filter to run analytics code on non-production environments

๐Ÿ› Bug Fixesโ€‹

  • Simplify accordion instance creation by removing unnecessary variable
  • Update documentation for extendDropDownAreas function
  • Enhance old container transform handling

๐Ÿšœ Refactorโ€‹

  • Remove unused variable 'terms' in archiveListeners function
  • Remove unused import of unregisterBlockType in deregisterBlocks function
  • Remove unused import of getBlockType in nodeBlockVariants
  • Remove unnecessary variable assignment for Swiper instance

๐Ÿ“š Documentationโ€‹

  • Added/updated 64 filter examples in documentation

๐ŸŽจ Stylingโ€‹

  • Adjust socials icon font label size and update gap for icons list
  • Update padding variables for wp-block-media-text__content

โš™๏ธ Miscellaneous Tasksโ€‹

  • Use strict comparison for asset and constant function imports
  • Lint files
  • Use strict comparison for post status checks in cache clearing function
  • Streamline license activation checks by consolidating duplicate conditions
  • Improve condition checks and simplify adjacent post retrieval logic
  • Update dependencies
  • Add loading state to load more button during AJAX calls

5.61.2 - 08 June 2026โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • (cache) Add cache clearing function for flying press
  • (cache) Add support for FlyingPress cache purging in cache_clearer function
  • (cookiebar) Clear local storage consent mode when no cookie preference is set
  • (cookiebar) Update marketing checkbox to default to true

๐Ÿ› Bug Fixesโ€‹

  • (card-wrap) Ensure icon is set only if null in crd-wrap.twig
  • (log) Include seconds in log timestamp format
  • (media) Update video macro to accept attachment ID as source
  • (media.twig) Set default poster_id to null in video macro
  • (styles) Prevent pointer events on links within ACF blocks

๐Ÿšœ Refactorโ€‹

  • (cache) Rename function to clear cache on post status change and update parameters

5.61.1 - 01 June 2026โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • (header.twig) Update navbar class logic to conditionally apply 'navbar-expand' based on breakpoint
  • (taxonomy) Add custom taxonomy 'example' with labels and arguments

๐Ÿ› Bug Fixesโ€‹

  • (app.twig) Correct logic for render_header and render_footer variables
  • (card) Ensure maybe_hide_animation is set correctly based on preview state
  • (cookiebar) Manage inert state of cookie bar during initialization and visibility changes. This prevents that users can tab to the cookiebar if it is not visible.
  • (package.json) Update node engine requirement to >=22.11
  • (pagination) Update selector to target direct children of pagination items for improved styling

๐Ÿšœ Refactorโ€‹

  • (socials) Simplify get_socials function and update usage in related classes

๐Ÿ“š Documentationโ€‹

  • Add filter example

5.60.0 - 06 May 2026โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • (card-grid) Add two new layout options for the card grid
  • Add filter for showing read more link in cookie bar

๐Ÿ› Bug Fixesโ€‹

  • Adjust order logic in adjacent_post_info function for correct post retrieval
  • Correct href for read more link in cookie bar to use the correct URL

โš™๏ธ Miscellaneous Tasksโ€‹

  • Add additional class to cookiebar
  • Update translations

5.59.3 - 30 April 2026โ€‹

๐Ÿ› Bug Fixesโ€‹

  • Update title and description filters for paginated archive pages instead of setting them to noindex. This fixes the regression introduced in 5.57.0

๐Ÿ“š Documentationโ€‹

  • Update example in macro picture default args to use boolean true instead of string 'true'

5.59.2 - 23 April 2026โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • Add filters for front-end translations and script data
  • Add filters for front-end translations and script data in frontend_assets function

๐Ÿ› Bug Fixesโ€‹

  • Remove flex-wrap from card layout for improved responsiveness
  • Update card type filter to use 'product' instead of 'node'
  • Update example filter for card type to use 'product' instead of 'node'
  • Correct formatting in block documentation for card type filter
  • Update footer management URL to use current theme slug in welcome dashboard widget
  • Correct typo in parameter description for customize_register function
  • Correct typos in changelog entries

๐Ÿ“š Documentationโ€‹

  • Update docs for two filters

5.59.1 - 14 April 2026โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • Update accordion block to use blockAppender for better editor experience.

๐Ÿ› Bug Fixesโ€‹

  • Update rsync-deployments action version to v8

5.59.0 - 14 April 2026โ€‹

๐Ÿ› Bug Fixesโ€‹

  • (accordion) Update filter namespace for button appender
  • (acf) Refactor location rules registration and update function names
  • (acf-fields) Change action hook from 'acf/init' to 'acf/include_fields'
  • (block-carousel) Streamline slide configuration logic

๐Ÿ“š Documentationโ€‹

  • Update doc examples
  • Fix @example indentation in node-overview and load-blocks
  • Update docblock for get_focalpoint method
  • Format docblocks
  • Format docblocks

โš™๏ธ Miscellaneous Tasksโ€‹

  • Update packages
  • Ignore PHPCompatibility warning in log_message function
  • Fix last two errors
  • Phpstan
  • Compat with PHP 8.4
  • Update phpcompatibility version to 10.0.0@dev and adjust related configurations
  • More linting
  • Update author email in composer.json
  • Run lint
  • Run rector
  • Update dependencies

5.58.0 - 03 April 2026โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • (a11y) Add phone_accessible function and filter for improved phone number accessibility
  • (admin) Add admin controller for dashboard modifications and welcome widget
  • Add filter to skip diagnostics sending based on user-defined condition
  • Replace get_terms with Timber::get_terms in Node_Overview_Block
  • Enhance Diagnostics class error handling and add action hook on success

๐Ÿ› Bug Fixesโ€‹

  • Update max-width-smaller calculation for consistency in layout. Fixes #340
  • Update visibility handling for platform labels in share buttons and social icons
  • Update title assignment logic in archive template for better context handling

โš™๏ธ Miscellaneous Tasksโ€‹

  • Enhance accessibility for pagination controls with aria-labels and visually hidden text
  • Hide site icon control in customizer and add admin footer styles
  • Continue on dashboard widget
  • Update packages

5.57.0 - 30 March 2026โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • Add filter for items in node-latest block and fallback query
  • Add noindex directive for paginated archive pages to improve SEO
  • [breaking] Removing obsolete and slow tracking code injection. This reduces one ajax call. Make sure that you check that the fields google_tracking_code - Analytics scripts and analytics_code_body_open - Analytics scripts - body are no longer in use

๐Ÿ› Bug Fixesโ€‹

  • Update max-width calculations for responsive design
  • Update deprecation message in video macro to reflect argument usage
  • Refactor video macro to use args object for improved configurability
  • Wrap acf_update_setting calls in a function_exists check for better compatibility
  • Add check for empty filename or directory in remove_generated_webp function
  • Change font-display property to swap for faster font loading
  • Update medium and large image size options for better media handling
  • Add post_parent parameter to get_total_posts function for better post retrieval
  • Update Site_Icons short name to remove unnecessary wording

๐Ÿ“š Documentationโ€‹

  • Add example usage for filters in node-latest and node-overview blocks
  • Add detailed descriptions for marketing and preferences checkboxes in cookie bar filters

โš™๏ธ Miscellaneous Tasksโ€‹

  • Delete unneeded file

5.56.0 - 12 March 2026โ€‹

๐Ÿ› Bug Fixesโ€‹

  • Add carousel content wrapper to enhance structure in carousel.twig
  • Optimize stylesheet directory URI retrieval in frontend_assets function
  • Simplify active post type retrieval in Bootstrap_Navwalker constructor
  • Disable meta box callback editing in ACF settings
  • Update ACF settings for post types, options pages UI, and shortcode
  • Prevent dynamic block examples from loading in non-admin contexts
  • Optimize unique ID assignment for accordion blocks by refining change detection logic
  • Enhance accordion block functionality with inner blocks and unique ID handling
  • Refactor accordion block structure and styles for improved layout and functionality
  • Update search form action to use site link for improved functionality

โš™๏ธ Miscellaneous Tasksโ€‹

  • Remove unnecessary paths from Timber loader and thus speeding up loading
  • Housekeeping and speeding up file i/o

5.55.6 - 05 March 2026โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • Enhance accordion block functionality and styling

๐Ÿ› Bug Fixesโ€‹

  • Update search form action to use correct search page link
  • Simplify no search results message in search list component
  • Update social media references from Twitter to X in share buttons and related documentation
  • Ensure header and footer rendering variables are properly initialized

5.55.5 - 25 February 2026โ€‹

๐Ÿ› Bug Fixesโ€‹

  • Prevent editor script loading on the front-end

5.55.4 - 25 February 2026โ€‹

๐Ÿ› Bug Fixesโ€‹

  • Add inline text editing attributes to accordion item label for better accessibility
  • Update 404 template for improved semantic structure and consistency
  • Strip HTML tags from accordion item label for improved output
  • Update language switcher structure to use language codes as keys
  • Ensure backend functions are only called in the admin context
  • Change heading from h5 to h2 for better semantic structure in search result component

5.55.3 - 17 February 2026โ€‹

๐Ÿ› Bug Fixesโ€‹

  • Remove 'wp-element-button' class from theme button
  • Decode search query before passing to context
  • Adjust margin-top for pagination component
  • Cast background and text color fields to string in Bootstrap_Navwalker
  • Remove unused lock-reusable-block.js script and related enqueue

๐Ÿ“š Documentationโ€‹

  • Update documentation structure and enhance function references
  • Fixes to documentation files related to the new documentation software.

5.55.2 - 05 February 2026โ€‹

๐Ÿ› Bug Fixesโ€‹

  • Remove unneeded global style. Fixes #323
  • Remove top padding from contact-cta styles for improved layout

5.55.1 - 05 February 2026โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • (js) Add isAdmin function to check for WordPress admin area and update block-carousel to use it

๐Ÿ› Bug Fixesโ€‹

  • Refine post class assignment for 'person' post type in add_wp_lemon_post_classes function
  • Ensure proper escaping of phone URI in crd-person.twig
  • Correct syntax for LinkedIn social entry and update email icon class
  • Update return type for get_phonenumber method in class Person

๐Ÿšœ Refactorโ€‹

  • Remove backwards-compatible alias for extendDropDownAreas function

๐Ÿ“š Documentationโ€‹

  • Add filter example for wp-lemon/filter/socials-context

5.55.0 - 25 January 2026โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • Add Person Post Object for handling phone number retrieval and update card template to use it

๐Ÿ› Bug Fixesโ€‹

  • Fix overwritten styles for .crd.crd--price class in acf-price-card.scss
  • Correct calculation for --max-width-smaller variable in _global.scss
  • Replace is_null checks with isset for better clarity in image and post classes
  • Simplify previous pagination item condition in pagination.twig

๐Ÿ“š Documentationโ€‹

  • Update return type documentation for format_phone_number function to include detailed structure
  • Add example usage for picture-args filter in twig-filters.php

โš™๏ธ Miscellaneous Tasksโ€‹

  • !fix: remove unused social media URL fields from person fields

5.54.2 - 09 January 2026โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • Add filter for accordion item icon HTML in twig template

๐Ÿ› Bug Fixesโ€‹

  • Remove unnecessary blank line in elements.twig
  • Simplify instantiation of Site_Icons in functions.php
  • Update .gitattributes to include additional Twig API files for export-ignore
  • Update .gitattributes to include lib/blocks and build directories for export-ignore

โš™๏ธ Miscellaneous Tasksโ€‹

  • Rename LemonPost class file

5.54.1 - 30 December 2025โ€‹

๐Ÿ› Bug Fixesโ€‹

  • Update typos.toml and add spellcheck script to package.json
  • Update .gitattributes to include additional export-ignore entries
  • Remove push trigger from release-zip workflow

๐Ÿ“š Documentationโ€‹

  • Fix several docblocks
  • Add documentation for TWIG macros

โš™๏ธ Miscellaneous Tasksโ€‹

  • Deregister additional block variations for paragraph and heading
  • Remove blocks from editor
  • Add .gitattributes

5.54.0 - 20 December 2025โ€‹

๐Ÿ› Bug Fixesโ€‹

  • Improve type hints and parameter descriptions in various functions
  • Remove unnecessary blank line in hooks.php
  • Update scroll-margin-top to use a CSS variable for better flexibility
  • Update rsync deployment switches to include missing composer.lock exclusion
  • Handle case where post is not found in filter
  • Update context key for heading level in Accordion_Item_Block

๐Ÿšœ Refactorโ€‹

  • Remove SmoothScroll function and update styles for scroll padding

โš™๏ธ Miscellaneous Tasksโ€‹

  • Update dependencies
  • Rector
  • Update ci
  • Add GitHub Actions workflow for creating release zip

5.53.0 - 02 December 2025โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • (docs) Add scripts for generating JavaScript and PHP documentation
  • (js) Add new helper functions

๐Ÿ“š Documentationโ€‹

  • (js) Add examples for JavaScript helper functions in documentation

5.52.0 - 28 November 2025โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • Add FAQ schema support for ACF Accordion blocks in combination with the RankMath SEO plugin
  • (js) Enhance dropdown functionality with extendable parent selectors and submenu handling
  • Add search link to pages and include pagination in search template

๐Ÿ› Bug Fixesโ€‹

  • Add null checks for rejectButton and customize in cookiebar setup
  • (theme.json) Add border settings for core/pullquote block
  • Correct mailto share URL to use the correct and do not open share popup when mailto link
  • Pass null argument to get_footer and get_header actions for consistency with hook callers
  • Update Bulldozer version requirement and improve Site_Icons initialization
  • Adjust smooth scroll behavior and add scroll padding for elements with IDs
  • Add styles for rank math schema item to control layout properties
  • Fix 3th level dropdown menu's
  • Ensure cache is cleared when menu order tags are updated

โš™๏ธ Miscellaneous Tasksโ€‹

  • Remove unused variable
  • Codestyle
  • Update dev packages
  • Add additional arguments to block wrap

5.51.0 - 12 November 2025โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • Add possebility to add an anchor ID to other-items.twig
  • Add filters for offcanvas menu title and icons in twig files

๐Ÿ› Bug Fixesโ€‹

  • Sanitize phone URI in card component to enhance security
  • Reorder deprecated action calls for menu toggle in header
  • Improve nav scroll handling by using local variables for min distance and scroll values
  • Specify selector for dropdowns to to make sure we only target dropdowns inside the navbar
  • Update argument handling in queries and node-latest block for better compatibility
  • Adjust margin for header elements in card component

๐Ÿ“š Documentationโ€‹

  • Add filters for offcanvas menu title and SVG icons
  • Update docs for loading blocks

5.50.0 - 31 October 2025โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • (accordion) Add margin-top for adjacent elements not using acf-block
  • (card) Add picture-args filter for enhanced picture element rendering
  • (carousel) Add per-view option for slides and update styles
  • (header.twig) Add two additional filters to the header.twig file

๐Ÿ› Bug Fixesโ€‹

  • (header) Remove unnecessary top offset for admin bar
  • (node-overview) Update example function to return array for post ordering
  • (single.php) Update parameter description for post type in template filter documentation

๐Ÿšœ Refactorโ€‹

  • (styles) Adjust margins for search section and entry header
  • [breaking] Renamed header actions to follow the same consistent pattern as all other actions inside wp-lemon, old actions are now marked deprecated

๐Ÿ“š Documentationโ€‹

  • Update docs

โš™๏ธ Miscellaneous Tasksโ€‹

  • Run rector php83

5.49.1 - 21 October 2025โ€‹

๐Ÿ› Bug Fixesโ€‹

  • (navbar) Update scroll position checks for navbar visibility
  • (timber) Reorder add_spaces_to_phonenumber filter registration
  • Fix footer visibility

5.49.0 - 16 October 2025โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • (macro) Add filter for default arguments in picture macro
  • (navbar) Add scroll settings filter and update navbar behavior based on scroll values

๐Ÿ› Bug Fixesโ€‹

  • Replace nth-child with nth-of-type for consistent styling in card and timeline components

๐Ÿ“š Documentationโ€‹

  • Add example for phone number filtering in format_phone_number function

๐ŸŽจ Stylingโ€‹

  • Add text alignment support for card component
  • Add background color variable for image card overlay

5.48.1 - 13 October 2025โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • (Site class) Add new is_archive_page method

๐Ÿ› Bug Fixesโ€‹

  • Update accordion item label default to use translation function

๐Ÿ“š Documentationโ€‹

  • Update docs

5.48.0 - 10 October 2025โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • (blocks) Add option to open first accordion item
  • (blocks) Update block.json files to include blockVersion 3 for all blocks
  • Deprecated class-FAQ in favor of feature plugin

๐Ÿ› Bug Fixesโ€‹

  • Fix footer alignment
  • Adjust alignment for centered images in entry blocks
  • Update max-width-default calculation to use block-side-gutter-side

๐Ÿšœ Refactorโ€‹

  • (accordion) Complete accordion refactor

๐ŸŽจ Stylingโ€‹

  • Lint scss

5.47.2 - 06 October 2025โ€‹

๐Ÿ› Bug Fixesโ€‹

  • Fix docblocks

5.47.1 - 06 October 2025โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • Update get_other_items method to include taxonomy and terms parameters

๐Ÿ› Bug Fixesโ€‹

  • Fixed a bug where you were not able to click on a link that was inside the editor fields view.
  • Make excerpt length filterable again for news cards
  • Better editor alignment

๐Ÿ“š Documentationโ€‹

  • Update documentation
  • Add docblocks to wp-lemon-post class

โš™๏ธ Miscellaneous Tasksโ€‹

  • (js) Rename scrollNext to scrollNextSectionListener

5.47.0 - 26 September 2025โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • Add multisite support for wp-lemon licence and diagnostics class
  • New filter

๐Ÿ› Bug Fixesโ€‹

  • Update Prettier configuration to remove twigPrintWidth and adjust overrides
  • Fix button border regression

๐Ÿ“š Documentationโ€‹

  • Add example filters in documentation

โš™๏ธ Miscellaneous Tasksโ€‹

  • Add class assignment for opening hours slot div
  • Build fix

5.46.0 - 17 September 2025โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • Add more variables for ghost buttons
  • Add new helper function url_to_website_name

๐Ÿ› Bug Fixesโ€‹

  • Fix max width regression

๐Ÿ“š Documentationโ€‹

  • Update docblocks of helper functions

โš™๏ธ Miscellaneous Tasksโ€‹

  • Update packages
  • Update rsync deployment switches to exclude additional twig-action.php file
  • Add inline-flex utilities

5.45.5 - 17 September 2025โ€‹

๐Ÿ› Bug Fixesโ€‹

  • Fix archive nav color in dropdown
  • Fix media query ordering issue, fixes websites going full width

5.45.4 - 15 September 2025โ€‹

๐Ÿ› Bug Fixesโ€‹

  • Correct index for CopyWebpackPlugin patterns in webpack config

5.45.3 - 15 September 2025โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • Filterable palette.json file

๐Ÿ› Bug Fixesโ€‹

  • Fixed a bug where a disabled blocks would still output the closing div
  • Change heading from h2 to h3 for no content message

๐Ÿ“š Documentationโ€‹

  • Fix docblocks

โš™๏ธ Miscellaneous Tasksโ€‹

  • Package updates

5.45.2 - 10 September 2025โ€‹

๐Ÿ› Bug Fixesโ€‹

  • Fix editor in import in parent theme editor.scss stylesheet
  • Fix class existence check for Bulldozer

5.45.1 - 04 September 2025โ€‹

๐Ÿ› Bug Fixesโ€‹

  • Remove add_theme_support for wp-lemon-faq

5.45.0 - 03 September 2025โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • Update filter arguments for node-overview block and add load more action filter
  • Add post type tag to search result badges for better styling possibilities
  • Add support for be media from production new version

๐Ÿ› Bug Fixesโ€‹

  • Less class lookup calls
  • Adjust extra_args handling in Generic_Ajax_Query for improved filter compatibility
  • Replace direct property manipulation with set_disabled method in Carousel_Block
  • Update class modifier for image presence in ImageCard_Block
  • Fix error on licence page
  • Better .section class alignment in backend

๐Ÿ“š Documentationโ€‹

  • Update filter docs
  • Fix code comment formatting in twig-actions.php

5.44.3 - 22 August 2025โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • Carousel block, create option to start at the first slide.
  • Add support for additional social media platforms

๐Ÿ› Bug Fixesโ€‹

  • Add documentation for various actions and remove TODO comments

๐Ÿ“š Documentationโ€‹

  • Update docs

โš™๏ธ Miscellaneous Tasksโ€‹

  • Lint files
  • Lint twig files
  • Update action

Languageโ€‹

  • Update translations

5.44.2 - 21 August 2025โ€‹

๐Ÿ“š Documentationโ€‹

  • Update documentation of helper functions
  • Update action docblocks
  • Fix docblocks in navwalker

๐ŸŽจ Stylingโ€‹

  • Update wp-lemon icon font

โš™๏ธ Miscellaneous Tasksโ€‹

  • PHPStan level 8
  • Run rector & lint files
  • Speed up wp-lemon by disabling some ACF functions

5.44.1 - 19 August 2025โ€‹

๐Ÿ› Bug Fixesโ€‹

  • Fix focal point check in Image class

๐Ÿ“š Documentationโ€‹

  • Add PHP code examples for various filter hooks

5.44.0 - 14 August 2025โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • Add reserved keys for site information and enforce validation in context addition
  • Move attributes to new methods

๐Ÿ› Bug Fixesโ€‹

  • Speed up loading of wp-lemon by 10% by better class_exist calls.
  • Increase default excerpt length in search result component
  • Correct boolean casting for maybe_hide_animation in Section_Block
  • Adjust aspect ratio handling for entry header picture
  • Contact bar fixes

๐Ÿ“š Documentationโ€‹

  • Update generated docs
  • Add examples in codebase
  • Better docblock
  • Change order of actions
  • Update documentation for previous_post_info and taxonomy_post_collection functions

๐ŸŽจ Stylingโ€‹

  • Adjust width calculation for icons-list items

โš™๏ธ Miscellaneous Tasksโ€‹

  • Ignore error
  • Bump minimal Bulldozer version
  • Update dependencies

5.43.1 - 28 July 2025โ€‹

๐Ÿ› Bug Fixesโ€‹

  • Correct conditional check for parent block ID in Accordion_Item_Block
  • Add missing body background variable to Bootstrap root styles

๐Ÿ“š Documentationโ€‹

  • Better docblocks
  • Add missing parameter description for picture arguments filter
  • Add closing code block to get_post_type_options function documentation
  • Add closing code block to documentation for get_attachment_info function
  • Add examples for various filters in twig-filters.php
  • Add examples in queries and filter docs
  • Enhance docs for get_post_type_options function

๐ŸŽจ Stylingโ€‹

  • Exclude theme-button from inheriting color in img-container

โš™๏ธ Miscellaneous Tasksโ€‹

  • Phpstan
  • Linting

5.43.0 - 24 July 2025โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • Add font-weight variable for strong text elements
  • Add is_special_page method to check for special pages in the site class
  • Implement unique ID generation for ACF accordion blocks and update related templates
  • Add documentation for action hooks in twig-actions.php

๐Ÿ› Bug Fixesโ€‹

  • Ensure full width for non-aligned entries in frontend alignment styles
  • Add usage examples for card icon and footer filters

โš™๏ธ Miscellaneous Tasksโ€‹

  • Add GitHub Action to check for undocumented WordPress hooks

5.42.2 - 11 July 2025โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • Add card_type class to archive holder div. This makes it possible to target specific archive divs

๐Ÿ› Bug Fixesโ€‹

  • Fix core/file rendering
  • Disable pointer events on links within acf-block to prevent interaction in the backend
  • Wrap pagination include in conditional to prevent rendering when hidden
  • Change class selector to figure for wp-block-embed styles

โš™๏ธ Miscellaneous Tasksโ€‹

  • Update max-width to use CSS variable for entry header picture holder

5.42.1 - 04 July 2025โ€‹

๐Ÿ› Bug Fixesโ€‹

  • [breaking] Fix function imports after update of sass

    to fix this in your child theme, search replace the following:

    Search for: @use "~parentThemeStyles/02-tools/functions" as *; Replace with: @import "~parentThemeStyles/02-tools/functions";

5.42.0 - 03 July 2025โ€‹

๐Ÿšœ Refactorโ€‹

  • Run cache function also on delete post and make the logic behind cache clearing faster.

โš™๏ธ Miscellaneous Tasksโ€‹

  • Update basebuilder to 6.0

5.41.1 - 30 June 2025โ€‹

๐Ÿ› Bug Fixesโ€‹

  • Update class name check for button block in theme button class function

5.41.0 - 30 June 2025โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • Add 'ucfirst' filter to Timber Twig functionality

๐Ÿ› Bug Fixesโ€‹

  • Correct link reference for archive page in single-person template
  • Correct archive page link reference in entry header
  • Correct filter hook syntax in Node_Overview_Block
  • Remove 'wp-block-button__link' class from theme button
  • Add 'author' support to news post type
  • Fix Mollie payment in Woocommerce

โš™๏ธ Miscellaneous Tasksโ€‹

  • Update block categories from dynamic to overview for consistency

5.40.4 - 22 May 2025โ€‹

๐Ÿ› Bug Fixesโ€‹

  • Update max-width calculations to use block-side-gutter for consistency

5.40.3 - 16 May 2025โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • Add modal styles with background, input, and border radius variables

๐Ÿ› Bug Fixesโ€‹

  • Remove !important from dropdown background padding for better specificity
  • Update max-width calculations to use block-side-gutter-side variable

๐Ÿ“š Documentationโ€‹

  • Enhance documentation for get_attachment_info and get_svg_icon functions with Twig examples

5.40.2 - 12 May 2025โ€‹

๐Ÿ› Bug Fixesโ€‹

  • Update max-width calculation to use block-side-gutter variable

5.40.1 - 10 May 2025โ€‹

๐Ÿ› Bug Fixesโ€‹

  • Remove admin check from get_archive_page function

๐Ÿ“š Documentationโ€‹

  • Document remaining twig filters

โš™๏ธ Miscellaneous Tasksโ€‹

  • Cleanup filters and twig files

5.40.0 - 09 May 2025โ€‹

๐Ÿ› Bug Fixesโ€‹

  • Fixes an issue where the cache clearing process would block the saving speed of a post. This process now runs async.
  • Invert condition in get_archive_page to return false for admin context

5.39.0 - 09 May 2025โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • Add get_posty_type_options function to retrieve post type options

๐Ÿ› Bug Fixesโ€‹

  • Correct function name in changelog and update get_archive_page logic
  • Correct function name from get_posty_type_options to get_post_type_options
  • Update get_archive_page logic to check for singular posts
  • Correct button background color hover variable assignment
  • Fix query
  • Fix docs

๐Ÿ“š Documentationโ€‹

  • Add function to overwrite Fluent Forms payment URL

โš™๏ธ Miscellaneous Tasksโ€‹

  • Linting

5.38.3 - 30 April 2025โ€‹

๐Ÿ› Bug Fixesโ€‹

  • Correct JavaScript syntax in search-list.twig. Fixes #299

๐Ÿ“š Documentationโ€‹

  • Enhance documentation for phone number and attachment functions
  • Improve documentation for filters
  • Enhance documentation for get_attachment_info function
  • Update filter documentation for clarity and consistency
  • Enhance documentation for phone number formatting function

โš™๏ธ Miscellaneous Tasksโ€‹

  • Update animation handling in various Twig templates and PHP files for improved consistency
  • Update copyright year variable in footer template

5.38.2 - 29 April 2025โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • Add filter for logo in footer

๐Ÿ› Bug Fixesโ€‹

  • Ensure type consistency in apply_filters arguments

๐Ÿ“š Documentationโ€‹

  • Document all the things
  • Continue documentation
  • Make a start with twig filter documentation

โš™๏ธ Miscellaneous Tasksโ€‹

  • Exclude lib/api/twig-filters.php from rsync deployments

5.38.1 - 23 April 2025โ€‹

๐Ÿ› Bug Fixesโ€‹

  • Add padding to body for consistent layout

5.38.0 - 23 April 2025โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • Overwrite Fluent Forms email attachments with media attachments from form data
  • Add button to view all frequently asked questions in related questions section

๐Ÿ› Bug Fixesโ€‹

  • Update alignment settings for block styles and adjust theme.json configuration fixes #297

โš™๏ธ Miscellaneous Tasksโ€‹

  • Tested to 6.8

5.37.0 - 16 April 2025โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • Core/file block now gets theme-button class as well

๐Ÿ› Bug Fixesโ€‹

  • Fix load just in time translation errors introduced in WordPress 6.8
  • Rename focal argument to focalpoint for consistency in card filters
  • Update card shadow color to use rgba for better transparency
  • Improve focal point check in Image class
  • Correct filter namespace for load more text in node overview block
  • Correct formatting in changelog replacement step
  • Refine comments and improve code readability in multiple files

๐Ÿ“š Documentationโ€‹

  • Enhance documentation for get_special_page method with usage details and link
  • Update documentation for link attributes filter in Bootstrap_Navwalker
  • Improve class documentation for ACF_Field_Fluentforms
  • Rewrite hooks for better display in documentation
  • Add usage example for ACF field fluentforms

โš™๏ธ Miscellaneous Tasksโ€‹

  • Add find and replace step for changelog formatting in workflow
  • Update composer dependencies
  • Lint files

5.36.1 - 09 April 2025โ€‹

๐Ÿ› Bug Fixesโ€‹

  • (acf-field-fluentforms) Set default choices to an empty array, this prevents a query on page load
  • (node-overview) Add load more and no more items text filters for better localization on a per posttype basis.
  • (styles) Add custom root file to make sure the variables that are needed by the bootstrap css are available

๐Ÿ“š Documentationโ€‹

  • (node-overview) Add filters for query arguments, load more text, and no more items message for better customization

โš™๏ธ Miscellaneous Tasksโ€‹

  • Update dependencies
  • (node-overview) Update parameter types in docblock for clarity and consistency

5.36.0 - 02 April 2025โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • (site) Add getter method to retrieve special page information, see WP_Lemon_Site::get_special_page()
  • (styles) Enhance the way we load in media breakpoints in the global stylesheet

๐Ÿ› Bug Fixesโ€‹

  • (carousel) Make carousel block easier to edit in the editor, fixes #292
  • (cli) Fix build process
  • (editor-styles) Add alignment styles for reusable blocks in the editor. Fixes #291
  • (hooks) Disable automatic sizes for image tags
  • (image) Add check to ensure attachment is an image, this fixes a compat issue with the Simple History plugin
  • (image-card) Update styles and descriptions for image overlay card
  • (load-blocks) Update deprecated filter for block removal list
  • (navwalker) Correct output handling for end of menu level

๐Ÿšœ Refactorโ€‹

  • (blocks) Streamline dynamic block example handling with a mapping array

๐ŸŽจ Stylingโ€‹

  • (styles) Comment out bootstrap root import in _vendor.scss

โš™๏ธ Miscellaneous Tasksโ€‹

  • (node-overview) Increase maximum value for node overview block
  • Update translations
  • Update dependencies in package.json and yarn.lock

5.35.0 - 19 March 2025โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • (navwalker) Add current_item property and filters for menu level classes and output. We can use this filter to add mega menu functions for example
  • Add additional hooks in node-latest block
  • Make full context available in ajax query results

๐Ÿ› Bug Fixesโ€‹

  • (carousel) Adjust swiper-progress styles for improved layout and consistency
  • (carousel) Change swiper progress height to inherit for better responsiveness
  • (content-card) Ensure linked_item is an array before accessing its first element
  • Wp-lemon/filter/core-blocks-to-allow filter now only filters core/ blocks instead of all registered blocks

5.34.3 - 07 March 2025โ€‹

๐Ÿ› Bug Fixesโ€‹

  • Correct css variables regarding first and last block margins.

5.34.2 - 06 March 2025โ€‹

๐Ÿ› Bug Fixesโ€‹

  • (carousel) Refactor swiper initialization to use a configurable object. This fixes a missing scrollbar on mobile
  • (cookiebar) If no consent cookie is found, empty local storage object. Also set security_storage to true
  • (excerpt) BR tags are now being replaced with spaces. issue lemon_excerpt. Fixes #288
  • (styles) Update margin variables for responsive breakpoints
  • (theme) Add outline variation for button with ghost text color
  • (timber) Reorder use statements and adjust formatting for consistency

5.34.1 - 25 February 2025โ€‹

๐Ÿ› Bug Fixesโ€‹

  • (blocks) Rename image card to overlay card and update translations
  • (icons) Fix e-mail icon
  • (translations) Update Dutch language file

5.34.0 - 20 February 2025โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • (image) Add custom Image class to extend TimberImage functionality
  • (package) Enhance pre-release script to include documentation generation
  • (post) Extend Timber classes to use custom LemonPost and Image classes

๐Ÿ› Bug Fixesโ€‹

  • (ajax) Update parent property type from string to mixed
  • (card) Update email icon to use wp-lemon-icon-logo-e-mail
  • (docs) Clean up docblocks and fix phpcs issues
  • (media-text) Exclude .section from margin-top spacing adjustment
  • (setup) Update return type in add_wp_lemon_post_classes function docblock

๐Ÿšœ Refactorโ€‹

  • (image) Rename focal method to focalpoint and update references

๐Ÿ“š Documentationโ€‹

  • (filters) Add example usage for navwalker link attributes filter

โš™๏ธ Miscellaneous Tasksโ€‹

  • (package) Update basebuilder-config to version 5.1
  • Lint twig files

5.33.0 - 14 February 2025โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • (blocks) Block examples added in the editor for most wp-lemon blocks.
  • (buttons) Add bottom margin variable for button spacing
  • (navwalker) Add filter for link attributes based on menu item ID
  • (timber-extend) Enhance webp_src_set function to be compatible with be-media-from-production and improve width handling

๐Ÿ› Bug Fixesโ€‹

  • (entry-header) Ensure picture holder is only rendered when image_id is present
  • (head) Ensure gtag function is defined before usage to prevent errors
  • (wp-column) Set gap to 0 for no-margin columns on small screens, since margins are now gap based

๐Ÿ“š Documentationโ€‹

  • (navwalker) Add documentation for the new filter in the navwalker

Removeโ€‹

  • Remove unfinished html_attributes function to clean up code

5.32.0 - 24 January 2025โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • (blocks/cards) Add parent to context, this is the invoker that called the card in question. We can use this context to extend/change cards based on the location its called form, props to Mees.
  • Add actions to card-wrap to extend cards based on their context, props to Mees.

๐Ÿšœ Refactorโ€‹

  • (ajax-query) Add parent parameter to ajax query

5.31.0 - 20 January 2025โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • (media) Enhance picture macro to include focal point handling and improve argument structure

๐Ÿ› Bug Fixesโ€‹

  • (cards) Update holder_classes to use an array for improved flexibility
  • (diagnostics) Change send_diagnostics method to static and directly run first diagnostics run after activation
  • (logo) Ensure keys are retrieved safely from logo information
  • (media) Correct object-position style in picture macro and set default image size
  • (opening-hours) Wrap day label in a span for improved styling
  • (post) Update get_archive_link method to return the archive link and mark it as deprecated
  • (search-result) Change date container from div to small for semantic improvement
  • (site) Replace exception throw with error trigger in get_site_information method

๐Ÿšœ Refactorโ€‹

  • Update method signatures and improve error handling in site class

โš™๏ธ Miscellaneous Tasksโ€‹

  • (style) Update gap in share buttons list to use CSS variable for improved responsiveness
  • Lint files

5.30.0 - 17 December 2024โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • Enhance get_archive_page function with WPML support and improved documentation

๐Ÿšœ Refactorโ€‹

  • Deprecate get_archive_link method in favor of get_archive_page method in LemonPost class

๐Ÿ“š Documentationโ€‹

  • Update return type documentation for get_archive_page method

5.29.2 - 13 December 2024โ€‹

๐Ÿ› Bug Fixesโ€‹

  • Unregister cron job upon license deactivation
  • Ensure sizes are sorted only if present in media macro

5.29.1 - 13 December 2024โ€‹

๐Ÿ› Bug Fixesโ€‹

  • Always use largest size
  • Adjust padding for section container in contact CTA styles
  • Add aria-label for search button in FAQ highlights

5.29.0 - 10 December 2024โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • Support other logo variants then only header and footer, all logos added in the child-site-class will be available in this block.
  • Add lazy loading attribute to YouTube iframes in content
  • New prettier twig plugin without security issues + linting

๐Ÿ› Bug Fixesโ€‹

  • Fixed a lot of small css bugs in the editor to improve the editing experience
  • Update ACF SVG Icon Picker handling and add backend notification for version requirement
  • Escape attributes in Select2 initialization for ACF fields
  • Correct parameter formatting in lazy loading function documentation
  • Update method documentation formatting in LemonPost and LemonSite references

โš™๏ธ Miscellaneous Tasksโ€‹

  • log_message() function now can output a start and end message to easier debug long running processes
  • Update dependencies in yarn.lock for Babel and Prettier packages
  • Add new documentation command to generate all references in one go

5.28.0 - 02 December 2024โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • Update custom post type labels and arguments for better localization and functionality
  • Add support for special log messages in log_message function
  • Move wp-lemon/action/body/after action to just before the body end tag in app.twig

๐Ÿ› Bug Fixesโ€‹

  • Fix todo block
  • Normalize version numbers in backend page

โš™๏ธ Miscellaneous Tasksโ€‹

  • Add additional variables to hooks in block-wrap.twig
  • Minor tweaks to icon font helpers
  • Update arrow icons in icon font
  • Update packages

5.27.0 - 22 November 2024โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • Add support for search/ui setting in Gravity Forms & Fluent Forms Custom Fields

๐Ÿ› Bug Fixesโ€‹

  • (blocks) Load larger images to prevent low quality images in node-latest and node-overview blocks
  • (css) Fix in css view of media-text block
  • Phpstan fixes

โš™๏ธ Miscellaneous Tasksโ€‹

  • Add stubs

5.26.2 - 13 November 2024โ€‹

๐Ÿ› Bug Fixesโ€‹

  • Fix label of pricing card field
  • Fix social icons class

โš™๏ธ Miscellaneous Tasksโ€‹

  • (css) Some css improvements
  • Update translations

5.26.1 - 11 November 2024โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • Allow compat with ACF icon picker 4.0

๐Ÿ› Bug Fixesโ€‹

  • Fix excerpt length

โš™๏ธ Miscellaneous Tasksโ€‹

  • Add variables to hooks

5.26.0 - 07 November 2024โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • Pass whole timber object to wp-lemon/filter/single/templates filter
  • Introduce new actions in block-wrap.twig to make it easier to extend blocks.

๐Ÿ› Bug Fixesโ€‹

  • Change live-search-results results key to posts to be consistent with the search.php file

๐Ÿšœ Refactorโ€‹

  • [breaking] Deprecate get_share_platforms in favor of get_shares to prevent mixing up functionality. When using wp-lemon/filter/share-context or wp-lemon/filter/socials-context its no longer recommended to change the icons via the 'icon' key but by setting only the class via 'icon_class'.
  • [breaking] Move button macro from helpers to elements, search for '.button(' in your codebase and add a import path called `{% import 'macros/elements.twig' as elements %}` to the top of the file. and change the prefix of .button to elements.button

โš™๏ธ Miscellaneous Tasksโ€‹

  • (css) Hide duplicate button from WPML inside the editor
  • Lint files
  • Cleanup unneeded extra query lookups when already provided by Timber
  • Update packages
  • Hide additional blocks from inserter for a more understandable content edit experience

5.25.0 - 24 October 2024โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • Add gravity forms select field to ACF

๐Ÿ› Bug Fixesโ€‹

  • (css) Fix job lists going horizontally instead of vertically.
  • (css) Remove css margin from contact-cta block
  • Fix issue in css where in rare cases, when the editor is loaded in iframe mode would contain unstyled buttons. Fixes #281
  • Fix a issue in the picture macro where passing an array instead of an idea could lead to a critical error.
  • Fix a bug where you could not overwrite the card to use inside other-items.twig anymore by setting card_type. This broke backward compatibility and is now fixed.

๐Ÿ“š Documentationโ€‹

  • Add proper docblock

5.24.0 - 16 October 2024โ€‹

๐Ÿ› Bug Fixesโ€‹

  • Remove stray character
  • Fixes empty excerpt when there is content present. We add all acf blocks by default now to allow to be searched for inner content. closes #276

๐Ÿ“š Documentationโ€‹

  • Better docblock above filter
  • Fix function reference
  • Fix doc generation

โš™๏ธ Miscellaneous Tasksโ€‹

  • Linting files
  • Update packages
  • Remove some oembed providers from default blocks
  • Update docs to proper tag
  • Add search replace step to fix docs building process

5.23.2 - 07 October 2024โ€‹

๐Ÿ› Bug Fixesโ€‹

  • (php) Fix missing method in card-grid block
  • The card type in other-items.twig could only be set once, this fixes that so each card type can be a different one if needed.
  • Fix search result not showing the excerpt

๐Ÿ“š Documentationโ€‹

  • Generate new docs and add them
  • Document filters

โš™๏ธ Miscellaneous Tasksโ€‹

  • Update packages

5.23.1 - 02 October 2024โ€‹

๐Ÿ› Bug Fixesโ€‹

  • Update compatibility with new live search and WPML
  • Fix share title filter not working in entry-footer.twig. Fixes #274
  • Fix missing e-mail share icon, closes #273

๐Ÿ“š Documentationโ€‹

  • Enhance filter documentation in PHP code. This is an ongoing process.

โš™๏ธ Miscellaneous Tasksโ€‹

  • Update twig templates to use default() fijlter for easier to understand code
  • Update template part naming
  • Update composer dependencies

5.23.0 - 30 September 2024โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • (js) Add trigger for starting cookie bar
  • Continue on LemonPost post class

๐Ÿšœ Refactorโ€‹

  • Refactor import paths for API helper functions in components
  • Refactor other-items.twig to set default value for holder_classes if not provided
  • Get_share_platforms function to accept a Post object or post ID

โš™๏ธ Miscellaneous Tasksโ€‹

  • Update scroll behavior in API helper function
  • Add additional arguments to node-overview query arguments filter. This makes it easier to alter the query based on field values and post type id.
  • Update analytics section description in customizer-fields.php
  • Update rector
  • Run linting

5.22.1 - 10 September 2024โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • Allow setting a amount of posts per page in the faq-highlight block

๐Ÿ› Bug Fixesโ€‹

  • Typos

โš™๏ธ Miscellaneous Tasksโ€‹

  • Update typos toml config
  • Update overwrite-icon function to handle icon variables with missing quotes

5.22.0 - 04 September 2024โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • Start with extended Post object class for wp-lemon usage.

๐Ÿ› Bug Fixesโ€‹

  • Update block appender/ button block alignment in editor
  • Make it easier to select the maps block in the editor for a better editing experience

โš™๏ธ Miscellaneous Tasksโ€‹

  • Add additional actions
  • Add parameter to related_faq_query function for specifying the number of items to query
  • Update packages

5.21.2 - 02 September 2024โ€‹

๐Ÿ› Bug Fixesโ€‹

  • Fix release version

๐Ÿ› Bug Fixesโ€‹

  • (a11y) Load cookiebar earlier in the HTML so its faster to tab to.
  • (js) Fixed a bug in the faq-search.js code where in rare conditions an element could not be found and thus the whole code would not run
  • (js) Allow menu.js running when no navCollapse is found
  • (php) Fixed a bug in the FAQ class where 0 results would cause an empty faq area instead of a notice that there were no results
  • Don't require highlighted faqs anymore so we can fall back on the default query

5.21.0 - 16 August 2024โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • Set filters for setting the base delay
  • Add anonymize_ip by default on the analytics integration

๐Ÿ› Bug Fixesโ€‹

  • Remove unneeded
  • Remove console debug statements in cookiebar.js

โš™๏ธ Miscellaneous Tasksโ€‹

  • Simplify cpt registration
  • Update packages
  • Update packages

5.20.0 - 12 August 2024โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • Add (beta) support for consent mode v2 in Google Tag Manager. There will be a guide on the docs website soon on how to implement consent mode v2 in your tagmanager. You can enable this feature in the Customizer settings.
  • Add conditional preferences checkbox to cookiebar

๐Ÿšœ Refactorโ€‹

  • Update conditional rendering for contact buttons in controller-helpers.php and contact-buttons.twig
  • Refactor the cookiebar to use localstorage instead of cookies

๐ŸŽจ Stylingโ€‹

  • Update button class in _wp-buttons.scss to reflect new theme-button style

5.19.0 - 05 August 2024โ€‹

๐Ÿ› Bug Fixesโ€‹

  • (css) Timeline block css now has better defaults regarding the flowing of labels and animations

๐Ÿ“š Documentationโ€‹

  • Rename function name to reflect what it actually does

โš™๏ธ Miscellaneous Tasksโ€‹

  • Complete removal of WooCommerce as started in 5.12.0, make sure you update to lemon-woo 1.10 or higher if you need WooCommerce functionality.
  • Update pot file

โ—€๏ธ Revertโ€‹

  • Revert creation of strings.twig file since twig translator plugin now works as expected

5.18.1 - 31 July 2024โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • Feat : Add card type filter in node-latest and node-overview blocks

๐Ÿ› Bug Fixesโ€‹

  • (scss) Add css margin between share label and share items
  • (scss) Timeline card date now flows correctly
  • Add proper class on card-grid that was missing
  • Prevent that classes in other-items.twig will overwrite child elements

โš™๏ธ Miscellaneous Tasksโ€‹

  • Prevent media.twig from querying existing Attachment objects when they are already available.

5.18.0 - 30 July 2024โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • Add possibility to add additional classes to the wrapper element inside other-items.twig file

๐Ÿ› Bug Fixesโ€‹

  • (theme.json) Remove default fonts sizes in editor
  • (twig) Fix an issue where images would render too small when no size was being set in the context
  • Remove unneeded .crd__content div from timeline-item-card
  • Fix a rare behavior in the format_phone_number API function where multiple () were applied when the country code (for example 31) was also somewhere else in the phonenumber.
  • Apply proper spaces format to the now updated add_spaces_to_phonenumber function
  • Fix(php) Enhance the add_spaces_to_phonenumber API function to now take an array in the proper order.

๐Ÿ“š Documentationโ€‹

  • Enhance docs for timber_file_paths function/action

โš™๏ธ Miscellaneous Tasksโ€‹

  • Package updates
  • Update dependencies

5.17.3 - 24 July 2024โ€‹

๐Ÿ› Bug Fixesโ€‹

  • Bedrock 1.24 does not support getenv & putenv anymore so we now use another way to get environment variables.
  • Fix critical error when get_latest_packagist_version couldn't fetch a version number for any reason.

5.17.2 - 03 July 2024โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • (blocks) In 5.17.0 we introduced a fix where the block editor will no longer add block IDs to every newly added block. This new extra feature will actively remove all block IDs from all blocks on that page when the item is saved in the editor and therefore improve the loading speed of the item.
  • Keep search query in search form when searching
  • Only add redirect rules when page is actually published

๐Ÿ› Bug Fixesโ€‹

  • (blocks) Removed required parameter from some fields

โš™๏ธ Miscellaneous Tasksโ€‹

  • Run the PHP generator of language files on the pre-release step automatically.
  • Update translations
  • Update checkout in changelog.yml

5.17.1 - 02 July 2024โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • Add feature to set card type per other item being loaded

๐Ÿ› Bug Fixesโ€‹

  • (content-card) Use addRelationship field instead of addPostObject field

5.17.0 - 01 July 2024โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • breaking Bumped Bulldozer version requirement to 5.0.0 in functions.php, please set your Bulldozer version to ^5.0 in your root composer.json file.
  • (acf/content-card) Add option to inherit a featured image from an existing post object
  • Introduce new @blocks directive.
  • Remove the need for Javascript evals() which are not save.

๐Ÿ› Bug Fixesโ€‹

  • (blocks) Only set parent block on accordion to prevent block cache not working. This feature will speed up the loading of the block editor once unneeded block IDs are removed. This will be added in a future release. You can already activally remove all blocks by running a search and replace on the wp_post table. You can run the following regex to remove all block IDs: /\,"id":"[a-z0-9]*"/ and leave the replace empty. Please make sure to backup your database before running this query.
  • (php) Add additional check if function exists in WP_Lemon\API\get_fluent_form
  • (twig) Show correct version of installed Bulldozer version in the wp-lemon backend page

โš™๏ธ Miscellaneous Tasksโ€‹

  • Set correct block directive in timeline-item block
  • Remove ACF json load path from parent theme since we are not using it
  • Package updates

5.16.2 - 18 June 2024โ€‹

๐Ÿ› Bug Fixesโ€‹

  • Fix regression in 5.16.1 where we check the wrong variable to see if there are posts in the generic ajax query.
  • Fix regression in 5.16.0 where special pages could sometimes not be added to context.

โš™๏ธ Miscellaneous Tasksโ€‹

  • Set default show title attribute in media.twig

5.16.1 - 14 June 2024โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • Add filter for current archive in navwalker

๐Ÿ› Bug Fixesโ€‹

  • (twig) Cards are not displaying the image anymore when set on page

  • Fix for dynamic blocks

  • Fix css layout faq list

  • Revert "fix: correct debugging"

This reverts commit 2e9a3a3b48bebf29df7b044cea08288bbb2cf183.

  • Generic ajax queries several fixes for extended queries

5.16.0 - 11 June 2024โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • Allow special pages to be external links as well
  • Added filter to set faq-related posts
  • Add 'textarea_to_array' to Timber/Twig as a filter. This filter will convert a textarea field to an array of lines.

๐Ÿ› Bug Fixesโ€‹

  • (php) Fix undefined error in node-latest block
  • (php) Fix google analytics (non-tagmanager) instances not being loaded since version 5.10.0

๐Ÿ“š Documentationโ€‹

  • Add filter documentation

โš™๏ธ Miscellaneous Tasksโ€‹

  • Fix codestyle
  • Update translations
  • Css fixes

5.15.1 - 03 June 2024โ€‹

๐Ÿ› Bug Fixesโ€‹

  • Fix twig files

5.15.0 - 03 June 2024โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • (twig) Work on new argument structure for picture elements
  • Continue on deprecating WooCommerce integration in wp-lemon. See release 5.12.0 for more information.

โš™๏ธ Miscellaneous Tasksโ€‹

  • Remove unneeded todo's

5.14.1 - 31 May 2024โ€‹

๐Ÿ› Bug Fixesโ€‹

  • (php) Remove open call dir from file paths

โš™๏ธ Miscellaneous Tasksโ€‹

  • (php) stronger typing for phpstan
  • Lint files

5.14.0 - 31 May 2024โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • (css) contact-buttons are now focusable and have an aria-label
  • (php) Start introducing named template locations. We will continue on this in upcoming releases.
  • (php) Fix exception message in get_site_information method
  • (css) use css gap instead of margin for footer menu items and icon lists

๐Ÿ› Bug Fixesโ€‹

  • (backend) Report proper version of Timber on the license page
  • (php) Set default heading level to 'h3' in Accordion_Item_Block class
  • (js) Disallow smooth scroll on Woocommerce anchors
  • (css) Add gap between items in footer menu

๐Ÿšœ Refactorโ€‹

  • (css) Improve focus styles for elements
  • (php) Refactor Generic_Ajax_Query class for better code organization and encapsulation

๐Ÿ“š Documentationโ€‹

  • (php) Return correct docblock class in log_error_message

โš™๏ธ Miscellaneous Tasksโ€‹

  • (css) Lint css files
  • Update npm dependencies and configuration files
  • Update translations

5.13.0 - 22 May 2024โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • (block) Accordion now has a setting to choose heading level of sub-items
  • (php) Enhanced output of taxonomy_post_collection collection, see documentation for more information
  • (block) Use enhanced output of taxonomy_post_collection() function to give understandable warnings when using the list view in the FAQ overview block and the categories or items are empty.
  • New textarea_to_array (timber) API function

๐Ÿ› Bug Fixesโ€‹

  • (css) Fix regression in block alignment in backend
  • (css) Update WP gallery styles for logo style and responsive columns
  • (css) Fix buttons being styled in footer

โš™๏ธ Miscellaneous Tasksโ€‹

  • (lang) Update translations
  • Run phpstan
  • Run spellchecker and fix typos in codebase
  • Add typos spellchecker

5.12.2 - 15 May 2024โ€‹

๐Ÿ› Bug Fixesโ€‹

  • Fix text direction in timeline cards
  • Fix shortcode defaults assignment in get_fluent_form function
  • Refactor remove_generated_webp function for better readability and error handling

5.12.1 - 08 May 2024โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • Update timeline styles to allow switching between how even/uneven items align. Also made the css smaller.

โš™๏ธ Miscellaneous Tasksโ€‹

  • Rename translate:makepot command to translate:make-pot

5.12.0 - 08 May 2024โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • breaking: Everything related to Woocommerce will slowly be moved to a separate plugin. This is the first step in that direction. You can add composer require satispress/lemon-woo to make the switch to this new feature plugin. Use the css variables to overwrite the given css. You can also safely remove all logic involving the Woocommerce cart. This will be handled by the new plugin. Please submit issues at the GitHub repository if you encounter any problems.

๐Ÿ› Bug Fixesโ€‹

  • Allow null on get_svg_icon function

๐Ÿ“š Documentationโ€‹

  • Update function documentation

โš™๏ธ Miscellaneous Tasksโ€‹

  • Update languages
  • Update to newer version
  • Lint files

5.11.0 - 26 April 2024โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • Allow fluentforms field to directly return a form instead of an id
  • Add additional parameters to get_fluent_form function to allow for theme and type to be set
  • Add make-php command
  • Add card types on all cards
  • Disable new font library feature of WordPress
  • Add Timber to license page

๐Ÿ› Bug Fixesโ€‹

  • (css) Remove unneeded margin when a block covers comes directly after a section with a background color.
  • (css) Add margin to fluent form if it is the last element directly in the .entry element
  • (twig) Remove spaceless filters because the caused errors with latest twig version
  • (css) Make underline visible in editor when needed
  • (css) Fix block alignment in backend on smaller devices

๐Ÿšœ Refactorโ€‹

  • Run rector and refactor codebase

๐Ÿ“š Documentationโ€‹

  • Add return types to functions

โš™๏ธ Miscellaneous Tasksโ€‹

  • Lint files
  • Bump required WordPress version to 6.5.0

5.10.4 - 02 April 2024โ€‹

๐Ÿ› Bug Fixesโ€‹

  • Fix missing text in crd-wrap.twig string due to bug in twig translator
  • Fix ordering in adjacent_post_info function when custom order plugins are in use.
  • If no file name is set in get_svg_icon, bail early.

5.10.3 - 22 March 2024โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • Rework of entry header

โš™๏ธ Miscellaneous Tasksโ€‹

  • Package updates

โ—€๏ธ Revertโ€‹

  • Caching of menus is not working as expected

5.10.2 - 21 March 2024โ€‹

โ—€๏ธ Revertโ€‹

  • Revert other caching

5.10.1 - 21 March 2024โ€‹

โ—€๏ธ Revertโ€‹

  • Revert caching on main files until we have a way to globally enable/disable caching

5.10.0 - 21 March 2024โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • Add card grid fix where colors would not be inherited
  • Cache part of site context
  • Add new WP actions to app.twig and head.twig to be compatible with modern WordPress standards.

๐Ÿ› Bug Fixesโ€‹

  • (css) Fix css property for form input
  • The image macro now orders the sizes from small to large and creates a right sizes attribute
  • Increase image size from 400 to 420 px to cover the 412px size for the lighthouse test
  • Set output path for webpack build the correct way

โš™๏ธ Miscellaneous Tasksโ€‹

  • Update dependencies
  • Update packages

Perfโ€‹

  • Cache twig output

5.9.0 - 14 March 2024โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • Extend wp-lemon/filter/card/' ~ card_type ~ '/picture-el filter
  • Add warnings about non-overwritable templates

๐Ÿ› Bug Fixesโ€‹

  • Minor css tweaks
  • Update translateion
  • Fix typo in translation command
  • Fix rare condition with custom post order plugins that the first post is also the last post.
  • Force 100% width to inner children
  • Remove unneeded phpstan warning
  • Optimize performance for ajax queries

๐Ÿ“š Documentationโ€‹

  • Enhance documentation in twig file

โš™๏ธ Miscellaneous Tasksโ€‹

  • Lint PHP files

Fixโ€‹

  • #259 get rid of error in the template

5.8.4 - 06 March 2024โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • (twig) Overwritable card holder classes in crd-wrap.twig
  • Several improvements how pages are displayed in preview mode. closes #257

5.8.3 - 05 March 2024โ€‹

๐Ÿ› Bug Fixesโ€‹

  • (css) Fix headings sizes breaking due to scss maps
  • (runner) Fix node version

5.8.2 - 05 March 2024โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • (css) Better configurable animations

๐Ÿ› Bug Fixesโ€‹

  • (css) Fix archive margin
  • Fix swiper configurations

โšก Enhancementsโ€‹

  • (js) Move trigger to api functions

โš™๏ธ Miscellaneous Tasksโ€‹

  • (actions) Update action runner

5.8.1 - 28 February 2024โ€‹

๐Ÿ› Bug Fixesโ€‹

  • Bump version to wp-lemon 5.8.1

โš™๏ธ Miscellaneous Tasksโ€‹

  • (build) Add new version script and move block build script to separate folder
  • Update languages

5.8.0 - 27 February 2024โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • (block) Add pagination option to carousel block
  • Smaller containers will give the smaller width to their children instead to the actual container
  • Add archive-content classes to each .row element for easier styling of archives in one place.
  • New wp-lemon/filter/core-blocks-to-allow filter added to create an allowlist of core blocks to be used in the editor this takes precedence over the wp-lemon/filter/core-blocks-to-remove filter when filled.

๐Ÿ› Bug Fixesโ€‹

  • (css) .share-buttons padding to margin for better flow
  • (css) Fix link hover color
  • Add proper quotes around tagmanager
  • Run WP_Lemon_Site::prepare_site_information later in the lifecycle
  • Hide notice for "do not translate field" for fields in non-native languages. This is because block fields cannot be translated in the blockeditor.
  • Hide pagination in editor

5.7.1 - 19 February 2024โ€‹

๐Ÿ› Bug Fixesโ€‹

  • (css) Minor css fix for accordion item
  • Fix wrong icon path in icon path filter
  • Fix license page error

5.7.0 - โค๏ธ 14 February 2024โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • (php/css) [breaking] More consistent archive classes in menu: current-active-archive renamed to is-archive--active archive-{{name}} renamed to is-archive--{{name}} additional class is-archive added

BREAKING CHANGE: classes have been changed, please check your codebase if you rely on these classes and if so, change accordingly.

  • Full integration of acf icon plugin, you can now use get*svg_icon('icon-name') to get an svg icon from the acf icon plugin. If you have this integration setup yourself, we recommend to remove it and use the new get_svg_icon function and remove the filters starting with acf_icon
  • Add Bulldozer package information

๐Ÿ› Bug Fixesโ€‹

  • Allow overwrites of body background in editor.scss
  • Better ordering of scss vars
  • Better carousel defaults

โš™๏ธ Miscellaneous Tasksโ€‹

  • Bump required bulldozer version to 4.4.0, please update your bulldozer version
  • Update packages
  • Remove unused import
  • Update the way Timber handles the extension of functions and filters nowwayday
  • Update packages

5.6.0 - 09 February 2024โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • (js) Add new findParentBlock function to find the parent acf block
  • New block TODO added. New block added to track development/content process while the website is still under construction. This block will only be shown in development/staging environments and will be hidden from the block inserter
  • Is_preview twig function added for usage in macros
  • Allow content in widget when menu is active
  • Fully qualify name in add_fields methods in the acf blocks so that IDE's can autocomplete the fields

๐Ÿ› Bug Fixesโ€‹

  • (css) Fix ghost button in contrast mode
  • (twig) Fix language switcher dropdown issues
  • Fix text alignment in circle-text block
  • Add lazy to footer logo

โš™๏ธ Miscellaneous Tasksโ€‹

  • Cleanup blocks
  • Update packages
  • Lint files

โšก Enhancementsโ€‹

  • Loading strategy via wp_enqueue_script tags
  • Better logic for checking the password protected template

5.5.1 - 25 January 2024โ€‹

๐Ÿ› Bug Fixesโ€‹

  • (php) First check if object is available in archive.js
  • (php) Enhanced adjacent_post_info function

5.5.0 - 23 January 2024โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • [breaking] Twitter to X, Thanks Elon.. If you've overwritten the social icons to show in the share or social macros, please change the name to x.
  • (tracking) Able to easily add Tagmananager or Analytics tracking via the theme settings
  • Translations are now managed via wp-i18n-twig

๐Ÿ› Bug Fixesโ€‹

  • (css) Theme-button--ghost now inherits correct outline styles
  • (js) Trigger cookiebar event based on consent type
  • (js) Better domReady function
  • (php) Proper check to see if the array is empty or not in the taxonomy_post_collection function
  • Block_id was being inherited by cards that were used in loops. Variable now renamed to card_id
  • Better naming for cookie setting

5.4.0 - 16 January 2024โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • get_attachment_info API function added

๐Ÿ› Bug Fixesโ€‹

  • (js) Don't inject analytics script when there is no consent given for analytics.

โš™๏ธ Miscellaneous Tasksโ€‹

  • Update cookiebar.js to use api function trigger() to dispatch cookiebar events.
  • Update packages
  • Update phpcs version
  • Use supported version of prettier melody

5.3.2 - 29 December 2023โ€‹

๐Ÿ› Bug Fixesโ€‹

  • (twig) Fixed missing information in faq-overview.twig
  • (php) Fixed a bug in taxonomy_post_collection and made the query faster
  • (twig) filterable animations for cards as well

โš™๏ธ Miscellaneous Tasksโ€‹

  • Update packages
  • Lint php files

5.3.1 - 21 December 2023โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • (blocks) Add filters to hide all animations at once

๐Ÿ› Bug Fixesโ€‹

  • (php) On vanilla wp, only show license notice when noindex is false
  • (ci) Fix GitHub actions

5.3.0 - 18 December 2023โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • (blocks) Node overview is only allowed on pages
  • (php) When the autoloader is not yet loaded, load in from the site root.
  • (php) Map block now uses the place_id over address
  • (twig) Add additional extendable blocks for a more fluent way to extend custom cards.

๐Ÿ› Bug Fixesโ€‹

  • (css) Use proper css class
  • (twig) Remove stray class
  • (twig) Remove extra span tag

5.2.3 - 13 December 2023โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • (php) Add zoom level option to map block

๐Ÿ› Bug Fixesโ€‹

  • (css) Overwrite text alignment on card level
  • (css) Set bigger specificity
  • (css) Remove specificity
  • Overwrite Woo's prevent admin check

โš™๏ธ Miscellaneous Tasksโ€‹

  • Reorder functions

5.2.2 - 08 December 2023โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • (twig) New apply_filters_deprecated filter added
  • (twig) renamed filters in entry-footer.twig to be more consistent and deprecated old filters.
  • (php) remove caching from widgets
  • (php) add a default title to maps block to comply with wcag, Fixes #248

๐Ÿ› Bug Fixesโ€‹

  • (js) Importing unregisterPlugin
  • (php) Added new editor_css function that hooks into enqueue_block_assets to load styles in the block editor iframe, Fixes #249
  • (twig) Added spaceless filter to remove extra whitespaces in editor that caused a react warning in the editor
  • Fix label filter
  • Change domready in opening hours block

๐Ÿ“š Documentationโ€‹

  • Document hooks

โš™๏ธ Miscellaneous Tasksโ€‹

  • Remove unneeded js translation
  • Chore(translations) updated translations
  • Rename variable

5.2.1 - 06 December 2023โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • (PHP/Twig) New apply_filters_deprecated filter added
  • (twig) renamed filters in entry-footer.twig to be more consistent and deprecate old filters.
  • (PHP) remove caching from widgets
  • (PHP/Twig) add a default title to maps block iframe to comply with WCAG, fixes #248

๐Ÿ› Bug Fixesโ€‹

  • Change domready in opening hours block

โš™๏ธ Miscellaneous Tasksโ€‹

  • Removed unneeded js translation task in package.json
  • Updated Dutch translations

5.2.0 - 21 November 2023โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • Updated Bulldozer required version to 4.1.0
  • New block opening-hours added, this will only be loaded when Rank Math is active

๐Ÿ› Bug Fixesโ€‹

  • (js) Add element as detail to eventHandler
  • (php) Fixed WordPress 6.4 deprecation in functions.php
  • (php) Reset array if more then one value in theme.php

5.1.0 - 20 November 2023โ€‹

โ›ฐ๏ธ Featuresโ€‹

  • [breaking] wp-button component now has the theme-button class added. Outline buttons also get the modifier class theme-button--ghost. This makes it easier to style default button components as well as gutenberg buttons the same way. Make sure you check your custom button css to see if it is still needed/works.
  • (php) Add modifier class to body when on a custom archive page
  • (php) HTML classes now are more easily filterable via bootstrap_navwalker nav_menu_link_attributes filter
  • (js) Add custom event dispatcher in search.js, menu.js and dropdown.js
  • (lang) updated languages
  • (css) Footer update - Realized by section of footer is now less intrusive
  • (css) partially revert changes to remove default font weight in favor of a variable.
  • (js) New eventHandler function added
  • (Twig) Background images in sections now scale to 100vw
  • (Twig) Remove deprecated action
  • Add automatic changelog generation

๐Ÿ› Bug Fixesโ€‹

  • (css) Overwrite css value of button when parent text color is set.
  • (css) Set proper flex direction in .img-container
  • (css) make headings scale the same way in the backend as in the frontend

๐ŸŽจ Stylingโ€‹

  • Better default .theme-button-row
  • Better default ghost buttons

5.0.2:โ€‹

Release Date - 13 november 2023

  • ๐Ÿ› Bugs Fixed
    • PHP - Temporary fix added for Timber 2.0.0 bug where the wrong twig files would be loaded when you want to overwrite a twig file from the parent theme.
    • SCSS - Fix section background color in contrast mode.

5.0.1:โ€‹

Release Date - 13 november 2023

  • โœจ Enhanced
    • Workflow - run changelog sync separately from build
  • ๐Ÿ› Bugs Fixed
    • PHP - Update return type of query API functions to be more specific
    • PHP - load correct dependencies for lock-reusable-block.js
    • PHP - Fix array_map function in faq-highlight.php block
    • PHP - Merge in full color settings from palette.json
    • Twig - fix deprecated Image call in media.twig

5.0.0:โ€‹

Release Date - 10 november 2023

  • โ›๏ธ Breaking

    • JS bp_site is renamed to wpLemon to be more consistent with the rest of the codebase. Please update your own javascript functions accordingly.
    • Minimal PHP version is now 8.1
    • Timber 2.0 introduces breaking changes. Most of them are handled by wp-lemon but please check your child theme Timber calls to see if they are still valid. Also check your debug.log for any errors or deprecation notices.
    • Swiper is updated to 11.x
  • ๐Ÿ’ก Newly added

    • wp-lemon now uses Timber 2.0 which is way more modern then Timber 1. See upgrade guide. We updated wp-lemon to be fully compatible with Timber 2.0
  • โœจ Enhanced

    • Frontend translations are now handles via wp_localize_script instead of i18n.js. This leads to ~600kb less files loaded on the frontend.
  • ๐Ÿ“‹ Docs

    • Documentation is updated
    • Changelogs are now generated automatically for all major versions. See changelog

All changelogs by major versionโ€‹