---
title: "github.com/swiftlang/swift-subprocess 1.0.0 Breaking Changes"
description: "What each github.com/swiftlang/swift-subprocess release on Swift Package Index removed, renamed or changed, each with its source."
canonical_url: https://since.dev/packages/swift/github.com/swiftlang/swift-subprocess
last_updated: 2026-12-04
---

# github.com/swiftlang/swift-subprocess breaking changes

github.com/swiftlang/swift-subprocess 1.0.0 (August 4, 2026) is its newest release with breaking changes, 27 of them. The first: Removed Environment.custom. Every breaking API change we have recorded in github.com/swiftlang/swift-subprocess on Swift Package Index: 35 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `1.0.2`, released October 15, 2026. [Source repository](https://github.com/swiftlang/swift-subprocess)

- From [1.0.0-beta.1](#v-1-0-0-beta-1) to [1.0.0](#v-1-0-0): 27 breaking changes in 1 version.

## github.com/swiftlang/swift-subprocess 1.0.0 breaking changes

github.com/swiftlang/swift-subprocess 1.0.0, released August 4, 2026: 27 breaking changes.

- **Removed** `Environment.custom`  

Environment methods that took String keys now take Environment.Key. [github.com](https://github.com/swiftlang/swift-subprocess/releases/tag/1.0.0)
- **Removed** `FileDescriptorOutput.standardOutput`  

Use currentStandardOutput and currentStandardError instead. [github.com](https://github.com/swiftlang/swift-subprocess/releases/tag/1.0.0)
- **Removed** `OutputProtocol.output`  

Custom OutputProtocol conformers must drop the Sequence\<UInt8> output(from:) method and use RawSpan. [github.com](https://github.com/swiftlang/swift-subprocess/releases/tag/1.0.0)
- **Removed** `PlatformOptions.launchRequirementData`  

The launchRequirementData property was removed from PlatformOptions on Darwin. [github.com](https://github.com/swiftlang/swift-subprocess/releases/tag/1.0.0)
- **Removed** `PlatformOptions.preSpawnProcessConfigurator`  

The escape hatch is removed on non-Darwin Unix platforms; it remains on Darwin and Windows. [github.com](https://github.com/swiftlang/swift-subprocess/releases/tag/1.0.0)
- **Removed** `ProcessIdentifier`  

Codable conformances removed from ProcessIdentifier and TerminationStatus. [github.com](https://github.com/swiftlang/swift-subprocess/releases/tag/1.0.0)
- **Removed** `runDetached`  

runDetached() was removed because PIDs can be recycled; use run() with process descriptors instead. [github.com](https://github.com/swiftlang/swift-subprocess/releases/tag/1.0.0)
- **Removed** `StandardInputWriter.write`  

The separate run overloads taking a StandardInputWriter closure argument are replaced by the single execution-based form. [github.com](https://github.com/swiftlang/swift-subprocess/releases/tag/1.0.0)
- **Removed** `StringOutput.string`  

The zero-argument .string, .bytes and .data factories are replaced by versions taking a limit. [github.com](https://github.com/swiftlang/swift-subprocess/releases/tag/1.0.0)
- **Removed** `SubprocessSpan`  

The SubprocessSpan trait is removed; RawSpan is the only currency type. [github.com](https://github.com/swiftlang/swift-subprocess/releases/tag/1.0.0)
- **Removed** `TerminationStatus.unhandledException`  

On Windows unhandledException is removed; on Unix it is renamed to signaled. [github.com](https://github.com/swiftlang/swift-subprocess/releases/tag/1.0.0)
- **Removed** `UserCredentials`  

UserCredentials and userCredentials are internal on Windows for 1.0. [github.com](https://github.com/swiftlang/swift-subprocess/releases/tag/1.0.0)
- **Removed** `WindowsError`  

WindowsError is now an enum with ntStatus, win32, hresult and cRuntime cases rather than a DWORD wrapper. [github.com](https://github.com/swiftlang/swift-subprocess/releases/tag/1.0.0)
- **Renamed** `Configuration.init`  

The initializer label changes from executing to executable. [github.com](https://github.com/swiftlang/swift-subprocess/releases/tag/1.0.0)
- **Renamed** `ConsoleBehavior.detatch`  

The misspelled detatch case is corrected to detach on Windows. [github.com](https://github.com/swiftlang/swift-subprocess/releases/tag/1.0.0)
- **Renamed** `InputProtocol.standardInput`  

Replace input: .standardInput with input: .currentStandardInput. [github.com](https://github.com/swiftlang/swift-subprocess/releases/tag/1.0.0)
- **Renamed** `TeardownStep.gracefulShutDown`  

The gracefulShutDown label alloweDurationToNextStep is corrected to allowedDurationToNextStep. [github.com](https://github.com/swiftlang/swift-subprocess/releases/tag/1.0.0)
- **Renamed** `TeardownStep.sendSignal`  

Use send(signal:toProcessGroup:allowedDurationToNextStep:) in teardown sequences; sendSignal is gone. [github.com](https://github.com/swiftlang/swift-subprocess/releases/tag/1.0.0)
- **Behavior changed** `Configuration`  

Configuration is now Sendable and CustomStringConvertible; it is no longer Hashable or Equatable. [github.com](https://github.com/swiftlang/swift-subprocess/releases/tag/1.0.0)
- **Behavior changed** `Executable.name`  

Bare names no longer resolve from the current directory or Windows application directory; use path() for such executables. [github.com](https://github.com/swiftlang/swift-subprocess/releases/tag/1.0.0)
- **Behavior changed** `Execution.standardOutput`  

Output sequences are single-pass; calling makeAsyncIterator more than once traps. [github.com](https://github.com/swiftlang/swift-subprocess/releases/tag/1.0.0)
- **Behavior changed** `PlatformOptions`  

PlatformOptions is now Sendable and CustomStringConvertible, no longer Hashable. [github.com](https://github.com/swiftlang/swift-subprocess/releases/tag/1.0.0)
- **Behavior changed** `StringOutput.OutputType`  

standardOutput is now a non-optional String, so optional unwrapping code must be removed. [github.com](https://github.com/swiftlang/swift-subprocess/releases/tag/1.0.0)
- **Configuration changed**  

The package now requires swift-tools-version 6.2; users on Swift 6.1 must stay on the 0.4 tag. [github.com](https://github.com/swiftlang/swift-subprocess/releases/tag/1.0.0)
- **Signature changed** `CollectedResult`  

The CollectedResult type is gone; results now use the generic ExecutionResult. [github.com](https://github.com/swiftlang/swift-subprocess/releases/tag/1.0.0)
- **Signature changed** `Executable.resolveExecutablePath`  

Callers must now await resolveExecutablePath(in:) and handle its typed throws. [github.com](https://github.com/swiftlang/swift-subprocess/releases/tag/1.0.0)
- **Signature changed** `run`  

Closure-based run() overloads now take a single execution argument and require explicit input, output and error arguments; standard input writer moves to execution.standardInputWriter. [github.com](https://github.com/swiftlang/swift-subprocess/releases/tag/1.0.0)

## github.com/swiftlang/swift-subprocess 1.0.0-beta.1 breaking changes

github.com/swiftlang/swift-subprocess 1.0.0-beta.1, released August 4, 2026: 8 breaking changes.

- **Removed** `Configuration.init`  

The unlabeled Configuration.init(\_:arguments:…) was removed; use the executable:-labeled initializer. [github.com](https://github.com/swiftlang/swift-subprocess/releases/tag/1.0.0-beta.1)
- **Removed** `PlatformOptions.userCredentials`  

PlatformOptions.userCredentials is no longer public; remove its use. [github.com](https://github.com/swiftlang/swift-subprocess/releases/tag/1.0.0-beta.1)
- **Removed** `PlatformOptions.UserCredentials`  

PlatformOptions.UserCredentials is no longer public while credential spawning is deferred; code using it will not compile. [github.com](https://github.com/swiftlang/swift-subprocess/releases/tag/1.0.0-beta.1)
- **Removed** `SubprocessError.WindowsError.rawValue`  

WindowsError no longer conforms to RawRepresentable and has no rawValue; use its enum cases and initializers instead. [github.com](https://github.com/swiftlang/swift-subprocess/releases/tag/1.0.0-beta.1)
- **Renamed** `ExecutionResult.closureOutput`  

ExecutionResult.closureOutput was renamed to closureResult; update call sites to use the new name and takeClosureResult() where needed. [github.com](https://github.com/swiftlang/swift-subprocess/releases/tag/1.0.0-beta.1)
- **Behavior changed**  

Malformed environment keys or values now throw SubprocessError.spawnFailed instead of spawning a child process. [github.com](https://github.com/swiftlang/swift-subprocess/releases/tag/1.0.0-beta.1)
- **Behavior changed**  

When the body closure throws, the configured teardown sequence now terminates the child instead of leaving it running. [github.com](https://github.com/swiftlang/swift-subprocess/releases/tag/1.0.0-beta.1)
- **Behavior changed** `StandardInputWriter`  

Writes after finish() now throw a SubprocessError; code that wrote after finishing will now get an error. [github.com](https://github.com/swiftlang/swift-subprocess/releases/tag/1.0.0-beta.1)

## Related packages

- [github.com/swiftlang/swift-format](https://since.dev/packages/swift/github.com/swiftlang/swift-format.md)
- [github.com/swiftlang/swift-syntax](https://since.dev/packages/swift/github.com/swiftlang/swift-syntax.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
