Skip to content

Releases: Azure/azure-functions-dotnet-worker

Microsoft.Azure.Functions.Worker.Extensions.CosmosDB 4.12.0

30 Jan 22:50
9314bae
Compare
Choose a tag to compare

What's Changed

Microsoft.Azure.Functions.Worker.Extensions.CosmosDB 4.12.0

  • Updated Microsoft.Azure.WebJobs.Extensions.CosmosDB reference to 4.9.0 (#2944)
  • Return a successful result with a null value when a Cosmos document cannot be found (#2942)

New Contributors

Microsoft.Azure.Functions.Worker.Extensions.Http 3.3.0

28 Jan 21:23
97a0783
Compare
Choose a tag to compare

What's Changed

Microsoft.Azure.Functions.Worker.Extensions.Http 3.3.0

  • The 'FromBody' converter now utilizes DeserializeAsync for deserializing JSON content from the request body, enhancing support for asynchronous deserialization. (#2901)
  • Update DefaultFromBodyConversionFeature to no longer use a given invocation's cancellation token (#2894)

Microsoft.Azure.Functions.Worker.Extensions.Http.AspNetCore 1.3.3

28 Jan 01:08
d11e43c
Compare
Choose a tag to compare

What's Changed

Microsoft.Azure.Functions.Worker.Extensions.Http.AspNetCore 1.3.3

  • [Bug Fix] Update ContextReference to no longer use a given invocation's cancellation token (#2931)
    • This bug fix should fix the Request has finished and HttpContext disposed exceptions

Microsoft.Azure.Functions.Worker.Extensions.ServiceBus 5.22.1

28 Jan 19:02
d4dab47
Compare
Choose a tag to compare

What's Changed

Microsoft.Azure.Functions.Worker.Extensions.ServiceBus 5.22.1

  • [Bug Fix] Fix IsBatched property for ServiceBusSessionMessageActions (#2889)

Microsoft.Azure.Functions.Worker.Extensions.Rpc 1.0.1

28 Jan 19:07
d4dab47
Compare
Choose a tag to compare

What's Changed

Microsoft.Azure.Functions.Worker.Extensions.Rpc 1.0.1

  • Set max message send and receive length on gRPC CallInvoker.

Microsoft.Azure.Functions.Worker.Extensions.Kafka 4.0.0

28 Jan 19:19
d4dab47
Compare
Choose a tag to compare

What's Changed

Microsoft.Azure.Functions.Worker.Extensions.Kafka 4.0.0

  • Add OAuthBearer trigger and output Attributes to the dotnet isolated model (#2799)

Microsoft.Azure.Functions.Worker.Extensions.Http.AspNetCore 2.0.1

27 Jan 23:46
Compare
Choose a tag to compare

What's Changed

Microsoft.Azure.Functions.Worker.Extensions.Http.AspNetCore 2.0.1

  • [Bug Fix] Update ContextReference to no longer use a given invocation's cancellation token (#2894)
    • This bug fix should fix the Request has finished and HttpContext disposed exceptions

Microsoft.Azure.Functions.Worker 1.24.0

09 Dec 22:58
91230aa
Compare
Choose a tag to compare

What's Changed

Microsoft.Azure.Functions.Worker (metapackage) 1.24.0

  • Updating Microsoft.Azure.Functions.Worker.Core to 1.20.0
  • Updating Microsoft.Azure.Functions.Worker.Grpc to 1.18.0

Microsoft.Azure.Functions.Worker.Core 1.20.0

  • Updated service registrations for bootstrapping methods to ensure idempotency. (#2820)

Microsoft.Azure.Functions.Worker.Grpc 1.18.0

  • Changed exception handling in function invocation path to ensure fatal exceptions bubble up. (#2789)
  • Updated service registrations for bootstrapping methods to ensure idempotency. (#2820)

Microsoft.Azure.Functions.Worker 2.0.0

13 Nov 23:44
bdd76c3
Compare
Choose a tag to compare

Microsoft.Azure.Functions.Worker (metapackage) 2.0.0

  • Updating Microsoft.Azure.Functions.Worker.Core to 2.0.0
  • Updating Microsoft.Azure.Functions.Worker.Grpc to 2.0.0
  • Changed exception handling in function invocation path to ensure fatal exceptions bubble up.

Breaking Changes

  • Dropping .NET 5 TFM support
  • Capability IncludeEmptyEntriesInMessagePayload is now enabled by default (#2701)
    • This means that empty entries will be included in the function trigger message payload by default.
    • To disable this capability and return to the old behaviour, set IncludeEmptyEntriesInMessagePayload to false in the worker options.
  • ValidateScopes is enabled for development environments by default.

Microsoft.Azure.Functions.Worker.Core 2.0.0

  • Updating Azure.Core to 1.41.0
  • New APIs supporting IHostApplicationBuilder
  • Updated service registrations for bootstrapping methods to ensure idempotency.

Breaking Changes

  • Capability EnableUserCodeException is now enabled by default (#2702)
    • This means that exceptions thrown by user code will be surfaced to the Host as their original exception type, instead of being wrapped in an RpcException.
    • To disable this capability and return to the old behaviour, set EnableUserCodeException to false in the worker options.
    • The EnableUserCodeException property in WorkerOptions has been marked as obsolete and may be removed in a future release.
  • Rename ILoggerExtensions to FunctionsLoggerExtensions to avoid naming conflict issues (#2716)
  • Removed the default value for HttpStatusCode in WriteAsJsonAsync (#2720)
  • Removed fallback command line argument reading code for grpc worker startup options. (#1908)
Setting Worker Options Example

If you need to disable these capabilities and return to the old behaviour, you can set the worker options as follows:

var host = new HostBuilder()
.ConfigureFunctionsWorkerDefaults(options =>
{
    options.EnableUserCodeException = false;
    options.IncludeEmptyEntriesInMessagePayload = false;
})

Microsoft.Azure.Functions.Worker.Grpc 2.0.0

  • Refer to metapackage

Microsoft.Azure.Functions.Worker.Sdk 2.0.0

13 Nov 23:46
bdd76c3
Compare
Choose a tag to compare

What's Changed

Microsoft.Azure.Functions.Worker.Sdk 2.0.0

  • Updated Microsoft.Azure.Functions.Worker.Sdk.Generators reference to 1.3.4.
  • Setting _ToolingSuffix for TargetFrameworkVersion v9.0
  • Adding support for SDK container builds with Functions base images
  • Support for dotnet run