Skip to content

Bump nostr-sdk from 0.29.0 to 0.41.0 #138

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

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 Apr 21, 2025

Bumps nostr-sdk from 0.29.0 to 0.41.0.

Release notes

Sourced from nostr-sdk's releases.

Release v0.41.0

Breaking changes

  • nostr: add optional relay URL arg to Tag::coordinate (Yuki Kishimoto)
  • nostr: update TagStandard::Label and EventBuilder::label (Yuki Kishimoto)
  • nostr: update custom field type in Metadata struct (Yuki Kishimoto)
  • pool: remove Error::Failed variant (Yuki Kishimoto)
  • pool: returns Output instead of an error if the message/event sending fails for all relays (Yuki Kishimoto)
  • pool: add reason field to AdmitStatus::Rejected variant (Yuki Kishimoto)

Changed

Added

Fixed

  • nostr: fix missing transactions object in serialization of nip47 ListTransactions ResponseResult (daywalker90)
  • nostr: fix NIP32 implementation (Yuki Kishimoto)

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

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

... (truncated)

Changelog

Sourced from nostr-sdk's changelog.

v0.41.0 - 2025/04/15

Breaking changes

  • nostr: add optional relay URL arg to Tag::coordinate ([Yuki Kishimoto])
  • nostr: update TagStandard::Label and EventBuilder::label ([Yuki Kishimoto])
  • nostr: update custom field type in Metadata struct ([Yuki Kishimoto])
  • pool: remove Error::Failed variant ([Yuki Kishimoto])
  • pool: returns Output instead of an error if the message/event sending fails for all relays ([Yuki Kishimoto])
  • pool: add reason field to AdmitStatus::Rejected variant ([Yuki Kishimoto])

Changed

  • lmdb: enable POSIX semaphores for macOS and iOS targets ([Yuki Kishimoto])
  • ndb: bump nostrdb to 0.6.1 ([Yuki Kishimoto])
  • pool: extend unit tests ([Yuki Kishimoto])
  • pool: better handling of CLOSED message for REQs ([Yuki Kishimoto] at rust-nostr/nostr#778)
  • relay-builder: send CLOSED if all possible events have been served ([Yuki Kishimoto] at rust-nostr/nostr#778)

Added

  • nostr: add NIP-C0 (Code Snippets) support ([awiteb])
  • nostr: add TagKind::u constructor ([Yuki Kishimoto])
  • nostr: derive Copy for HttpMethod ([Yuki Kishimoto])
  • nostr: add nip98::verify_auth_header ([Yuki Kishimoto])
  • nostr: add push, pop, insert and extend methods to the Tag struct ([Yuki Kishimoto])
  • nostr: add nip47::Notification ([daywalker90])
  • nostr: add MachineReadablePrefix::as_str method ([Yuki Kishimoto])
  • nostr: derive Hash for EventBuilder and Metadata ([Yuki Kishimoto])
  • pool: add Relay::ban method ([Yuki Kishimoto])
  • pool: add AdmitPolicy::admit_connection method ([Yuki Kishimoto])
  • keyring: add NostrKeyring ([Yuki Kishimoto])

Fixed

  • nostr: fix missing transactions object in serialization of nip47 ListTransactions ResponseResult ([daywalker90])
  • nostr: fix NIP32 implementation ([Yuki Kishimoto])

v0.40.1 - 2025/03/24

Fixed

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

v0.40.0 - 2025/03/18

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,

... (truncated)

Commits
  • 48de47b Bump to 0.41.0
  • ce2ba11 nostr: derive Hash for EventBuilder
  • 0f0523f nostr: update custom field type in Metadata struct
  • 4b05c61 relay-builder: send CLOSED if all possible events have been served
  • 5307f1c pool: better handling of CLOSED message for REQs
  • fbd6d11 nostr: add MachineReadablePrefix::as_str method
  • f4f3f50 pool: refactor AtomicRelayServiceFlags methods to use load/store logic.
  • b5d91ea pool: refactor InnerRelay::spawn_connection_task logic
  • 347ff7e doc: remove tag links from CHANGELOG.md
  • 6979744 nostr: fix NIP32 implementation
  • Additional commits viewable in compare view

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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Apr 21, 2025
Bumps [nostr-sdk](https://github.com/rust-nostr/nostr) from 0.29.0 to 0.41.0.
- [Release notes](https://github.com/rust-nostr/nostr/releases)
- [Changelog](https://github.com/rust-nostr/nostr/blob/master/CHANGELOG.md)
- [Commits](rust-nostr/nostr@v0.29.0...v0.41.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/cargo/nostr-sdk-0.41.0 branch from ad84ce9 to 1667070 Compare April 22, 2025 08:46
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 rust Pull requests that update rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants