It’s a been a long time since the last release! Today we are happy to announce two releases:
The first one is the version v5.1.0 released in May with an exciting new feature:
searchClient: this new prop on the
InstantSearch component enables to provide a custom search client. With this prop we can now use React InstantSearch with your own backend. You can find a guide in our documentation where you can learn how to implement your own client.
Today we also release a new version v5.2.0 that comes with a new connector and a new widget:
connectGeoSearch: this connector provides the logic to plug any map provider to React InstantSearch. The connector provides an API to display the results on a map but also to refine the search from the map. You can find more information in the documentation.
<GeoSearch />: this widget is a Google Maps implementation of the connector
connectGeoSearch. It displays the results on a Google Maps but it also provide ways to control how the refinement occurs with the map. You can find more information in the documentation.
With this release come also a complete revamp of the package structure. We have now two dedicated packages that target each platform DOM & Native:
react-instantsearch-dom: contains all the DOM widgets along with the connectors
react-instantsearch-native: contains all the Native widgets along with the connectors
This rework of the package structure should be completely transparent to you because the previous package is still published and updated for backward compatibility. But we encourage all of our users to switch to the new ones. You can read more informations about the motivations and the migration path in the documentation.
You can find the full changelog of those versions on GitHub. If you have any troubles with the migration process or have a feedback please share it with us on Discourse or Github.