Releases: nostrver-se/nostr-php
Releases · nostrver-se/nostr-php
2.0.0-alpha1
- Requires PHP
>8.2
- Adds
valtzu/guzzle-websocket-middleware
to execute async concurrent websocket requests with the Http/Guzzle client - Added an example how to do this
Full Changelog: 1.4.2...2.0.0-alpha1
1.4.2
1.4.1
Fix for #61 reported by @SilberWitch
Remove dev
from keywords
in the composer.json
file, so the package is not longer handled as a dev depency when you require it in your project.
Full Changelog: 1.4.0...1.4.1
1.4.0
What's Changed
- @kriptonix relay responses handling by @Sebastix in #60
The library now provides separate relay response classes according to NIP-01.
EVENT
- sends events requested by the clientOK
- indicate an acceptance or denial of an EVENT messageEOSE
- end of stored eventsCLOSED
- subscription is ended on the server sideNOTICE
- used to send human-readable messages (like errors) to clients
This replaces the CommandResult
class which had the response of a relay. Thanks @kriptonix for working out the initial codebase in #59.
Full Changelog: 1.3.3...1.4.0
1.3.3
Fix response in send method in Relay class
Full Changelog: 1.3.2...1.3.3
1.3.2
Full Changelog: 1.3.1...1.3.2
1.3.1
Update phrity/websocket package to ^3.0 to support PSR-3 logger
See sirn-se/websocket-php@2.2.3...3.0.0
Full Changelog: 1.3.0...1.3.1
1.3.0
- Request events from relay with a
RequestMessage
class - Added
Subscription
class to be sent with your request to the relay - Added
Filter
class to be sent with your request to the relay - Added
MessageTypeEnum
class with the types of messages which can be sent from clients to relays (see NIP-01) - Added
RelaySet
class which can be used to read and publish event to multiple relays - Updated the README.md with examples how to read events from relays
What's Changed
- Add read from relay feature by @kriptonix in #55
- Website code for nostr-php.dev by @Sebastix in #54
- Extended PR #55 from @kriptonix by @Sebastix in #57
New Contributors
- @kriptonix made their first contribution in #55
Full Changelog: 1.2.4...1.3.0