Bump nostr-sdk from 0.27.0 to 0.31.0
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, addedTagStandardenum, simplified the way to subscribe and/or reconcile to subset of relays (respectively,client.subscribe_toandclient.reconcile_with), added blacklist support to mute public keys or event IDs, removed zap split fromclient.zapmethod, many improvements and more!Full changelog: https://rust-nostr.org/changelog
Release v0.30.0
Summary
Adapted NIP46 to last changes, added
NostrConnectRemoteSignerto easily build remote signers (just construct it and callservemethod), improved proxy options (allow to specify the proxy target: all relays or only.onionones), improvements to NWC client, fixed equality operator for bindings (Python, Kotlin and Swift), addednostrdbstorage backend, added NIP32 and completed NIP51 support and more!Changed
- Bump
uniffitov0.27([Yuki Kishimoto])- Adapted NIP46 to last changes ([Yuki Kishimoto])
- nostr: change
Tag::parsearg fromVec<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
GenericTagValuebased onSingleLetterTagindeserialize_generic_tags([Yuki Kishimoto])- nostr: set
UnsignedEventID as optional ([Yuki Kishimoto])- nostr: update
TryIntoUrl::try_into_urlfingerprint ([Yuki Kishimoto])- nostr: bump
bitcointo0.31([Yuki Kishimoto])- sdk: bump
lnurl-payto0.4([Yuki Kishimoto])- sdk: improve
proxyoptions ([Yuki Kishimoto])- pool: bump
async-wsocketto0.4([Yuki Kishimoto])- pool: return error if
urlsarg is empty inInternalRelayPool::get_events_from([Yuki Kishimoto])- pool: allow to disable
RelayLimits([Yuki Kishimoto])- signer: re-work
nip46module ([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
JsEventBuilderwhen buildingEventorUnsignedEvent([Yuki Kishimoto])Added
- Add support to
nostrdbstorage backend ([Yuki Kishimoto])- nostr: add
Report::Othervariant ([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 Connectsigner ([Yuki Kishimoto])- ffi(nostr): added
FilterRecord, to allow to access fields inFilter([Yuki Kishimoto])- ffi(nostr): add missing NIP51 constructors ([rustedmoon])
- ffi(sdk): add
AbortHandle([Yuki Kishimoto])- ffi(sdk): add
sqliteandndbfeatures ([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, addedTagStandardenum, simplified the way to subscribe and/or reconcile to subset of relays (respectively,client.subscribe_toandclient.reconcile_with), added blacklist support to mute public keys or event IDs, removed zap split fromclient.zapmethod, many improvements and more!Changed
- Bump
uniffitov0.27.1([Yuki Kishimoto])- nostr: update fingerprint of NIP26 functions ([Yuki Kishimoto])
- nostr: update fingerprint of
EventBuilder::zap_receiptconstructor ([Yuki Kishimoto])- nostr: update
EventId::newfingerprint ([Yuki Kishimoto])- nostr: update fingerprint of
nip05::verifyfunction ([Yuki Kishimoto])- nostr: improve performance of
Filter::match_event([Yuki Kishimoto])- nostr: adj. kind to be
u16instead ofu64according to NIP01 ([Yuki Kishimoto])- nostr: improve NIP19 serialization performance ([Yuki Kishimoto])
- nostr: improve
EventId::from_hexperformance ([Yuki Kishimoto])- nostr: rename
Tagenum toTagStandard([Yuki Kishimoto])- nostr: adj. NIP17 naming ([Yuki Kishimoto])
- nostr: allow to set a
Timestamptweak range ([Yuki Kishimoto])- nostr: adj. NIP59 timestamp tweak range ([Yuki Kishimoto])
- nostr: reorganize
tagmodule ([Yuki Kishimoto])- nostr: manually impl
fmt::DebugforPublickey([Yuki Kishimoto])- database: small improvements to flatbuffers
Event::encode([Yuki Kishimoto])- sqlite: bump
rusqliteto0.31anddeadpool-sqliteto0.8([Yuki Kishimoto])- ndb: bump
nostrdbto0.3.3([Yuki Kishimoto])- rocksdb: bump
rocksdbto0.22and set MSRV to1.66.0([Yuki Kishimoto])- pool: inline
RelayPoolmethods ([Yuki Kishimoto])- sdk: inline
Client,ClientBuilderandOptionsmethods ([Yuki Kishimoto])- sdk: update
tokiofeatures ([Yuki Kishimoto])- sdk: update visibility of
Optionsfield ([Yuki Kishimoto])- sdk: remove zap split to support
rust-nostrdevelopment fromClient::zapmethod ([Yuki Kishimoto])- signer: update fingerprint of
NostrConnectRemoteSigner::servemethod ([Yuki Kishimoto])- ffi(nostr): set default args for
Nip19ProfileandNip19Eventconstructors ([Yuki Kishimoto])- ffi(nostr): set default args for
nip05::verifyfunction ([Yuki Kishimoto])- ffi(sdk): set default args for
Clientconstructors ([Yuki Kishimoto])- js: enable support for Reference Types ([Yuki Kishimoto])
- js(nostr): rewrite
JsMetadatamethods and add getters ([Yuki Kishimoto])Added
- nostr: impl TryIntoUrl for &String ([Yuki Kishimoto])
- nostr: derive default traits for
HttpData,LiveEventHostandLiveEvent([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
Tagstruct ([Yuki Kishimoto])
... (truncated)
Commits
996c49bRelease v0.31.0d585c11book: add changelog pageaa569c5contrib: add release announcement template2a1b7f0rust: bump tov0.31.03eab86cjs: bump tov0.14.0d78ba3cffi: bump tov0.12.0e3c7d99nostr: impl From<TagStandard> for Tag4c9a5a5build(deps): bump serde_json from 1.0.116 to 1.0.117a91dc9dndb: bumpnostrdbto0.3.3428d6barocksdb: bumprocksdbto0.22- Additional commits viewable in compare view
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 rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)