akiomik / nostui

A TUI client for Nostr
MIT License
35 stars 5 forks source link

Bump nostr-sdk from 0.27.0 to 0.32.0 #74

Closed dependabot[bot] closed 4 months ago

dependabot[bot] commented 5 months ago

Bumps nostr-sdk from 0.27.0 to 0.32.0.

Release notes

Sourced from nostr-sdk's releases.

Release v0.32.0

Added async/future support to Python, Kotlin and Swift, added automatic authentication to relays (NIP-42, can be deactivated in client options), improvements to relay limits, many bug fixes (relays not auto reconnect, wrong query order for SQLite, tokio panic when using SQLite database in bindings) and more!

Note for kotlin devs: from this release the packages will be published at org.rust-nostr instead of io.github.rust-nostr.

Full changelog: https://rust-nostr.org/changelog

Release v0.31.0

Reworked Tag, added TagStandard enum, simplified the way to subscribe and/or reconcile to subset of relays (respectively, client.subscribe_to and client.reconcile_with), added blacklist support to mute public keys or event IDs, removed zap split from client.zap method, many improvements and more!

Full changelog: https://rust-nostr.org/changelog

Release v0.30.0

Summary

Adapted NIP46 to last changes, added NostrConnectRemoteSigner to easily build remote signers (just construct it and call serve method), improved proxy options (allow to specify the proxy target: all relays or only .onion ones), improvements to NWC client, fixed equality operator for bindings (Python, Kotlin and Swift), added nostrdb storage backend, added NIP32 and completed NIP51 support and more!

Changed

  • Bump uniffi to v0.27 ([Yuki Kishimoto])
  • Adapted NIP46 to last changes ([Yuki Kishimoto])
  • nostr: change Tag::parse arg from Vec<S> to &[S] ([Yuki Kishimoto])
  • nostr: allow to parse public key from NIP21 uri with PublicKey::parse ([Yuki Kishimoto])
  • nostr: allow to parse event ID from NIP21 uri with EventId::parse ([Yuki Kishimoto])
  • nostr: construct GenericTagValue based on SingleLetterTag in deserialize_generic_tags ([Yuki Kishimoto])
  • nostr: set UnsignedEvent ID as optional ([Yuki Kishimoto])
  • nostr: update TryIntoUrl::try_into_url fingerprint ([Yuki Kishimoto])
  • nostr: bump bitcoin to 0.31 ([Yuki Kishimoto])
  • sdk: bump lnurl-pay to 0.4 ([Yuki Kishimoto])
  • sdk: improve proxy options ([Yuki Kishimoto])
  • pool: bump async-wsocket to 0.4 ([Yuki Kishimoto])
  • pool: return error if urls arg is empty in InternalRelayPool::get_events_from ([Yuki Kishimoto])
  • pool: allow to disable RelayLimits ([Yuki Kishimoto])
  • signer: re-work nip46 module ([Yuki Kishimoto])
  • nwc: avoid to open and close subscription for every request ([Yuki Kishimoto])
  • nwc: allow to customize requests timeout ([Yuki Kishimoto])
  • js(nostr): consume JsEventBuilder when building Event or UnsignedEvent ([Yuki Kishimoto])

Added

  • Add support to nostrdb storage backend ([Yuki Kishimoto])
  • nostr: add Report::Other variant ([Daniel Cadenas])
  • nostr: add EventBuilder::reaction_extended ([Yuki Kishimoto])
  • nostr: add NIP32 support ([rustedmoon])
  • pool: add Relay::handle_notifications ([Yuki Kishimoto])

... (truncated)

Changelog

Sourced from nostr-sdk's changelog.

[v0.32.0]

Summary

Added async/future support to Python, Kotlin and Swift, added automatic authentication to relays (NIP-42, can be deactivated in client options), improvements to relay limits, many bug fixes (relays not auto reconnect, wrong query order for SQLite, tokio panic when using SQLite database in bindings) and more!

Note for kotlin devs: from this release the packages will be published at org.rust-nostr instead of io.github.rust-nostr.

Changed

  • Bump atomic-destructor to v0.2 ([Yuki Kishimoto])
  • Bump uniffi to v0.27.2 ([Yuki Kishimoto])
  • nostr: ignore malformed public keys during NIP19 event (nevent) parsing ([Yuki Kishimoto])
  • nostr: update Event::pubic_keys and Event_event_ids methods ([Yuki Kishimoto])
  • nostr: adj. NIP-10 support ([Yuki Kishimoto])
  • nostr: change fingerprint of nip05::verify ([Yuki Kishimoto])
  • nostr: rework TagStandard::parse ([Yuki Kishimoto])
  • nostr: add a tag to zap receipts ([benthecarman])
  • nostr: change NIP-07 Error::Wasm variant value from JsValue to String ([Yuki Kishimoto])
  • nostr: update EventBuilder::live_event_msg fingerprint ([Yuki Kishimoto])
  • nostr: set kind arg in EventBuilder::reaction_extended as optional ([Yuki Kishimoto])
  • pool: increase default kind 3 event limit to 840000 bytes and 10000 tags ([Yuki Kishimoto])
  • pool: improve accuracy of latency calculation ([Yuki Kishimoto])
  • pool: refactoring and adj. relay internal module ([Yuki Kishimoto])
  • pool: log when websocket messages are successfully sent ([Yuki Kishimoto])
  • pool: always close the WebSocket when receiver loop is terminated ([Yuki Kishimoto])
  • pool: use timeout for WebSocket message sender ([Yuki Kishimoto])
  • pool: bump async-wsocket to v0.5 ([Yuki Kishimoto])
  • sdk: send NIP-42 event only to target relay ([Yuki Kishimoto])
  • sqlite: bump rusqlite to v0.31 ([Yuki Kishimoto])
  • nwc: change NWC::new and NWC::with_opts fingerprint ([Yuki Kishimoto])
  • ffi: migrate kotlin packages to org.rust-nostr ([Yuki Kishimoto])
  • bindings(sdk): log git hash after logger initialization ([Yuki Kishimoto])
  • ffi(nostr): set default args values where possible ([Yuki Kishimoto])
  • ffi(nostr): convert verify_nip05 and get_nip05_profile to async functions ([Yuki Kishimoto])
  • ffi(nostr): convert RelayInformationDocument::get to async ([Yuki Kishimoto])
  • ffi(nostr): merge Keys::from_mnemonic_* constructors into Keys::from_menmonic ([Yuki Kishimoto])
  • ffi(sdk): add async/future support (convert from blocking to async) ([Yuki Kishimoto])
  • ffi(sdk): no longer spawn a thread when calling handle_notifications ([Yuki Kishimoto])
  • js(sdk): change JsNostrZapper::nwc fingerprint ([Yuki Kishimoto])
  • js(sdk): rename JsNip46Signer::new to JsNip46Signer::init ([Yuki Kishimoto])
  • ci: build python wheels for manylinux_2_28_x86_64 ([Yuki Kishimoto])

Added

  • nostr: add Tag::is_root method ([Xiao Yu])
  • nostr: add JsonUtil::try_as_json method ([Yuki Kishimoto])
  • nostr: add public_key field to TagStandard::Event ([Yuki Kishimoto])

... (truncated)

Commits
  • 60cb27f Release v0.32.0
  • 042c6a8 ffi: bump to v0.32.1
  • 58ce4ef ffi(nostr): fix tokio runtime for async functions
  • 78970d6 sqlite: add rt-multi-thread feature to tokio
  • c9ccd4d Bump to v0.32.0
  • 74c86c8 ffi: migrate kotlin packages to org.rust-nostr
  • 6a502cc js(nostr): expose missing methods to JsEvent
  • 23d41e0 nostr: add Event::hashtags method
  • 28c9aa3 ndb: set nostrdb to v0.3
  • cdbcdfd nostr: add missing TagStandard::PublicKeyLiveEvent variant to `Event::publi...
  • Additional commits viewable in compare view


Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

dependabot[bot] commented 4 months ago

Superseded by #91.