Skip to content

v0.41.0

Latest

Choose a tag to compare

@github-actions github-actions released this 01 Dec 02:19

Wyrm now supports multiple accounts! Each person on an instance gets their own feeds, posts, folders, webhooks, settings, shortcuts and host credentials.

This is the biggest update Wyrm has received so far and gets it a lot closer to a 1.0 release (maybe?)! For that reason, I kindly ask you to bear with me if you spot any issues and not to hesitate to report those.

TL;DR: A Wyrm instance can now have multiple users, each of which with their data. After installing/upgrading, you'll land on a setup screen where you'll be required to provide a setup token that can be retrieved from the logs, and create the first admin account (and optionally link OIDC if configured). This newly created admin account will own all of the pre-existing data on the instance. Admins can manage instance settings and users in a new "Admin" section in Settings. WYRM_API_KEY has been removed and WYRM_PUBLIC_URL is required.

Warning

This release has breaking changes. Read Upgrading before you update. You're advised to back up your database first.

What's changed

Accounts

  • Sign in with a username and password, or with OIDC.
  • The first time you open Wyrm, you will be required to set up the admin account with a one-time setup token from the server logs, so nobody else can claim your instance.
  • Admins can open sign-up so anyone who can reach the instance can create an account. It's closed by default.
  • Manage your account in Settings, under Account: change your password (this signs you out everywhere else), link OIDC, or delete your account.
  • Admins can list users, make them admins or remove their admin role, and delete accounts under Users.

Instance settings

Settings that apply to the whole instance moved to a new Instance tab for admins: sign-up, poll interval, HTTP timeouts, retries and user agent. Integrations (e.g. the RSSHub instance) are set by admins, and everyone else sees it read-only.

Private addresses are blocked

Feeds, icons, feed discovery and webhooks can no longer reach localhost or your local network, so people with accounts can't use your server to probe it. Admins can turn on Allow private addresses in the Instance tab. Your RSSHub instance stays reachable on its exact address and port. The desktop app allows private addresses by default.

Smaller changes

  • New feeds are polled right away when you add them.
  • Manual refreshes are limited per account. Admins set the limit in the Instance tab, 0 turns it off.
  • Webhook URLs are now checked like feed URLs and must be HTTP(S).

Upgrading

Server (Docker, Kubernetes, source)

  1. Back up your database. The migrations add an owner to every feed, folder and webhook, and can't be cleanly undone.
  2. Set WYRM_PUBLIC_URL to the URL you open Wyrm on, e.g. https://rss.example.com or http://localhost:3000. The server won't start without it.
  3. Remove WYRM_API_KEY from the server and the web UI. API key access is gone.
  4. Start the new version and find the setup token in the logs, e.g. docker compose logs wyrm-server:
    No owner account yet. Open Wyrm and enter this setup token: ...
    
  5. Open Wyrm, enter the token and choose a username and password. All your existing feeds, posts and settings belong to this account.
  6. If you use OIDC, link your identity during setup. OIDC now signs you in to the account your identity is linked to.
  7. If any of your feeds or webhooks point at localhost or your local network, turn on Allow private addresses in the Instance tab.

Desktop

Nothing to do. The desktop app has a single user and signs you in automatically.

API changes

  • New: POST /auth/register, GET and DELETE /account, POST /account/password, GET /instance, POST /instance/setup, PATCH /admin/instance, GET /admin/users, PATCH and DELETE /admin/users/{id}.
  • Changed: all data is scoped to the signed-in user. GET and PUT /settings are per user, and instance-level fields moved to /instance and /admin/instance. POST /feeds/poll only polls your own feeds and can return 429.
  • Removed: API key authentication (x-api-key) and GET /auth/verify.

License

Wyrm is now licensed under the AGPL-3.0 (previously GPL-3.0). If you run a modified version of Wyrm for others over a network, you have to offer them its source. Thanks to everyone who has contributed so far.

Full changelog: v0.40.0...v0.41.0