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

chore(deps): bump nostr-sdk from 0.35.1 to 0.38.0 #1683

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 5, 2025

Bumps nostr-sdk from 0.35.1 to 0.38.0.

Release notes

Sourced from nostr-sdk's releases.

Release v0.38.0

Full NIP42 support for SDK and relay builder, negentropy support and read/write policy plugins for relay builder, NIP35 support, better logs and docs, performance improvements, bugs fix and more!

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

Release v0.37.0

Add support to NIP17 relay list in SDK (when gossip option is enabled), add NIP22 and NIP73 support, fix Swift Package, many performance improvements and bug fixes and more!

From this release all the rust features are be disabled by default (except std feature in nostr crate).

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

Release v0.36.0

Many, many improvements to Relay and RelayPool performance (reduced atomic operations and switched to async concurrency), add NostrSigner trait, better methods and struct names (fetch_events instead of get_events_of, sync instead of reconcile, NostrConnect instead of Nip46Signer and so on), add LocalRelay and allow to easily serve it as hidden onion service with the embedded tor client, allow to keep track of negentropy sync progress, almost halved the weight of JavaScript SDK bindings (from ~6.3MB to ~3.6MB), some fixes and many more!

Note for Python, Kotlin, Swift and JavaScript devs: unfortunately I can't mark things as deprecated in bindings, so this release have many breaking changes, sorry :(

Note for devs who are using nostr-protocol (Python), org.rust-nostr:nostr (Kotlin), nostr-swift (Swift) or @rust-nostr/nostr (JavaScript) libraries: these packages are now deprecated. Only the nostr-sdk library will be released, which include everything that was in those libraries.

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

Changelog

Sourced from nostr-sdk's changelog.

[v0.38.0] - 2024/12/31

Summary

Full NIP42 support for SDK and relay builder, negentropy support and read/write policy plugins for relay builder, NIP35 support, better logs and docs, performance improvements, bugs fix and more!

Breaking changes

  • nostr: update FromBech32::from_bech32 method signature ([Yuki Kishimoto])
  • nostr: update NostrURI::from_nostr_uri method signature ([Yuki Kishimoto])
  • nostr: remove generics from parsing methods in key module ([Yuki Kishimoto])
  • nostr: remove generics from EventId parsing methods ([Yuki Kishimoto])
  • nostr: remove generic from RelayUrl::parse ([Yuki Kishimoto])
  • nostr: refactor MachineReadablePrefix::parse method to use &str directly ([Yuki Kishimoto])
  • nostr: update RelayMessage::Notice variant ([Yuki Kishimoto])
  • database: reduce default in-memory database limit to 35_000 ([Yuki Kishimoto])
  • database: update NostrEventsDatabase::save_event method signature ([Yuki Kishimoto])
  • pool: replace Option<String> with String in Output::failed ([Yuki Kishimoto])
  • sdk: update fetch_* and stream_* methods signature ([Yuki Kishimoto])
  • bindings: remove redundant parsing methods from EventId, Coordinate, PublicKey and SecretKey ([Yuki Kishimoto])

Changed

  • Bump async-utility to 0.3, async-wsocket to 0.12 and atomic-destructor to 0.3 ([Yuki Kishimoto])
  • nostr: remove self-tagging when building events ([Yuki Kishimoto])
  • nostr: don't set root tags when the root is null ([Yuki Kishimoto])
  • nostr: update RelayMessage::NegErr variant ([Yuki Kishimoto])
  • nostr: accept either EventBuilder or UnsignedEvent as rumor in NIP59 functions ([Yuki Kishimoto] and [arkanoider])
  • nostr: require fmt::Debug, Send and Sync for NostrSigner ([Yuki Kishimoto])
  • nostr: enable support for Tags::indexes in no_std ([Yuki Kishimoto])
  • nostr: improve RelayMessage docs ([Yuki Kishimoto])
  • nostr: include public key of root and parent author in EventBuilder::comment ([Yuki Kishimoto])
  • nostr: dedup tags in EventBuilder::text_note_reply and EventBuilder::comment ([Yuki Kishimoto])
  • nostr: don't use reply event as root e tag i no root is set in EventBuilder::text_note_reply ([Yuki Kishimoto])
  • database: add manual trait implementations for BTreeCappedSet ([Yuki Kishimoto])
  • database: replace LRU with custom memory cache for IDs tracking ([Yuki Kishimoto])
  • lmdb: use async-utility to spawn blocking tasks ([Yuki Kishimoto])
  • ndb: bump nostr-ndb to 0.5 ([Yuki Kishimoto])
  • pool: add PingTracker and improve relay ping management ([Yuki Kishimoto])
  • pool: cleanup relay Error variants ([Yuki Kishimoto])
  • pool: acquire service watcher receiver outside the auto-connect loop ([Yuki Kishimoto])
  • pool: decrease MAX_RETRY_INTERVAL to 60 secs ([Yuki Kishimoto])
  • pool: rework retry interval calculation ([Yuki Kishimoto])
  • pool: improve shutdown docs ([dluvian])
  • pool: rename FilterOptions to ReqExitPolicy ([Yuki Kishimoto])
  • pool: log WebSocket connection error only if different from the last one ([Yuki Kishimoto])
  • pool: reduce atomic operations when cloning ([Yuki Kishimoto])
  • sdk: refactor POW difficulty management ([Yuki Kishimoto])
  • connect: require fmt::Debug, Send and Sync for AuthUrlHandler ([Yuki Kishimoto])

... (truncated)

Commits

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)

Bumps [nostr-sdk](https://github.com/rust-nostr/nostr) from 0.35.1 to 0.38.0.
- [Release notes](https://github.com/rust-nostr/nostr/releases)
- [Changelog](https://github.com/rust-nostr/nostr/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-nostr/nostr/commits/v0.38.0)

---
updated-dependencies:
- dependency-name: nostr-sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jan 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants