# What changed in interprocess

> 49 changes in interprocess 1 to 2 from its official release notes, upgrade guides and advisories: 10 breaking, 4 deprecations, 11 new APIs and options. Each one cited. Sources checked 2026-11-30. HTML: https://unstale.sh/cargo/interprocess/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## interprocess 2

### Breaking changes

- Fixed the build on ARMv7, allowing developers to build the project for that architecture. (2.4.6) — [release notes](https://github.com/kotauskas/interprocess/releases/tag/2.4.6)
- On xucred platforms, groups no longer includes the EGID twice. (2.4.5) — [release notes](https://github.com/kotauskas/interprocess/releases/tag/2.4.5)
- Cargo no longer packages this file, avoiding the impression that Interprocess requires Python. (2.4.4) — [release notes](https://github.com/kotauskas/interprocess/releases/tag/2.4.4)
- 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.0) — [release notes](https://github.com/kotauskas/interprocess/releases/tag/2.3.0)
- Inaccurate types that unnecessarily made invalid options representable have been corrected. (2.0.0) — [release notes](https://github.com/kotauskas/interprocess/releases/tag/2.0.0)
- The name type and name creation API have been overhauled to support the local socket API changes. (2.0.0) — [release notes](https://github.com/kotauskas/interprocess/releases/tag/2.0.0)
- The minimum Rust version is now 1.75.0, which developers must use to build Interprocess 2.0.0. (2.0.0) — [release notes](https://github.com/kotauskas/interprocess/releases/tag/2.0.0)
- Signal support has been removed in favor of signal_hook. (2.0.0) — [release notes](https://github.com/kotauskas/interprocess/releases/tag/2.0.0)
- Ud-sockets have been outsourced to the standard library. (2.0.0) — [release notes](https://github.com/kotauskas/interprocess/releases/tag/2.0.0)
- The Windows named pipe API has been overhauled to be more idiomatic to Rust, with expanded use of generics. (2.0.0) — [release notes](https://github.com/kotauskas/interprocess/releases/tag/2.0.0)

### Deprecations

- 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.7) — [release notes](https://github.com/kotauskas/interprocess/releases/tag/2.4.7)
- Local socket stream split is soft-deprecated; using Rc or Arc is preferred because functionality and performance are identical. (2.4.0) — [release notes](https://github.com/kotauskas/interprocess/releases/tag/2.4.0)
- Deprecated in favor of inherent methods fulfilling the same function; the deprecation warning can be fixed by removing the import. (2.3.0) — [release notes](https://github.com/kotauskas/interprocess/releases/tag/2.3.0)
- Deprecated due to complicated and potentially undesirable fallback behavior. (2.3.0) — [release notes](https://github.com/kotauskas/interprocess/releases/tag/2.3.0)

### New APIs and options

- PeerCreds adds a method to check whether platform limitations prevent groups from returning the full set of supplementary groups. (2.4.5) — [release notes](https://github.com/kotauskas/interprocess/releases/tag/2.4.5)
- Local socket streams now expose the other side's credentials, including process ID, effective user and group IDs, and supplementary groups. (2.4.0) — [release notes](https://github.com/kotauskas/interprocess/releases/tag/2.4.0)
- Added to work around windows-sys version churn. (2.3.0) — [release notes](https://github.com/kotauskas/interprocess/releases/tag/2.3.0)
- Local socket implementation wrappers now have accessors for their underlying implementations. (2.3.0) — [release notes](https://github.com/kotauskas/interprocess/releases/tag/2.3.0)
- Lets clients specify the connection timeout and use zero-cost nonblocking mode enablement. (2.3.0) — [release notes](https://github.com/kotauskas/interprocess/releases/tag/2.3.0)
- Added to streamline the common case of dealing with "address in use" errors. (2.3.0) — [release notes](https://github.com/kotauskas/interprocess/releases/tag/2.3.0)
- A limbo prevents in-flight data from being lost when connections are dropped. (2.0.0) — [release notes](https://github.com/kotauskas/interprocess/releases/tag/2.0.0)
- Developers can explicitly select the underlying local socket implementation; each backend has a public API and implements the new local socket traits. (2.0.0) — [release notes](https://github.com/kotauskas/interprocess/releases/tag/2.0.0)
- Functionality has been offloaded to the recvmsg crate, which is now part of Interprocess's public API. (2.0.0) — [release notes](https://github.com/kotauskas/interprocess/releases/tag/2.0.0)
- Windows security descriptors now have a proper API. (2.0.0) — [release notes](https://github.com/kotauskas/interprocess/releases/tag/2.0.0)

### Performance

- On Unix-like systems, setting local sockets to nonblocking now saves one syscall by avoiding a preceding F_GETFL call. (2.4.8) — [release notes](https://github.com/kotauskas/interprocess/releases/tag/2.4.8)
- 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.0) — [release notes](https://github.com/kotauskas/interprocess/releases/tag/2.3.0)

### Behavior and default changes

- PeerCreds is now supported on illumos, Solaris, and Haiku, which have at least one known-working Interprocess version. (2.4.9) — [release notes](https://github.com/kotauskas/interprocess/releases/tag/2.4.9)
- I/O on the same local socket stream can now be performed from multiple threads at once without panics. (2.4.0) — [release notes](https://github.com/kotauskas/interprocess/releases/tag/2.4.0)
- Synchronous named pipes now use overlapped I/O, allowing concurrent I/O operations on the same stream. (2.4.0) — [release notes](https://github.com/kotauskas/interprocess/releases/tag/2.4.0)
- NetBSD was promoted from Support by association to Explicit support without CI. (2.3.0) — [release notes](https://github.com/kotauskas/interprocess/releases/tag/2.3.0)
- Local sockets are more uniform across platforms, eliminating the need to explicitly acknowledge platform differences in most practical programs. (2.0.0) — [release notes](https://github.com/kotauskas/interprocess/releases/tag/2.0.0)
- Streams can now be split by value and read from and written to by reference. (2.0.0) — [release notes](https://github.com/kotauskas/interprocess/releases/tag/2.0.0)

### Tooling

- A tool was added to help investigate the behavior of platforms that Interprocess has previously not been ported to. (2.3.0) — [release notes](https://github.com/kotauskas/interprocess/releases/tag/2.3.0)

### Fixes and other changes

- 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.9) — [release notes](https://github.com/kotauskas/interprocess/releases/tag/2.4.9)
- Fixed spurious completion by passing an OVERLAPPED structure. (2.4.7) — [release notes](https://github.com/kotauskas/interprocess/releases/tag/2.4.7)
- On named pipes, conversion no longer attempts to reopen handles into overlapped mode. (2.4.7) — [release notes](https://github.com/kotauskas/interprocess/releases/tag/2.4.7)
- On xucred platforms, egid now returns Some after correcting the interpretation of cr_groups. (2.4.5) — [release notes](https://github.com/kotauskas/interprocess/releases/tag/2.4.5)
- Fixed a crash when reading from a disconnected named pipe stream. (2.4.1) — [release notes](https://github.com/kotauskas/interprocess/releases/tag/2.4.1)
- The project is now dual-licensed as 0BSD OR Apache-2.0, with no restrictions introduced. (2.4.1) — [release notes](https://github.com/kotauskas/interprocess/releases/tag/2.4.1)
- Fixed a memory leak that affected every Tokio-based stream lingered in versions 2.3.0 and 2.3.1. (2.4.0) — [release notes](https://github.com/kotauskas/interprocess/releases/tag/2.4.0)
- Fixed a build failure on 32-bit Unix systems caused by assuming `tv_nsec` implements `From<u32>`. (2.3.1) — [release notes](https://github.com/kotauskas/interprocess/releases/tag/2.3.1)
- The project is now licensed under the 0-clause BSD license. (2.3.0) — [release notes](https://github.com/kotauskas/interprocess/releases/tag/2.3.0)
- Fixed handling of dead-on-arrival connections. (2.3.0) — [release notes](https://github.com/kotauskas/interprocess/releases/tag/2.3.0)
- Unnamed pipes are now inheritable; previously, they defaulted to not being inheritable due to a typo. (2.3.0) — [release notes](https://github.com/kotauskas/interprocess/releases/tag/2.3.0)
- 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.0) — [release notes](https://github.com/kotauskas/interprocess/releases/tag/2.3.0)
- Platform support has been clarified and expanded, affecting which platforms developers can target. (2.0.0) — [release notes](https://github.com/kotauskas/interprocess/releases/tag/2.0.0)
- Ud-socket local socket listeners now clean up corpse socket files when dropped. (2.0.0) — [release notes](https://github.com/kotauskas/interprocess/releases/tag/2.0.0)

## interprocess 1

### New APIs and options

- The module provides an asynchronous wrapper around local sockets, currently implemented by spawning additional threads using the blocking crate. (1.0.0) — [release notes](https://github.com/kotauskas/interprocess/releases/tag/1.0.0)

### Fixes and other changes

- Unix domain sockets, which were previously broken, are now fixed. (1.0.0) — [release notes](https://github.com/kotauskas/interprocess/releases/tag/1.0.0)
