Fixes #3472 /claim #3472
This PR splits the monolithic zio-http artifact into three separate Maven modules as requested in the issue:
| Module | Description | Platform |
|---|---|---|
zio-http-core |
Core types (Request, Response, Handler, Routes, Body, Headers, URL, etc.) | JVM + JS |
zio-http-endpoint |
Endpoint API (Endpoint, OpenAPI, gRPC support) | JVM + JS |
zio-http-netty |
Netty-based server/client implementation | JVM only |
The main zio-http module aggregates all three modules, so existing users don’t need to change their dependencies.
zio-http-core (no external HTTP deps)
↑
zio-http-endpoint (depends on core)
↑
zio-http-netty (depends on core + endpoint, adds Netty)
↑
zio-http (aggregates all for backward compat)
# Compile all modules
sbt compile
# Run tests
sbt test
# Verify module structure
sbt projects
This is a structural change for milestone 4.0. The actual source files are copied (not moved) to maintain backward compatibility during the transition period. In a follow-up PR, the original files can be removed from zio-http once the new structure is validated.
andresctirado
@andresctirado
ZIO
@ZIO