Skip to content

Releases: UTXOnly/nostpy-relay

v1.2.0

14 Oct 02:41
6255280
Compare
Choose a tag to compare

Added:

  • Tor proxy container
  • WoT bootstrap script (also instructions for cronjob)
  • More menu options
  • Updated install documentation

Removed:

  • Relay service user
  • venv install
  • file encryption for .env file

v1.0.0

01 Jul 00:00
a7bb700
Compare
Choose a tag to compare

Enhancements

Added

Nginx reverse proxy container
Support for OpenTelemetry
Traces and metrics over GRPC
OTel collector/Datadog exporter
Support for both x86/ARM64 architecture for Python containers
Upgraded Python containers to 3.11-slim base image
Config option to configure seperate read/write database instances
Removed

Nginx reverse proxy on host
Python 3.9-slim base images
Datadog Python tracer
Datadog docker agent

Bug fixes

Fixed #53
Fixed #55

v0.8

24 Feb 02:31
c5464ba
Compare
Choose a tag to compare

Enhancements

Bug fixes

v0.7

18 Feb 16:28
917c664
Compare
Choose a tag to compare

v0.7

Enhancements

  • Re-added redis cache to serve frequent queries faster
  • Added event classes to event_handler service for readability and portability
  • More efficient use of coroutines
    • Use asyncio.gather to prepare and send responses to websocket client
    • Converted async methods to sync methods where appropriate to reduce overhead
  • Added auto-multiline log detection for Datadog agent to more easily read stack traces
  • Cleaned up noisy DEBUG log lines
  • Better error handling for empty responses

Bug Fixes

  • Fixed websocket_handler JSON loads error that occurred when loading empty payloads to no longer restart the websocket server
    • Server continues and maintains the websocket connection

## v0.6

05 Feb 02:05
9b8c912
Compare
Choose a tag to compare

Enhancements

  • Obfuscate client_ip tag by using a hashed value for their ip address
    • Rate limiter is triggered off the hashed value, no client ip in any application logs
  • Added docstrings for classes in websocket_handler.py
  • Remove event verification from handle_new_event method (unnecessary as it is done by clients)
  • Removed SQLalchemy in favor of async psycopg3
    • Faster
    • Smaller memory footprint
    • More control over dynamically constructed queries
  • Slight redesign of database schema to store tags in JSONB format
    • Easier to query individual tags
    • Improved query performance from executing tag search as a function scan
    • Remove high cardinality indexes , leaving indexes only on pubkey and kind
  • event-handler service broken up into smaller async functions , with better error handling and more specific error messages
  • Updated Database Monitoring setup script

Bug Fixes

  • Tags not being added to query filter, Issue #28
    • Tags are now stored in JSONB format and use valid and dynamically constructed queries

v0.5

02 Sep 21:20
d800ff0
Compare
Choose a tag to compare

Enhancements

  • Add client_ip and nostr_client tag to rate limit and current token count metrics
  • Add stop_containers option to main menu to be able to stop containers without having to rebuild
  • Database Monitoring setup script added to main menu to create Datadog schema in every available databse and enable pg_stat_statements + explain statements
  • Add pylint numerical score badge to readme

Bug Fixes

  • Resolved bugs in menu.py that were made it necessary to exit the main menu or encryption sub-menu to continue running commands