Skip to content

Releases: reachweb/statamic-livewire-filters

v2.5.0

26 Feb 16:34
Compare
Choose a tag to compare
  • Laravel 12 support

v2.4.0

10 Feb 18:45
Compare
Choose a tag to compare

New features

  • Lazy Loading: The LivewireCollection component now supports lazy loading. Read about it in the docs as well as in Livewire's docs.
  • LfCount component and count and active variables in the entries-updates event. Read more here. Thanks to @pixelastronauts for this feature.
  • Added a method to allow clearing all filters at once and added a "Clear all" button in LfTags. Again, more info can be found in the docs.

Fixes

  • Fixed multi-site queries by using the RestoreCurrentSite trait from the statamic-livewire package. Thanks to @taylanunutmaz and @Biostate for bringing this to my attention.
  • Fixed an issue with LfTags when mutliple query scopes were used.
  • Fixed an error that caused LivewireCollection to render twice when values were preset.
  • Added a command to publish the language file.

Other

  • New Tips and Performance page in the docs that will contain some tips and best practices.
  • Changed the statamic-livewire package installed to marcorieser/statamic-livewire as @marcorieser is the new maintainer.

v2.3.2

10 Nov 20:27
Compare
Choose a tag to compare

Fixed a few issues regarding query scopes:

  • You can now apply more than one query scope at a time. (before the key would have been overridden)
  • You can preset a query scope in the LivewireCollection tag and another one in the URL and they will both be correctly preset.
  • The Multiselect can now apply for more than one field (previously it only applied randomly for the first).
  • The Resrv query scope is now recognized so that it doesn't try to implode the search array.

If you are not using query scopes or Resrv you can safely skip this release.

v2.3.1

07 Nov 13:36
Compare
Choose a tag to compare
  • Fixed an issue that was caused by the LivewireCollection component responding too slowly when adding filter params.
  • Removed the command property from the filters-updated event and cleaned up the code.
  • Fixed removing a filter from the LfTags component when the selected value was an array.

v2.3.0

06 Nov 13:53
Compare
Choose a tag to compare

New filter: Dual Range Filter

A brand new custom build Livewire component that uses a slider to let the user filter entries that fall into the specified values range.
More information and documentation: https://livewirefilters.com/docs/v1/dual-range-filter

  • Fix: The LfRangeFilter was causing double rendering of the LivewireCollection component (#20). This is now fixed and the default property is deprecated. (you can set a default value in the LivewireCollection component itself)

v2.2.0

02 Nov 17:26
Compare
Choose a tag to compare

New feature: Custom URL Query String

Statamic Livewire Filters can now generate easy to read, SEO-friendly URLs when the user is using the filtering system.

Read the docs: https://livewirefilters.com/docs/v1/url-query-string#content-using-livewires-url-query-parameters
Live demo: https://livewirefilters.com/docs/v1/advanced-example/search/brand/citroen,toyota,vw/categories/crossover-suv/transmission/automaticTransmission

v2.1.0

28 Oct 08:50
d3a8021
Compare
Choose a tag to compare

v2.0.1

17 Oct 07:56
Compare
Choose a tag to compare
  • Fixed getting the correct options for array based fields since Statamic changed the way they are saved in statamic/cms#10467

v2.0.0

13 May 09:24
Compare
Choose a tag to compare
  • Statamic v5 and Laravel v11 support.

v1.8.1

26 Apr 17:15
Compare
Choose a tag to compare
  • FIX Added some filtering to the LfTags Livewire component so that it ignores parameters that don't contain the : character and are probably not filter conditions.
  • FIX The LfTags component now ignores completely fields not in the fields property. This approach is better as before it would display filtering you might have been doing using the tag but do not offer to the user to adjust.