Skip to content

chore: bump dependencies (gorilla/handlers, sirupsen/logrus, x/oauth2)#14

Merged
chlins merged 1 commit into
goharbor:release/2.8from
chlins:bump/deps-0701
Jul 1, 2026
Merged

chore: bump dependencies (gorilla/handlers, sirupsen/logrus, x/oauth2)#14
chlins merged 1 commit into
goharbor:release/2.8from
chlins:bump/deps-0701

Conversation

@chlins

@chlins chlins commented Jul 1, 2026

Copy link
Copy Markdown
Member

This pull request updates logging dependencies and configuration to use newer, more stable versions and improve log formatting. The most important changes are grouped below.

Dependency upgrades:

  • Updated github.com/bshuster-repo/logrus-logstash-hook from a pseudo-version to v1.1.0, github.com/gorilla/handlers to v1.5.2, github.com/sirupsen/logrus to v1.9.4, and golang.org/x/oauth2 to v0.35.0 for better stability and compatibility.
  • Added cloud.google.com/go/compute/metadata and github.com/felixge/httpsnoop as indirect dependencies, and removed unused or outdated indirect dependencies such as google.golang.org/appengine and gopkg.in/yaml.v3. [1] [2]

Logging improvements:

  • Changed the Logstash log formatter to use log.JSONFormatter with nanosecond timestamp precision, resulting in more structured and precise log output.

Signed-off-by: chlins <chlins.zhang@gmail.com>

@wy65701436 wy65701436 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@chlins chlins merged commit 493dca9 into goharbor:release/2.8 Jul 1, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants