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
On this page
Latest version 1.0.2, released October 15, 2026. Source repository
- From 1.0.0-beta.1 to 1.0.0: 27 breaking changes in 1 version.
github.com/swiftlang/swift-subprocess 1.0.0 breaking changes
- Removed
Environment.custom
Environment methods that took String keys now take Environment.Key. github.com - Removed
FileDescriptorOutput.standardOutput
Use currentStandardOutput and currentStandardError instead. github.com - Removed
OutputProtocol.output
Custom OutputProtocol conformers must drop the Sequence<UInt8> output(from:) method and use RawSpan. github.com - Removed
PlatformOptions.launchRequirementData
The launchRequirementData property was removed from PlatformOptions on Darwin. github.com - Removed
PlatformOptions.preSpawnProcessConfigurator
The escape hatch is removed on non-Darwin Unix platforms; it remains on Darwin and Windows. github.com - Removed
ProcessIdentifier
Codable conformances removed from ProcessIdentifier and TerminationStatus. github.com - Removed
runDetached
runDetached() was removed because PIDs can be recycled; use run() with process descriptors instead. github.com - Removed
StandardInputWriter.write
The separate run overloads taking a StandardInputWriter closure argument are replaced by the single execution-based form. github.com - Removed
StringOutput.string
The zero-argument .string, .bytes and .data factories are replaced by versions taking a limit. github.com - Removed
SubprocessSpan
The SubprocessSpan trait is removed; RawSpan is the only currency type. github.com - Removed
TerminationStatus.unhandledException
On Windows unhandledException is removed; on Unix it is renamed to signaled. github.com - Removed
UserCredentials
UserCredentials and userCredentials are internal on Windows for 1.0. github.com - Removed
WindowsError
WindowsError is now an enum with ntStatus, win32, hresult and cRuntime cases rather than a DWORD wrapper. github.com - Renamed
Configuration.init
The initializer label changes from executing to executable. github.com - Renamed
ConsoleBehavior.detatch
The misspelled detatch case is corrected to detach on Windows. github.com - Renamed
InputProtocol.standardInput
Replace input: .standardInput with input: .currentStandardInput. github.com - Renamed
TeardownStep.gracefulShutDown
The gracefulShutDown label alloweDurationToNextStep is corrected to allowedDurationToNextStep. github.com - Renamed
TeardownStep.sendSignal
Use send(signal:toProcessGroup:allowedDurationToNextStep:) in teardown sequences; sendSignal is gone. github.com - Behavior changed
Configuration
Configuration is now Sendable and CustomStringConvertible; it is no longer Hashable or Equatable. github.com - Behavior changed
Executable.name
Bare names no longer resolve from the current directory or Windows application directory; use path() for such executables. github.com - Behavior changed
Execution.standardOutput
Output sequences are single-pass; calling makeAsyncIterator more than once traps. github.com - Behavior changed
PlatformOptions
PlatformOptions is now Sendable and CustomStringConvertible, no longer Hashable. github.com - Behavior changed
StringOutput.OutputType
standardOutput is now a non-optional String, so optional unwrapping code must be removed. github.com - 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 - Signature changed
CollectedResult
The CollectedResult type is gone; results now use the generic ExecutionResult. github.com - Signature changed
Executable.resolveExecutablePath
Callers must now await resolveExecutablePath(in:) and handle its typed throws. github.com - 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
github.com/swiftlang/swift-subprocess 1.0.0-beta.1 breaking changes
- Removed
Configuration.init
The unlabeled Configuration.init(_:arguments:…) was removed; use the executable:-labeled initializer. github.com - Removed
PlatformOptions.userCredentials
PlatformOptions.userCredentials is no longer public; remove its use. github.com - Removed
PlatformOptions.UserCredentials
PlatformOptions.UserCredentials is no longer public while credential spawning is deferred; code using it will not compile. github.com - Removed
SubprocessError.WindowsError.rawValue
WindowsError no longer conforms to RawRepresentable and has no rawValue; use its enum cases and initializers instead. github.com - Renamed
ExecutionResult.closureOutput
ExecutionResult.closureOutput was renamed to closureResult; update call sites to use the new name and takeClosureResult() where needed. github.com - Behavior changed
Malformed environment keys or values now throw SubprocessError.spawnFailed instead of spawning a child process. github.com - Behavior changed
When the body closure throws, the configured teardown sequence now terminates the child instead of leaving it running. github.com - Behavior changed
StandardInputWriter
Writes after finish() now throw a SubprocessError; code that wrote after finishing will now get an error. github.com
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.