Skip to content

v1.8: Go 1_21 Upgrade + Dependency Updates + Fix go vet warnings + pprof production security hardening#283

Merged
devfeel merged 1 commit intomasterfrom
devfeel-patch-1
Mar 2, 2026
Merged

v1.8: Go 1_21 Upgrade + Dependency Updates + Fix go vet warnings + pprof production security hardening#283
devfeel merged 1 commit intomasterfrom
devfeel-patch-1

Conversation

@devfeel
Copy link
Owner

@devfeel devfeel commented Mar 2, 2026

v1.8 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.

@devfeel devfeel merged commit 9702ab9 into master Mar 2, 2026
1 check 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