github hoarder-app/hoarder v0.16.0
0.16.0

latest releases: ios/v1.6.2-1, android/v1.6.2-1, ios/v1.6.2-0...
18 days ago

Welcome to the 0.16.0 release of Hoarder. Sorry for the long delay since the last release! We'd like to welcome to our first time contributors @Mxrk, @j-fuentes & @rootly-be!

NOTE: This release is backward compatible with the previous release, but it's highly recommended that you check out the Upgrading section in the release notes.

New Features

  • Deploying Hoarder is now simpler. We're getting rid of two containers in this release:
    • Redis is no longer needed as a dependency and is replaced by a sqlite-backed queue implementation.
    • There's now a new container that acts as both the web and workers container. You no longer need two different hoarder containers.
    • The old images will continue to work just fine for the foreseeable future to make this release backward compatible. Upgrading to the new image is highly recommended though.
  • gpt-4o-mini is now the default OpenAI model. This model is 3X cheaper than the previous default!
  • The mobile app received a bunch of overdue updates:
    • Added the ability to manage bookmark lists from the app.
    • You can now add/remove lists from the app.
    • You can view full notes by tapping on the notes card and you can now edit them as well
    • You can zoom into uploaded images.
    • You can add/view attached notes to bookmarks.
    • There's now a unified editor for new links and notes. Still pretty basic though.
    • You can now configure the image quality of the uploaded images. Keep in mind that for large images, you might want to increase MAX_ASSET_SIZE_MB from the default of 4MB, otherwise, you'll get an Asset too big error.
  • Hoarder's notes now support checklists, tables and auto-links in markdown thanks to @kamtschatka
  • If you have the browser extension installed, you'll find now a new Add to Hoarder button that you can use to send links, texts, images, to hoarder directly. Note: If you're using chrome, you'll need to be on v127 or older. Thanks @kamtschatka!
  • @j-fuentes added kubernetes installation instruction to the wiki.

UX Improvements

  • When renaming bookmark titles or tags, pressing Enter will save the changes.

Fixes

  • Importing a lot of URLs from the UI used to error, this no longer the case thanks @kamtschatka.
  • SVG weren't correctly loading in full page archives using monolith, @kamtschatka fixed it.
  • Bulk deletion confirmation dialog wasn't automatically dismissed after the deletion. This is now fixed by @kamtschatka.
  • On the mobile app, login fails if your server URL had an extra slash at the end. @Mxrk fixed that!

Upgrading

⚠️ If you have ongoing crawlings/inference/indexing jobs in Hoarder, you'll need to re-enqueue them from the admin panel after the upgrade.

As mentioned in the release notes, this release removes the need for the redis container and the worker container. Although the migration is optional given that the old images will work, it's highly recommended, to migrate, you'll need to do the following:

  1. Remove the redis container and its volume if it had one.
  2. Move the environment variables that you've set exclusively to the workers container to the web container.
  3. Delete the workers container.
  4. Rename the web container image from hoarder-app/hoarder-web to hoarder-app/hoarder.

The diff for the compose file will look something like this:

diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml
index cdfc908..6297563 100644
--- a/docker/docker-compose.yml
+++ b/docker/docker-compose.yml
@@ -1,7 +1,7 @@
 version: "3.8"
 services:
   web:
-    image: ghcr.io/hoarder-app/hoarder-web:${HOARDER_VERSION:-release}
+    image: ghcr.io/hoarder-app/hoarder:${HOARDER_VERSION:-release}
     restart: unless-stopped
     volumes:
       - data:/data
@@ -10,14 +10,10 @@ services:
     env_file:
       - .env
     environment:
-      REDIS_HOST: redis
       MEILI_ADDR: http://meilisearch:7700
+      BROWSER_WEB_URL: http://chrome:9222
+      # OPENAI_API_KEY: ...
       DATA_DIR: /data
-  redis:
-    image: redis:7.2-alpine
-    restart: unless-stopped
-    volumes:
-      - redis:/data
   chrome:
     image: gcr.io/zenika-hub/alpine-chrome:123
     restart: unless-stopped
@@ -37,24 +33,7 @@ services:
       MEILI_NO_ANALYTICS: "true"
     volumes:
       - meilisearch:/meili_data
-  workers:
-    image: ghcr.io/hoarder-app/hoarder-workers:${HOARDER_VERSION:-release}
-    restart: unless-stopped
-    volumes:
-      - data:/data
-    env_file:
-      - .env
-    environment:
-      REDIS_HOST: redis
-      MEILI_ADDR: http://meilisearch:7700
-      BROWSER_WEB_URL: http://chrome:9222
-      DATA_DIR: /data
-      # OPENAI_API_KEY: ...
-    depends_on:
-      web:
-        condition: service_started
 
 volumes:
-  redis:
   meilisearch:
   data:

To upgrade:

  • If you're using HOARDER_VERSION=release, run docker compose pull && docker compose up -d.
  • If you're pinning it to a specific version, upgrade the version and then run docker compose pull && docker compose up -d.

All Commits

Don't miss a new hoarder release

NewReleases is sending notifications on new releases.