Skip to content

Releases: Wikia/go-commons

v0.2.6

01 Feb 13:06
1f699d9
Compare
Choose a tag to compare

What's Changed

  • Update echo_logger.go to include "X-Original-Host" by @harnash in #71
  • Bump moul.io/zapgorm2 from 1.1.3 to 1.3.0 by @dependabot in #70
  • Bump github.com/labstack/echo/v4 from 4.9.1 to 4.11.4 by @dependabot in #69
  • Bump gorm.io/gorm from 1.25.5 to 1.25.6 by @dependabot in #68

Full Changelog: v0.2.5...v0.2.6

DB metrics and tracing + dependencies bump

22 Jan 21:57
2d827c9
Compare
Choose a tag to compare

What's Changed

  • Bump golang.org/x/net from 0.0.0-20220225172249-27dd8689420f to 0.20.0 by @dependabot in #65
  • Bump github.com/go-playground/validator/v10 from 10.11.1 to 10.17.0 by @dependabot in #63
  • Bump github.com/hashicorp/go-retryablehttp from 0.7.1 to 0.7.5 by @dependabot in #64

Full Changelog: v0.2.4...v0.2.5

Bugifx: properly set log in context

22 Jan 12:20
08643d2
Compare
Choose a tag to compare

Previous change did not work since the access log callback function is called after all middlewares and handler done their job and it is too late to alter anything. We use BeforeNextFunc() to inject trace-id since this is the information we can uniformly extract. Rest is to refactoring.

Inject logger when using access log

22 Jan 11:59
0b74943
Compare
Choose a tag to compare

When using access log middleware the whole context of the log is being injected into request so other functions/handlers can have all values that are extracted from the request added to the log. This way we have the same fields in access log entries as well as in application specific logs.

Update MySQL driver and GoRM

01 Mar 16:36
40e5f1f
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.2.0...v0.2.1

New middlewares for go-example-service

21 Sep 15:55
fc8e62d
Compare
Choose a tag to compare
v0.2.0

Add middleware to embed logger into context (#36)

Add support for go-example-service

21 Sep 15:37
d903559
Compare
Choose a tag to compare
v0.1.5

Updated EchoLogger to use new echo.middleware (#35)

One module go-commons instead of submodules

20 May 21:44
c7f1870
Compare
Choose a tag to compare

Dealing with submodules is quite painful. Using one main module keep things quite simple and straightforward.

v0.1.3

20 May 19:01
4484f9a
Compare
Choose a tag to compare
Added root go.mod

v0.1.2

20 May 18:45
6e52630
Compare
Choose a tag to compare
Update go.mod's