Skip to content

@google-cloud/functions-framework v2.0.0-beta.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@matthewrobertson matthewrobertson released this 30 Oct 00:02

BREAKING CHANGES

  • Add type annotation for Request.rawBody
  • move function wrapping earlier (#335)
  • This commit refactors the SignatureType enum into an array of strings declared as const. This allows the SignatureType type to be expressed as a union type, which works a bit better when parsing a users provided string.

Features

  • enable traceparent header for cloudevents (#336) (aba9cb4)
  • generate cloudevent types from googleapis/google-cloudevents (#371) (7617801)
  • introduce declarative function signatures (#347) (db1ba9e)

Bug Fixes

Code Refactoring