Releases: GoogleCloudPlatform/functions-framework-ruby
Releases · GoogleCloudPlatform/functions-framework-ruby
functions_framework 0.9.0
v0.9.0 / 2021-03-18
- BREAKING CHANGE: Servers are configured as single-threaded in production by default, matching the current behavior of Google Cloud Functions.
- FIXED: Fixed conversion of Firebase events to CloudEvents to conform to the specs used by Cloud Functions and Cloud Run.
- FIXED: Fixed an error when reading a global set to a Minitest::Mock. This will make it easier to write tests that use mocks for global resources.
functions_framework 0.8.0
v0.8.0 / 2021-03-02
- ADDED: Support for lazily-initialized globals
functions_framework 0.7.1
v0.7.1 / 2021-01-26
- DOCS: Fixed several errors in the writing-functions doc samples
- DOCS: Updated documentation to note public release of GCF support
functions_framework 0.7.0
v0.7.0 / 2020-09-25
- Now requires Ruby 2.5 or later.
- BREAKING CHANGE: Renamed "context" hash to "globals" and made it read-only for normal functions.
- BREAKING CHANGE: Server config is no longer passed to startup blocks.
- ADDED: Provided a "logger" convenience method in the context object.
- ADDED: Globals can be set from startup blocks, which is useful for initializing shared resources.
- ADDED: Support for testing startup tasks in the Testing module.
- ADDED: Support for controlling logging in the Testing module.
- FIXED: Fixed crash introduced in 0.6.0 when a block didn't declare an expected argument.
- FIXED: Better support for running concurrent tests.
- DOCS: Expanded documentation on initialization, execution context, and shared resources.
- DEPRECATED: The functions-framework executable is deprecated. Use functions-framework-ruby instead.
functions_framework 0.6.0
v0.6.0 / 2020-09-17
- ADDED: You can use the --version flag to print the framework version
- ADDED: You can use the --verify flag to verify that a given function is defined
- ADDED: You can now define blocks that are executed at server startup
functions_framework 0.5.2
v0.5.2 / 2020-09-06
- FIXED: Use global $stderr rather than STDERR for logger
- DOCS: Fix instructions for deployment to Google Cloud Functions