Skip to content

Releases: GoogleCloudPlatform/functions-framework-java

Functions Framework 1.0.0

06 Oct 22:57
Compare
Choose a tag to compare
  • 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.envvarsfile property of the deploy plugin. (Contribution from @felixgborrego. Thanks!)

Functions Framework API 1.0.2

21 Aug 23:28
Compare
Choose a tag to compare
  • Expanded and improved javadoc.

  • Added an experimental API for CloudEvents functions.

Functions Framework 1.0.0-beta2

15 Jul 23:08
Compare
Choose a tag to compare
  • 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

19 May 19:53
Compare
Choose a tag to compare

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

15 Apr 15:07
Compare
Choose a tag to compare
  • 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 LogEntry JSON format. Whether on GCF or not, don't use a special SimpleFormatter.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 ClassNotFoundException when function is not found.

  • Include extra attributes when being invoked for a CloudEvents source.

  • IntegrationTest could 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

13 Apr 23:33
Compare
Choose a tag to compare
  • The accept method in the BackgroundFunction and RawBackgroundFunction interfaces now declares throws Exception. This means that implementations don't have to catch checked exceptions and rethrow them as unchecked.

  • The Context interface gains an attributes() method which is useful in particular when the incoming event follows the CloudEvents specification.

Functions Framework 1.0.0-alpha-2-rc4

12 Mar 00:37
Compare
Choose a tag to compare
  • Removed URL-rewriting logic from the Functions Framework.

  • Intercept requests for /favicon.ico and /robots.txt and return a 404.

  • After calling the user function, flush either the OutputStream or the Writer as appropriate. Calling getWriter().flush() will fail if getOutputStream() has previously been called.

  • Add a mvn function:deploy goal to deploy a Java function.

v1.0.0-alpha-1

18 Apr 14:45
76748d8
Compare
Choose a tag to compare

First version of Functions Framework API published to Maven Central.