github magic-wormhole/magic-wormhole.rs 0.7.0
Version 0.7.0

latest release: 0.7.1
2 months ago
  • [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 flag tls for a statically linked implementation via the ring crate, or native-tls for dynamically linking with the system-native TLS implementation.
  • [all] For experimental (unstable) transfer-v2 protocol support, enable feature flag experimental-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 a conn_type field which contains the old enum as transit::ConnectionType
  • [lib][breaking] changed the signature of the transit_handler function to take just the newly combined transit::TransitInfo
  • [lib][breaking] changed the signature of the file_name argument to transfer::send_* to take Into<String> instead of Into<PathBuf>
  • [lib][breaking] replaced transfer::AppVersion with a struct with private fields that implements std::default::Default
  • [lib][deprecated] split Wormhole in MailboxConnection and Wormhole
  • [lib][deprecated] Wormhole::connect_with(out)_code, WormholeWelcome, use MailboxConnection::create() and then Wormhole::connect() instead
  • [lib][deprecated] Wormhole public struct fields. Use the provided accessor methods instead.
  • [lib][deprecated] ReceiveRequest.filename is deprecated and replaced by ReceiveRequest.file_name(..)
  • [lib][deprecated] ReceiveRequest.filesize is deprecated and replaced by ReceiveRequest.file_size(..)
  • [lib][deprecated] GenericKey, implement KeyPurpose 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 implemented Display on TransitInfo instead.
  • [lib][deprecated] transit::init() will be removed in the future with no planned public replacement.

Don't miss a new magic-wormhole.rs release

NewReleases is sending notifications on new releases.