X Buy Features Demo (Cars) Demo (Power Plants) Demo (Map) Showcase Add-ons Docs Changelog

What’s new in FacetWP 3.8

FacetWP is a major rewrite that contains some potentially breaking changes, especially if you’re using any custom hooks that depend on jQuery. Please make sure to test 3.8 on a staging site.

Removal of jQuery dependency

FacetWP 3.8 no longer requires jQuery. We’ve added a UI setting to let you continue loading jQuery if needed (for backwards compatibility).

New JS helper library

There are still some jQuery methods that are better / less verbose than their (ES6) equivalents. For those cases, we built a small javascript utility library (called fUtil) to fill in the gaps. fUtil includes methods such as .each(), .find(), .on(), .off(), .trigger(), and .clone().

For .each(), jQuery uses (key, val), but fUtil and native JS both use (val, key). This ordering difference means that you may need to tweak any custom jQuery loops.

fUtil is less than 2KB minified, compared with jQuery + Migrate which adds up to ~35KB.

More JS rewrites

Other highlights

Need to downgrade?

This is a major update, so we wanted to provide a way to downgrade if needed. You can download the prior version (3.7.4) within the facetwp.com account dashboard.