Hi there,
Yes, out of box we still have version 0.38.x as the default. We have yet to either figure out an easy way to seamlessly upgrade everyone, or just accept the proverbial bandaid needing ripped off.
I know we have this branch https://github.com/WebDevStudios/wp-search-with-algolia/tree/feature/272-autocomplete-upgrade where we started working offering a version picker, but it does need a refresh from the looks of things.
We have this open issue with deeper discussion as well https://github.com/WebDevStudios/wp-search-with-algolia/issues/232
For example, the biggest hurdle is that we won’t be able to automatically attach ourselves to a given theme’s search field. This is because of this change from Autocomplete:
<!-- Autocomplete v0.x -->
<input id="autocomplete" />
<!-- Autocomplete v1.x -->
<div id="autocomplete"></div>
For example we presently target the search field with this selector:
input[name='s']:not(.no-autocomplete):not(#adminbar-search)
Based on how WordPress search works, that name selector is pretty ubiquitous.
Once upgraded, each site owner is going to need to drop in <div id="autocomplete"></div> spot themselves, as well as take care of any new styling issues that come from this HTML markup change.
OK. Thanks for the links and details. Definitely helpful. Seems there is more time we will need to work on this for our site.
We also need to return to working on getting that branch ready as a feature, to be honest. I know there’s a good amount of clamoring for the new Autocomplete because of details like analytics and event tracking.
Can you put us on your list for testing/early notice? Thanks
We don’t really have a great setup at the moment for reaching out to people manually, so the best thing to do would be to keep an eye on the repo itself on GitHub, and most specifically this PR:
https://github.com/WebDevStudios/wp-search-with-algolia/pull/370
Admittedly as well, I’m curious how well the current PR would work, as is, outside of some potential needs to run some composer and npm commands. I know we’ve had a handful of releases since then for the .org copy of file structure, but none of those are touching autocomplete things either. Just some thoughts.