1"@effect/platform/HttpApiBuilder#api":
2 replacement: "effect/http-api/HttpApiBuilder#layer"
3 note: "Use layer(api) and provide the group layers; it registers the completed API with HttpRouter."
4"@effect/platform/HttpApiBuilder#buildMiddleware":
5 replacement: "none"
6 note: "API-wide middleware assembly was removed. Declared HttpApiMiddleware services are applied while routes are built; use HttpRouter.middleware for additional middleware."
7"@effect/platform/HttpApiBuilder#group":
8 replacement: "effect/http-api/HttpApiBuilder#group"
9 note: "The group layer remains; names are now identifiers and API/group global error channels are gone."
10"@effect/platform/HttpApiBuilder#handler":
11 replacement: "effect/http-api/HttpApiBuilder#handler"
12 note: "The typed callback helper remains; names are now identifiers and API/group global error channels are gone. Pass the returned callback to handlers.handle."
13"@effect/platform/HttpApiBuilder#Handlers":
14 replacement: "effect/http-api/HttpApiBuilder#Handlers"
15 note: "Handlers now tracks an endpoint map and handled identifiers. Prefer Handlers.FromGroup<Group>."
16"@effect/platform/HttpApiBuilder#Handlers.Error":
17 replacement: "effect/http-api/HttpApiBuilder#Handlers.Error"
18 note: "The helper remains and extracts the error channel of an effectful group-builder return."
19"@effect/platform/HttpApiBuilder#Handlers.Middleware":
20 replacement: "none"
21 note: "The handler-internal HttpApp middleware alias was removed. Use HttpRouter.middleware inference or HttpRouter.middleware.Fn."
22"@effect/platform/HttpApiBuilder#Handlers.ValidateReturn":
23 replacement: "effect/http-api/HttpApiBuilder#Handlers.ValidateReturn"
24 note: "The validator remains and now checks the endpoint map against handled identifiers."
25"@effect/platform/HttpApiBuilder#HandlersTypeId":
26 replacement: "none"
27 note: "The exported symbol was removed; do not inspect or construct the private Handlers marker."
28"@effect/platform/HttpApiBuilder#Middleware":
29 replacement: "none"
30 note: "The API-specific middleware service tag was removed. Declared HttpApiMiddleware services are applied while routes are built; use HttpRouter.middleware for additional global middleware."
31"@effect/platform/HttpApiBuilder#httpApp":
32 replacement: "effect/http/HttpRouter#toHttpEffect"
33 note: "Build the application from the assembled API route layer; HTTP apps are Effects in v4."
34"@effect/platform/HttpApiBuilder#middleware":
35 replacement: "effect/http/HttpRouter#middleware"
36 note: "Use router effect middleware and provide its layer to the API route layer; global middleware can target all router routes."
37"@effect/platform/HttpApiBuilder#middlewareCors":
38 replacement: "effect/http/HttpRouter#cors"
39 note: "Use the router CORS layer, or provide route-scoped HttpMiddleware.cors through HttpRouter.middleware."
40"@effect/platform/HttpApiBuilder#MiddlewareFn":
41 replacement: "effect/http/HttpRouter#middleware.Fn"
42 note: "HTTP apps are Effects in v4; use the router middleware function type or infer it through HttpRouter.middleware."
43"@effect/platform/HttpApiBuilder#middlewareOpenApi":
44 replacement: "effect/http-api/HttpApiBuilder#layer"
45 note: "Set openapiPath in layer(api, options). The additionalPropertiesStrategy option was removed."
46"@effect/platform/HttpApiBuilder#Router":
47 replacement: "effect/http/HttpRouter#HttpRouter"
48 note: "The API-specific router tag was removed; API and group layers register with the shared HttpRouter service."
49"@effect/platform/HttpApiBuilder#toWebHandler":
50 replacement: "effect/http/HttpRouter#toWebHandler"
51 note: "Pass the assembled API route layer to HttpRouter.toWebHandler; the handler and dispose lifecycle is retained."