Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Upgrade algoliasearch v5 #219

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open

feat: Upgrade algoliasearch v5 #219

wants to merge 3 commits into from

Conversation

htuzel
Copy link
Collaborator

@htuzel htuzel commented Jan 14, 2025

What is changed

  • Updated algoliasearch package from version 4.24.0 to 5.19.0.
  • Updated instantsearch.js and instantsearch.css to versions 4.75.7 and 8.5.1 respectively.
  • Refactored file paths in copy-files-from-to.json to reflect new library structure.

- Updated `algoliasearch` package from version 4.24.0 to 5.19.0.
- Updated `instantsearch.js` and `instantsearch.css` to versions 4.75.7 and 8.5.1 respectively.
- Refactored file paths in `copy-files-from-to.json` to reflect new library structure.
- Changed import statement for `algoliasearch` to destructured format.
- Updated test setup to use `client.searchSingleIndex` instead of `index.search` for improved clarity and alignment with the latest Algolia API.
- Adjusted search parameters to utilize the environment variable for index name.

These changes enhance the maintainability and readability of the test code while ensuring compatibility with the updated Algolia library.
@htuzel htuzel self-assigned this Jan 14, 2025
@htuzel htuzel requested a review from sbellone January 17, 2025 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant