Skip to content

Releases: GoogleCloudPlatform/functions-framework-php

v1.3.0

11 Jul 20:53
c95d90f
Compare
Choose a tag to compare

1.3.0 (2023-06-26)

Features

Bug Fixes

  • correct content-type headers on typed function response (#152) (2a99824)

Miscellaneous Chores

  • add conformance test coverage for typed function signature (#151) (4a4abeb)
  • add missing endpoint to allow list (#146) (284e581)
  • add security scorecard to readme (#143) (d9ab518)
  • apply recommended egress policy (#144) (aa2a0e8)
  • deps: update oskarstark/php-cs-fixer-ga:latest docker digest to 27a50ce (#147) (6408db2)
  • deps: update shivammathur/setup-php digest to c5fc0d8 (#148) (bd0d24c)
  • refactor includes in favor of autoload-dev (#149) (dfd5cb4)
  • update buildpack integrations tests (#150) (8c5bb47)

v1.2.0

25 May 21:24
72da9b3
Compare
Choose a tag to compare

1.2.0 (2023-05-25)

Features

Miscellaneous Chores

v1.1.0

10 Nov 19:59
7e84ad4
Compare
Choose a tag to compare
  • feat: introduce declarative function signatures (#116)
  • add CloudEventSdkCompliant for wrapping CloudEvent into CloudEventInterface (#113)

v1.0.0

14 Sep 17:47
494730f
Compare
Choose a tag to compare

Initial release corresponding with GA release of GCF PHP 7.4.

Features

  • Support for local development workflows using PubSub emulator (#106)

v0.8.0

27 Aug 17:19
c8930e7
Compare
Choose a tag to compare

Features

  • register GCS stream wrapper in router.php when the package exists (#75)
  • allow guzzle/psr 2.0 (#102)

Fixes

  • Firebase RTDB event types have ".ref" not ".document" (#107)

v0.7.2

09 Mar 22:31
1bf9f42
Compare
Choose a tag to compare

Bug Fixes

  • fix: update background to CloudEvent conversion (#73)
  • fix: conformance tests, support JSON serialization of CloudEvents (#72)
  • fix: datacontenttype handling in binary mode events (#71)

Documentation

  • chore: update example and documentation to PHP 7.4. (#69)
  • chore: add documentation on deploying to GCF (#61)

v0.7.1

10 Nov 17:04
010835c
Compare
Choose a tag to compare

Bug Fixes

  • allow array data when parsing binary event (#63)

v0.7.0

06 Nov 21:03
86cdead
Compare
Choose a tag to compare

Features

  • add handling for exceptions (#62)
  • add support for structured events (#59)

v0.6.0

14 Oct 21:03
dba0a47
Compare
Choose a tag to compare

Features

  • CloudEvent behavior update (#52)
    • convert from legacy event to CloudEvent by default
    • support for cloudevent FUNCTION_SIGNATURE_TYPE
    • user-supplied function validation

Backwards-Compatibility Breaking Change

  • CloudEvent behavior update (#52)
    • BackgroundEventFunctionsWrapper is removed
    • PHP cloud functions with no parameters throw an exception
    • PHP cloud functions with no typehint or an invalid typehint throw an exception

v0.5.0

09 Sep 22:51
5d51d43
Compare
Choose a tag to compare
v0.5.0 Pre-release
Pre-release

Features

  • add CloudEvent support (#42)

Bug Fixes

  • missing context keys no longer throw PHP warning (#43)