Skip to content

Microsoft.Azure.Functions.Worker 1.11.0-preview1

Pre-release
Pre-release
Compare
Choose a tag to compare
@satvu satvu released this 05 Oct 19:49
· 623 commits to main since this release
9c3380d

What's Changed

  • Added support for surfacing user-thrown exception to App Insights (#939)
  • Source-generated function metadata: implementation change to improve cold-start performance (#956)
    • This functionality requires version 1.8.0-preview1 of Microsoft.Azure.Functions.Worker.Sdk or higher.

Steps for opting into the source-generation preview:

  1. Add MSBuild property <FunctionsEnableWorkerIndexing>true</FunctionsEnableWorkerIndexing> app's .csproj file.
  2. In local.settings.json add the property "AzureWebJobsFeatureFlags": "EnableWorkerIndexing" to configure the Azure Functions host to use worker-indexing.
  3. Call the IHostBuilder extension, ConfigureGeneratedFunctionMetadataProvider in Program.cs:
    class Program
    {
        static async Task Main(string[] args)
        {
            var host = new HostBuilder()
                .ConfigureFunctionsWorkerDefaults()
                .ConfigureGeneratedFunctionMetadataProvider()
                .Build();

            await host.RunAsync();
        }
    }

Full change log:
1.10.0...1.11.0-preview1