Skip to content

deprecate Filter type - #74

Merged
thaJeztah merged 1 commit into
docker:mainfrom
thaJeztah:deprecate_filter
Aug 28, 2026
Merged

deprecate Filter type#74
thaJeztah merged 1 commit into
docker:mainfrom
thaJeztah:deprecate_filter

Conversation

@thaJeztah

@thaJeztah thaJeztah commented Aug 28, 2026

Copy link
Copy Markdown
Member

deprecate Filter type

Make the filter implementation private and retain Filter as a deprecated
type alias for compatibility.

Direct construction of Filter was never useful because its zero value is not
usable, and NewFilter already returns the Sink interface consumed by callers.
Move the concurrency warning to NewFilter, which is now the documented
construction path.

Make the filter implementation private and retain Filter as a deprecated
type alias for compatibility.

Direct construction of Filter was never useful because its zero value is not
usable, and NewFilter already returns the Sink interface consumed by callers.
Move the concurrency warning to NewFilter, which is now the documented
construction path.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah
thaJeztah marked this pull request as ready for review August 28, 2026 13:30
@thaJeztah
thaJeztah merged commit 4fed1d4 into docker:main Aug 28, 2026
13 checks passed
@thaJeztah
thaJeztah deleted the deprecate_filter branch August 28, 2026 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants