Skip to content

Remove deprecated ConnectionContext.defaultPort (since Akka HTTP 10.2.0)#1127

Merged
He-Pin merged 1 commit into
apache:mainfrom
He-Pin:remove/deprecated-connection-context-default-port
Jul 5, 2026
Merged

Remove deprecated ConnectionContext.defaultPort (since Akka HTTP 10.2.0)#1127
He-Pin merged 1 commit into
apache:mainfrom
He-Pin:remove/deprecated-connection-context-default-port

Conversation

@He-Pin

@He-Pin He-Pin commented Jul 5, 2026

Copy link
Copy Markdown
Member

Motivation

ConnectionContext.defaultPort was deprecated since Akka HTTP 10.2.0 as an internal method left only for binary compatibility.

Modification

Removed defaultPort from ConnectionContext trait and its overrides in HttpsConnectionContext and HttpConnectionContext. Added MiMa filters.

Result

Deprecated internal method removed.

@He-Pin He-Pin marked this pull request as ready for review July 5, 2026 04:05

@pjfanning pjfanning left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@He-Pin He-Pin merged commit d7b889a into apache:main Jul 5, 2026
5 checks passed
@He-Pin He-Pin deleted the remove/deprecated-connection-context-default-port branch July 5, 2026 08:41
@pjfanning pjfanning added this to the 2.0.0-M2 milestone Jul 5, 2026
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