- Replace
usizewithu8for gossip relay limits - Remove
autoconnectoption fromClientOptions - Change
Client::stream_events*output to include theRelayUrlandResult, enabling callers to identify which relay sent the event or if a specific relay encountered an error (rust-nostr#1156)
- Re-add support for multi-filter REQ (rust-nostr#1176)
- Add
GossipAllowedRelaystoGossipOptionsto filter relays during selection (rust-nostr#1128)
- Fix doc building by removing
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
- Remove
lmdb,ndbandindexeddbfeatures (rust-nostr#1083) - Replace
ReceiverStreamwithBoxedStream(rust-nostr#1087 and rust-nostr#1121)
- Fetch gossip NIP-17 list only if really needed (rust-nostr#1090)
- Try to fetch only newer events when updating gossip lists (rust-nostr#1090)
- Don't send kind 3 (contact list) to inbox relays when using gossip (rust-nostr#1112)
Client::public_keyfunction to retrieve the public key (rust-nostr#1028)
- Update
Client::subscriptionsandClient::subscriptionoutputs (rust-nostr#980)
- Extract at max 3 relays per NIP65 marker (rust-nostr#951)
- Add
ClientOptions::sleep_when_idle(rust-nostr#959) - add
verify_subscriptionsandban_relay_on_mismatchtoClientOptions(rust-nostr#998)
- Deprecate
Optionsin favor ofClientOptions(rust-nostr#958)
- Add
Options::pool
- Deprecate
Options::notification_channel_size
No notable changes in this release.
- Change
Client::fetch_metadataoutput - Remove
Client::state
- Auto-update the gossip data when sending an event
- Avoid full clone of relays when only urls are needed
- Update
Client::remove_all_relaysmethod signature - Update
Client::force_remove_all_relaysmethod signature - Update
Client::shutdownmethod signature - Change
Client::disconnectmethod signature - Change
Client::resetmethod signature
- Add
Client::try_connect - Add
Client::try_connect_relay - Add
Client::wait_for_connection - Add
ClientBuilder::websocket_transport
- Deprecate
Options::req_filters_chunk_size
- Update
fetch_*andstream_*methods signature
- Refactor POW difficulty management
- Automatically resend event after NIP-42 authentication
- Add
Connection::embedded_tor_with_path
- Fix NIP42 authentication for auto-closing REQ
- Fix min POW is not updated to already existing relays
- Remove
thiserrorandnwcdeps
- Deprecate
timeoutoption - Deprecate
Options::difficultyandClient::update_difficulty
- Use
RelayUrlstruct instead ofUrlfor relay urls - Disable all default features
- Set
Client::from_builderas private
- Cleanup
Clientmethods - Fallback to READ relays if no relay list is set when breaking down filters
- Allow specifying relay pool notification channel size in
Options - Add support to NIP17 relay list
- Deprecate
Client::with_opts - Deprecate
Options::connection_timeout
- Deprecate
Client::get_events_ofandClient::get_events_frommethods - Use
Eventsinstead ofVec<Event>in fetch and query methods - Rename
stream_events_oftostream_events - Deprecate
Client::reconcileandClient::reconcile_with - Use by default tor for onion relays if
torfeature is enabled on non-mobile targets - Return reference to
RelayPoolinstead of clone inClient:pool - Immediately return error if gossip filters are empty
- Add
Client::fetch_eventsandClient::fetch_events_frommethods - Add
Client::syncandClient::sync_withmethods - Add gossip support to
Client::sync - Add
Client::force_remove_all_relays - Add
Client::resetandswitch-accountexample
- Fix
filters emptyerror when gossip option is enabled
- Bump
lnurl-paytov0.6 - Update
Client::gift_wrapandClient::gift_wrap_tomethods signature - Document and rename
Client::metadatatoClient::fetch_metadata - Update
Client::shutdownmethod fingerprint - Deprecate
Client::add_relay_with_optsandClient::add_relays - Deprecate
RelayPool::send_msgandRelayPool::batch_msg - Inherit pool subscriptions only when calling
Client::add_relayorClient::add_read_relaymethods
- Add
Client::add_discovery_relay - Add
Client::add_read_relayandClient::add_write_relay - Add
Client::stream_events_targeted - Add
Client::subscribe_targeted - Add gossip support to
Client::send_event - Add gossip support to
Client::get_events_ofandClient::stream_events_of - Add gossip support to
Client::subscribeandClient::subscribe_with_id
- Bump MSRV to v1.70.0
- Rename
ProxyandProxyTargettoConnectionandConnectionTarget - Allow to skip slow relays
- Allow to specify the source of events for
Client::get_events_ofmethod - Deprecate
Client::get_events_of_with_opts
- Add
Client::gift_wrap_toandClient::send_private_msg_to - Add option to autoconnect relay on
Client::add_relaymethod call - Add support to embedded tor client
- Add
Options::max_avg_latency - Add
Client::stream_events_ofandClient::stream_events_frommethods
- Remove
Client::send_direct_msg
- Allow to change auto authentication to relays option (NIP-42) after client initialization
- Retrieve contact list public keys only from the latest events
- Re-subscribe closed subscriptions after NIP-42 authentication
- Add
Client::unwrap_gift_wrapmethod
- Fix NIP-42 client authentication
- Send NIP-42 event only to target relay
- Add support to automatic authentication to relays (NIP-42)
- Inline
Client,ClientBuilderandOptionsmethods - Update
tokiofeatures - Update visibility of
Optionsfield - Remove zap split to support
rust-nostrdevelopment fromClient::zapmethod
- Add
Client::builder() - Add
Client::update_min_pow_difficultymethod - Add
Client::connect_with_timeout - Add
Client::reconcile_withandClient::reconcile_advanced - Add
Client::subscribe_toandClient::subscribe_with_id_tomethods - Add initial blacklist support
- Deprecate
Client::send_direct_msg
- Bump
lnurl-payto0.4 - Improve
proxyoptions