Releases: mtraver/gaelog
v1.1.4
v1.1.3
v1.1.2
v1.1.1
Upgrade dependencies, including fix for CVE-2022-41723
Uncontrolled resource consumption in golang.org/x/net:
https://nvd.nist.gov/vuln/detail/CVE-2022-41723
v1.1.0
Upgrade dependencies, dropping support for Go versions < 1.17
Recent versions of golang.org/x/sys use unsafe.Slice, which was introduced in Go 1.17. This package maintained compatibility with Go 1.16 because for a long time that was the latest version of Go that App Engine supported.
App Engine now supports Go 1.19 so we no longer need to keep from upgrading this package. If you're still using the go116 runtime then don't upgrade this package past v1.0.1.
v1.0.1
Fix bug regarding fetching project ID from metadata service
In the case that GAE env vars aren't set, a request to the metadata server was made on each request.
If that request fails, the overall request time increases noticeably. For example, during development
when the metadata service isn't reachable, all requests are slow.
Now a request is sent to the metadata service only once and the result is memoized for future use.
This will speed up requests in production as well.
Cloud Run env vars are also now checked first before contacting the metadata service, so the
call should be eliminated entirely if we're not on Cloud Run.