Yuki Kishimoto's avatar
Yuki Kishimoto
_@yukikishimoto.com
npub1drvp...seet
GitHub: https://github.com/yukibtc PGP: 86F3 105A DFA8 AB58 7268 DCD7 8D3D CD04 2496 19D1
## rust-nostr v0.34 is out! ๐Ÿฆ€ ### 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! Full changelog: https://rust-nostr.org/changelog ### Contributors Thanks to all contributors! * @reya * @Rydal ### Links #rustnostr #nostr #rustlang #programming #rust #python #javascript #kotlin #swift
## rust-nostr v0.33.0 is out! ๐Ÿฆ€ ### Summary 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 ### Contributors Thanks to all contributors! * @DanConwayDev * @xy * @Daniel Cadenas * @Rydal * @Aaron ### Links #rustnostr #nostr
Released a patch for Python, Kotlin and Swift `nostr-sdk` packages that not allow usage of relays with TLS v1.2 certificates. Rust devs have to update the `async-wsocket` dep in `Cargo.lock` file to `v0.5.2`: `cargo update -p async-wsocket`. Python, Kotlin and Swift devs, just bump the package from `v0.32.1` to `v0.32.2`. Thanks to the @Mostro team!
## rust-nostr v0.32 is out! ๐Ÿฆ€ ### Versions Rust & JS: `v0.32.0` Python, Kotlin & Swift: `v0.32.1` From this release all packages for all languages will have the same major and minor versions. ### Summary 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`. Full changelog: https://rust-nostr.org/changelog ### Contributors Thanks to all contributors! * @Carman * @xy * @Rydal Thanks also to @Don't Believe The Vibe ๐ŸŒฑ๐Ÿ‹๐ŸŠ for helping to discover some nasty bugs! ### Links #rustnostr #nostr
For all devs using the Python, Kotlin or Swift rust-nostr libraries: I've published an alpha version of nostr-sdk with async/future support. Please give it a try and give me a feedback. All rust-nostr libraries (except for protocol implementation) are async so make sense to convert bindings to async instead of keeping them blocking, but I don't know how common async programming is in those langs. The alpha versions are: * Python: 0.13.0a1.dev0 * Kotlin: 0.13.0-alpha.1 * Swift: 0.13.0-alpha.1 Here you can find some async python examples: https://github.com/rust-nostr/nostr/tree/async-ffi/bindings%2Fnostr-sdk-ffi%2Fbindings-python%2Fexamples @Don't Believe The Vibe ๐ŸŒฑ๐Ÿ‹๐ŸŠ @Dustin Dannenhauer @dluvian @Daniel Cadenas #rustnostr
## rust-nostr release is out! ๐Ÿฆ€ ### Versions Rust: v0.31 JavaScript: v0.14 Python, Kotlin and Swift: v0.12 ### Summary Reworked `Tag`, added `TagStandard` enum, simplified the way to subscribe and/or reconcile to subset of relays (respectively, `client.subscribe_to` and `client.reconcile_with`), added blacklist support to mute public keys or event IDs, removed zap split from `client.zap` method, many improvements and more! Full changelog: https://rust-nostr.org/changelog ### Contributors Thanks to @DanConwayDev for contributing! ### Links #rustnostr #nostr
โ†‘