Releases: GoogleCloudPlatform/functions-framework-java
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.
v1.0.0-alpha-1
First version of Functions Framework API published to Maven Central.