You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Return 204 when a GET request is sent to an event function, to support health checks.
7
12
* Flush stdout and stderr streams at the end of each request.
8
13
* Format the error backtrace.
9
14
10
-
## 1.0.1 (2021-09-10)
15
+
###1.0.1 (2021-09-10)
11
16
12
17
* FIXED: Update legacy event conversion to set the correct types for firebase database events
13
18
14
-
## 1.0.0 (2021-07-07)
19
+
###1.0.0 (2021-07-07)
15
20
16
21
* Bumped the version to 1.0.
17
22
* Removed the "preview" notices for Google Cloud Functions since the Ruby runtime is now GA.
18
23
19
-
## v0.11.0 / 2021-06-28
24
+
###v0.11.0 / 2021-06-28
20
25
21
26
* UPDATED: Update CloudEvents dependency to 0.5 to get fixes for JSON formatting cases
22
27
* FIXED: Updated Pub/Sub and Firebase event conversion logic to better align to Eventarc
23
28
24
-
## v0.10.0 / 2021-06-01
29
+
###v0.10.0 / 2021-06-01
25
30
26
31
* ADDED: Support raw pubsub events sent by the pubsub emulator
27
32
* FIXED: Set proper response content-type charset when a function returns a string (plain text) or hash (JSON)
28
33
* FIXED: Properly handle conversion of non-ascii characters in legacy event strings
29
34
30
-
## v0.9.0 / 2021-03-18
35
+
###v0.9.0 / 2021-03-18
31
36
32
37
* BREAKING CHANGE: Servers are configured as single-threaded in production by default, matching the current behavior of Google Cloud Functions.
33
38
* FIXED: Fixed conversion of Firebase events to CloudEvents to conform to the specs used by Cloud Functions and Cloud Run.
34
39
* 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.
35
40
36
-
## v0.8.0 / 2021-03-02
41
+
###v0.8.0 / 2021-03-02
37
42
38
43
* ADDED: Support for lazily-initialized globals
39
44
40
-
## v0.7.1 / 2021-01-26
45
+
###v0.7.1 / 2021-01-26
41
46
42
47
* DOCS: Fixed several errors in the writing-functions doc samples
43
48
* DOCS: Updated documentation to note public release of GCF support
44
49
45
-
## v0.7.0 / 2020-09-25
50
+
###v0.7.0 / 2020-09-25
46
51
47
52
* Now requires Ruby 2.5 or later.
48
53
* BREAKING CHANGE: Renamed "context" hash to "globals" and made it read-only for normal functions.
@@ -56,33 +61,33 @@
56
61
* DOCS: Expanded documentation on initialization, execution context, and shared resources.
57
62
* DEPRECATED: The functions-framework executable is deprecated. Use functions-framework-ruby instead.
58
63
59
-
## v0.6.0 / 2020-09-17
64
+
###v0.6.0 / 2020-09-17
60
65
61
66
* ADDED: You can use the --version flag to print the framework version
62
67
* ADDED: You can use the --verify flag to verify that a given function is defined
63
68
* ADDED: You can now define blocks that are executed at server startup
64
69
65
-
## v0.5.2 / 2020-09-06
70
+
###v0.5.2 / 2020-09-06
66
71
67
72
* FIXED: Use global $stderr rather than STDERR for logger
68
73
* DOCS: Fix instructions for deployment to Google Cloud Functions
69
74
70
-
## v0.5.1 / 2020-07-20
75
+
###v0.5.1 / 2020-07-20
71
76
72
77
* Updated some documentation links. No functional changes.
73
78
74
-
## v0.5.0 / 2020-07-09
79
+
###v0.5.0 / 2020-07-09
75
80
76
81
* Removed embedded CloudEvents classes and added the official CloudEvents SDK as a dependency. A `FunctionsFramework::CloudEvents` alias provides backward compatibility.
77
82
78
-
## v0.4.1 / 2020-07-08
83
+
###v0.4.1 / 2020-07-08
79
84
80
85
* Fixed unsupported signal error on Windows.
81
86
* Fixed several edge case errors in legacy event conversion.
82
87
* Generated Content-Type headers now properly quote param values if needed.
83
88
* Minor documentation updates.
84
89
85
-
## v0.4.0 / 2020-06-29
90
+
###v0.4.0 / 2020-06-29
86
91
87
92
* Dropped the legacy and largely unsupported `:event` function type. All event functions should be of type `:cloud_event`.
88
93
* Define the object context for function execution, and include an extensible context helper.
@@ -93,21 +98,21 @@
93
98
* Removed redundant `_string` accessors from event classes since raw forms are already available via `[]`.
94
99
* A variety of corrections to event-related class documentation.
95
100
96
-
## v0.3.1 / 2020-06-27
101
+
###v0.3.1 / 2020-06-27
97
102
98
103
* Fixed crash when using "return" directly in a function block.
99
104
* Added a more flexible request generation helper in the testing module.
100
105
* Fixed several typos in the documentation.
101
106
102
-
## v0.3.0 / 2020-06-26
107
+
###v0.3.0 / 2020-06-26
103
108
104
109
* Updated the CloudEvent data format for converted pubsub events to conform to Cloud Run's conversion.
105
110
106
-
## v0.2.1 / 2020-06-25
111
+
###v0.2.1 / 2020-06-25
107
112
108
113
* The `--signature-type` check recognizes the legacy `event` type for `:cloud_event` functions.
109
114
110
-
## v0.2.0 / 2020-06-24
115
+
###v0.2.0 / 2020-06-24
111
116
112
117
Significant changes:
113
118
@@ -126,11 +131,11 @@ Minor changes:
126
131
* Renamed a few undocumented environment variables, and added support for a logging level environment variable. All CLI flags now have associated environment variables.
127
132
* Several fixes to the example code, and added a new Sinatra example.
128
133
129
-
## v0.1.1 / 2020-02-27
134
+
###v0.1.1 / 2020-02-27
130
135
131
136
* Server returns 404 when receiving a /favicon.ico or /robots.txt request.
132
137
* Correct a rack constant name in Testing#make_post_request
0 commit comments