Repository navigation
chore(deps): update dependency algoliasearch to v4 - #505
renovate-appwrite[bot] wants to merge 1 commit into
Conversation
🟡 Tier B · Needs changes before merging
Updates the Algolia Python SDK constraint in the sync-with-Algolia function from the v3 range to the v4.52 range. The function's existing SDK imports and index operations are unchanged.
Fix with agent prompt### Issue 1
python/sync_with_algolia/requirements.txt:2
**Keep the SDK version compatible with the function code**
With this dependency, `src/main.py` still imports `algoliasearch.search_client.SearchClient`, which is not present in algoliasearch 4.49.0; the v4 client moved to `algoliasearch.search.client` and no longer has `init_index`. Importing the function therefore fails before requests can be handled, so keep the v3 constraint or migrate the function to the v4 API as part of this change.
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.📂 Walkthrough · 1
⏳ Still open from earlier reviews · 1
Reviewed |
| @@ -1,2 +1,2 @@ | |||
| appwrite>=23.0.0,<24.0.0 | |||
| algoliasearch>=3.0.0,<4.0.0 | |||
| algoliasearch>=4.49.0,<4.50.0 | |||
There was a problem hiding this comment.
Keep the SDK version compatible with the function code
With this dependency, src/main.py still imports algoliasearch.search_client.SearchClient, which is not present in algoliasearch 4.49.0; the v4 client moved to algoliasearch.search.client and no longer has init_index. Importing the function therefore fails before requests can be handled, so keep the v3 constraint or migrate the function to the v4 API as part of this change.
Prompt To Fix With AI
This is a comment left during a code review.
Path: python/sync_with_algolia/requirements.txt
Line: 2
Comment:
**Keep the SDK version compatible with the function code**
With this dependency, `src/main.py` still imports `algoliasearch.search_client.SearchClient`, which is not present in algoliasearch 4.49.0; the v4 client moved to `algoliasearch.search.client` and no longer has `init_index`. Importing the function therefore fails before requests can be handled, so keep the v3 constraint or migrate the function to the v4 API as part of this change.
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.🟠 Major · bug · Reply if this doesn't apply.
f34bbcd to
fa24688
Compare
fa24688 to
e12a3a1
Compare
Note
This PR body was truncated due to platform limits.
This PR contains the following updates:
>=3.0.0,<4.0.0→>=4.52.0,<4.53.0Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
algolia/algoliasearch-client-python (algoliasearch)
v4.52.0Compare Source
v4.51.0Compare Source
algoliaDefinedordering in external sources (#7212) by @aiordachev4.49.0Compare Source
v4.48.0Compare Source
BREAKING CHANGES: this minor version includes breaking changes (A/B Testing V3 API, Agent Studio API). See below for more details.
pValueis now optional in the A/B test models. Update code that reads it as a required value.externalProvidersource for CompAPI client (#7073) by @ClaraMullercreateAgentCompletion: the body type changed fromAgentCompletionRequesttoAgentCompletionRequestUnion.createAgent,updateAgent,getAgent: tool config models were renamed or merged (AlgoliaDisplayResultsToolConfigis nowAlgoliaGroupedResultsToolConfig,AlgoliaRecommendToolConfigInput/Outputare nowAlgoliaRecommendToolConfig,ToolConfigis nowToolConfigOrBooleanUnion).MessagesUnionAgentConsolidateRequest,MessagesUnionAgentMemorizeRequestandMessagesUnionAgentPonderRequestwere removed.v4.47.0Compare Source
BREAKING CHANGES: this minor version includes breaking changes in the A/B Testing V3 API. See below for more details.
v4.45.0Compare Source
v4.44.4Compare Source
v4.44.3Compare Source
v4.44.1Compare Source
getObjectsoperation now returns a list of nullable objects, as the API can send backnullrecords. The clients previously only allowed a list of objects, so the response type has been updated to allownullvalues.v4.44.0Compare Source
v4.43.0Compare Source
v4.42.0Compare Source
v4.41.1Compare Source
v4.40.1Compare Source
v4.40.0Compare Source
v4.39.0Compare Source
BREAKING CHANGES: this minor version includes breaking changes in the Composition API. See below for more details.
v4.38.1Compare Source
v4.38.0Compare Source
v4.37.1Compare Source
conditionin rule schemas (#5983) by @MarioAlexandruDanv4.37.0Compare Source
v4.36.1Compare Source
SearchResponsemodel now acceptsqueryandparamsas optional parameters, as they are not always returned by the API.redirectproperty to rule consequence schema (#5934) by @Fluf22v4.36.0Compare Source
BREAKING CHANGES: this minor version includes multiple breaking changes related to fixes on different APIs. See below for more details.
conditionsis not required anymore in composition rules (#5853) by @ClaraMullerTrendingFacetsmodel has been updated to reflect the API response.AuthenticationUpdatemodel has been updated to reflect that thetypefield can't be updated.CompositionBehaviormodel is now a union type for better accuracy.codeproperty in oauth authentication (#5897) by @sbelloneAuthOAuthandAuthOAuthPartialmodels have been updated to reflect that theclientIdfield is now optional, and thecodefield can be set.v4.35.4Compare Source
v4.35.3Compare Source
Some fields from the Composition Run search response were marked as required while they were optional on the API side. This has been fixed, but might impact the client types.
v4.35.2Compare Source
v4.35.0Compare Source
sortBytrigger on Composition Rules (#5707) by @ClaraMullerv4.34.0Compare Source
enablePersonalizationquery parameter at run time for Composition API (#5651) by @ClaraMullerv4.33.0Compare Source
v4.32.0Compare Source
v4.31.0Compare Source
renderingContentquery parameter in Composition API main injection (#5549) by @ClaraMullerfacetsquery parameter in Composition API (#5477) by @ClaraMullerv4.30.0Compare Source
facetsquery parameter available at run time (#5486) by @ClaraMullerv4.29.0Compare Source
v4.28.0Compare Source
v4.27.0Compare Source
composition&composition-full(#5333) by @ClaraMullerv4.26.0Compare Source
v4.25.0Compare Source
v4.24.0[Compare Source](https://redirect.github.com/alg
Configuration
📅 Schedule: (UTC)
* * * * 1)🚦 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.
This PR has been generated by Mend Renovate CLI.