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(helper): remove searchOnce callback #6563

Merged
merged 3 commits into from
Feb 17, 2025
Merged

Conversation

Haroenv
Copy link
Contributor

@Haroenv Haroenv commented Feb 17, 2025

Summary

remove the callback from searchOnce
remove a bit of dead code

Result

Only promise is returned and no callback argument is accepted

BREAKING CHANGE: helper.searchOnce no longer accepts a callback, only promise is returned

Only promise is returned and no callback argument is accepted
@Haroenv Haroenv added this to the instantsearch.js v5 milestone Feb 17, 2025
@Haroenv Haroenv requested review from a team, sarahdayan and shaejaz and removed request for a team February 17, 2025 10:35
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 30ebe7d:

Sandbox Source
example-instantsearch-getting-started Configuration
example-react-instantsearch-getting-started Configuration
example-react-instantsearch-next-app-dir-example Configuration
example-react-instantsearch-next-routing-example Configuration
example-vue-instantsearch-getting-started Configuration

@Haroenv Haroenv merged commit c3d4845 into next Feb 17, 2025
10 checks passed
@Haroenv Haroenv deleted the fix/helper-remove-search-once branch February 17, 2025 15:59
Haroenv added a commit that referenced this pull request Feb 17, 2025
* feat(helper): remove searchOnce callback

BREAKING CHANGE: helper.searchOnce no longer accepts a callback, only promise is returned
Haroenv added a commit that referenced this pull request Feb 18, 2025
* feat(helper): remove searchOnce callback

BREAKING CHANGE: helper.searchOnce no longer accepts a callback, only promise is returned
Haroenv added a commit that referenced this pull request Feb 18, 2025
* feat(helper): remove searchOnce callback

BREAKING CHANGE: helper.searchOnce no longer accepts a callback, only promise is returned
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.

2 participants