Releases: reachweb/statamic-livewire-filters
Releases · reachweb/statamic-livewire-filters
v2.5.0
v2.4.0
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
andactive
variables in theentries-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 thestatamic-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 tomarcorieser/statamic-livewire
as @marcorieser is the new maintainer.
v2.3.2
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
- Fixed an issue that was caused by the
LivewireCollection
component responding too slowly when adding filter params. - Removed the
command
property from thefilters-updated
event and cleaned up the code. - Fixed removing a filter from the
LfTags
component when theselected
value was an array.
v2.3.0
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
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
- New Feature: Filter options are now sortable. For more information, see the documentation on sorting filter values.
- Documentation: Added a "Common Issues" page to the docs cover common misconfigurations and other issues.
v2.0.1
- Fixed getting the correct options for array based fields since Statamic changed the way they are saved in statamic/cms#10467
v2.0.0
v1.8.1
- 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 thefields
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.