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

fix(deps): update module github.com/meilisearch/meilisearch-go to v0.28.0 #7061

Merged
merged 1 commit into from
Aug 21, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 21, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/meilisearch/meilisearch-go v0.27.2 -> v0.28.0 age adoption passing confidence

Release Notes

meilisearch/meilisearch-go (github.com/meilisearch/meilisearch-go)

v0.28.0: 🐹

Compare Source

⚠️ Breaking changes

  • Refactor meilisearch client wtih new client and documentation (#​556 ) @​Ja7ad
// Before
client := meilisearch.NewClient(meilisearch.ClientConfig{
	client := meilisearch.New("http://localhost:7700", meilisearch.WithAPIKey("foobar"))
                Host: "http://127.0.0.1:7700",

                APIKey: "masterKey",
        })

// Now
client := meilisearch.New("http://localhost:7700", meilisearch.WithAPIKey("foobar"))
  • Feat sort facets value by alphanumerical (SortFacetTypeAlpha) or count order (SortFacetTypeCount) (#​558) @​Ja7ad

Before:

// Before
client.Index("movies").UpdateFaceting(&meilisearch.Faceting{
      MaxValuesPerFacet: 2,
      SortFacetValuesBy: {
         "*": "count",
      }
  })

// Now
client.Index("movies").UpdateFaceting(&meilisearch.Faceting{
      MaxValuesPerFacet: 2,
      SortFacetValuesBy: {
         "*": SortFacetTypeCount,
      }
  })
  • Feat accept the frequency (Frequency) value for the matchingStrategy search (#​565) @​Ja7ad
// Before
resp, err := client.Index("movies").Search("big fat liar", &meilisearch.SearchRequest{
    MatchingStrategy:   "last",
})
// or
resp, err := client.Index("movies").Search("big fat liar", &meilisearch.SearchRequest{
    MatchingStrategy:   "all",
})

// Now
resp, err := client.Index("movies").Search("big fat liar", &meilisearch.SearchRequest{
    MatchingStrategy: Last,
})
// or
resp, err := client.Index("movies").Search("big fat liar", &meilisearch.SearchRequest{
    MatchingStrategy:   All,
})

🚀 Enhancements

⚙️ Maintenance/misc


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, 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.

@xhofe xhofe merged commit 34b6785 into main Aug 21, 2024
1 of 2 checks passed
@renovate renovate bot deleted the renovate/github.com-meilisearch-meilisearch-go-0.x branch August 21, 2024 16:46
Three-taile-dragon pushed a commit to loognsss/blist that referenced this pull request Sep 26, 2024
…28.0 (AlistGo#7061)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant