Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency org.rust-nostr:nostr-sdk to v0.39.0 - autoclosed #572

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 31, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
org.rust-nostr:nostr-sdk (source) 0.38.3 -> 0.39.0 age adoption passing confidence

Release Notes

rust-nostr/nostr (org.rust-nostr:nostr-sdk)

v0.39.0

Summary

Add NIP96 support, add NIP22 helpers, NIP01 adjustments, add try_connect and wait_for_connection methods for better connection handling,
support for custom WebSocket clients (both in Rust, Python, Kotlin and Swift), new JVM bindings,
huge reduction of UniFFI bindings binaries size, many cleanups, refactoring and performance improvements and more!

Breaking changes
  • Drop zapper support ([Yuki Kishimoto])
  • nostr: update ClientMessage::neg_open signature ([Yuki Kishimoto])
  • nostr: remove ClientMessage::neg_open_deprecated ([Yuki Kishimoto])
  • nostr: add nip98 feature ([Yuki Kishimoto])
  • nostr: remove support for event JSON order preservation ([Yuki Kishimoto])
  • nostr: change EventBuilder::gift_wrap rumor arg type ([Yuki Kishimoto])
  • nostr: change Filter::custom_tag value arg type ([Yuki Kishimoto])
  • nostr: rename Filter::remove_custom_tag to Filter::remove_custom_tags ([Yuki Kishimoto])
  • nostr: take a single filter per REQ and COUNT ([Yuki Kishimoto])
  • nostr: rename contact module to nip02 ([Yuki Kishimoto])
  • pool: change Relay::connect method signature ([Yuki Kishimoto])
  • pool: change Relay::disconnect method signature ([Yuki Kishimoto])
  • pool: change RelayPool::disconnect method signature ([Yuki Kishimoto])
  • pool: update targets arg type in RelayPool::stream_events_targeted method ([Yuki Kishimoto])
  • pool: update RelayPool::remove_all_relays method signature ([Yuki Kishimoto])
  • pool: update RelayPool::force_remove_all_relays method signature ([Yuki Kishimoto])
  • pool: update RelayPool::shutdown method signature ([Yuki Kishimoto])
  • sdk: update Client::remove_all_relays method signature ([Yuki Kishimoto])
  • sdk: update Client::force_remove_all_relays method signature ([Yuki Kishimoto])
  • sdk: update Client::shutdown method signature ([Yuki Kishimoto])
  • sdk: change Client::disconnect method signature ([Yuki Kishimoto])
  • sdk: change Client::reset method signature ([Yuki Kishimoto])
  • connect: change NostrConnect::shutdown method signature ([Yuki Kishimoto])
  • nwc: change NWC::shutdown method signature ([Yuki Kishimoto])
  • ffi: change UnsignedEvent::tags output ([Yuki Kishimoto])
  • ffi: convert ImageDimensions in a Record ([Yuki Kishimoto])
  • ffi: convert Contact to a Record ([Yuki Kishimoto])
  • ffi: rename KindEnum to KindStandard ([Yuki Kishimoto])
  • ffi: remove KindStandard::Custom variant ([Yuki Kishimoto])
  • ffi: rename Kind::from_enum and Kind::as_enum to Kind::from_std and Kind::as_std ([Yuki Kishimoto])
  • ffi: add tor feature (disabled by default) ([Yuki Kishimoto])
  • ffi: split addr in ConnectionMode::Proxy variant ([Yuki Kishimoto])
  • js: rename Nip07Signer to BrowserSigner ([Yuki Kishimoto])
  • bindings: remove profile module ([Yuki Kishimoto])
  • bindings: remove NostrLibrary struct and keep only git_hash_version func ([Yuki Kishimoto])
Changed
  • Bump async-wsocket to 0.13 ([Yuki Kishimoto])
  • Bump negentropy to 0.5 ([Yuki Kishimoto])
  • nostr: refactor PublicKey to use byte array internally ([Yuki Kishimoto])
  • nostr: bump bip39 to 2.1 ([Yuki Kishimoto])
  • nostr: move types::filter to crate::filter ([Yuki Kishimoto])
  • nostr: move Metadata struct to nip01 module ([Yuki Kishimoto])
  • nostr: cleanup error enums ([Yuki Kishimoto])
  • nostr: use SECP256K1 global context from secp256k1 crate ([Yuki Kishimoto])
  • nostr: manually implement PartialEq, Eq, PartialOrd, Ord and Hash for TagKind ([Yuki Kishimoto])
  • nostr: derive PartialEq and Eq for event builder error ([Yuki Kishimoto])
  • nostr: rename Nip07Signer to BrowserSigner ([Yuki Kishimoto])
  • nostr: remove #[cfg] attributes from NostrSigner NIP04 and NIP44 methods ([Yuki Kishimoto])
  • nostr: omit everything after the relay-hint in NIP22 p tags ([Yuki Kishimoto])
  • nostr: make EventBuilder custom_created_at and pow fields public ([Yuki Kishimoto])
  • nostr: improve Filter::match_event performance ([Yuki Kishimoto])
  • pool: update Error::WebSocket variant inner type ([Yuki Kishimoto])
  • pool: refactor negentropy sync methods ([Yuki Kishimoto])
  • pool: refactor relay pinger ([Yuki Kishimoto])
  • pool: refactor relay disconnect logic ([Yuki Kishimoto])
  • pool: check if pool was already shutdown when calling RelayPool::shutdown ([Yuki Kishimoto])
  • pool: avoid repeatedly locking the relay channel receiver ([Yuki Kishimoto])
  • pool: refactor RelayPool::stream_events_targeted ([Yuki Kishimoto])
  • pool: refactor relay removal logic and add unit tests ([Yuki Kishimoto])
  • pool: handle close WebSocket message ([Yuki Kishimoto])
  • pool: always close WebSocket connection when handlers terminate ([Yuki Kishimoto])
  • pool: better control over the handling of the termination request ([Yuki Kishimoto])
  • pool: ensure notification subscription in subscribe auto-close logic ([Yuki Kishimoto])
  • lmdb: use EventBorrow instead of DatabaseEvent ([Yuki Kishimoto])
  • ndb: refactor note-to-event conversion ([Yuki Kishimoto])
  • relay-builder: refactor shutdown mechanism to use Notify over broadcast ([Yuki Kishimoto])
  • relay-builder: increase default max REQs to 500 ([Yuki Kishimoto])
Added
  • nostr: add NIP96 support ([cipres])
  • nostr: add Kind::PeerToPeerOrder variant ([Francisco Calderón])
  • nostr: add CowTag ([Yuki Kishimoto])
  • nostr: add EventBorrow ([Yuki Kishimoto])
  • nostr: add HttpData::to_authorization ([Yuki Kishimoto])
  • nostr: add CoordinateBorrow struct ([Yuki Kishimoto])
  • nostr: add Filter::custom_tags ([Yuki Kishimoto])
  • nostr: add nip22::extract_root and nip22:extract_parent ([Yuki Kishimoto])
  • nostr: add MachineReadablePrefix::Unsupported variant ([Yuki Kishimoto])
  • database: add Events::first_owned and Events::last_owned ([Yuki Kishimoto])
  • database: impl FlatBufferDecodeBorrowed for EventBorrow ([Yuki Kishimoto])
  • database: add NostrDatabaseWipe trait ([Yuki Kishimoto])
  • pool: add Relay::try_connect ([Yuki Kishimoto])
  • pool: add Relay::wait_for_connection ([Yuki Kishimoto])
  • pool: add RelayPool::try_connect ([Yuki Kishimoto])
  • pool: add RelayPool::try_connect_relay ([Yuki Kishimoto])
  • pool: add RelayPool::wait_for_connection ([Yuki Kishimoto])
  • pool: add WebSocket transport abstraction ([Yuki Kishimoto])
  • sdk: add Client::try_connect ([Yuki Kishimoto])
  • sdk: add Client::try_connect_relay ([Yuki Kishimoto])
  • sdk: add Client::wait_for_connection ([Yuki Kishimoto])
  • sdk: add ClientBuilder::websocket_transport ([Yuki Kishimoto])
  • relay-builder: custom http server ([v0l])
  • cli: allow setting a port in serve command ([Yuki Kishimoto])
Fixed
  • lmdb: fix map size for 32-bit arch ([Yuki Kishimoto])
Removed
  • nostr: remove negentropy deps ([Yuki Kishimoto])
  • nostr: remove bitcoin dep ([Yuki Kishimoto])
  • nostr: remove once_cell dep ([Yuki Kishimoto])
  • nostr: remove async-trait dep ([Yuki Kishimoto])
  • database: remove async-trait dep ([Yuki Kishimoto])
  • connect: remove thiserror dep ([Yuki Kishimoto])
  • connect: remove async-trait dep ([Yuki Kishimoto])
  • relay-builder: remove thiserror dep ([Yuki Kishimoto])
  • relay-builder: remove async-trait dep ([Yuki Kishimoto])
  • zapper: remove async-trait dep ([Yuki Kishimoto])
  • ffi: remove unnecessary Arc ([Yuki Kishimoto])
Deprecated
  • nostr: deprecate Keys::vanity ([Yuki Kishimoto])
  • database: deprecate NostrEventsDatabase::event_id_seen ([Yuki Kishimoto])
  • database: deprecate NostrEventsDatabase::event_seen_on_relays ([Yuki Kishimoto])
  • sdk: deprecate Options::req_filters_chunk_size ([Yuki Kishimoto])

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot changed the title chore(deps): update dependency org.rust-nostr:nostr-sdk to v0.39.0 chore(deps): update dependency org.rust-nostr:nostr-sdk to v0.39.0 - autoclosed Feb 1, 2025
@renovate renovate bot closed this Feb 1, 2025
@renovate renovate bot deleted the renovate/rust.nostr branch February 1, 2025 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants