Skip to content

v1.4.2

Released on 2022-10-22GitHub Release

  • add logc package, use it like logc.Info(ctx, msg)
  • support debug level in logx
  • support caller skip in logx
  • add color for debug logs
  • add AddGlobalFields for logc and logx
  • add logger.WithFields method in logx
  • support unmarshaling string into map in httpx.Parse
  • support customizing timeout for redis blpop
  • support unmarshaling types that implements encoding.TextUnmarshaler, like uuid.UUID
  • support disabling trace for specified span names

Full Changelog: https://github.com/zeromicro/go-zero/compare/v1.4.1…v1.4.2