Closed gavin-aguiar closed 10 months ago
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.