2.5.0 (2026-10-16)
Features
- add a transport option and createSocketsTransport() for celld (f4411aa)
- add createStreamsTransport() for socket APIs built on web streams (fec7999)
Type change
ImapSocket, the type ofclient.unbind().socket, is now an alias ofImapTransportSocket(aDuplexwithsetTimeout(), the othernet.Socketmembers optional) instead ofnet.Socket. The runtime value is unchanged on Node.js, where it is still anet.Socketortls.TLSSocket. TypeScript code that usesnet.Socketonly members on it needs a cast, for exampleclient.unbind().socket as net.Socket.