Latest Release

  • Repository: 0ceanSlim/grain
  • Published on: 2025-03-05 17:34:10 UTC
  • Version Tag: v0.3.1
  • By: 0ceanSlim
  • On GitHub: 0ceanSlim/grain/releases

🚀 Small Enhancements

Disable User Sync at Startup ⚙️

  • The configuration file now has a setting to enable or disable the Sync from happening at startup if you have it enabled.

Cache whitelisted domain Pubkeys 💤

  • The relay will now cache a list of pubkeys whitelisted through domains when they are successfully fetched.
  • The relay will use the cached list if the domain cannot be reached in the event the domain is offline.
    • This prevents accidentally purging a whitelisted user events in the event their domain is only temporarily offline.

API Endpoints 🖥️

  • There are now two new endpoints for an api. v1/whitelist/pubkeys and v1/blacklist/pubkeys
    • These will return the full blacklist and whitelists for the relay

🐛 Bug Fixes

Event Purge Fix

  • Event purge was not considering pubkeys whitelisted at a domain. This is fixed.

🛠️ Other Changes

Dependency Maintenance 📦

  • Updated yaml parser package
  • Removed Gorilla from the config package and replaced with standard lib websocket.
    • I plan to replace the rest after structured logging,

Refactoring

  • Moved the go src file out of the app directory
  • The app directory no longer contains unneeded go source files in the release

📦 Installation Instructions

To install or update to version v0.3.1: Just extract the app folder to the same directory as your executable, then run the program!

Upgrading

If you're upgrading, please take a look at the new example configs. Change your configs accordingly and replace the old executable and app directory with the new one.

💡 What's Next?

Structured logging for the entire program

Thanks for your patience on this release! Most of the work is done by a single dev, so feedback and testing are always appreciated. 🚀

Full Changelog: https://github.com/0ceanSlim/grain/compare/v0.3.0...v0.3.1

Data updated on: 2025-04-25 01:36 UTC