unstale

cargo / interprocess

interprocess

What changed in interprocess 1 to 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

10 breaking4 deprecations11 new APIs and options2 performance6 behavior and defaults1 tooling15 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

interprocess 247 changes

Breaking changes 10

  • Fixed the build on ARMv7, allowing developers to build the project for that architecture.

    2.4.6release notes

  • On xucred platforms, groups no longer includes the EGID twice.

    2.4.5release notes

  • Cargo no longer packages this file, avoiding the impression that Interprocess requires Python.

    2.4.4release notes

  • The umask fallback was removed; the method now returns ErrorKind::Unsupported where a Unix domain socket listener's mode cannot be changed atomically.

    2.3.0release notes

  • Inaccurate types that unnecessarily made invalid options representable have been corrected.

    2.0.0release notes

  • The name type and name creation API have been overhauled to support the local socket API changes.

    2.0.0release notes

  • The minimum Rust version is now 1.75.0, which developers must use to build Interprocess 2.0.0.

    2.0.0release notes

  • Signal support has been removed in favor of signal_hook.

    2.0.0release notes

  • Ud-sockets have been outsourced to the standard library.

    2.0.0release notes

  • The Windows named pipe API has been overhauled to be more idiomatic to Rust, with expanded use of generics.

    2.0.0release notes

Deprecations 4

  • Deprecated in favor of putting the stream in an Rc or Arc, which better expresses the behavior and performance characteristics common to Rust programs.

    2.4.7release notes

  • Local socket stream split is soft-deprecated; using Rc or Arc is preferred because functionality and performance are identical.

    2.4.0release notes

  • Deprecated in favor of inherent methods fulfilling the same function; the deprecation warning can be fixed by removing the import.

    2.3.0release notes

  • Deprecated due to complicated and potentially undesirable fallback behavior.

    2.3.0release notes

New APIs and options 10

  • PeerCreds adds a method to check whether platform limitations prevent groups from returning the full set of supplementary groups.

    2.4.5release notes

  • Local socket streams now expose the other side's credentials, including process ID, effective user and group IDs, and supplementary groups.

    2.4.0release notes

  • Added to work around windows-sys version churn.

    2.3.0release notes

  • Local socket implementation wrappers now have accessors for their underlying implementations.

    2.3.0release notes

  • Lets clients specify the connection timeout and use zero-cost nonblocking mode enablement.

    2.3.0release notes

  • Added to streamline the common case of dealing with "address in use" errors.

    2.3.0release notes

  • A limbo prevents in-flight data from being lost when connections are dropped.

    2.0.0release notes

  • Developers can explicitly select the underlying local socket implementation; each backend has a public API and implements the new local socket traits.

    2.0.0release notes

  • Functionality has been offloaded to the recvmsg crate, which is now part of Interprocess's public API.

    2.0.0release notes

  • Windows security descriptors now have a proper API.

    2.0.0release notes

Performance 2

  • On Unix-like systems, setting local sockets to nonblocking now saves one syscall by avoiding a preceding F_GETFL call.

    2.4.8release notes

  • Unix set_nonblocking methods now use FIONBIO on Linux to reduce system calls; superfluous fcntl(F_GETFL) calls were also optimized out on other platforms.

    2.3.0release notes

Behavior and default changes 6

  • PeerCreds is now supported on illumos, Solaris, and Haiku, which have at least one known-working Interprocess version.

    2.4.9release notes

  • I/O on the same local socket stream can now be performed from multiple threads at once without panics.

    2.4.0release notes

  • Synchronous named pipes now use overlapped I/O, allowing concurrent I/O operations on the same stream.

    2.4.0release notes

  • NetBSD was promoted from Support by association to Explicit support without CI.

    2.3.0release notes

  • Local sockets are more uniform across platforms, eliminating the need to explicitly acknowledge platform differences in most practical programs.

    2.0.0release notes

  • Streams can now be split by value and read from and written to by reference.

    2.0.0release notes

Tooling 1

  • A tool was added to help investigate the behavior of platforms that Interprocess has previously not been ported to.

    2.3.0release notes

Fixes and other changes 14

  • The implementation conservatively assumes the OS does not support or ignores fchmod, rather than treating a successful fchmod as proof that the socket mode was set.

    2.4.9release notes

  • Fixed spurious completion by passing an OVERLAPPED structure.

    2.4.7release notes

  • On named pipes, conversion no longer attempts to reopen handles into overlapped mode.

    2.4.7release notes

  • On xucred platforms, egid now returns Some after correcting the interpretation of cr_groups.

    2.4.5release notes

  • Fixed a crash when reading from a disconnected named pipe stream.

    2.4.1release notes

  • The project is now dual-licensed as 0BSD OR Apache-2.0, with no restrictions introduced.

    2.4.1release notes

  • Fixed a memory leak that affected every Tokio-based stream lingered in versions 2.3.0 and 2.3.1.

    2.4.0release notes

  • Fixed a build failure on 32-bit Unix systems caused by assuming tv_nsec implements From<u32>.

    2.3.1release notes

  • The project is now licensed under the 0-clause BSD license.

    2.3.0release notes

  • Fixed handling of dead-on-arrival connections.

    2.3.0release notes

  • Unnamed pipes are now inheritable; previously, they defaulted to not being inheritable due to a typo.

    2.3.0release notes

  • Fixed a panic when dropping Tokio-based Windows named pipes outside of a Tokio runtime by replacing the old limbo with a new linger pool used for sync and Tokio named pipes.

    2.3.0release notes

  • Platform support has been clarified and expanded, affecting which platforms developers can target.

    2.0.0release notes

  • Ud-socket local socket listeners now clean up corpse socket files when dropped.

    2.0.0release notes

interprocess 12 changes

New APIs and options 1

  • The module provides an asynchronous wrapper around local sockets, currently implemented by spawning additional threads using the blocking crate.

    1.0.0release notes

Fixes and other changes 1

  • Unix domain sockets, which were previously broken, are now fixed.

    1.0.0release notes