Skip to content

Releases: nostrver-se/nostr-php

1.5.2

05 Dec 09:23
cca30f9
Compare
Choose a tag to compare

What's Changed

This fixes php/php-src#16870 a with the gmp_pow method used in the phpecc package also reported in #71.

Full Changelog: 1.5.1...1.5.2

Make sure to run composer update --with-dependencies when you update the nostr-php package in your current PHP application.

1.5.1

24 Nov 22:21
Compare
Choose a tag to compare

What's Changed

  • Support for PHP 8.4 by @Sebastix in #73
  • Add id property to Subscription class
  • Updated example snippets
  • Cleaned up some code in Request class
  • AllowDynamicProperty in Filter class

Full Changelog: 1.5.0...1.5.1

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