-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: upgrade cloudevents to latest if on go1.18 or later (#248)
go1.11-go1.17 are deprecated cloud functions runtimes (https://cloud.google.com/functions/docs/runtime-support#go), and will be decomissioned in January 2025. Additionally, cloudevents hasn't supported go earlier than 1.18 for a while. Upgrading cloudevents fixes a vulnerability in jackson. So, upgrade everything. Fixes #247
- Loading branch information
Showing
7 changed files
with
28 additions
and
2,856 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,19 @@ | ||
module github.com/GoogleCloudPlatform/functions-framework-go | ||
|
||
go 1.11 | ||
go 1.18 | ||
|
||
require ( | ||
cloud.google.com/go/functions v1.16.2 | ||
cloud.google.com/go/logging v1.10.0 // indirect | ||
github.com/cloudevents/sdk-go/v2 v2.14.0 | ||
github.com/cloudevents/sdk-go/v2 v2.15.2 | ||
github.com/google/go-cmp v0.6.0 | ||
) | ||
|
||
require ( | ||
github.com/google/uuid v1.6.0 // indirect | ||
github.com/json-iterator/go v1.1.10 // indirect | ||
github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421 // indirect | ||
github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742 // indirect | ||
go.uber.org/atomic v1.4.0 // indirect | ||
go.uber.org/multierr v1.1.0 // indirect | ||
go.uber.org/zap v1.10.0 // indirect | ||
) |
Oops, something went wrong.