| 1 | "@effect/platform/HttpRouter#all": |
| 2 | replacement: "HttpRouter.add(\"*\", path, handler, options)" |
| 3 | note: "v4 registers a route layer instead of returning an immutable router." |
| 4 | "@effect/platform/HttpRouter#append": |
| 5 | replacement: "HttpRouter.addAll([route])" |
| 6 | note: "Register the route and merge its layer with other route layers." |
| 7 | "@effect/platform/HttpRouter#catchAll": |
| 8 | replacement: "HttpRouter.middleware + Effect.catch" |
| 9 | note: "Apply typed-error recovery in route middleware provided to route layers." |
| 10 | "@effect/platform/HttpRouter#catchAllCause": |
| 11 | replacement: "HttpRouter.middleware + Effect.catchCause" |
| 12 | note: "Apply cause recovery in route middleware provided to route layers." |
| 13 | "@effect/platform/HttpRouter#catchTag": |
| 14 | replacement: "HttpRouter.middleware + Effect.catchTag" |
| 15 | note: "Apply tagged-error recovery in route middleware provided to route layers." |
| 16 | "@effect/platform/HttpRouter#concat": |
| 17 | replacement: "Layer.merge" |
| 18 | note: "Routers are now route-registration layers; merge the two layers." |
| 19 | "@effect/platform/HttpRouter#concatAll": |
| 20 | replacement: "Layer.mergeAll" |
| 21 | note: "Routers are now route-registration layers; merge all layers." |
| 22 | "@effect/platform/HttpRouter#currentRouterConfig": |
| 23 | replacement: "HttpRouter.RouterConfig" |
| 24 | note: "The FiberRef became a Context.Reference containing Partial<FindMyWay.RouterConfig>." |
| 25 | "@effect/platform/HttpRouter#Default": |
| 26 | replacement: "HttpRouter.HttpRouter + HttpRouter.layer" |
| 27 | note: "Custom/default router tags were removed; v4 provides one router service." |
| 28 | "@effect/platform/HttpRouter#empty": |
| 29 | replacement: "Layer.empty" |
| 30 | note: "There is no immutable empty router; use an empty registration layer." |
| 31 | "@effect/platform/HttpRouter#fromIterable": |
| 32 | replacement: "HttpRouter.addAll(Array.from(routes))" |
| 33 | note: "Materialize and register the route descriptors as a layer." |
| 34 | "@effect/platform/HttpRouter#get": |
| 35 | replacement: "HttpRouter.add(\"GET\", path, handler, options)" |
| 36 | note: "Register a route layer; handlers must produce HttpServerResponse." |
| 37 | "@effect/platform/HttpRouter#head": |
| 38 | replacement: "HttpRouter.addAll([HttpRouter.route(\"HEAD\", path, handler, options)])" |
| 39 | note: "Use route plus addAll because add does not expose HEAD." |
| 40 | "@effect/platform/HttpRouter#HttpRouter": |
| 41 | replacement: "HttpRouter.HttpRouter" |
| 42 | note: "The name remains, but now denotes the mutable layer-oriented registration service." |
| 43 | "@effect/platform/HttpRouter#HttpRouter.DefaultServices": |
| 44 | replacement: "none" |
| 45 | note: "The custom tagged-router default-service bundle was removed." |
| 46 | "@effect/platform/HttpRouter#HttpRouter.Service": |
| 47 | replacement: "HttpRouter.HttpRouter" |
| 48 | note: "Use the consolidated router service interface." |
| 49 | "@effect/platform/HttpRouter#makeRoute": |
| 50 | replacement: "HttpRouter.route" |
| 51 | note: "Renamed to route; v4 route options no longer expose the old prefix field." |
| 52 | "@effect/platform/HttpRouter#mount": |
| 53 | replacement: "HttpRouter.addAll(routes, { prefix: path })" |
| 54 | note: "Register child routes with a prefix, or use router.prefixed(path)." |
| 55 | "@effect/platform/HttpRouter#mountApp": |
| 56 | replacement: "HttpRouter.use((router) => router.prefixed(path).add(\"*\", \"/*\", app))" |
| 57 | note: "Register the app on the prefixed router service; no direct mount API remains." |
| 58 | "@effect/platform/HttpRouter#options": |
| 59 | replacement: "HttpRouter.add(\"OPTIONS\", path, handler, options)" |
| 60 | note: "Register a route layer; handlers must produce HttpServerResponse." |
| 61 | "@effect/platform/HttpRouter#patch": |
| 62 | replacement: "HttpRouter.add(\"PATCH\", path, handler, options)" |
| 63 | note: "Register a route layer; handlers must produce HttpServerResponse." |
| 64 | "@effect/platform/HttpRouter#PathInput": |
| 65 | replacement: "HttpRouter.PathInput" |
| 66 | note: "Retained as an absolute slash path or wildcard." |
| 67 | "@effect/platform/HttpRouter#post": |
| 68 | replacement: "HttpRouter.add(\"POST\", path, handler, options)" |
| 69 | note: "Register a route layer; handlers must produce HttpServerResponse." |
| 70 | "@effect/platform/HttpRouter#prefixAll": |
| 71 | replacement: "HttpRouter.addAll(routes, { prefix })" |
| 72 | note: "Apply the prefix while registering route descriptors." |
| 73 | "@effect/platform/HttpRouter#put": |
| 74 | replacement: "HttpRouter.add(\"PUT\", path, handler, options)" |
| 75 | note: "Register a route layer; handlers must produce HttpServerResponse." |
| 76 | "@effect/platform/HttpRouter#Route.Middleware": |
| 77 | replacement: "Effect.Effect" |
| 78 | note: "Spell the route response Effect directly, or use HttpRouter.middleware for transforms." |
| 79 | "@effect/platform/HttpRouter#RouteContextTypeId": |
| 80 | replacement: "none" |
| 81 | note: "The nominal id is internal in v4; access HttpRouter.RouteContext as a service." |
| 82 | "@effect/platform/HttpRouter#RouteTypeId": |
| 83 | replacement: "none" |
| 84 | note: "The nominal id is internal in v4; construct routes with HttpRouter.route." |
| 85 | "@effect/platform/HttpRouter#setRouterConfig": |
| 86 | replacement: "Layer.succeed(HttpRouter.RouterConfig)(config)" |
| 87 | note: "Provide the RouterConfig Context.Reference as a layer." |
| 88 | "@effect/platform/HttpRouter#Tag": |
| 89 | replacement: "none" |
| 90 | note: "Custom router tags were removed; use the singleton router service and registration layers." |
| 91 | "@effect/platform/HttpRouter#toHttpApp": |
| 92 | replacement: "HttpRouter.toHttpEffect" |
| 93 | note: "Pass the route-registration layer to build the server handler effect." |
| 94 | "@effect/platform/HttpRouter#transform": |
| 95 | replacement: "HttpRouter.middleware" |
| 96 | note: "Express the route-wide response Effect transform as router middleware." |
| 97 | "@effect/platform/HttpRouter#TypeId": |
| 98 | replacement: "none" |
| 99 | note: "The router nominal service id is internal in v4; use HttpRouter.HttpRouter." |
| 100 | "@effect/platform/HttpRouter#withRouterConfig": |
| 101 | replacement: "Effect.provideService(effect, HttpRouter.RouterConfig, config)" |
| 102 | note: "Provide the RouterConfig Context.Reference locally instead of setting a FiberRef." |