Skip to content

Azure Functions Runtime 2.0 Preview Breaking Change Notice #106

@fabiocav

Description

@fabiocav

A new version of the Azure Functions Runtime 2.0, is being prepared.

This is notice is being posted in advance to prepare users running on the current Azure Functions 2.0 preview version for the following potential breaking changes:

NOTE: Some of the changes listed here are from the previous release, since that deployment was aborted.

  • Java Language Worker: For customers with existing Java functions, that were deployed using Maven Plugin version 0.2.1 or any other earlier versions will be affected as the deployment includes package azure-functions-java-core 1.0.0-beta-2 that is incompatible with the current functions runtime. An update to maven plugin will be published soon. Until then please follow workarounds mentioned below to avoid downtime:
    During the deployment please pin functions runtime version to 2.0.11651-alpha
    To use the latest runtime, please delete azure-functions-java-core-1.0.0-beta-2.jar from the lib folder
    Please note that azure-functions-java-core-1.0.0-beta-2.jar needs to be deleted from the lib folder for new Java functions as well until we release updated maven plugin

  • Assembly resolution/binding behavior changes: Assembly resolution/binding behavior has been changed, which may impact existing applications relying on previous binding behavior and using custom resolution patterns (e.g. subscribing to AppDomain AssemblyResolve event).

  • Blob poison message handling: Blobs.CentralizedPoisonQueue default changed (details)

  • Console logging configuration: Environment name changed to consoleLoggingMode (details)

What can I do to avoid being impacted?

To avoid impact, you can pin your Function App to the current version of the runtime now by updating the app setting FUNCTIONS_EXTENSION_VERSION to 2.0.11651-alpha. Once the new version is released, you will not be automatically upgraded and will have the ability to test your code with the new version, which we recommend you do in a different Function App.
This version will remain available until June 13th.

Please use Azure/app-service-announcements-discussions#46 for discussions related to this release.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions