iris icon indicating copy to clipboard operation
iris copied to clipboard

[BUG] Compilation fails due to a breaking change introduced in `github.com/kataras/golog`

Open shaderkill opened this issue 2 months ago • 1 comments

Describe the bug Compilation fails due to a breaking change introduced in github.com/kataras/golog version v0.1.15. The error occurs in the handler_debug.go file of the Iris framework when attempting to use debugLevel.Style as an argument to pio.WriteRich.

To Reproduce Steps to reproduce the behavior:

  1. Use github.com/kataras/golog version v0.1.15 in your project.
  2. Attempt to compile a project using github.com/kataras/iris/[email protected].
  3. Observe the compilation error.

Expected behavior The project should compile successfully without type mismatch errors between printer.RichOption and pio.RichOption.

Screenshots Not applicable.

Desktop (please complete the following information):

  • OS: [e.g. Windows 10, Ubuntu 22.04]

iris.Version

  • v12.2.11

shaderkill avatar Oct 20 '25 17:10 shaderkill

Hello @shaderkill, thanks for opening this issue. Yes, new golog version contains a breaking change but Iris does not uses the v0.1.15, it uses the v0.1.12 which doesn't break things, please verify it at go.mod, maybe you need to re-download Iris?

kataras avatar Oct 27 '25 00:10 kataras