-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Azure Functions Runtime 2.0 breaking change release discussion #50
Comments
Thanks for the early announcement, it really is helpful. I take it you'll post an update there or here for when the change actually goes into effect? |
Indeed! We'll keep this issue updated as the release moves along. |
I changed to the new jar,dropped the
The classes containing my functions are public and the methods that are Azure Functions are public too! |
I think this is expected since we're still in the process of doing this release. Your local tools don't have the breaking changes yet. |
@jdneo -Here is the current release tracking issue: Azure/app-service-announcements#112. Please post here once maven plugin is updated. |
Hi everyone, I have some questions about this change:
|
@jdneo - The workaround for pinning the runtime version is temporary until maven plugin is updated. Once maven plugin is released, users need to update existing Java functions to use the new package name and redeploy. |
|
We're currently experiencing an interesting issue after trying to use this version of the runtime. Pinning our runtime version to 2.0.11776 has us back up and running for now. We're using Entity Framework to communicate with our database which has been fine until now. After updating to this runtime version we started receiving the following exception when trying to use our repository in an HTTP triggered function.
We haven't finished updating our EF NuGet packages to 2.1.0 which might be why we're seeing this error, but I thought I'd note this here in case anyone else is experiencing this issue. I'll be deploying a new version of our function app with updated packages to see if that fixes our problem. Expect an update here soon. |
@Macros185 it is possible that is a breaking change with EF, as you'll automatically be bumped to 2.1 if you're targeting a lower minor version. That behavior should be consistent outside of Functions as well, so it should repro in other environments under the same conditions if that is the case. |
When is the expected release of azure-functions maven plugin updated to consume azure-functions-library.jar ? |
@mathursharp The release for Maven tooling is under going. The ETA should be before the end of this week. |
@jdneo until then what should be the dependencies version and run time version to be used. |
I'm afraid you have to pin the version to |
Hi, I am having an issue, I created a new function and change all the updated specified in this link. It seems that package the function without any issue, but when I try to run it it shows me that "No job functions found. Try making your job classes and methods public. If you're using binding extensions (e.g. ServiceBus, Timers, etc.) make sure you've called the registration method for the extension(s) in your startup code (e.g. config.UseServiceBus(), config.UseTimers(), etc.)." The current function is the one that creates following this link My environment is an Ubuntu 18.04 LTS 64-bit I was using my environment since beta 2 |
@gvacaguzman - maven plugin has not been updated yet. For now, you need to pin you runtime by updating the app setting FUNCTIONS_EXTENSION_VERSION to 2.0.11776-alpha. |
@pragnagopa I already change it and didnt work :(. Do you have any little example in java that is running correctly? I want to discard that the problem is my environment |
@gvacaguzman - Your existing Java function should keep working with the previous version of functions runtime. Please note that java functions with that use new package names are only compatible with current release of the runtime. If you are still having an issue with existing java functions without any code changes, let me know. |
@pragnagopa I already test it in different ubuntu environments and the issue is still. Attached is the function I am using that was working with old version Please take a look at it and let me know if you found the issue. Thanks in advance |
You are using azure-functions-java-library which is only compatible with the current release 2.0.11857. Please revert to using azure-functions-java-core to use Java functions with runtime version: 2.0.11776-alpha |
Also, here is a work around to use the latest runtime with the deployed java functions:
Note: Please do not use maven plugin to deploy until we have released an update |
I used, the second approach and after all the steps in the test view the error says: |
New version of The Maven Tooling has been released:
The newest version of the maven Toolings is compatible with the newest service side runtime. You can find more details about what parts have been changed here: Azure/app-service-announcements#112 (comment) Please note that it will take 2~3 days for Maven Central to update the newest version number. If you want to generate the newest Maven Azure Functions Archetype, please explicitly specify the version in your command, for example: mvn archetype:generate -DarchetypeGroupId=com.microsoft.azure -DarchetypeArtifactId=azure-functions-archetype -DarchetypeVersion=1.11 For those people who still want to stick to the previous version of the service side runtime, please check the <plugins>
<plugin>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-functions-maven-plugin</artifactId>
<configuration>
...
<appSettings>
<property>
<name>FUNCTIONS_EXTENSION_VERSION</name>
<value>2.0.11776-alpha</value>
</property>
</appSettings>
</configuration>
</plugin>
<plugins> Please note that this version will remain available until June 30th. |
Any updates on when this runtime will be released for local testing? We've made the necessary NuGet package updates on our end and deployed to our test environment to confirm that it works with the new runtime, but we can't officially merge our code changes until we have the ability to run these functions locally. |
Azure Functions Core Tools version 2.0.1-beta.29 is released as well. Please update to the latest core tools. To install v2 with npm:
You find more info here: https://github.com/Azure/azure-functions-core-tools |
This also provides some information on how you can use the NPM installed tools with VS: https://github.com/Azure/azure-functions-vs-build-sdk/wiki/How-to-manually-update-the-Azure-Functions-Core-Tools |
@fabiocav That's actually nice to know. I had already used npm and tested locally that way, but the rest of the team would like to be able to debug this straight from VS. Thanks for the info! |
Closing this discussion as the deployment was completed and a new deployment cycle has started. |
Discussion issue for announcement Azure/app-service-announcements#112
The text was updated successfully, but these errors were encountered: