Skip to content

Releases: Azure/azure-functions-python-worker

Release 3.1.3

27 Apr 17:03
4050df3
Compare
Choose a tag to compare

Highlights

  • Enabling Retry Context (#909)
  • Enabling caching for shared memory to prevent the recreation of resources (#844)
  • Update azure.functions version to 1.10.1
  • Enable dependency isolation by default for python 3.10 (#922)
  • Enable debug logging using the PYTHON_ENABLE_DEBUG_LOGGING flag (#939, #948)

What's Changed

  • Using the cache for function bindings and not deleting shared memory resources upon request to close by @gohar94 in #844
  • Add dotnet 5.0.x in CI pipeline to fix errors by @vrdmr in #901
  • Update logic to push the Python worker package to the AzureFunctionsPreRelease feed by @Francisco-Gamino in #908
  • Added Retry Context for python worker by @gavin-aguiar in #909
  • Update Python SDK Version to 1.8.0 by @vrdmr in #913
  • add sbom generator task in the pipeline by @arroyc in #918
  • remove copy file task by @arroyc in #921
  • Added e2e tests for dependency isolation by @gavin-aguiar in #919
  • Enable dependency isolation by default for python 3.10 by @gavin-aguiar in #922
  • update pipeline's agent pool as per bi operation recommendation by @arroyc in #925
  • Enable debug logging using the PYTHON_ENABLE_DEBUG_LOGGING flag by @YunchuWang in #939
  • Adding Shared Memory Diagrams by @shreyabatra4 in #942
  • Add comments to enable debug logging tests by @YunchuWang in #943
  • Make SBOM manifests packaged by @arroyc in #941
  • Enable debug logging add recommendation by @YunchuWang in #948
  • Updating UT workflow file to run on every push by @vrdmr in #968
  • fix nuspec for v2 and v3 by @arroyc in #1013
  • update sbom path for release/3.1.3 branch by @arroyc in #1014
  • Skipping linux consumption test for python 3.7 for V3 by @gavin-aguiar in #1009

New Contributors

Full Changelog: 1.2.6...3.1.3

4.0.0

18 Feb 23:50
0d03a4d
Compare
Choose a tag to compare

Highlights

  • Enabling Retry Context (#909)
  • Enabling caching for shared memory to prevent the recreation of resources (#844)
  • Update azure.functions version to 1.9.0 (#963)
  • Enable dependency isolation by default for python 3.10 (#922)
  • Enable debug logging using the PYTHON_ENABLE_DEBUG_LOGGING flag (#939, #948)
  • Preparing for Worker for Python 3.10 (#961, #936, #966)

What's Changed (Detailed)

  • Using the cache for function bindings and not deleting shared memory resources upon request to close by @gohar94 in #844
  • Add dotnet 5.0.x in CI pipeline to fix errors by @vrdmr in #901
  • Update logic to push the Python worker package to the AzureFunctionsPreRelease feed by @Francisco-Gamino in #908
  • Added Retry Context for python worker by @gavin-aguiar in #909
  • Update Python SDK Version to 1.8.0 by @vrdmr in #913
  • add sbom generator task in the pipeline by @arroyc in #918
  • remove copy file task by @arroyc in #921
  • Added e2e tests for dependency isolation by @gavin-aguiar in #919
  • Enable dependency isolation by default for python 3.10 by @gavin-aguiar in #922
  • update pipeline's agent pool as per bi operation recommendation by @arroyc in #925
  • Enable debug logging using the PYTHON_ENABLE_DEBUG_LOGGING flag by @YunchuWang in #939
  • Adding Shared Memory Diagrams by @shreyabatra4 in #942
  • Add comments to enable debug logging tests by @YunchuWang in #943
  • Make SBOM manifests packaged by @arroyc in #941
  • Enable debug logging add recommendation by @YunchuWang in #948
  • Setting up dev as V4 branch for PyWorker by @vrdmr in #936
  • Enabling Python 3.10 CI and other changes by @vrdmr in #961
  • Bumping up azure-functions==1.9.0 by @vrdmr in #963
  • Fix publish SBOM manifest with nuget package and changing Win to Linux for release pipeline by @arroyc in #960
  • Preparing nuspec file and pipeline changes for release by @vrdmr in #966

New Contributors

Full Changelog: 1.2.6...4.0.0

Release 1.2.6

24 Sep 18:32
Compare
Choose a tag to compare
  • Setting special limits for Python 3.6 and 3.7 (#890)
  • Add a default script_file for function.json without scriptFile (#893)
  • Update the max TP threads count to sys.maxsize (#875)

Release 1.2.5

23 Jul 21:16
Compare
Choose a tag to compare
  • Fix an issue where the azure namespace is not initialized in placeholder mode
  • Disable dependency isolation to fix an issue where azure. namespace related libraries are not able to load in Linux Consumption

Release 1.2.3

04 Jun 21:52
Compare
Choose a tag to compare
  • Re-enable PYTHON_ISOLATE_WORKER_DEPENDENCIES.
  • Fix an azure.functions module issue in its _thirdparty folder and fix azure namespace discovery.

Release 1.2.2

02 Jun 20:22
Compare
Choose a tag to compare
  • Fix an issue where Python 3.9 Linux Consumption apps are facing 404 and 503 when the customer's files are not mounted during specialization.
  • Re-enable worker status response to optimize the throughput

Release 1.2.1

04 May 21:52
Compare
Choose a tag to compare
  • [HotFix] Disable WorkerStatus reporting due to the gRPC channel fails to acquire WorkerStatusResponse message from Python Queue structure, causing the Function Host /admin/host/ping endpoint to return 408 (timeout).

Release 1.2.0

05 Apr 19:25
Compare
Choose a tag to compare
  • Added a new mechanism to transfer data between Functions Host and Python Worker via shared memory. This feature will improve the data transfer efficiency and performance especially when moving byte arrays between Host and Worker (e.g. Blob bindings). This feature can be turned on by setting FUNCTIONS_WORKER_SHARED_MEMORY_DATA_TRANSFER_ENABLED to true (PR: #816, thanks @gohar94)
  • Added a new worker interface to allow third-party library integration into Python Worker. Third-party library developers can now integrate with Azure Functions by implementing lifecycle hooks in azure.functions.FuncExtensionBase or azure.functions.AppExtensionBase. This feature can be turned on by setting PYTHON_ENABLE_WORKER_EXTENSIONS to true. It is enabled in Python 3.9 by default. (PR: #815)

Release 1.1.12

18 Feb 23:40
Compare
Choose a tag to compare
  • Implemented capability to isolate worker dependencies (#794)
    • New Experiment feature flag introduced - PYTHON_ISOLATE_WORKER_DEPENDENCIES (default: False)
  • Setting PTPTC to None for Py3.9 only (#791)
    • More info on PYTHON_THREADPOOL_THREAD_COUNT in the docs page
  • Update Python SDK Version to 1.6.0 (#812)
  • Adding updates to the log messages (#805)

Release 1.1.10

24 Nov 09:31
Compare
Choose a tag to compare
  1. Add support for Python 3.9 on Windows