Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions auth/middleware/middleware.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ import (
"net/http"
"time"

"github.com/LerianStudio/lib-commons/v2/commons/log"
"github.com/LerianStudio/lib-commons/v2/commons/opentelemetry"
"github.com/LerianStudio/lib-commons/v2/commons/zap"
"github.com/LerianStudio/lib-commons/v3/commons/log"
"github.com/LerianStudio/lib-commons/v3/commons/opentelemetry"
"github.com/LerianStudio/lib-commons/v3/commons/zap"
"go.opentelemetry.io/otel/attribute"

"github.com/LerianStudio/lib-commons/v2/commons"
libHTTP "github.com/LerianStudio/lib-commons/v2/commons/net/http"
"github.com/LerianStudio/lib-commons/v3/commons"
libHTTP "github.com/LerianStudio/lib-commons/v3/commons/net/http"
"github.com/gofiber/fiber/v2"
jwt "github.com/golang-jwt/jwt/v5"
)
Expand Down
4 changes: 2 additions & 2 deletions auth/middleware/middlewareGRPC.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"net/http"
"strings"

"github.com/LerianStudio/lib-commons/v2/commons"
"github.com/LerianStudio/lib-commons/v2/commons/opentelemetry"
"github.com/LerianStudio/lib-commons/v3/commons"
"github.com/LerianStudio/lib-commons/v3/commons/opentelemetry"
"go.opentelemetry.io/otel/attribute"
"google.golang.org/grpc"
"google.golang.org/grpc/codes"
Expand Down
23 changes: 12 additions & 11 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ module github.com/LerianStudio/lib-auth/v2
go 1.24.0

require (
github.com/LerianStudio/lib-commons/v2 v2.2.0
github.com/gofiber/fiber/v2 v2.52.9
github.com/LerianStudio/lib-commons/v3 v3.0.0-beta.2
Copy link

Choose a reason for hiding this comment

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

🧹 Nitpick | 🔵 Trivial

Using beta version of lib-commons.

lib-commons/v3 v3.0.0-beta.2 is a pre-release version. This is acceptable for a feature branch targeting develop, but ensure a stable release is used before merging to production branches.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@go.mod` at line 6, The go.mod currently pins
github.com/LerianStudio/lib-commons/v3 to the pre-release tag v3.0.0-beta.2;
before merging to production branches replace this with the stable release
(e.g., v3.0.0 or the latest non-beta tag) in go.mod, then update module
dependencies (run go get/update and go mod tidy) and run tests to confirm
compatibility; look for the module entry
"github.com/LerianStudio/lib-commons/v3" to locate and change the version.

github.com/gofiber/fiber/v2 v2.52.11
github.com/golang-jwt/jwt/v5 v5.3.0
go.opentelemetry.io/otel v1.39.0
google.golang.org/grpc v1.74.2
google.golang.org/grpc v1.78.0
)

require github.com/google/uuid v1.6.0 // indirect
Expand All @@ -17,24 +17,25 @@ require (
github.com/andybalholm/brotli v1.2.0 // indirect
github.com/cenkalti/backoff/v5 v5.0.3 // indirect
github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/clipperhouse/stringish v0.1.1 // indirect
github.com/clipperhouse/uax29/v2 v2.3.0 // indirect
github.com/go-logr/logr v1.4.3 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
github.com/go-ole/go-ole v1.3.0 // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.27.1 // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.27.4 // indirect
github.com/joho/godotenv v1.5.1 // indirect
github.com/klauspost/compress v1.18.0 // indirect
github.com/klauspost/compress v1.18.2 // indirect
github.com/lann/builder v0.0.0-20180802200727-47ae307949d0 // indirect
github.com/lann/ps v0.0.0-20150810152359-62de8c46ede0 // indirect
github.com/mattn/go-colorable v0.1.14 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/mattn/go-runewidth v0.0.16 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/rivo/uniseg v0.4.7 // indirect
github.com/mattn/go-runewidth v0.0.19 // indirect
github.com/shirou/gopsutil v3.21.11+incompatible // indirect
github.com/tklauser/go-sysconf v0.3.15 // indirect
github.com/tklauser/numcpus v0.10.0 // indirect
github.com/sony/gobreaker v1.0.0 // indirect
github.com/tklauser/go-sysconf v0.3.16 // indirect
github.com/tklauser/numcpus v0.11.0 // indirect
github.com/valyala/bytebufferpool v1.0.0 // indirect
github.com/valyala/fasthttp v1.64.0 // indirect
github.com/valyala/fasthttp v1.69.0 // indirect
github.com/yusufpapurcu/wmi v1.2.4 // indirect
go.opentelemetry.io/auto/sdk v1.2.1 // indirect
go.opentelemetry.io/contrib/bridges/otelzap v0.12.0 // indirect
Expand Down
Loading
Loading