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.1.0 to 4.22.0 #114

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

Conversation

Chrissy
Copy link
Owner

@Chrissy Chrissy commented Jan 10, 2024

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


Snyk has created this PR to upgrade algoliasearch from 4.1.0 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 46 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
  • 4.9.0 - 2021-04-13
  • 4.8.6 - 2021-03-08
  • 4.8.5 - 2021-02-08
  • 4.8.4 - 2021-01-20
  • 4.8.3 - 2020-12-03
  • 4.8.2 - 2020-11-26
  • 4.8.1 - 2020-11-25
  • 4.8.0 - 2020-11-19
  • 4.7.0 - 2020-11-16
  • 4.6.0 - 2020-11-02
  • 4.5.1 - 2020-09-14
  • 4.5.0 - 2020-09-14
  • 4.4.0 - 2020-08-06
  • 4.3.1 - 2020-07-20
  • 4.3.0 - 2020-06-11
  • 4.2.0 - 2020-04-21
  • 4.1.0 - 2020-03-09
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

Copy link

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

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