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

[Snyk] Upgrade algoliasearch from 4.9.1 to 4.22.0 #21

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jacksonbinh4
Copy link
Owner

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to upgrade algoliasearch from 4.9.1 to 4.22.0.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 29 versions ahead of your current version.
  • The recommended version was released a month ago, on 2023-12-14.
Release notes
Package name: algoliasearch
  • 4.22.0 - 2023-12-14

    v4.22.0

    • fix(recommend): update TrendingFacetHit facetValue type to string (#1498) (ac9d6e2), closes #1498

    Why

    The trending-facets API only returns type string for facetValue.

    A follow-up on #1494 as other models return items/hits which are of type RecordWithObjectID

    However, trending-facets model returns a list of TrendingFacetHit which (by definition) don't have an objectID property.

    How

    To simplify the code, we can remove the type argument TObject for trending-facets

    Impact

    If you're not using TypeScript or the trending-facets model, there is nothing to change. You can ignore the following.

    Otherwise, you will need to remove the type argument passed to getTrendingFacets and the code goes from this:

    type FacetType = {
      facetName: string;
      facetValue: string;
    }
    const { results } = await client.getTrendingFacets<FacetType>(/**/)

    To this:

    const { results } = await client.getTrendingFacets(/**/)
  • 4.21.1 - 2023-12-12

    v4.21.1

    • fix(recommend): RecommendedForYouQuery userToken should be required (#1496) (d20b253), closes #1496
  • 4.21.0 - 2023-12-11

    v4.21.0

  • 4.20.0 - 2023-09-12
  • 4.19.1 - 2023-07-20
  • 4.19.0 - 2023-07-18
  • 4.18.0 - 2023-06-23
  • 4.17.2 - 2023-06-08
  • 4.17.1 - 2023-05-24
  • 4.17.0 - 2023-04-03
  • 4.16.0 - 2023-03-23
  • 4.15.0 - 2023-03-02
  • 4.14.3 - 2022-12-19
  • 4.14.2 - 2022-07-27
  • 4.14.1 - 2022-07-20
  • 4.14.0 - 2022-07-18
  • 4.13.1 - 2022-05-18
  • 4.13.0 - 2022-03-14
  • 4.12.2 - 2022-03-02
  • 4.12.1 - 2022-01-28
  • 4.12.0 - 2022-01-07
  • 4.11.0 - 2021-10-20
  • 4.10.5 - 2021-08-26
  • 4.10.4 - 2021-08-23
  • 4.10.3 - 2021-07-05
  • 4.10.2 - 2021-06-23
  • 4.10.0 - 2021-06-23
  • 4.9.3 - 2021-06-15
  • 4.9.2 - 2021-06-10
  • 4.9.1 - 2021-04-26
from algoliasearch GitHub release notes

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

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