Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency immich-app/immich to v1.90.1 #648

Merged
merged 1 commit into from
Dec 8, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 8, 2023

Mend Renovate

This PR contains the following updates:

Package Update Change
immich-app/immich patch v1.90.0 -> v1.90.1

Release Notes

immich-app/immich (immich-app/immich)

v1.90.1

Compare Source

v1.90.1

[!IMPORTANT]

Announcement (Breaking changes next release)

Continuing the effort of reducing Immich's footprint, we would like to announce another planned change. Starting from the next release (not this release), we will be removing the Typesense container and changing the database image. Below are the changes that must be made in your docker-compose.yml file.

  immich-server:
  [...]
    depends_on:
      - redis
      - database
-     - typesense
    restart: always

  immich-microservices:
  [...]
    depends_on:
      - redis
      - database
-     - typesense
    restart: always

-  typesense:
-    container_name: immich_typesense
-    image: typesense/typesense:0.24.1@​sha256:9bcff2b829f12074426ca044b56160ca9d777a0c488303469143dd9f8259d4dd
-    environment:
-      - TYPESENSE_API_KEY=${TYPESENSE_API_KEY}
-      - TYPESENSE_DATA_DIR=/data
-      # remove this to get debug messages
-      - GLOG_minloglevel=1
-    volumes:
-      - tsdata:/data
-    restart: always

[...]

  database:
    container_name: immich_postgres
-   image: postgres:14-alpine@sha256:6a0e35296341e676fe6bd8d236c72afffe2dfe3d7eb9c2405c0f3fc04500cd07
+   image: tensorchord/pgvecto-rs:pg14-v0.1.11
    env_file:
      - .env
    environment:

volumes:
  pgdata:
  model-cache:
- tsdata:

[!NOTE]
Note: If you are running your database with a non-superuser role for Immich, you must enable the pgvecto.rs extension manually. You can do this by connecting to the immich database as a superuser and running:

CREATE EXTENSION vectors;

Search Background

It turns out that synchronizing data between Postgres and Typesense is quite complicated. It accounts for at least an additional 1000 lines of code and, while very feature-filled, has become a burden to maintain. Also, there have been some serious memory and performance issues with Typesense, especially with large photo collections. It is lightning fast, but at the expense of large indexes that must be read from disk into memory on each restart. There have been reports of this process taking up to 30 minutes!

We effectively remove an entire class of bugs and issues by removing the need to synchronize data. Furthermore, search queries can more easily be combined with the existing database schema, like libraries, partner sharing, albums, etc. After merging #​3605, we hope to be able to make significant progress around the search implementation and feature set.

In short, some of the benefits of this change include the following:

  • One less container to run, deploy, and manage
  • Better memory/system resource usage
    • Decreased memory usage
    • Faster Encode CLIP and Recognize Faces jobs
    • Faster startup time
  • Significantly less code to maintain, test, debug
  • Improved developer workflow when adding search-related functionality
  • Ability to integrate smart search into end-to-end testing for improved testing coverage and stability
  • Ability to integrate CLIP search with other (metadata) criteria in the future
  • Ability to add customizable index settings for even lower memory usage and higher performance, such as on-disk indices and quantization

Hot Fixes

There is no mobile release for this version

  • Fixed bulk editing for asset's metadata on the web
  • Fixed faces not update after reassign face in a video

And as always, bugs are fixed, and many other improvements also come with this release.

Please consider supporting the project.

Support

If you find the project helpful, you can support Immich via the following channels.

It is a great way to let me know that you want me to continue developing and working on this project for years to come.

What's Changed

New Contributors

Full Changelog: https://github.com/immich-app/immich/compare/v1.90.0...


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

Copy link

github-actions bot commented Dec 8, 2023

--- . Kustomization: flux-system/flux-system HelmRelease: immich/immich

+++ . Kustomization: flux-system/flux-system HelmRelease: immich/immich

@@ -57,13 +57,13 @@

         valueFrom:
           secretKeyRef:
             name: database-immich-user
             key: DATABASE_NAME
       LOG_LEVEL: verbose
     image:
-      tag: v1.90.0
+      tag: v1.90.1
     server:
       resources:
         requests:
           cpu: 15m
           memory: 512M
       ingress:

Copy link

github-actions bot commented Dec 8, 2023

--- . HelmRelease: immich/immich Deployment: immich/immich-server

+++ . HelmRelease: immich/immich Deployment: immich/immich-server

@@ -25,13 +25,13 @@

       serviceAccountName: default
       automountServiceAccountToken: true
       dnsPolicy: ClusterFirst
       enableServiceLinks: true
       containers:
       - name: immich-server
-        image: ghcr.io/immich-app/immich-server:v1.90.0
+        image: ghcr.io/immich-app/immich-server:v1.90.1
         imagePullPolicy: IfNotPresent
         command:
         - /bin/sh
         args:
         - ./start-server.sh
         env:
--- . HelmRelease: immich/immich Deployment: immich/immich-machine-learning

+++ . HelmRelease: immich/immich Deployment: immich/immich-machine-learning

@@ -25,13 +25,13 @@

       serviceAccountName: default
       automountServiceAccountToken: true
       dnsPolicy: ClusterFirst
       enableServiceLinks: true
       containers:
       - name: immich-machine-learning
-        image: ghcr.io/immich-app/immich-machine-learning:v1.90.0
+        image: ghcr.io/immich-app/immich-machine-learning:v1.90.1
         imagePullPolicy: IfNotPresent
         env:
         - name: DB_DATABASE_NAME
           valueFrom:
             secretKeyRef:
               key: DATABASE_NAME
--- . HelmRelease: immich/immich Deployment: immich/immich-microservices

+++ . HelmRelease: immich/immich Deployment: immich/immich-microservices

@@ -25,13 +25,13 @@

       serviceAccountName: default
       automountServiceAccountToken: true
       dnsPolicy: ClusterFirst
       enableServiceLinks: true
       containers:
       - name: immich-microservices
-        image: ghcr.io/immich-app/immich-server:v1.90.0
+        image: ghcr.io/immich-app/immich-server:v1.90.1
         imagePullPolicy: IfNotPresent
         command:
         - /bin/sh
         args:
         - ./start-microservices.sh
         env:

@renovate renovate bot merged commit 9700179 into main Dec 8, 2023
2 checks passed
@renovate renovate bot deleted the renovate/immich-app-immich-1.x branch December 8, 2023 11:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant