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.40.1 #1835

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 Mar 30, 2025

Bumps nostr-sdk from 0.35.1 to 0.40.1.

Release notes

Sourced from nostr-sdk's releases.

Release v0.40.0

Add NIP-38 and NIP-62 support, add nostr parser, to easily parse any text and extract nostr URIs, URLs and more, extend Tags capabilities (i.e., add deduplication support), add admission policies, to selectively select which events to allow receiving and which to reject, add Mac Catalyst support for Swift package, many cleanups, refactoring and performance improvements and more!

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

Release v0.39.0

Add NIP96 support, add NIP22 helpers, NIP01 adjustments, add try_connect and wait_for_connection methods for better connection handling, support for custom WebSocket clients (both in Rust, Python, Kotlin and Swift), new JVM bindings, huge reduction of UniFFI bindings binaries size, many cleanups, refactoring and performance improvements and more!

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

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.40.1]

Fixed

  • pool: fix Relay::unsubscribe_all method hangs ([Yuki Kishimoto])

[v0.40.0]

Summary

Add NIP-38 and NIP-62 support, add nostr parser, to easily parse any text and extract nostr URIs, URLs and more, extend Tags capabilities (i.e., add deduplication support), add admission policies, to selectively select which events to allow receiving and which to reject, add Mac Catalyst support for Swift package, many cleanups, refactoring and performance improvements and more!

Breaking changes

  • nostr: update Nip19Event relays field type from Vec<String> to Vec<RelayUrl> ([Yuki Kishimoto])
  • nostr: change the Err type of ToBech32 to Infallible for SecretKey, PublicKey and EventId ([awiteb])
  • nostr: update Tags::new signature ([Yuki Kishimoto])
  • nostr: remove WeakTag ([Yuki Kishimoto])
  • nostr: change TagStandard::Relays variant inner value from Vec<Url> to Vec<RelayUrl> ([Yuki Kishimoto])
  • nostr: split NostrURI into ToNostrUri and FromNostrUri traits ([Yuki Kishimoto])
  • nostr: replace generic parameter AsRef<str> with &str in Coordinate::parse and Coordinate::from_kpi_format ([Yuki Kishimoto])
  • nostr: replace generic parameter AsRef<str> with &str in Nip21::parse ([Yuki Kishimoto])
  • nostr: change EventId::new signature ([Yuki Kishimoto])
  • nostr: change EventBuilder::git_repository_announcement constructor signature ([Yuki Kishimoto])
  • nostr: change EventBuilder::git_issue constructor signature ([Yuki Kishimoto])
  • nostr: change EventBuilder::git_patch constructor signature ([Yuki Kishimoto])
  • nostr: TagStandard::parse now returns Err(Error::UnknownStandardizedTag) for non-lowercase hashtags as per NIP-24 ([awiteb])
  • nostr: update NostrWalletConnectURI to support multiple relay URLs ([Yuki Kishimoto])
  • nostr: remove EventIdOrCoordinate enum ([Yuki Kishimoto])
  • nostr: change EventBuilder::delete arguments ([Yuki Kishimoto])
  • pool: drop RelayFiltering ([Yuki Kishimoto])
  • pool: remove Relay constructors ([Yuki Kishimoto])
  • pool: change RelayPool::new signature ([Yuki Kishimoto])
  • pool: now can set the notification channel size of a single Relay using RelayOptions ([magine])
  • sdk: change Client::fetch_metadata output ([Yuki Kishimoto])
  • sdk: remove Client::state ([Yuki Kishimoto])

Changed

  • nostr: manually impl eq and cmp traits for RelayUrl ([Yuki Kishimoto])
  • nostr: use Cow in ClientMessage and RelayMessage ([Yuki Kishimoto])
  • nostr: derive PartialOrd, Ord, and Hash traits in Nip21 enum ([Yuki Kishimoto])
  • pool: take event reference in send_event methods ([Yuki Kishimoto])
  • pool: use the relay ingester to perform actions ([Yuki Kishimoto])
  • pool: avoid spawning a task for every authentication request ([Yuki Kishimoto])
  • pool: use std::sync::OnceLock instead of tokio::sync::OnceCell ([Yuki Kishimoto])
  • lmdb: bump MSRV to 1.72.0 ([Yuki Kishimoto])
  • lmdb: implement event ingester ([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.40.1.
- [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)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Mar 30, 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