Skip to content

Upgrading

With the published image:

docker compose pull && docker compose up -d

Notes are untouched by upgrades. Image tags on ghcr.io/notefeed/notefeed:

Tag Moves on
:latest every release and every change on main
:main every change on main
:X.Y.Z, :X.Y, :X releases (:0.10 follows the newest 0.10.x)

To upgrade only on purpose, pin a version. Each release is listed on GitHub Releases with its notes.

Sign-in: a new redirect URI

Since sign-in runs on Better Auth, the redirect URI an OpenID Connect provider sends people back to is <PUBLIC_URL>/api/auth/callback/default (and /api/auth/callback/<name> for each further provider), no longer /api/oidc/callback. Register the new one at your provider before upgrading, or sign-in fails with the provider's redirect error. Everyone signs in once more after the upgrade. Back up the new accounts.sqlite with your data. An instance with sign-in now refuses to start without PUBLIC_URL.

Accounts: the instance password or accounts, not both

An identity provider (NOTEFEED_OIDC_*) now counts as accounts, and notefeed refuses to start with NOTEFEED_PASSWORD set as well. Remove one of the two before upgrading. Scripts that sent the instance password post with an account token instead (NOTEFEED_TOKEN for the clients and CLIs). An instance with only one of the two needs nothing. account is now a name notefeed uses for a page: a feed of that name can no longer be opened by name (the start-up log names it), so rename it before upgrading.

MCP: connectors log in again

MCP clients now log in through Better Auth's OAuth server, also with the instance password. A connector that logged in before (Claude.ai, Claude Desktop) gets a 401 and logs in again. The OAuth login needs PUBLIC_URL, and keeps its clients in accounts.sqlite (NOTEFEED_ACCOUNTS_DB, by default in the data directory): back it up with your data. Claude Code and scripts that send the password as a header are not affected.

Older set-ups

Up to 0.9.0 the image was ghcr.io/marceltov/notefeed; change the image: line to keep upgrading. Since 0.10.1 the image has no shell: remove a healthcheck: of your own that calls wget or curl, the image's own check does the same (see Health check).

Running from source

npm ci
DATA_DIR=./data npm run dev          # http://localhost:3000
npm test && npm run lint && npm run typecheck

Built from source in Docker, build the image yourself and point compose.yaml's image: at it: git pull && docker build -t notefeed:local . && docker compose up -d.

Security fixes and SBOM

Only the newest release gets security fixes; an instance on :latest or a tag that follows the newest release gets them with the next pull. Report a vulnerability privately through Report a vulnerability on GitHub; fixed ones are listed under Security advisories.

Each release carries two SBOM files in CycloneDX JSON, notefeed-X.Y.Z-npm.cdx.json (the npm packages the server is built from) and notefeed-X.Y.Z-image.cdx.json (what a scan finds in the image), and the image has an SBOM and a provenance attestation (docker buildx imagetools inspect … --format '{{ json .SBOM }}'). To scan the image yourself: grype ghcr.io/notefeed/notefeed:latest --only-fixed. The project runs the same scan daily.