github jkfran/killport v2.0.2
Release v2.0.2

4 hours ago

Dependencies

  • build(deps): bump the cargo-minor-patch group with 3 updates (#52)
  • build(deps): bump the cargo-minor-patch group with 3 updates (#51)
  • build(deps): bump regex in the cargo-minor-patch group (#50)
  • Updating bitflags v2.13.0 -> v2.13.1
  • Updating bstr v1.12.3 -> v1.13.0
  • Updating bytes v1.12.0 -> v1.12.1
  • Updating cc v1.2.66 -> v1.4.0
  • Updating cfg_aliases v0.2.1 -> v0.2.2
  • Updating clang-sys v1.8.1 -> v1.9.1
  • Updating clap v4.6.4 -> v4.6.5
  • Updating clap_builder v4.6.2 -> v4.6.5
  • Updating clap_complete v4.6.7 -> v4.6.8
  • Updating displaydoc v0.2.6 -> v0.2.7
  • Updating either v1.16.0 -> v1.17.0
  • Updating fastrand v2.4.1 -> v2.5.0
  • Updating futures-channel v0.3.32 -> v0.3.33
  • Updating futures-core v0.3.32 -> v0.3.33
  • Updating futures-macro v0.3.32 -> v0.3.33
  • Updating futures-sink v0.3.32 -> v0.3.33
  • Updating futures-task v0.3.32 -> v0.3.33
  • Updating futures-util v0.3.32 -> v0.3.33
  • Updating glob v0.3.3 -> v0.3.4
  • Updating http v1.4.2 -> v1.5.0
  • Updating http-body v1.0.1 -> v1.1.0
  • Updating http-body-util v0.1.3 -> v0.1.4
  • Updating hyper v1.10.1 -> v1.11.0
  • Updating hyper-named-pipe v0.1.0 -> v0.1.1
  • Updating jiff v0.2.31 -> v0.2.35
  • Adding jiff-core v0.1.0
  • Updating jiff-static v0.2.31 -> v0.2.35
  • Updating memchr v2.8.2 -> v2.8.3
  • Updating mio v1.2.1 -> v1.2.2
  • Updating portable-atomic v1.13.1 -> v1.14.0
  • Updating proc-macro2 v1.0.106 -> v1.0.107
  • Updating quote v1.0.46 -> v1.0.47
  • Updating rustversion v1.0.22 -> v1.0.23
  • Updating serde v1.0.228 -> v1.0.229
  • Updating serde_core v1.0.228 -> v1.0.229
  • Updating serde_derive v1.0.228 -> v1.0.229
  • Updating serde_json v1.0.150 -> v1.0.151
  • Updating serde_repr v0.1.20 -> v0.1.21
  • Updating simd-adler32 v0.3.9 -> v0.3.10
  • Updating socket2 v0.6.4 -> v0.6.5
  • ...and 5 more transitive updates

Changed

  • Minimum supported Rust version corrected from 1.74 to 1.86 — the actual floor of the current dependency tree — and now enforced by a dedicated CI job

Fixed

  • Killing multiple ports no longer stops at the first port that errors; all ports are processed and the exit code reflects the worst outcome (error > not found > success)
  • Windows: no longer attempts to kill PID 0 ([System Process], owner of TIME_WAIT entries) or PID 4 (System), which failed with error 0x57
  • macOS: processes holding more than 1024 file descriptors could have their listening sockets missed; the fd list is now sized to the process's actual fd count
  • macOS: a process exiting mid-scan no longer aborts the whole port lookup
  • Linux: port lookup scans /proc once for all matching socket inodes instead of once per inode, and no longer returns duplicate entries when several fds match the port
  • Linux: processes with unreadable command lines fall back to the short process name instead of being skipped
  • Container runtime detection and kills honor DOCKER_HOST (colima, podman, remote docker)
  • Container kills reuse the shared tokio runtime instead of building a new one per container

Don't miss a new killport release

NewReleases is sending notifications on new releases.