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

Bump nostr-sdk from 0.33.0 to 0.34.0 #4

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 15, 2024

Bumps nostr-sdk from 0.33.0 to 0.34.0.

Release notes

Sourced from nostr-sdk's releases.

Release v0.34.0

Add embedded tor client support, allow to open databases with a limited capacity (automatically discard old events when max capacity is reached), add Client::stream_events_of as alternative method to Client::get_events_of (stream events instead of waiting for EOSE and collect into a list), add search capability (NIP-50) support to Filter::match_event and databases, add NIP-31 and NIP-70 support, add option to autoconnect relay on Client::add_relay method call (currently disabled by default), rework the get_events_of methods behaviour for better consistency (RelayPool::get_events_of and Relay::get_events_of get events only from remote relay/s while Client::get_events_of allow to choose the source of events: database, relays or both), bugs fix and more!

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

Changelog

Sourced from nostr-sdk's changelog.

[v0.34.0]

Summary

Add embedded tor client support, allow to open databases with a limited capacity (automatically discard old events when max capacity is reached), add Client::stream_events_of as alternative method to Client::get_events_of (stream events instead of waiting for EOSE and collect into a list), add search capability (NIP-50) support to Filter::match_event and databases, add NIP-31 and NIP-70 support, add option to autoconnect relay on Client::add_relay method call (currently disabled by default), rework the get_events_of methods behaviour for better consistency (RelayPool::get_events_of and Relay::get_events_of get events only from remote relay/s while Client::get_events_of allow to choose the source of events: database, relays or both), bugs fix and more!

Changed

  • Bump MSRV to v1.70.0 ([Yuki Kishimoto])
  • Bump toolchain channel to 1.80.1 ([Yuki Kishimoto])
  • nostr: deprecate Event::author_ref and Event::iter_tags ([Yuki Kishimoto])
  • nostr: calculate EventId in EventBuilder::to_unsigned_event_with_supplier ([Yuki Kishimoto])
  • nostr: ensure that NIP-59 rumor has EventId ([Yuki Kishimoto])
  • nostr: update PartialEvent methods ([Yuki Kishimoto])
  • nostr: change EventBuilder::award_badge fingerprint ([Yuki Kishimoto])
  • nostr: add NIP-50 support to Filter::match_event method ([Yuki Kishimoto])
  • nostr: remove Arc<T> from OnceCell<T> in Event and Tag ([Yuki Kishimoto])
  • nostr: move sig field from PartialEvent to MissingPartialEvent ([Yuki Kishimoto])
  • nostr: better Debug trait impl for EventId, PublicKey and Tag ([Yuki Kishimoto])
  • nostr: improve SubscriptionId::generate_with_rng ([Yuki Kishimoto])
  • pool: take mutex ownership instead of clone in InternalRelayPool::get_events_from ([Yuki Kishimoto])
  • pool: remove IDs collection from InternalRelayPool::get_events_from ([Yuki Kishimoto])
  • pool: better checks before perform queries or send messages to relays ([Yuki Kishimoto])
  • pool: bump async-wsocket to v0.7 ([Yuki Kishimoto])
  • pool: get events only from remote relay when calling get_events_of or get_events_from ([Yuki Kishimoto])
  • database: avoid to copy EventId in Event::decode ([Yuki Kishimoto])
  • database: use Vec instead of BTreeSet as inner value for TagIndexValues ([Yuki Kishimoto])
  • database: rework DatabaseIndexes and rename to DatabaseHelper ([Yuki Kishimoto])
  • database: allow to set max capacity to DatabaseHelper ([Yuki Kishimoto])
  • database: speedup helper bulk load ([Yuki Kishimoto])
  • database: set a default logic for NostrDatabase::negentropy_items ([Yuki Kishimoto])
  • sdk: rename Proxy and ProxyTarget to Connection and ConnectionTarget ([Yuki Kishimoto])
  • sdk: allow to skip slow relays ([Yuki Kishimoto])
  • sdk: allow to specify the source of events for Client::get_events_of method ([Yuki Kishimoto])
  • sdk: deprecate Client::get_events_of_with_opts ([Yuki Kishimoto])
  • sqlite: use ValueRef instead of owned one ([Yuki Kishimoto])
  • cli: improve sync command ([Yuki Kishimoto])
  • cli: allow to specify relays in open command ([Yuki Kishimoto])

Added

  • nostr: add NIP-31 support ([Yuki Kishimoto])
  • nostr: add NIP-70 support ([Yuki Kishimoto])
  • nostr: add EventId::LEN const ([Yuki Kishimoto])
  • nostr: add UnsignedEvent::ensure_id method ([Yuki Kishimoto])

... (truncated)

Commits
  • 8714d7e Release v0.34.0
  • 5c65e28 contrib: update release announcement template hashtags
  • 0c2597c Bump to v0.34.0
  • e4cafe6 pool: bump async-wsocket to v0.7
  • a19c76a sdk: allow to specify the source of events for Client::get_events_of method
  • 5432771 pool: get events only from remote relay when calling get_events_of or `get_...
  • 348c64c sdk: add Client::stream_events_* methods
  • 728630c sdk: adj prelude module
  • 63a2dbb Bump tungstenite patch to b66ab8a3eddd3260096cb7c4917d9884fab8b1f0
  • bd9fd8a nostr: avoid PublicKey copy in NIP-05 module
  • 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 Aug 15, 2024
Bumps [nostr-sdk](https://github.com/rust-nostr/nostr) from 0.33.0 to 0.34.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.33.0...v0.34.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 force-pushed the dependabot/cargo/nostr-sdk-0.34.0 branch from 7e9905c to 340bc08 Compare August 27, 2024 11:53
@coveralls
Copy link

Pull Request Test Coverage Report for Build 10577551612

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+2.2%) to 58.08%

Totals Coverage Status
Change from base Build 10577543907: 2.2%
Covered Lines: 715
Relevant Lines: 828

💛 - Coveralls

Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 27, 2024

Looks like nostr-sdk is up-to-date now, so this is no longer needed.

@dependabot dependabot bot closed this Aug 27, 2024
@dependabot dependabot bot deleted the dependabot/cargo/nostr-sdk-0.34.0 branch August 27, 2024 12:47
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.

1 participant