Releases: GoogleCloudPlatform/functions-framework-java
Functions Framework 1.0.3
- Upgrade severity of logs from WARNING -> SEVERE (error) for exception messages originating from function code
- Fixes to CloudEvent conversion logic
Functions Framework 1.0.1
-
Updated to version 1.0.3 of the API. That uses version 2.0.0-milestone4 of the CloudEvents SDK, which implies some API changes for CloudEvents functions and code changes to the Functions Framework.
-
Some dependencies were auto-updated by Dependabot.
Functions Framework API 1.0.3
-
Updated to version 2.0.0-milestone4 of the CloudEvents SDK. This implies some API changes for CloudEvents functions.
-
Fixed some javadoc warnings.
Functions Framework 1.0.0
-
Adds a function type for functions that receive CloudEvents.
-
Adds logic to translate incoming GCF legacy events to the new CloudEvents handlers.
-
Fixes a problem with the
deploy.envvarsfileproperty of the deploy plugin. (Contribution from @felixgborrego. Thanks!)
Functions Framework API 1.0.2
-
Expanded and improved javadoc.
-
Added an experimental API for CloudEvents functions.
Functions Framework 1.0.0-beta2
- Removed code for old-style function signatures.
The old style was package.name.ClassName.methodName, which was the only form
recognized by the obsolete GCF java8 runtime. The new style is just
package.name.ClassName, which we retain. This change makes for a less confusing
error message when you try to deploy or invoke a function using a class name
that doesn't exist.
- Fixed a bug in the plugin concerning dependencies.
We were using compile dependencies only when doing mvn function:run,
where we should have been using runtime dependencies. Thanks to
@graemerocher for the fix.
Functions Framework 1.0.0-beta1
This is identical to 1.0.0-alpha-2-rc5 but with a new name reflecting the imminent Beta release.
Functions Framework 1.0.0-alpha-2-rc5
-
Set context class loader to the loader of the user's function while that function is running.
-
When running on GCF, install a log handler that produces better results with StackDriver logging by emitting lines that use the
LogEntryJSON format. Whether on GCF or not, don't use a specialSimpleFormatter.format; that meant we didn't get exception traces in log messages. -
Fixed a bug which prevented Multipart content from being handled correctly in HTTP functions.
-
Include original
ClassNotFoundExceptionwhen function is not found. -
Include extra attributes when being invoked for a CloudEvents source.
-
IntegrationTestcould sometimes fail because we didn't wait for the subprocess in one test method to complete before starting the next one.
Functions Framework API 1.0.1
-
The
acceptmethod in theBackgroundFunctionandRawBackgroundFunctioninterfaces now declaresthrows Exception. This means that implementations don't have to catch checked exceptions and rethrow them as unchecked. -
The
Contextinterface gains anattributes()method which is useful in particular when the incoming event follows the CloudEvents specification.
Functions Framework 1.0.0-alpha-2-rc4
-
Removed URL-rewriting logic from the Functions Framework.
-
Intercept requests for
/favicon.icoand/robots.txtand return a 404. -
After calling the user function, flush either the OutputStream or the Writer as appropriate. Calling
getWriter().flush()will fail ifgetOutputStream()has previously been called. -
Add a mvn function:deploy goal to deploy a Java function.