algolia icon indicating copy to clipboard operation
algolia copied to clipboard

Update dependency algoliasearch to v4.25.3

Open renovate[bot] opened this issue 2 years ago • 1 comments

This PR contains the following updates:

Package Change Age Confidence
algoliasearch (source) 4.20.04.25.3 age confidence

Release Notes

algolia/algoliasearch-client-javascript (algoliasearch)

v4.25.3

Compare Source

v4.25.2

Compare Source

v4.25.1

Compare Source

4.25.0 release is broken, please use 4.25.1

v4.25.0

Compare Source

v4.24.0

Compare Source

v4.23.3

Compare Source

v4.23.2

Compare Source

v4.23.1

Compare Source

v4.23.0

Compare Source

v4.22.1

Compare Source

v4.22.0

Compare Source

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(/**/)

v4.21.1

Compare Source

v4.21.0

Compare Source


Configuration

📅 Schedule: Branch creation - Monday through Friday ( * * * * 1-5 ) (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • [ ] If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

renovate[bot] avatar Dec 13 '23 18:12 renovate[bot]