You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Versions 4.x+ of the Cosmos DB extension for Azure Functions includes different several changes in parameter names. We are updating the v2 programming model for Functions in Python to provide first class support for the new version of Cosmos DB.
If you are currently using the Cosmos DB extension with the v2 programing model for Python, this may mean a breaking change for you. Once support for the latest Cosmos DB extension is live, the existing decorator names will refer to the new extension.
The new decorator names will be as follows:
Extension 2.x and 3.x
cosmos_db_trigger_v3
cosmos_db_input_v3
cosmos_db_output_v3
Extension 4.x and above
cosmos_db_trigger
cosmos_db_input
cosmos_db_output
We recommend using version 4.x and above of the Cosmos DB extension, as the older extensions will soon be unsupported due to the underlying SDK being deprecated.
The text was updated successfully, but these errors were encountered:
Hi @gavin-aguiar,
This PR was problematic for us. The update to the Cosmos DB extension introduced breaking changes into our application without us knowing. Is there anyway we can pin our backend to use an earlier release of the azure-functions-python-worker?
When setting FUNCTIONS_EXTENSION_VERSION=4.12.0 in our configuration it complains that it can't find the runtime.
Hi @yourmaingotoguy , you won't be able to pin the azure-functions-python-worker but if you're still using the older extensions, you can pin the azure-functions version to 1.13.3.
Versions 4.x+ of the Cosmos DB extension for Azure Functions includes different several changes in parameter names. We are updating the v2 programming model for Functions in Python to provide first class support for the new version of Cosmos DB.
If you are currently using the Cosmos DB extension with the v2 programing model for Python, this may mean a breaking change for you. Once support for the latest Cosmos DB extension is live, the existing decorator names will refer to the new extension.
The new decorator names will be as follows:
Extension 2.x and 3.x
Extension 4.x and above
We recommend using version 4.x and above of the Cosmos DB extension, as the older extensions will soon be unsupported due to the underlying SDK being deprecated.
The text was updated successfully, but these errors were encountered: