Skip to content
This repository has been archived by the owner on Oct 17, 2024. It is now read-only.

fix(deps): update rust crate nostr-sdk to 0.33.0 #102

Merged
merged 1 commit into from
Jul 16, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 15, 2024

Mend Renovate

This PR contains the following updates:

Package Type Update Change
nostr-sdk dependencies minor 0.32.0 -> 0.33.0

Release Notes

rust-nostr/nostr (nostr-sdk)

v0.33.0

Compare Source

Summary

Better outputs for send/batch/reconcile methods (ex. you can now easily know where a message/event is successfully published and where/why failed),
allow to change NIP-42 option after client initialization, increase max stack size for JS bindings to prevent "memory access out of bounds" error,
expose more objects/methods for JS bindings, dry run option for negentropy reconciliation, get NIP-46 relay from NIP-05 profile,
bug fixes (NIP-42 auth not works correctly, NIP-46 "ACK" message not handled, ...) and more!

Changed
  • Bump uniffi to v0.28.0 ([Yuki Kishimoto])
  • nostr: rename NIP-51 EventBuilder set constructors and Kind variants ([Yuki Kishimoto])
  • nostr: small adj. to NIP-47 ListTransactionsRequestParams and LookupInvoiceResponseResult structs ([Yuki Kishimoto])
  • nostr: add identifier arg to NIP-51 EventBuilder set constructors ([Yuki Kishimoto])
  • nostr: change nip65::extract_relay_list fingerprint ([Yuki Kishimoto])
  • nostr: avoid allocation where possible in NIP-05 module ([Yuki Kishimoto])
  • nostr: get NIP-46 relays from NIP-05 address ([DanConwayDev])
  • nostr: deprecate EventBuilder::encrypted_direct_msg ([Yuki Kishimoto])
  • pool: use per-purpose dedicated relay channels ([Yuki Kishimoto])
  • pool: return relay urls to which messages/events have or not been sent for send_* and batch_* methods ([Yuki Kishimoto])
  • pool: return relay urls to which subscription have or not been success for subscribe* methods ([Yuki Kishimoto])
  • pool: rename Relay::terminate to Relay::disconnect ([Yuki Kishimoto])
  • pool: always send RelayPoolNotification::Message variant ([Yuki Kishimoto])
  • pool: return report for negentropy reconciliation ([Yuki Kishimoto])
  • signer: use limit(0) instead of since for Nip46Signer subscription filter ([Yuki Kishimoto])
  • signer: deprecate NostrConnectRemoteSigner::nostr_connect_uri and Nip46Signer::nostr_connect_uri ([Yuki Kishimoto])
  • sdk: allow to change auto authentication to relays option (NIP-42) after client initialization ([Yuki Kishimoto])
  • sdk: retrieve contact list public keys only from the latest events ([Xiao Yu])
  • sdk: re-subscribe closed subscriptions after NIP-42 authentication ([Yuki Kishimoto])
  • bindings(nostr): allow to specify coordinates in EventBuilder::delete constructor ([Yuki Kishimoto])
  • ffi(sdk): convert RelayPool::handle_notifications method to async/future ([Yuki Kishimoto])
  • js: increase max stack size to 0x1E84800 bytes (32 MiB) ([Yuki Kishimoto])
  • js(nostr): adj. method names to camelcase format ([Yuki Kishimoto])
Added
  • nostr: add EventBuilder::interest_set ([Yuki Kishimoto])
  • nostr: add title, image and description constructors to Tag ([Yuki Kishimoto])
  • nostr: add Timestamp::zero and Timestamp::is_zero methods ([Yuki Kishimoto])
  • nostr: add Nip05Profile struct ([Yuki Kishimoto])
  • nostr: add nip05::profile function ([Yuki Kishimoto])
  • nostr: add LEN const to PublicKey, SecretKey and EncryptedSecretKey ([Yuki Kishimoto])
  • nostr: add Report::Malware variant ([Daniel Cadenas])
  • nostr: add coordinate methods to Filter struct ([DanConwayDev])
  • nostr: add NIP-34 kinds ([DanConwayDev])
  • nostr: add MachineReadablePrefix enum ([Yuki Kishimoto])
  • nostr: add ClientMessage::is_auth ([Yuki Kishimoto])
  • pool: add Output<T> struct ([Yuki Kishimoto])
  • pool: add Output<EventId>::id and Output<SubscriptionId>::id methods ([Yuki Kishimoto])
  • pool: add dry run option for negentropy reconciliation ([Yuki Kishimoto])
  • signer: add NostrSigner::unwrap_gift_wrap method ([Yuki Kishimoto])
  • signer: add bunker_uri method to NIP-46 client and signer ([Yuki Kishimoto])
  • sdk: add Client::unwrap_gift_wrap method ([Yuki Kishimoto])
  • js(nostr): complete JsFilter struct ([Yuki Kishimoto])
  • js(sdk): partially expose JsRelayPool ([Yuki Kishimoto])
  • book: add some python examples ([RydalWater])
Fixed
  • nostr: fix NIP-47 list_transactions response deserialization ([Yuki Kishimoto] and [lnbc1QWFyb24])
  • pool: fix shutdown notification sent to external channel on Relay::terminate method call ([Yuki Kishimoto])
  • pool: fix RelayPool::reconcile_advanced method uses database items instead of the passed ones ([Yuki Kishimoto])
  • signer: add missing NIP-46 connect "ACK" message handling ([Yuki Kishimoto])
  • sdk: fix NIP-42 client authentication ([Yuki Kishimoto])
  • js: fix "RuntimeError: memory access out of bounds" WASM error ([Yuki Kishimoto])
Removed
  • pool: remove RelayPoolNotification::Stop ([Yuki Kishimoto])
  • pool: remove RelayStatus::Stop ([Yuki Kishimoto])
  • Remove all start and stop methods ([Yuki Kishimoto])

Configuration

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

🚦 Automerge: Enabled.

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 has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot enabled auto-merge (rebase) March 15, 2024 12:14
@renovate renovate bot force-pushed the renovate/nostr-sdk-0.x branch 5 times, most recently from 10f145b to 71396e8 Compare March 21, 2024 23:28
@renovate renovate bot force-pushed the renovate/nostr-sdk-0.x branch 6 times, most recently from f291b94 to b857f50 Compare March 31, 2024 19:10
@renovate renovate bot force-pushed the renovate/nostr-sdk-0.x branch 5 times, most recently from 0d480f1 to df35956 Compare April 4, 2024 01:26
@renovate renovate bot force-pushed the renovate/nostr-sdk-0.x branch 7 times, most recently from a87052e to 8ba7e45 Compare April 12, 2024 14:43
@renovate renovate bot changed the title fix(deps): update rust crate nostr-sdk to 0.29.0 fix(deps): update rust crate nostr-sdk to 0.30.0 Apr 12, 2024
@renovate renovate bot force-pushed the renovate/nostr-sdk-0.x branch 4 times, most recently from 7ce2f5a to 78fce58 Compare April 22, 2024 02:18
@renovate renovate bot force-pushed the renovate/nostr-sdk-0.x branch 3 times, most recently from 20179b4 to ea6f6e9 Compare June 17, 2024 00:19
@renovate renovate bot force-pushed the renovate/nostr-sdk-0.x branch 3 times, most recently from 4d3014b to 506f39a Compare June 24, 2024 03:30
@renovate renovate bot force-pushed the renovate/nostr-sdk-0.x branch 2 times, most recently from 85ec6f8 to 48c1827 Compare July 1, 2024 00:50
@renovate renovate bot force-pushed the renovate/nostr-sdk-0.x branch 9 times, most recently from a8887ac to cb02301 Compare July 12, 2024 12:51
@renovate renovate bot changed the title fix(deps): update rust crate nostr-sdk to 0.32.0 fix(deps): update rust crate nostr-sdk to 0.32.0 - autoclosed Jul 12, 2024
@renovate renovate bot closed this Jul 12, 2024
auto-merge was automatically disabled July 12, 2024 13:07

Pull request was closed

@renovate renovate bot deleted the renovate/nostr-sdk-0.x branch July 12, 2024 13:07
@renovate renovate bot changed the title fix(deps): update rust crate nostr-sdk to 0.32.0 - autoclosed fix(deps): update rust crate nostr-sdk to 0.32.0 Jul 16, 2024
@renovate renovate bot reopened this Jul 16, 2024
@renovate renovate bot restored the renovate/nostr-sdk-0.x branch July 16, 2024 16:00
@renovate renovate bot enabled auto-merge (rebase) July 16, 2024 16:01
@renovate renovate bot changed the title fix(deps): update rust crate nostr-sdk to 0.32.0 fix(deps): update rust crate nostr-sdk to 0.33.0 Jul 16, 2024
@renovate renovate bot merged commit 5026a61 into main Jul 16, 2024
4 checks passed
@renovate renovate bot deleted the renovate/nostr-sdk-0.x branch July 16, 2024 16:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants