- [all][breaking] By default websocket TLS support is now disabled in the library crate. TLS is required for secure websocket connections to the mailbox server (
wss://
). As the handshake protocol itself is encrypted, this extra layer of encryption is superfluous. Most WASM targets however refuse to connect to non-TLS websockets. For maximum compatibility with all mailbox servers, or for web browser support, select a TLS implementation by specifying the feature flagtls
for a statically linked implementation via thering
crate, ornative-tls
for dynamically linking with the system-native TLS implementation. - [all] For experimental (unstable)
transfer-v2
protocol support, enable feature flagexperimental-transfer-v2
. The protocol is not yet finalized. - [all] Added compilation support for WASM targets.
- [lib][breaking] replaced
transit::TransitInfo
with a struct containing the address and aconn_type
field which contains the old enum astransit::ConnectionType
- [lib][breaking] changed the signature of the
transit_handler
function to take just the newly combinedtransit::TransitInfo
- [lib][breaking] changed the signature of the
file_name
argument totransfer::send_*
to takeInto<String>
instead ofInto<PathBuf>
- [lib][breaking] replaced
transfer::AppVersion
with a struct with private fields that implementsstd::default::Default
- [lib][deprecated] split
Wormhole
inMailboxConnection
andWormhole
- [lib][deprecated]
Wormhole::connect_with(out)_code
,WormholeWelcome
, useMailboxConnection::create()
and thenWormhole::connect()
instead - [lib][deprecated]
Wormhole
public struct fields. Use the provided accessor methods instead. - [lib][deprecated]
ReceiveRequest.filename
is deprecated and replaced byReceiveRequest.file_name(..)
- [lib][deprecated]
ReceiveRequest.filesize
is deprecated and replaced byReceiveRequest.file_size(..)
- [lib][deprecated]
GenericKey
, implementKeyPurpose
on a custom struct instead - [lib][deprecated]
rendezvous::RendezvousServer
will be removed in the future with no planned public replacement. - [lib][deprecated]
transfer::PeerMessage
will be removed in the future with no planned public replacement. - [lib][deprecated]
transit::TransitConnector
will be removed in the future with no planned public replacement. - [lib][deprecated]
transit::log_transit_connection
and implementedDisplay
onTransitInfo
instead. - [lib][deprecated]
transit::init()
will be removed in the future with no planned public replacement.