Skip to content

## v1.7.3 Go 1_21 Upgrade + Dependency Updates + Fix go vet warnings + pprof production security hardening#278

Merged
devfeel merged 8 commits intodevelopfrom
aicode
Mar 2, 2026
Merged

## v1.7.3 Go 1_21 Upgrade + Dependency Updates + Fix go vet warnings + pprof production security hardening#278
devfeel merged 8 commits intodevelopfrom
aicode

Conversation

@devfeel
Copy link
Owner

@devfeel devfeel commented Mar 2, 2026

v1.7.3 Release Notes

Highlights

Go 1_21 Upgrade + Dependency Updates + Fix go vet warnings + pprof production security hardening


⬆️ Upgrade

  • Go version upgraded to 1_21
  • golang_org/x/net upgraded to v0_23_0

🐛 Bug Fixes

Issue Description
#276 Resolve go vet warnings across codebase
- Fix loop variable capture in cache_runtime_test_go
- Fix sync_Pool copy warning in server_test_go
- Remove unreachable code in session/session_go

🔒 Security

Change Description
- pprof is now only enabled in development mode

⚠️ Breaking Change: pprof is no longer available in production by default. To enable, explicitly set RunMode = "development".

// Enable pprof (development only)
app_SetDevelopmentMode()
app_SetPProfConfig(true, 8080)

🔧 Improvements

  • Use keyed fields for HideReaddirFS struct in router_go
  • Improve code clarity and reduce warnings

Full Changelog: v1_7.22...v1_7.23\

**2026.03.02 at ShangHai.

Nexus and others added 8 commits March 1, 2026 20:08
chore: upgrade go to 1.21 and x/net to v0.23.0
- Fix loop variable capture in cache_runtime_test.go
- Use keyed fields for HideReaddirFS struct in router.go
- Remove unreachable code in session/session.go
- Fix sync.Pool copy warning in server_test.go
- Only enable pprof in development mode (security)
fix: resolve go vet warnings and add pprof production safety
@devfeel devfeel merged commit 31bf784 into develop Mar 2, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant