Released on May 20, 2026.
-
Upgraded Drizzle ORM to 1.0.0-rc.2 and migrated Hollo's relational query definitions to the new relations API. This has no intended user-facing behavior changes, but the first migration after upgrading may need one extra database permission check. Drizzle 1 upgrades its own migration log table,
drizzle.__drizzle_migrations, by addingnameandapplied_atcolumns. PostgreSQL only allows thatALTER TABLEwhen the migration is run by the table owner.If
pnpm run migratefails withmust be owner of table __drizzle_migrations, first check which role owns Drizzle's migration log table:SELECT n.nspname AS schema, c.relname AS table_name, pg_get_userbyid(c.relowner) AS owner FROM pg_class c JOIN pg_namespace n ON n.oid = c.relnamespace WHERE n.nspname = 'drizzle' AND c.relname = '__drizzle_migrations';
If the owner is not the same role Hollo uses in
DATABASE_URL, run the following SQL as the current table owner or a database admin, replacinghollowith your Hollo database user:ALTER SCHEMA drizzle OWNER TO hollo; ALTER TABLE drizzle.__drizzle_migrations OWNER TO hollo; ALTER SEQUENCE IF EXISTS drizzle.__drizzle_migrations_id_seq OWNER TO hollo;
Then run
pnpm run migrateagain with Hollo's normalDATABASE_URL. If your database provider does not allow ownership transfers, run this one migration once with the database role that already ownsdrizzle.__drizzle_migrations. -
Cancel running PostgreSQL queries when the corresponding
GETorHEADrequest is aborted, such as when a client disconnects or quickly switches away from a timeline column. Hollo now tracks the underlying postgres.js query handles used by Drizzle and calls PostgreSQL cancellation for in-flight queries tied to the aborted read-only request. This reduces wasted database work and helps keep the connection pool available under repeated client-side aborts. The existingstatement_timeoutrecommendation remains useful as a backstop for queries that cannot be tied to a safe HTTP request. -
Added passkey (WebAuthn) authentication. The admin Auth page now has a “Passkeys” section for enrolling and managing passkeys, and the public login page presents a “Sign in with passkey” button (with the email/password form tucked behind a toggle) whenever at least one passkey is enrolled. Both device-bound and synced (multi-device) passkeys are accepted. A passkey on its own counts as multi-factor authentication, so a successful passkey sign-in is accepted in place of the TOTP step — the user is not asked for a one-time code in the same session.
Hollo uses the @simplewebauthn/server library for verification and ships the matching browser helper as a static asset linked only from the auth and login pages. Registration uses
residentKey: requiredanduserVerification: required, so every enrolled passkey is discoverable and tied to a biometric or PIN gesture. Registration challenges are bound to the current login session with a server-enforced 5-minute TTL, and login challenges are stored in a single-usepasskey_login_challengestable so a captured cookie + assertion pair can be redeemed at most once. [#487] -
Added optional split-domain WebFinger support. When the new
HANDLE_HOSTandWEB_ORIGINenvironment variables are set, Hollo uses Fedify'soriginconfiguration so that fediverse handles (e.g.@alice@example.com) and ActivityPub actor URIs (e.g.https://ap.example.com/@alice) can live on different domains. The Mastodon-compatible/api/v1/instanceand/api/v2/instanceendpoints exposeHANDLE_HOSTas the instance domain when this is configured, so clients display the correct@user@HANDLE_HOSThandle. Both variables must be set together; setting only one is a startup error. They must be configured before the first account is created — changing the handle domain after federation has begun breaks remote follow relationships; on startup Hollo logs a warning when the configuredHANDLE_HOSTdoes not match the existing account's stored handle. Operators must also configure their reverse proxy on the handle domain to redirect/.well-known/webfingertoWEB_ORIGIN. See the Split-domain WebFinger guide. [#161, #484] -
Added a media proxy that re-serves remote avatars, headers, post attachments, custom emojis, and preview-card images from Hollo's own origin. This sidesteps CORS configurations on remote object stores and prevents the visitor's browser from talking directly to the source server. Controlled by a new
MEDIA_PROXYenvironment variable with three levels: [#481, #483, #493]off(default): the Mastodon API and web UI hand the original remote URL to clients, matching the historical behaviour.proxy: every remote media URL is rewritten to a signed/proxy/<sig>/<b64url>path served by Hollo itself. The proxy runs SSRF checks on the upstream URL and on every redirect target, allows only image/video/audio Content-Types (image/svg+xml is explicitly blocked to avoid same-origin XSS), caps the body at 32 MiB, and serves the response withCache-Control: public, max-age=2592000, immutableandX-Content-Type-Options: nosniff. No on-disk cache.cache: same URL rewriting, but the streamed body is persisted to the configured storage backend asproxy/<sha256>.bin, with a content-type sidecar alongside it atproxy/<sha256>.json. Subsequent requests skip the upstream fetch. Remote actor avatars for accounts with an approved follow relationship to the local account are also prefetched into this same cache when the actor is stored or refreshed, so stale upstream avatar files can keep rendering after Hollo has seen them once. The admin dashboard at /thumbnail_cleanup can purge the cache on demand.
MEDIA_PROXYalso accepts the Boolean synonymstrue/on/1(as aliases forproxy) andfalse/off/0(as aliases foroff). Disk caching is opt-in only via the explicitcachevalue.Outbound federation is unaffected: Hollo still publishes the original remote URLs in ActivityPub
icon,image,attachment, and emojiTagreferences. -
Added a
REMOTE_MEDIA_THUMBNAILSenvironment variable that controls whether Hollo downloads incoming remote attachments to generate a local WebP thumbnail. Set tooffto skip the upstream fetch and Sharp pipeline entirely, storing the remote URL itself as the thumbnail URL—useful in combination withMEDIA_PROXY=proxyorcacheto free up the disk space the local thumbnails would otherwise occupy. Defaults toon(the historical behavior). [#481, #483] -
Added FEP-044f quote authorization and policy support on top of the Mastodon-compatible quote APIs. [#457, #459, #460]
- Added persistent quote states for
pending,accepted,rejected,revoked, andunauthorizedquotes, plus quote target and authorization IRIs for federation. - Hollo now enforces quote policy, quote target visibility, block relationships, follower-only quote permissions, and direct-message mention requirements when creating a quote through
POST /api/v1/statuses. Remote public posts without an advertised FEP-044f quote policy are treated as legacy quote targets and can be quoted without waiting for quote authorization. - Implemented
quote_approval_policyhandling on status creation and editing, and addedPUT /api/v1/statuses/:id/interaction_policyfor updating a status' quote policy after publication. quotes_countnow includes only accepted quotes and is updated when quotes are accepted, rejected, revoked, created, deleted, or received through federation.GET /api/v1/statuses/:id/quotesnow lists only accepted quotes, and quote revocation keeps quote target metadata while removing the quote from accepted quote lists and counts.- Published outbound FEP-044f
quote,quoteAuthorization, andinteractionPolicy.canQuoteproperties on ActivityPub objects, while keeping the legacyquoteUrlproperty for compatibility. - Parsed inbound FEP-044f
quotetargets and quote approval policies from remote objects, including support for the legacyquoteUrlproperty. - Added federation handling for
QuoteRequest,Accept(QuoteRequest),Reject(QuoteRequest), andDelete(QuoteAuthorization), allowing Hollo to request quote authorization from remote servers, accept or reject incoming quote requests, and revoke quotes when a remote quote authorization is deleted. - Added dereferenceable local
QuoteAuthorizationActivityPub objects for accepted quotes.
- Added persistent quote states for
-
Added custom field editing to the admin account creation and editing forms, allowing up to 10 label–value pairs per profile (beyond Mastodon's limit of 4). Field values support Markdown and mention syntax. The Mastodon-compatible
PATCH /api/v1/accounts/ update_credentialsendpoint now also accepts up to 10 custom fields viafields_attributes[0]throughfields_attributes[9]. -
Added
LOG_FILE_FORMATenvironment variable to control the format of the log file set byLOG_FILE. Valid values arejsonl(the default, JSON Lines format) andlogfmt(logfmt format). -
Fixed preview card generation for remote posts whose content only links to mentioned accounts. Hollo now excludes ActivityPub
Mentiontargets from remote preview-card link detection even when the source server, such as NodeBB, emits plain profile links in the post HTML instead of links marked with amentionclass. -
Fixed a bug in
PATCH /api/v1/accounts/update_credentialswhere submitting any credential update (e.g.display_name) withoutfields_attributeswould silently wipe all existing custom profile fields from the public profile, API responses, and federation output. -
Added an ActivityPub
quote-inlinefallback to thecontentof explicit quote posts created through the Mastodon API. Software that does not support quote posts can now still show the quoted post permalink, while quote-aware software can hide the fallback paragraph by class name. -
Hid incoming
quote-inlinefallback paragraphs from Mastodon API status content and profile pages when Hollo can render the structured quoted post. If the quoted post is unavailable, the fallback link remains visible so the quoted URL is not lost. -
Posts on the public profile and hashtag pages now render Open Graph link previews—a thumbnail (when
og:imageis set), the host name, the page title, and a short description—for each post that has a storedpreview_card. Posts with attached media or shown as quoted posts hide the preview to avoid visual clutter. [#458] -
Refreshed the entire server-rendered front-end. Hollo replaces Pico CSS with a new design system documented in DESIGN.md and styled through UnoCSS (Wind4, Icons, Typography, and Web Fonts presets). [#458]
- The design language is achromatic by default; each account owner's theme color tints the profile, post, hashtag, and owner-specific dashboard pages through
--theme-50through--theme-950CSS variables injected on<html>. - Web Fonts are loaded from bunny.net: Inter for Latin, Noto Sans KR/JP/SC for CJK, and JetBrains Mono for code. Lucide icons replace ad-hoc iconography.
- Every public and dashboard page was rebuilt: login, setup, OTP, the public home, account profiles, single post permalinks, the hashtag stream, the account list and editor, custom emojis, federation, thumbnail cleanup, the OAuth consent screen, and the dashboard auth (2FA) panel.
- Posts render their bodies as
prosemarkdown with brand-colored links, attached media as a two-column grid, polls as brand-tinted bars, quoted posts as an inset card, and link previews as a media-object card. The single-post permalink page additionally enlarges the focal post. - Forms share a small set of primitives (
Field,TextField,TextareaField,SelectField,CheckboxField,FieldSection, andSubmitButton) that the auth, account, emoji, federation, thumbnail cleanup, and migrate forms all use. The theme color picker on the account form is a 20-swatch grid; the username field is bracketed by@and@hostchips so the resulting fediverse handle is obvious. - Dark mode follows
prefers-color-scheme: darkautomatically, with primary buttons stepping frombrand-600tobrand-700so they don't dominate dark surfaces. Text selection adopts the active brand color. - Hollo's logos are self-hosted from
/public/instead of being fetched from jsDelivr. The 22 Pico-generated *.min.css files are removed; UnoCSS emits a single src/public/uno.css whose URL is cache-busted by file mtime.
- The design language is achromatic by default; each account owner's theme color tints the profile, post, hashtag, and owner-specific dashboard pages through
-
Added public Followers and Following pages on profile screens, with pagination (100 entries per page) and a substring search filter over display name and handle. The followers list is always public. The following list is gated by a new per-account setting, Make following list public (off by default); when off, the page returns 404 Not Found, the corresponding ActivityPub
followingcollection is hidden from federation, and the Mastodon-compatibleGET /api/v1/accounts/:id/followingendpoint returns an empty array. The toggle also round-trips throughPATCH update_credentialsashide_collections. [#491] -
Added public reaction list pages anchored to each local post:
/@:handle/:id/likeslists the accounts that liked the post,/@:handle/:id/shareslists the accounts that boosted it,/@:handle/:id/reactions/:emojilists the accounts that reacted with a specific emoji, and/@:handle/:id/quoteslists the posts that quote it. Each page features the original post above the list. On the profile feed and post permalink page, the per-post like, share, quote, and reaction-emoji indicators now link into these pages for local posts; remote posts continue to display the counts as plain text. [#490] -
Added avatar and header image upload to the admin account creation and editing forms, with drag-and-drop support and in-page image preview. Files are stored using the same storage backend as the Mastodon-compatible API (
PATCH /api/v1/accounts/update_credentials). -
Search queries on account handles, names, and post content now use PostgreSQL trigram indexes via the pg_trgm extension, improving
ILIKEsearch performance. Thepg_trgmextension is enabled automatically when the migration is applied. -
Fixed a performance bug on the account edit page where saving an account always triggered a network lookup of @hollo@hollo.social regardless of whether the “Receive Hollo news” setting had actually changed. The lookup now only happens when the news-following state genuinely changes.
-
Improved the performance of authenticated API requests by replacing the complex multi-table JOIN query in the
tokenRequiredmiddleware with a lightweight single-table lookup. Account owner data is now fetched on demand only by routes that actually need it, and requests that fail scope validation no longer touch the accounts table at all. [#127, #467] -
Fixed a bug where incoming ActivityPub posts with timestamps more than 12 hours in the future were accepted and stuck to the top of the federated timeline, enabling timeline manipulation via forged timestamps. Such posts are now silently ignored. [#67, #466]
-
Fixed a crash when persisting ActivityPub posts with a
publisheddate before the Unix epoch (January 1, 1970), which causeduuidv7()to receive a negative timestamp. [#67, #466] -
Fixed
min_idhandling onGET /api/v1/timelines/public,GET /api/v1/timelines/home,GET /api/v1/timelines/list/:list_id, andGET /api/v1/timelines/tag/:hashtagto follow Mastodon's pagination semantics:min_idnow returns the posts immediately newer than the cursor (rather than the most recent posts above it), so gap-loading clients such as SubwayTooter can converge on arbitrarily large gaps.since_idis now honoured on these endpoints as well, andmin_idtakes precedence when both are supplied. Timeline responses also include arel="prev"entry in theLinkheader alongside the existingrel="next"entry, and keeprel="next"even when a bounded gap page returns fewer statuses than the requestedlimit, so clients no longer have to guess which cursor parameter to use or stop walking partial gaps. [#479, #482, #492] -
Optimized Mastodon-compatible timeline loading after the Drizzle ORM upgrade. Home, list, public, and hashtag timelines now use a smaller relation graph that avoids fetching columns and nested relations that are not needed for timeline status serialization. They also fetch matching post IDs first, then hydrate only those posts with the timeline status projection, so empty cursor checks and heavily filtered timelines avoid running the relation-heavy query at all. The ID selection and hydration run in the same read-only repeatable-read snapshot, preserving timeline eligibility consistency while reducing the size and cost of the SQL generated for large timelines, especially list timelines on instances with many stored posts, without changing the API response format. Timeline
limitquery parameters are now capped at 1000 to keep these queries bounded even when clients request unusually large pages. -
Fixed a performance bug that caused profile page queries to take hundreds of seconds on a cold PostgreSQL buffer cache and trigger a thundering herd that exhausted the connection pool. Two root causes: [#489]
posts.actor_idhad no composite index withpublished, so timeline queries thatORDER BY published DESCperformed a full sort of all matching rows. A B-tree index on(actor_id, published)is now created by migration.- Every API response that fetches a list of posts used a lateral join to eagerly load all direct replies for each post, even though only the denormalized
replies_countcounter is actually used in the Mastodon API serialization. The lateral join is removed from all list-context queries (getPostRelations, timelines, notifications, outbox, etc.). The ActivityPub object serializer now also usesreplies_countfor therepliescollectiontotalItemsinstead of reloading every reply. Single-post views (the public post permalink page) still fetch replies but are now capped at 20 per request.
-
Fixed a performance bug where the NodeInfo endpoint performed a sequential scan of the entire
poststable on every request becauseposts.updatedhad no index. On large instances (e.g. 4 M rows / 13 GB) this took 15–20 seconds per query; since NodeInfo is polled frequently (Caddy health checks, remote servers), the slow queries piled up and could exhaust the connection pool. A B-tree index onposts.updatedis now created by migration. [#488] -
Further optimized the NodeInfo endpoint with three changes that together reduce a previously 42-second query to a handful of milliseconds:
- Rewrote the
activeMonthandactiveHalfyearqueries from aRIGHT JOIN+countDistinct(full scan of all posts) to anEXISTSsemi-join that performs at most one index lookup per local account owner. - Added a composite B-tree index on
(actor_id, updated)to support theEXISTSsubquery without heap fetches. - Added a 5-minute in-process TTL cache on the NodeInfo dispatcher so repeated polls by external directories and health checkers no longer hit the database at all.
- Rewrote the
-
Optimized the
GET /api/v2/instanceendpoint. Thelanguagesfield was previously computed by a full scan of thepoststable on every request. A new partial composite indexposts_actor_id_language_indexon(actor_id, language) WHERE language IS NOT NULLturns this into an Index-Only Scan, and a 5-minute in-process response cache absorbs repeated calls so the database is queried at most once per 5 minutes. -
Improved hashtag timeline and featured tag performance by adding a GIN index on
posts.tags. All?and?|operator lookups on the tags column (hashtag timeline, featured tag counts, profile hashtag filters, and tag pages) previously caused a full sequential scan of the 4 M+ rowpoststable, taking several seconds even on a warm cache. The new index cuts these to index lookups. -
The
TIMELINE_INBOXESfeature flag, introduced in Hollo 0.4.0, now defaults totrue. Set it tofalseexplicitly to opt out. The flag will be removed entirely in Hollo 1.0.0, when timeline inbox mode will be the only supported behavior. -
Upgraded Fedify to 2.2.2.
-
Added Traditional Chinese (繁體中文;
zh-TW) documentation.