From 464fb345582a9e7dc3c1572db85c1aedc00efbe0 Mon Sep 17 00:00:00 2001 From: broken-circle <252359939+broken-circle@users.noreply.github.com> Date: Wed, 8 Jul 2026 10:14:24 -0700 Subject: [PATCH] Remove deprecated `FileDescriptorOutput` aliases --- .../Documentation.docc/reference/OutputProtocol.md | 2 -- Sources/Subprocess/IO/Output.swift | 12 ------------ 2 files changed, 14 deletions(-) diff --git a/Sources/Subprocess/Documentation.docc/reference/OutputProtocol.md b/Sources/Subprocess/Documentation.docc/reference/OutputProtocol.md index 6ae2e3c8..464b8c83 100644 --- a/Sources/Subprocess/Documentation.docc/reference/OutputProtocol.md +++ b/Sources/Subprocess/Documentation.docc/reference/OutputProtocol.md @@ -14,8 +14,6 @@ ### Accessing standard streams -- ``standardOutput`` -- ``standardError`` - ``currentStandardOutput`` - ``currentStandardError`` diff --git a/Sources/Subprocess/IO/Output.swift b/Sources/Subprocess/IO/Output.swift index e55c4e6b..3cf5487e 100644 --- a/Sources/Subprocess/IO/Output.swift +++ b/Sources/Subprocess/IO/Output.swift @@ -219,12 +219,6 @@ extension OutputProtocol where Self == FileDescriptorOutput { ) } - // TODO: remove for 1.0 - @available(*, deprecated, renamed: "currentStandardOutput") - public static var standardOutput: Self { - return currentStandardOutput - } - /// Creates a subprocess output that writes to the current process's standard error. /// /// The file descriptor isn't closed afterward. @@ -234,12 +228,6 @@ extension OutputProtocol where Self == FileDescriptorOutput { closeAfterSpawningProcess: false ) } - - // TODO: remove for 1.0 - @available(*, deprecated, renamed: "currentStandardError") - public static var standardError: Self { - return currentStandardError - } } extension OutputProtocol where Self == StringOutput {