Skip to content

Replace deprecated UnixSockets, SocketGroup usages with Network[F] (Scala Native 0.5.x) - #7746

Open
arashi01 wants to merge 7 commits into
http4s:series/0.23from
arashi01:scala-native-0.5.x
Open

arashi01 wants to merge 7 commits into
http4s:series/0.23from
arashi01:scala-native-0.5.x

Conversation

@arashi01

@arashi01 arashi01 commented Nov 4, 2025

Copy link
Copy Markdown
  • Updates for fs2 3.13.x. Replaces deprecated fs2 UnixSockets, SocketGroup etc with Network[F] based APIs in all internal implementation code.
  • Replaces cats-effect deprecated Hotswap with NonEmptyHotswap
  • Deprecates public methods containing deprecated APIs in their signature

Blocked by #7708 (Requires Scala Native 0.5.x due to dependencies availability - was originally a 0.5.x support branch. Should wait until #7708 is merged, and will resolve conflicts)

@rossabaker

Copy link
Copy Markdown
Member

Thanks! There's a topic/0.23/sn-0.5 branch in this repo that has the prior work to get onto Scala Native. Maybe this should target that branch. That gives a place to start resolving conflicts and make sure the pieces fit. And if we can keep that branch green, we'll be ready to merge it once its dependencies are stable.

@armanbilge

Copy link
Copy Markdown
Member

Maybe this should target that branch.

In fact, I think similar work was already done on that branch.

@rossabaker

Copy link
Copy Markdown
Member

I haven't studied how #7708 relates to that local topic branch, but I think that should be the target for all Scala Native preparation while it still has unstable dependencies.

@arashi01

Copy link
Copy Markdown
Author

@armanbilge Looks like you're right. Hadn't noticed that branch either beforehand.

@arashi01

Copy link
Copy Markdown
Author

@rossabaker Given the above it probably makes sense to just close this pr then. If there are any useful additions here can isolate them into separate changes and target the correct branch.

@iRevive

iRevive commented Jan 13, 2026

Copy link
Copy Markdown
Contributor

Hey @arashi01! I think your work is still relevant, since I haven't replaced deprecated Hotswap with NonEmptyHotswap in the scope of #7708.

@arashi01

Copy link
Copy Markdown
Author

@iRevive I'll create a PR targeting your #7708 branch in the next couple of days so we can consolidate it all there

@rossabaker

Copy link
Copy Markdown
Member

I wasn't really involved in the Scala Native work. I assume since we got there, we don't need anything else from this?

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants