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.29.0 to 0.39.0 #125

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 Feb 3, 2025

Bumps nostr-sdk from 0.29.0 to 0.39.0.

Release notes

Sourced from nostr-sdk's releases.

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

Release v0.35.0

Add gossip model support, deprecate SQLite database in favor of LMDB (fork of pocket database), add support to negentropy v1 (old version is still supported!), add MockRelay (a local disposable relay for tests), allow usage of embedded tor client on mobile devices, many improvements, bugs fix and more!

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

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

Release v0.33.0

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!

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

Release v0.32.0

Added async/future support to Python, Kotlin and Swift, added automatic authentication to relays (NIP-42, can be deactivated in client options), improvements to relay limits, many bug fixes (relays not auto reconnect, wrong query order for SQLite, tokio panic when using SQLite database in bindings) and more!

Note for kotlin devs: from this release the packages will be published at org.rust-nostr instead of io.github.rust-nostr.

... (truncated)

Changelog

Sourced from nostr-sdk's changelog.

[v0.39.0] - 2025/01/31

Summary

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!

Breaking changes

  • Drop zapper support ([Yuki Kishimoto])
  • nostr: update ClientMessage::neg_open signature ([Yuki Kishimoto])
  • nostr: remove ClientMessage::neg_open_deprecated ([Yuki Kishimoto])
  • nostr: add nip98 feature ([Yuki Kishimoto])
  • nostr: remove support for event JSON order preservation ([Yuki Kishimoto])
  • nostr: change EventBuilder::gift_wrap rumor arg type ([Yuki Kishimoto])
  • nostr: change Filter::custom_tag value arg type ([Yuki Kishimoto])
  • nostr: rename Filter::remove_custom_tag to Filter::remove_custom_tags ([Yuki Kishimoto])
  • nostr: take a single filter per REQ and COUNT ([Yuki Kishimoto])
  • nostr: rename contact module to nip02 ([Yuki Kishimoto])
  • pool: change Relay::connect method signature ([Yuki Kishimoto])
  • pool: change Relay::disconnect method signature ([Yuki Kishimoto])
  • pool: change RelayPool::disconnect method signature ([Yuki Kishimoto])
  • pool: update targets arg type in RelayPool::stream_events_targeted method ([Yuki Kishimoto])
  • pool: update RelayPool::remove_all_relays method signature ([Yuki Kishimoto])
  • pool: update RelayPool::force_remove_all_relays method signature ([Yuki Kishimoto])
  • pool: update RelayPool::shutdown method signature ([Yuki Kishimoto])
  • sdk: update Client::remove_all_relays method signature ([Yuki Kishimoto])
  • sdk: update Client::force_remove_all_relays method signature ([Yuki Kishimoto])
  • sdk: update Client::shutdown method signature ([Yuki Kishimoto])
  • sdk: change Client::disconnect method signature ([Yuki Kishimoto])
  • sdk: change Client::reset method signature ([Yuki Kishimoto])
  • connect: change NostrConnect::shutdown method signature ([Yuki Kishimoto])
  • nwc: change NWC::shutdown method signature ([Yuki Kishimoto])
  • ffi: change UnsignedEvent::tags output ([Yuki Kishimoto])
  • ffi: convert ImageDimensions in a Record ([Yuki Kishimoto])
  • ffi: convert Contact to a Record ([Yuki Kishimoto])
  • ffi: rename KindEnum to KindStandard ([Yuki Kishimoto])
  • ffi: remove KindStandard::Custom variant ([Yuki Kishimoto])
  • ffi: rename Kind::from_enum and Kind::as_enum to Kind::from_std and Kind::as_std ([Yuki Kishimoto])
  • ffi: add tor feature (disabled by default) ([Yuki Kishimoto])
  • ffi: split addr in ConnectionMode::Proxy variant ([Yuki Kishimoto])
  • js: rename Nip07Signer to BrowserSigner ([Yuki Kishimoto])
  • bindings: remove profile module ([Yuki Kishimoto])
  • bindings: remove NostrLibrary struct and keep only git_hash_version func ([Yuki Kishimoto])

Changed

  • Bump async-wsocket to 0.13 ([Yuki Kishimoto])
  • Bump negentropy to 0.5 ([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)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Feb 3, 2025
@dependabot dependabot bot force-pushed the dependabot/cargo/nostr-sdk-0.39.0 branch from 1cf4db9 to ff64602 Compare February 3, 2025 17:49
Bumps [nostr-sdk](https://github.com/rust-nostr/nostr) from 0.29.0 to 0.39.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.39.0)

---
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 force-pushed the dependabot/cargo/nostr-sdk-0.39.0 branch from ff64602 to ddfa418 Compare February 11, 2025 17:38
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants