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

Update Rust crate nostr to v0.33.0 - autoclosed #10

Merged
merged 1 commit into from
Jul 23, 2024
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 23, 2024

Mend Renovate

This PR contains the following updates:

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

Release Notes

rust-nostr/nostr (nostr)

v0.33.0

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: 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.

@22388o 22388o merged commit ea3be0b into main Jul 23, 2024
@renovate renovate bot changed the title Update Rust crate nostr to v0.33.0 Update Rust crate nostr to v0.33.0 - autoclosed Jul 23, 2024
@renovate renovate bot deleted the renovate/nostr-0.x branch July 23, 2024 12:11
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.

1 participant