Skip to content

fix(deps): update module github.com/panjf2000/gnet/v2 to v2.10.0#51

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/github.com-panjf2000-gnet-v2-2.x
Open

fix(deps): update module github.com/panjf2000/gnet/v2 to v2.10.0#51
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/github.com-panjf2000-gnet-v2-2.x

Conversation

@renovate

@renovate renovate Bot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
github.com/panjf2000/gnet/v2 v2.9.8v2.10.0 age confidence

Release Notes

panjf2000/gnet (github.com/panjf2000/gnet/v2)

v2.10.0: Gnet v2.10.0, Steins;Gate

Compare Source

Steins;Gate

[!IMPORTANT]
This release enables you to read and write the connection-level context across goroutines!

🚀 Features

  • feat: add SafeContext()/SetSafeContext() for concurrency-safe user-defined context (#​760)

🛩 Enhancements

  • opt: use sync.Once to ensure listener opens only once (#​739)
  • Optimize next highest power of two calculation (#​737)
  • opt: use net/url for validating network addresses (#​728)

🐛 Bugfixes

  • fix: downgrade x/sync and x/sys to versions compatible with Go 1.20 (#​758)
  • bug: switch to socket.Dup in eventloop.enroll to enable close-on-exec (#​745)
  • bug: set FD_CLOEXEC flag when enrolling a client FD (#​743)
  • bug: fix Unix address parsing absolute path (#​731)
  • bug: make Conn.Write/Writev return the non-retryable error if any (#​715)

📚 Documentation

  • docs: update inaccurate comments on Conn.Next/Peek (#​718)

🗃 Misc

  • ci: bump golangci-lint to v2.12.2 to fix Go 1.26 toolchain panic (#​761)
  • chore: bump up Go modules dad475e
  • ci: bump up Go version to 1.26 (#​755)
  • pkg/ring/ring_buffer: remove the unused field "bs" (#​736)
  • test: add more tests for bad network addresses (#​729)
  • chore: fix typos and improve comments (#​724)

Full Changelog: panjf2000/gnet@v2.9.0...v2.10.0

Thanks to all these contributors: @​Copilot, @​dxasu, @​gunli, @​panjf2000 and copilot-swe-agent[bot] for making this release possible.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.76%. Comparing base (f8b4fe0) to head (ea224ba).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #51   +/-   ##
=======================================
  Coverage   96.76%   96.76%           
=======================================
  Files          14       14           
  Lines         803      803           
=======================================
  Hits          777      777           
  Misses         20       20           
  Partials        6        6           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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