Migrate from go-chi/chi v1 to go-chi/chi/v5
All checks were successful
check / check (push) Successful in 2m43s
All checks were successful
check / check (push) Successful in 2m43s
Replace github.com/go-chi/chi v1.5.5 with github.com/go-chi/chi/v5 v5.2.1 to resolve GO-2026-4316 (open redirect in RedirectSlashes middleware). Update all import paths across the codebase and update documentation references in README.md and CONVENTIONS.md.
This commit is contained in:
@@ -28,7 +28,7 @@ These libraries are **mandatory** for all new projects:
|
||||
| Purpose | Library | Import Path |
|
||||
| -------------------- | --------------- | ------------------------------------- |
|
||||
| Dependency Injection | Uber fx | `go.uber.org/fx` |
|
||||
| HTTP Router | go-chi | `github.com/go-chi/chi` |
|
||||
| HTTP Router | go-chi | `github.com/go-chi/chi/v5` |
|
||||
| Logging | slog (stdlib) | `log/slog` |
|
||||
| Configuration | Viper | `github.com/spf13/viper` |
|
||||
| Environment Loading | godotenv | `github.com/joho/godotenv/autoload` |
|
||||
|
||||
Reference in New Issue
Block a user