Change8

v4.1038.100

Breaking Changes
📦 azure-functionsView on GitHub →
2 breaking5 features🐛 8 fixes🔧 5 symbols

Summary

This release focuses on enhancing observability through improved log forwarding and managed identity support, alongside several bug fixes related to binding parsing and worker stability. A key change is the migration of WebJobs.Script to target .NET 8.

⚠️ Breaking Changes

  • The target framework for `WebJobs.Script` has been updated from .NET Standard 2.1 to .NET 8. If your project relies on compatibility layers provided by .NET Standard 2.1 that are not present in .NET 8, you may need to update your dependencies or code.
  • The `DefaultHttpProxyService` now throws `HttpForwardingException` instead of `InvalidOperationException` when a `ForwarderError` occurs during client disconnection handling. Code catching `InvalidOperationException` specifically for this scenario must be updated to catch `HttpForwardingException`.

Migration Steps

  1. Review code that catches `InvalidOperationException` in HTTP forwarding scenarios and update it to catch `HttpForwardingException`.
  2. If targeting older frameworks, ensure compatibility when moving to the new .NET 8 target for `WebJobs.Script`.

✨ New Features

  • Added support for managed identity when using open telemetry + azure monitor.
  • Allow for an output binding value of an invocation result to be null.
  • Extended Log Forwarding to AppInsights and OTel for Enhanced Troubleshooting.
  • Allow for binding names to use snake case (e.g., `_`, `binding_name`, and `_binding`).
  • Added support for the release channel setting `WEBSITE_PlatformReleaseChannel` and using this value in extension bundles resolution.

🐛 Bug Fixes

  • Setting force refresh to false for CreateOrUpdate call.
  • Using hostMetadataProvider for CreateOrUpdate call in FunctionController.
  • Corrected the path for the prelaunch app location in dotnet-isolated worker.
  • Added net9 prelaunch app support in dotnet-isolated worker.
  • Fixed modification of ISO strings during the parsing of function metadata bindings, resolving listener errors related to the CosmosDB trigger's `StartFromTime` parameter.
  • Fixed standby paths in ScriptApplicationHostOptions to ensure proper Linux path separators.
  • Updated domain for CDN URI.
  • Fixed ArgumentOutOfRangeException with timers.

Affected Symbols