4.1

  • October 4, 2022
  • Improved tweaked admin UI styling
  • Improved slider - prefix / suffix fields are now translatable via `facetwp_i18n`
  • Improved slider - better styling for the disabled state
  • Improved fUtil lib now supports `.prepend`
  • Fixed checkboxes - choices ordered incorrectly when "Preserve ghosts order" was combined with "Highest count" sort
  • Fixed improved back-compat for the `get_filtered_post_ids` method

4.0.9

  • Sept 15, 2022
  • Fixed query builder - issue when filtering by custom field values
  • Fixed listing builder - move `display: grid` CSS inline to prevent layout shifts

4.0.8

  • Sept 7, 2022
  • Improved revamped the "User selections" logic for number/date range facets
  • Improved refined the sort logic, modified the new `facetwp_facet_sort_options` hook slightly
  • Improved slider facet - display the UI even when only 1 available choice
  • Improved customized noUiSlider.js lib to support `data-disabled` attribute (long story)
  • Improved listing builder - added `post:title` dynamic tag
  • Improved listing builder - renamed "Name" setting to "Unique name" and added tooltip
  • Improved added label to range facet "Compare type" setting
  • Improved fSelect lib - don't auto-focus the search box on touch devices
  • Improved cache the row counts lookup
  • Fixed prevent PHP notices when indexing proximity facets (props @mgratch)
  • Fixed PHP notice caused by undefined `$exists_clause`
  • Fixed fSelect "No results" text wasn't appearing
  • Fixed reset facet didn't reset pager or sort

4.0.7

  • August 25, 2022
  • New `facetwp_facet_sort_options` hook for Sort facets (mimics behavior of the "old" sort feature)
  • Improved display WP compatibility data for update checks
  • Improved auto-ignore "nav_menu_item" and "wp_block" post types
  • Improved number range - when input is focused, Enter key now triggers a refresh
  • Fixed fComplete library - prefix the "hidden" class to prevent conflicts
  • Fixed PHP error when using the API `fetch` method

4.0.6

  • August 15, 2022
  • Improved refactored sort logic
  • Improved multisite update notification support
  • Improved a11y - allow for translations of pager-related ARIA attributes
  • Improved query builder - added `EMPTY` and `NOT EMPTY` clauses to the query filter UI
  • Fixed admin UI styling tweaks (font sizes)
  • Updated translations

4.0.5

  • July 22, 2022
  • Improved Query builder styling tweaks
  • Improved value modifiers UI setting supports both HTML entities (e.g. & copy;) and symbols (e.g. ©)
  • Fixed prevent scrollbar shift when using the actions popup (on the facet/template listing screens)
  • Fixed layout builder - `date_format` and `input_format` settings should have a default value
  • Fixed prevent manual indexing issues when the `facetwp_indexer_is_enabled` hook is false
  • Updated VueJS, SortableJS, noUiSlider, and vue-select

4.0.4

  • July 5, 2022
  • Fixed prevent facets from being named `labels` to prevent issues
  • Fixed ignore non-facet (i.e. custom) fSelects

4.0.3

  • June 6, 2022
  • New slider facets - added "Reset text" UI setting
  • Improved admin - only show "Compare type" setting when "Other data source" is used
  • Fixed formatting bug preventing sliders from loading properly

4.0.2

  • May 31, 2022
  • New `facetwp_builder_query_data` hook
  • Improved proximity facets are now up to 40x faster (props And)
  • Improved slider - support "Enclose" compare type
  • Improved added `FWP.response` JS object containing ajax response data
  • Improved Query builder - better styling of vue-select (dropdown) inputs
  • Improved apply `facetwp_facet_display_value` hook to dropdown and fselect facets
  • Fixed moved the `facetwp/set_options/slider` JS hook (allows for "range" to be overriden)
  • Fixed admin - prevent 3rd party menus from moving the top nav bar

4.0.1

  • May 2, 2022
  • Improved admin UI - display facet / template names in the list tables
  • Improved support value-less shortcode atts, e.g. `[facetwp template="test" static]`
  • Fixed prevent reset facets from resetting other reset facets (reset-ception)
  • Fixed sort facet - make default label translatable via `facetwp_i18n` hook
  • Fixed CSS issue when using multiple FacetWP (shortcode) listings on a page
  • Fixed CSS issue preventing listing builder's default 1-column mobile layout
  • Fixed restore a11y compat for the "old" sort feature
  • Fixed counts shortcode display issue when per_page = -1
  • Fixed cast page numbers as `int` for FWP()->facet->pager_args

4.0

  • Apr 18, 2022
  • Important FacetWP 4.0 requires PHP 7.0 or above
  • New Reset facets
  • New support for WP Rocket
  • New support for multiple (static) FacetWP templates on a page
  • New ability to duplicate facets/templates from the admin listing
  • New ability to copy facet/template shortcodes from the admin listing
  • New added `post:image` dynamic tag to the Listing Builder
  • New `facetwp_facet_pager_link` hook to customize the pager output
  • Improved much better Listing Builder admin UI
  • Improved tweaked the order of the "Data source" options
  • Improved added `span` around checkbox / radio display values
  • Improved admin.css uses CSS variables to standardize colors
  • Improved better admin UI tooltip help text
  • Improved a11y - better support for pager and sort facets
  • Improved pager - "Per page" facets support a "Show All" option
  • Improved facetwp_display() now supports an optional 3rd argument ($atts)
  • Improved allow sort labels to be translated using `facetwp_i18n`
  • Improved made the admin tooltip UI less subtle
  • Improved renamed "Templates" to "Listings"
  • Fixed sort facet choices by depth only when hierarchical
  • Fixed sort facets should override the default relevancy sort when in use
  • Fixed autocomplete - the UI should adhere to the `facetwp_facet_autocomplete_limit` hook
  • Fixed star rating facets work with the "Hide empty facets" tutorial
  • Fixed issue with multiple EDD `[downloads]` shortcodes on a page
  • Fixed remove Reset and Sort facets from the "User selections" list
  • Fixed prevent duplicate refreshes when using custom fSelect elements
  • Fixed fSelect - when "Hierarchical" setting is off, ignore depth to prevent display issues
  • Updated noUiSlider
  • Updated package.json

See also