This repository has been archived by the owner on Dec 30, 2022. It is now read-only.
Releases: algolia/vue-instantsearch
Releases · algolia/vue-instantsearch
v4.3.0
v4.2.0
v4.1.1
v4.1.0
v4.0.1
v4.0.0
4.0.0 (2021-08-23)
Vue InstantSearch now supports Vue 3 (#990).
It has a few breaking changes that you can easily migrate. You can read the upgrade guide.
You can try these examples:
- Vue 3 + Vue CLI: GitHub | CodeSandbox
- Vue 3 + Vite: GitHub
- Vue 3 + SSR + Vue CLI: GitHub
- Vue 3 + SSR + Vite: GitHub
v4.0.0-beta.3
4.0.0-beta.3 (2021-08-20)
Bug Fixes
v4.0.0-beta.2
4.0.0-beta.2 (2021-08-19)
Bug Fixes
v4.0.0-beta.1
4.0.0-beta.1 (2021-07-29)
Vue InstantSearch now supports Vue 3.
Breaking Change for Vue 2 users with SSR
From now on, Vue InstantSearch dynamically imports vue-server-renderer/basic
instead of require()
.
- If you're using CJS output of Vue InstantSearch, it doesn't change anything for you because it gets transpiled to
require
for CJS output. - If you're using ESM output, it should probably be okay. We've tested "dynamic import" with Vue 2 (vue-cli) and Nuxt and it worked fine.
If you have different setup or use different bundler, you may check if it still works for you. If not, please create an issue with a reproducible example.
For Vue 3 users
Vue InstantSearch includes two packages, one for vue 2 and another one for vue 3. So for vue 3, you need to import with this path:
import InstantSearch from 'vue-instantsearch/dist/vue3/es';
Regarding vue-router@v4
If you migrate your vue-router
to v4 along with vue 3, you need to replace
vueRouter.currentRoute.query
with
vueRouter.currentRoute.value.query
due to its change.