nostui icon indicating copy to clipboard operation
nostui copied to clipboard

Bump nostr-sdk from 0.27.0 to 0.31.0

Open dependabot[bot] opened this issue 1 year ago • 0 comments

Bumps nostr-sdk from 0.27.0 to 0.31.0.

Release notes

Sourced from nostr-sdk's releases.

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])
  • cli: add command to serve Nostr Connect signer ([Yuki Kishimoto])
  • ffi(nostr): added FilterRecord, to allow to access fields in Filter ([Yuki Kishimoto])
  • ffi(nostr): add missing NIP51 constructors ([rustedmoon])
  • ffi(sdk): add AbortHandle ([Yuki Kishimoto])
  • ffi(sdk): add sqlite and ndb features ([Yuki Kishimoto])
  • js(nostr): add missing NIP51 constructors ([rustedmoon])
  • js(nostr): add NIP47 request params and response results structs ([Yuki Kishimoto])

... (truncated)

Changelog

Sourced from nostr-sdk's changelog.

[v0.31.0]

Summary

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!

Changed

  • Bump uniffi to v0.27.1 ([Yuki Kishimoto])
  • nostr: update fingerprint of NIP26 functions ([Yuki Kishimoto])
  • nostr: update fingerprint of EventBuilder::zap_receipt constructor ([Yuki Kishimoto])
  • nostr: update EventId::new fingerprint ([Yuki Kishimoto])
  • nostr: update fingerprint of nip05::verify function ([Yuki Kishimoto])
  • nostr: improve performance of Filter::match_event ([Yuki Kishimoto])
  • nostr: adj. kind to be u16 instead of u64 according to NIP01 ([Yuki Kishimoto])
  • nostr: improve NIP19 serialization performance ([Yuki Kishimoto])
  • nostr: improve EventId::from_hex performance ([Yuki Kishimoto])
  • nostr: rename Tag enum to TagStandard ([Yuki Kishimoto])
  • nostr: adj. NIP17 naming ([Yuki Kishimoto])
  • nostr: allow to set a Timestamp tweak range ([Yuki Kishimoto])
  • nostr: adj. NIP59 timestamp tweak range ([Yuki Kishimoto])
  • nostr: reorganize tag module ([Yuki Kishimoto])
  • nostr: manually impl fmt::Debug for Publickey ([Yuki Kishimoto])
  • database: small improvements to flatbuffers Event::encode ([Yuki Kishimoto])
  • sqlite: bump rusqlite to 0.31 and deadpool-sqlite to 0.8 ([Yuki Kishimoto])
  • ndb: bump nostrdb to 0.3.3 ([Yuki Kishimoto])
  • rocksdb: bump rocksdb to 0.22 and set MSRV to 1.66.0 ([Yuki Kishimoto])
  • pool: inline RelayPool methods ([Yuki Kishimoto])
  • sdk: inline Client, ClientBuilder and Options methods ([Yuki Kishimoto])
  • sdk: update tokio features ([Yuki Kishimoto])
  • sdk: update visibility of Options field ([Yuki Kishimoto])
  • sdk: remove zap split to support rust-nostr development from Client::zap method ([Yuki Kishimoto])
  • signer: update fingerprint of NostrConnectRemoteSigner::serve method ([Yuki Kishimoto])
  • ffi(nostr): set default args for Nip19Profile and Nip19Event constructors ([Yuki Kishimoto])
  • ffi(nostr): set default args for nip05::verify function ([Yuki Kishimoto])
  • ffi(sdk): set default args for Client constructors ([Yuki Kishimoto])
  • js: enable support for Reference Types ([Yuki Kishimoto])
  • js(nostr): rewrite JsMetadata methods and add getters ([Yuki Kishimoto])

Added

  • nostr: impl TryIntoUrl for &String ([Yuki Kishimoto])
  • nostr: derive default traits for HttpData, LiveEventHost and LiveEvent ([Yuki Kishimoto])
  • nostr: expose NIP49 log_n ([DanConwayDev])
  • nostr: add tags indexes to Event ([Yuki Kishimoto])
  • nostr: add hex::decode_to_slice ([Yuki Kishimoto])
  • nostr: add SecretKey::generate ([Yuki Kishimoto])
  • nostr: add Tag struct ([Yuki Kishimoto])

... (truncated)

Commits
  • 996c49b Release v0.31.0
  • d585c11 book: add changelog page
  • aa569c5 contrib: add release announcement template
  • 2a1b7f0 rust: bump to v0.31.0
  • 3eab86c js: bump to v0.14.0
  • d78ba3c ffi: bump to v0.12.0
  • e3c7d99 nostr: impl From<TagStandard> for Tag
  • 4c9a5a5 build(deps): bump serde_json from 1.0.116 to 1.0.117
  • a91dc9d ndb: bump nostrdb to 0.3.3
  • 428d6ba rocksdb: bump rocksdb to 0.22
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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 <dependency name> 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)

dependabot[bot] avatar May 20 '24 16:05 dependabot[bot]