Files
honk/changes
kaguyaanderies 01665ff7a8 perf(hysteria2): optimize UDP hot path, Salamander cipher, and GSO/recvmmsg socket (#571)
* perf(hysteria2): optimize UDP hot path, Salamander cipher, and GSO/recvmmsg socket

* fix(pr-571): bound defragmenter fragment ownership and simplify UDP inbound framing

* fix(pr-571): fix Hy2 Linux batch send readiness, error handling, and fallback latching

* fix(pr-571): preserve zero-heap address formatting and size check order in Hy2UdpTransport::send_to

* fix(pr-571): assert Salamander seal output length and expand cipher boundary tests

* docs(pr-571): clarify Linux Hy2 GSO bounds and sync design, rules, and changelog

* docs(pr-571): trim redundant comments and align zh-TW outbound wording

* test(pr-571): deduplicate Hy2 Linux batch tests and harden Cipher Debug check

* fix(pr-571): only latch Hy2 GSO fallback when UdpSocketState disables GSO

* perf(pr-571): fast-path single-packet Hy2 sendto and inline single-fragment defrag

---------

Co-authored-by: eries <coloredflowers@outlook.com>
2026-11-30 16:05:25 +08:00
..

Changelog fragments

For each pull request, add one Markdown file named after the branch slug. Replace / and other non-alphanumeric characters with -, use lowercase, collapse repeated hyphens, and trim hyphens at both ends. For example, fix/dns-worker-timeout becomes changes/fix-dns-worker-timeout.md.

The first line is Added, Changed, Fixed, Removed, Security, or Internal. Follow it with one or more - bullet lines describing user-visible changes. You may leave blank lines. Do not add a PR number: the renderer looks up the commit that added the fragment.

Fixed

- DNS workers stop waiting when a request times out.

Use Internal for contributor-facing changes. The renderer groups entries in the type order above and sorts filenames within each group. README.md is not a fragment.

PRs touching crates/, Cargo.toml, Cargo.lock, ci/fetch-doona.sh, or .github/ci/pins.env must add a new fragment. Modifying or renaming an existing fragment does not count. Files under crates/*/tests/ and Markdown files do not require one; a test edited inside a production .rs file does. Maintainers can apply no-changelog when an entry is unnecessary.

CI validates every added or changed fragment from the PR head, including fragment-only PRs and PRs labeled no-changelog. Invalid fragments fail with their filename and the parser's reason.

Preview and release

From the repository root, with Python 3 installed:

python3 .github/ci/changelog.py render

This prints the generated ## [Unreleased] section without changing files. Install and authenticate GitHub CLI to include PR numbers. The renderer calls gh api repos/{owner}/{repo}/commits/<sha>/pulls for each fragment's adding commit and prefers a merged PR. If Git history or GitHub is unavailable, it warns on stderr and omits the number.

To collect fragments for a release, supply its version without v and its date:

python3 .github/ci/changelog.py release 0.1.0-beta.4 2026-10-28

This adds a dated section to CHANGELOG.md, updates comparison links, and deletes consumed fragments. The Unreleased heading and fragment note remain. Collection refuses duplicate versions, handwritten Unreleased entries, missing comparison links, and an empty fragment set.

Review warnings before publishing; offline entries have no PR numbers. Commit the changelog and fragment deletions with the release changes. Collection does not update Cargo versions or create a tag; follow the release process.