Skip to content

Releases: nostrver-se/nostr-php

1.5.0

05 Nov 12:11
3f42292
Compare
Choose a tag to compare

What's Changed

  • Add NIP-42 support for client to relay authentication within the library by @Sebastix in #67 for #62
  • Set generic tags on filter for requestMessages + websocket client to relay improvements by @Sebastix in #69

Full Changelog: 1.4.2...1.5.0

2.0.0-alpha1

18 Oct 09:20
Compare
Choose a tag to compare
2.0.0-alpha1 Pre-release
Pre-release
  • 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

18 Oct 09:15
212fed7
Compare
Choose a tag to compare

What's Changed

  • phpdoc + examples by @Sebastix in #65
  • remove build dir phpdoc.nostr-php.dev from repo by @Sebastix in #66
  • Some improvements in the Filter class to handle multiple authors

Full Changelog: 1.4.1...1.4.2

1.4.1

14 Sep 20:35
Compare
Choose a tag to compare

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

29 Aug 10:08
Compare
Choose a tag to compare

What's Changed

The library now provides separate relay response classes according to NIP-01.

  • EVENT - sends events requested by the client
  • OK - indicate an acceptance or denial of an EVENT message
  • EOSE - end of stored events
  • CLOSED - subscription is ended on the server side
  • NOTICE - 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

04 Jul 14:17
Compare
Choose a tag to compare

Fix response in send method in Relay class

Full Changelog: 1.3.2...1.3.3

1.3.2

02 Jul 20:39
Compare
Choose a tag to compare

Full Changelog: 1.3.1...1.3.2

1.3.1

25 Jun 18:18
Compare
Choose a tag to compare

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

20 Jun 15:15
859ff95
Compare
Choose a tag to compare
  • 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

New Contributors

Full Changelog: 1.2.4...1.3.0

1.2.4

21 May 11:09
Compare
Choose a tag to compare

What's Changed

  • add composer php version support >= 8.1 to 8.3.x
  • fix: allow php 8.3.1 etc. as well by @svemir in #52
  • add MIT license

New Contributors

Full Changelog: 1.2.3...1.2.4