functions_framework 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: feaa072a9d05a5a0308e4721d338aea1d5bdcb65d257f74210073518d3f21735
4
- data.tar.gz: ef5d554a4ebf4dcb5e5d00b88f17ac36bd151d3b061038a35a26ed520dcd02b7
3
+ metadata.gz: eca52587c3a84a8fdfc58792bc87fb6908e5bbf1c65b265b12ccdc1eb943848d
4
+ data.tar.gz: 2226f0ba38007a22bbd046093a9d726aadcb25feaf18a7c6b24d780b5bdfc749
5
5
  SHA512:
6
- metadata.gz: 699655e4efcd96b4fa46ccf2017f38d76848b2827115909b599bd722d2eb0d447da1fb3bc0323f825bf0b69024f1a947eaf969e95b205d90e6393babe2b8c15e
7
- data.tar.gz: 297c2eda593a1b995c233b7ff89d92e11c7921322bceeb14eac71eb351bf04d0956e6c0de18e91137884ace3fc6f0a4422c2e3b79d7598fdc0ab567f93bfe638
6
+ metadata.gz: '08d533e4c06749aeee4feb6988a775186a392a18b3c50a79bc93700b99c56ea6a16da7195c89afd44e4313770e620e3071a7d6207d568a3dd9aed4a9339da71d'
7
+ data.tar.gz: 1c145d4178b2d86bdde76c38340c3ea51f2b54bb9897304eb84ce1f3586467f7e205a4007d06a98dcfa8d78c5b8dbdb8afc919b8e0801bdf5c2420266e3b4dff
data/CHANGELOG.md CHANGED
@@ -1,37 +1,41 @@
1
1
  # Changelog
2
2
 
3
- ### v1.0.0 / 2021-07-07
3
+ ## 1.0.1 (2021-09-10)
4
+
5
+ * FIXED: Update legacy event conversion to set the correct types for firebase database events
6
+
7
+ ## 1.0.0 (2021-07-07)
4
8
 
5
9
  * Bumped the version to 1.0.
6
10
  * Removed the "preview" notices for Google Cloud Functions since the Ruby runtime is now GA.
7
11
 
8
- ### v0.11.0 / 2021-06-28
12
+ ## v0.11.0 / 2021-06-28
9
13
 
10
14
  * UPDATED: Update CloudEvents dependency to 0.5 to get fixes for JSON formatting cases
11
15
  * FIXED: Updated Pub/Sub and Firebase event conversion logic to better align to Eventarc
12
16
 
13
- ### v0.10.0 / 2021-06-01
17
+ ## v0.10.0 / 2021-06-01
14
18
 
15
19
  * ADDED: Support raw pubsub events sent by the pubsub emulator
16
20
  * FIXED: Set proper response content-type charset when a function returns a string (plain text) or hash (JSON)
17
21
  * FIXED: Properly handle conversion of non-ascii characters in legacy event strings
18
22
 
19
- ### v0.9.0 / 2021-03-18
23
+ ## v0.9.0 / 2021-03-18
20
24
 
21
25
  * BREAKING CHANGE: Servers are configured as single-threaded in production by default, matching the current behavior of Google Cloud Functions.
22
26
  * FIXED: Fixed conversion of Firebase events to CloudEvents to conform to the specs used by Cloud Functions and Cloud Run.
23
27
  * 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.
24
28
 
25
- ### v0.8.0 / 2021-03-02
29
+ ## v0.8.0 / 2021-03-02
26
30
 
27
31
  * ADDED: Support for lazily-initialized globals
28
32
 
29
- ### v0.7.1 / 2021-01-26
33
+ ## v0.7.1 / 2021-01-26
30
34
 
31
35
  * DOCS: Fixed several errors in the writing-functions doc samples
32
36
  * DOCS: Updated documentation to note public release of GCF support
33
37
 
34
- ### v0.7.0 / 2020-09-25
38
+ ## v0.7.0 / 2020-09-25
35
39
 
36
40
  * Now requires Ruby 2.5 or later.
37
41
  * BREAKING CHANGE: Renamed "context" hash to "globals" and made it read-only for normal functions.
@@ -45,33 +49,33 @@
45
49
  * DOCS: Expanded documentation on initialization, execution context, and shared resources.
46
50
  * DEPRECATED: The functions-framework executable is deprecated. Use functions-framework-ruby instead.
47
51
 
48
- ### v0.6.0 / 2020-09-17
52
+ ## v0.6.0 / 2020-09-17
49
53
 
50
54
  * ADDED: You can use the --version flag to print the framework version
51
55
  * ADDED: You can use the --verify flag to verify that a given function is defined
52
56
  * ADDED: You can now define blocks that are executed at server startup
53
57
 
54
- ### v0.5.2 / 2020-09-06
58
+ ## v0.5.2 / 2020-09-06
55
59
 
56
60
  * FIXED: Use global $stderr rather than STDERR for logger
57
61
  * DOCS: Fix instructions for deployment to Google Cloud Functions
58
62
 
59
- ### v0.5.1 / 2020-07-20
63
+ ## v0.5.1 / 2020-07-20
60
64
 
61
65
  * Updated some documentation links. No functional changes.
62
66
 
63
- ### v0.5.0 / 2020-07-09
67
+ ## v0.5.0 / 2020-07-09
64
68
 
65
69
  * Removed embedded CloudEvents classes and added the official CloudEvents SDK as a dependency. A `FunctionsFramework::CloudEvents` alias provides backward compatibility.
66
70
 
67
- ### v0.4.1 / 2020-07-08
71
+ ## v0.4.1 / 2020-07-08
68
72
 
69
73
  * Fixed unsupported signal error on Windows.
70
74
  * Fixed several edge case errors in legacy event conversion.
71
75
  * Generated Content-Type headers now properly quote param values if needed.
72
76
  * Minor documentation updates.
73
77
 
74
- ### v0.4.0 / 2020-06-29
78
+ ## v0.4.0 / 2020-06-29
75
79
 
76
80
  * Dropped the legacy and largely unsupported `:event` function type. All event functions should be of type `:cloud_event`.
77
81
  * Define the object context for function execution, and include an extensible context helper.
@@ -82,21 +86,21 @@
82
86
  * Removed redundant `_string` accessors from event classes since raw forms are already available via `[]`.
83
87
  * A variety of corrections to event-related class documentation.
84
88
 
85
- ### v0.3.1 / 2020-06-27
89
+ ## v0.3.1 / 2020-06-27
86
90
 
87
91
  * Fixed crash when using "return" directly in a function block.
88
92
  * Added a more flexible request generation helper in the testing module.
89
93
  * Fixed several typos in the documentation.
90
94
 
91
- ### v0.3.0 / 2020-06-26
95
+ ## v0.3.0 / 2020-06-26
92
96
 
93
97
  * Updated the CloudEvent data format for converted pubsub events to conform to Cloud Run's conversion.
94
98
 
95
- ### v0.2.1 / 2020-06-25
99
+ ## v0.2.1 / 2020-06-25
96
100
 
97
101
  * The `--signature-type` check recognizes the legacy `event` type for `:cloud_event` functions.
98
102
 
99
- ### v0.2.0 / 2020-06-24
103
+ ## v0.2.0 / 2020-06-24
100
104
 
101
105
  Significant changes:
102
106
 
@@ -115,11 +119,11 @@ Minor changes:
115
119
  * Renamed a few undocumented environment variables, and added support for a logging level environment variable. All CLI flags now have associated environment variables.
116
120
  * Several fixes to the example code, and added a new Sinatra example.
117
121
 
118
- ### v0.1.1 / 2020-02-27
122
+ ## v0.1.1 / 2020-02-27
119
123
 
120
124
  * Server returns 404 when receiving a /favicon.ico or /robots.txt request.
121
125
  * Correct a rack constant name in Testing#make_post_request
122
126
 
123
- ### v0.1.0 / 2020-01-30
127
+ ## v0.1.0 / 2020-01-30
124
128
 
125
129
  * Initial release
@@ -200,10 +200,10 @@ module FunctionsFramework
200
200
  "providers/firebase.auth/eventTypes/user.create" => "google.firebase.auth.user.v1.created",
201
201
  "providers/firebase.auth/eventTypes/user.delete" => "google.firebase.auth.user.v1.deleted",
202
202
  "providers/google.firebase.analytics/eventTypes/event.log" => "google.firebase.analytics.log.v1.written",
203
- "providers/google.firebase.database/eventTypes/ref.create" => "google.firebase.database.document.v1.created",
204
- "providers/google.firebase.database/eventTypes/ref.write" => "google.firebase.database.document.v1.written",
205
- "providers/google.firebase.database/eventTypes/ref.update" => "google.firebase.database.document.v1.updated",
206
- "providers/google.firebase.database/eventTypes/ref.delete" => "google.firebase.database.document.v1.deleted",
203
+ "providers/google.firebase.database/eventTypes/ref.create" => "google.firebase.database.ref.v1.created",
204
+ "providers/google.firebase.database/eventTypes/ref.write" => "google.firebase.database.ref.v1.written",
205
+ "providers/google.firebase.database/eventTypes/ref.update" => "google.firebase.database.ref.v1.updated",
206
+ "providers/google.firebase.database/eventTypes/ref.delete" => "google.firebase.database.ref.v1.deleted",
207
207
  "providers/cloud.storage/eventTypes/object.change" => "google.cloud.storage.object.v1.finalized"
208
208
  }.freeze
209
209
 
@@ -17,5 +17,5 @@ module FunctionsFramework
17
17
  # Version of the Ruby Functions Framework
18
18
  # @return [String]
19
19
  #
20
- VERSION = "1.0.0".freeze
20
+ VERSION = "1.0.1".freeze
21
21
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: functions_framework
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Azuma
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-07 00:00:00.000000000 Z
11
+ date: 2021-09-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cloud_events
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.5.1
19
+ version: 0.6.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.5.1
29
+ version: 0.6.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -99,10 +99,10 @@ homepage: https://github.com/GoogleCloudPlatform/functions-framework-ruby
99
99
  licenses:
100
100
  - Apache-2.0
101
101
  metadata:
102
- changelog_uri: https://googlecloudplatform.github.io/functions-framework-ruby/v1.0.0/file.CHANGELOG.html
102
+ changelog_uri: https://googlecloudplatform.github.io/functions-framework-ruby/v1.0.1/file.CHANGELOG.html
103
103
  source_code_uri: https://github.com/GoogleCloudPlatform/functions-framework-ruby
104
104
  bug_tracker_uri: https://github.com/GoogleCloudPlatform/functions-framework-ruby/issues
105
- documentation_uri: https://googlecloudplatform.github.io/functions-framework-ruby/v1.0.0
105
+ documentation_uri: https://googlecloudplatform.github.io/functions-framework-ruby/v1.0.1
106
106
  post_install_message:
107
107
  rdoc_options: []
108
108
  require_paths:
@@ -118,7 +118,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
118
118
  - !ruby/object:Gem::Version
119
119
  version: '0'
120
120
  requirements: []
121
- rubygems_version: 3.1.6
121
+ rubygems_version: 3.2.17
122
122
  signing_key:
123
123
  specification_version: 4
124
124
  summary: Functions Framework for Ruby