1"@effect/platform-node/Undici#Agent":
2 replacement: "undici.Agent"
3 note: "Import the upstream Agent directly. Undici 8 removes maxRedirections and option-level interceptors, adds maxOrigins, and enables HTTP/2 negotiation unless allowH2 is false."
4"@effect/platform-node/Undici#Agent.DispatchOptions":
5 replacement: "undici.Agent.DispatchOptions"
6 note: "Import the same Agent namespace type from undici; Undici 8 removes maxRedirections."
7"@effect/platform-node/Undici#Agent.Options":
8 replacement: "undici.Agent.Options"
9 note: "Import the same Agent namespace type; Undici 8 removes maxRedirections and option-level interceptors, adds maxOrigins, and uses dispatcher.compose for interceptors."
10"@effect/platform-node/Undici#buildConnector":
11 replacement: "undici.buildConnector"
12 note: "Import the upstream function directly; Undici 8 expands connector options with preferH2, typeOfService, and socketPath handling."
13"@effect/platform-node/Undici#buildConnector.BuildOptions":
14 replacement: "undici.buildConnector.BuildOptions"
15 note: "Import the same buildConnector namespace type; Undici 8 adds preferH2 and typeOfService."
16"@effect/platform-node/Undici#Client":
17 replacement: "undici.Client"
18 note: "Import the upstream Client directly; custom handlers must use Undici 8's controller-based v2 handler API."
19"@effect/platform-node/Undici#Client.Options":
20 replacement: "undici.Client.Options"
21 note: "Import the same Client namespace type; Undici 8 removes maxRedirections and option-level interceptors and adds WebSocket and HTTP/2 options."
22"@effect/platform-node/Undici#Client.OptionsInterceptors":
23 replacement: "undici.Dispatcher.DispatcherComposeInterceptor + dispatcher.compose"
24 note: "Undici 8 removed option-level interceptor tuples; keep DispatcherComposeInterceptor functions and apply them after construction with dispatcher.compose(...)."
25"@effect/platform-node/Undici#default.cacheStores":
26 replacement: "undici.cacheStores"
27 note: "Use Undici 8's named cacheStores export instead of reaching through the default aggregate."
28"@effect/platform-node/Undici#deleteCookie":
29 replacement: "undici.deleteCookie"
30 note: "Import the upstream function directly; its optional attributes use path and domain and no longer include name."
31"@effect/platform-node/Undici#DiagnosticsChannel":
32 replacement: "undici.DiagnosticsChannel"
33 note: "Import this type-only namespace from undici; subscribe at runtime through node:diagnostics_channel using Undici's channel names."
34"@effect/platform-node/Undici#DiagnosticsChannel.ClientConnectErrorMessage":
35 replacement: "undici.DiagnosticsChannel.ClientConnectErrorMessage"
36 note: "Import the same type-only namespace member from undici; runtime delivery uses node:diagnostics_channel."
37"@effect/platform-node/Undici#DiagnosticsChannel.Error":
38 replacement: "Error"
39 note: "Undici 8 removed this unknown alias; diagnostic error fields now use the built-in Error type."
40"@effect/platform-node/Undici#DiagnosticsChannel.RequestErrorMessage":
41 replacement: "undici.DiagnosticsChannel.RequestErrorMessage"
42 note: "Import the same type-only namespace member; its error field is the built-in Error type in Undici 8."
43"@effect/platform-node/Undici#Dispatcher":
44 replacement: "undici.Dispatcher"
45 note: "Import the upstream Dispatcher directly; custom dispatchers must adopt Undici 8's controller-based v2 handler API."
46"@effect/platform-node/Undici#Dispatcher.ConnectOptions":
47 replacement: "undici.Dispatcher.ConnectOptions"
48 note: "Import the same Dispatcher namespace type; Undici 8 removes maxRedirections and redirectionLimitReached."
49"@effect/platform-node/Undici#Dispatcher.DispatchHandler":
50 replacement: "undici.Dispatcher.DispatchHandler"
51 note: "Use Undici 8's onRequestStart/onResponseStart/onResponseData/onResponseEnd/onResponseError callbacks and controller pause/resume/abort methods."
52"@effect/platform-node/Undici#Dispatcher.DispatchOptions":
53 replacement: "undici.Dispatcher.DispatchOptions"
54 note: "Import the same namespace type; Undici 8 removes throwOnError, adds typeOfService, and handles redirects through composed interceptors."
55"@effect/platform-node/Undici#Dispatcher.RequestOptions":
56 replacement: "undici.Dispatcher.RequestOptions"
57 note: "Import the same namespace type; Undici 8 removes maxRedirections and redirectionLimitReached, so compose a redirect interceptor when needed."
58"@effect/platform-node/Undici#Dispatcher.UpgradeOptions":
59 replacement: "undici.Dispatcher.UpgradeOptions"
60 note: "Import the same namespace type; Undici 8 removes maxRedirections and redirectionLimitReached."
61"@effect/platform-node/Undici#errors":
62 replacement: "undici.errors"
63 note: "Import the upstream errors object directly; individual classes follow the Undici 8 API."
64"@effect/platform-node/Undici#errors.ResponseStatusCodeError":
65 replacement: "undici.errors.ResponseError"
66 note: "Undici 8 replaced ResponseStatusCodeError with ResponseError; construct it with message, statusCode, and the headers/body object."
67"@effect/platform-node/Undici#H2CClient":
68 replacement: "undici.H2CClient"
69 note: "Import the upstream cleartext HTTP/2 client directly; callbacks follow Undici 8's handler API."
70"@effect/platform-node/Undici#H2CClient.Options":
71 replacement: "undici.H2CClient.Options"
72 note: "Import the same H2CClient namespace type; Undici 8 removes maxRedirections."
73"@effect/platform-node/Undici#interceptors":
74 replacement: "undici.interceptors"
75 note: "Import the upstream interceptors object and apply returned interceptors with dispatcher.compose(...)."
76"@effect/platform-node/Undici#interceptors.DNSInterceptorOpts":
77 replacement: "undici.interceptors.DNSInterceptorOpts"
78 note: "Import the same namespace type; Undici 8 lookup receives an origin URL and supports optional DNS storage."
79"@effect/platform-node/Undici#interceptors.DNSInterceptorOriginRecords":
80 replacement: "undici.interceptors.DNSInterceptorOriginRecords"
81 note: "Import the same namespace type, but adopt Undici 8's shape with IPv4 and IPv6 entries nested under records."
82"@effect/platform-node/Undici#interceptors.RedirectInterceptorOpts":
83 replacement: "undici.interceptors.RedirectInterceptorOpts"
84 note: "Import the same namespace type; Undici 8 adds throwOnMaxRedirect and redirect header-stripping options."
85"@effect/platform-node/Undici#MessageEvent":
86 replacement: "undici.MessageEvent"
87 note: "Import Undici's named constructor/type directly to preserve the installed package identity."
88"@effect/platform-node/Undici#MessageEventInit":
89 replacement: "undici.MessageEventInit"
90 note: "Import the upstream type directly; message ports and source use MessagePort instances in Undici 8."
91"@effect/platform-node/Undici#Pool":
92 replacement: "undici.Pool"
93 note: "Import the upstream Pool directly and apply interceptors after construction with pool.compose(...)."
94"@effect/platform-node/Undici#Pool.Options":
95 replacement: "undici.Pool.Options"
96 note: "Import the same Pool namespace type; Undici 8 removes the interceptors option in favor of pool.compose(...)."
97"@effect/platform-node/Undici#ProxyAgent":
98 replacement: "undici.ProxyAgent"
99 note: "Import the upstream ProxyAgent directly; inherited Agent options and handlers follow Undici 8."
100"@effect/platform-node/Undici#ProxyAgent.Options":
101 replacement: "undici.ProxyAgent.Options"
102 note: "Import the same ProxyAgent namespace type; Undici 8 types proxy headers as OutgoingHttpHeaders."
103"@effect/platform-node/Undici#RedirectHandler":
104 replacement: "undici.RedirectHandler"
105 note: "Import the upstream class; Undici 8 removes redirectionLimitReached from the constructor and adds static buildDispatch."
106"@effect/platform-node/Undici#Request":
107 replacement: "undici.Request"
108 note: "Import Undici's named Request directly; clone is a method in Undici 8."
109"@effect/platform-node/Undici#Response":
110 replacement: "undici.Response"
111 note: "Import Undici's named Response directly; clone is a method and Response.redirect status is optional in Undici 8."
112"@effect/platform-node/Undici#SpecIterable":
113 replacement: "undici.SpecIterable"
114 note: "Import the upstream type directly; its iterator returns SpecIterableIterator in Undici 8."
115"@effect/platform-node/Undici#SpecIterableIterator":
116 replacement: "undici.SpecIterableIterator"
117 note: "Import the upstream type directly; it extends SpecIteratorObject and includes iterator-helper methods in Undici 8."