• utopiah@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    18 days ago

    As the title might appear a bit alarmist, saving a click “For most users, there’s nothing to worry about. However, if you’ve manually set a custom relative path for “IMMICH_MEDIA_LOCATION” in your “.env” file, you’ll need to convert it to an absolute path. For example, “IMMICH_MEDIA_LOCATION=./my-library” must become “IMMICH_MEDIA_LOCATION=/usr/src/app/my-library“.”

    • cravl@slrpnk.net
      link
      fedilink
      arrow-up
      0
      ·
      18 days ago

      I wouldn’t think this would cause any data loss either, it just wouldn’t find your media or it would throw an error. Very alarmist indeed.

      • buffing_lecturer@leminal.space
        link
        fedilink
        arrow-up
        1
        ·
        17 days ago

        I’m not sure it’s alarmist; I think this is all a breaking change is.

        Anybody updating needs to know their existing config may not longer be supported. Even if the consequences are small, even if not every user will be affected, this update will break some previously acceptable configs. I think that warrants a heads up and a reminder to read the release notes.

  • Baron Von J@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    18 days ago

    I’ve been meaning to give this a try on my Synology.

    But breaking changes in a point release? Not cool.

    • irotsoma@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      0
      ·
      18 days ago

      It’s a full release, not a point/patch release, the title just doesn’t show the second .0. They use semantic versioning so it’s major.minor.patch.

      It’s also a very minor change and only affects a single configuration property and only people who used relative paths in that property.

        • hedgehog@ttrpg.network
          link
          fedilink
          arrow-up
          0
          ·
          18 days ago

          Immich isn’t a library (the main use case for semver is dependencies that will be pulled into other projects) and as far as I know they don’t state that they use semver.

            • Ferk@lemmy.ml
              link
              fedilink
              arrow-up
              0
              ·
              edit-2
              17 days ago

              The API specification is unaffected by this.

              It only affects undocumented behavior, no documented behavior is being broken.

              If you want to consider breakage of undocumented / unintended behavior as a major change, then every bug you fix would require a major version bump, since when you fix something you are essentially breaking compatibility for anyone who might have possibly relied on the existence of that unintended behavior.

              • Baron Von J@lemmy.world
                link
                fedilink
                arrow-up
                0
                ·
                17 days ago

                You can argue the correctness or not of the guidelines put out at semver.org, but I don’t think there’s any room to argue that announcing a 1.x with a change the developers say is a breaking change, which is what Immich have done, fits within the semver.org guidelines.

                • hedgehog@ttrpg.network
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  16 days ago

                  I don’t think there’s any room to argue that announcing a 1.x with a change the developers say is a breaking change, which is what Immich have done, fits within the semver.org guidelines.

                  That wasn’t the argument.

                  Following semver is optional. If a project doesn’t explicitly state it is following semver, it shouldn’t be assumed that it is. With regard to Immich in particular, a cursory review of their documentation makes it clear that they are not following semver. Literally, go to https://immich.app/ and read the text at the very top of the page:

                  ⚠️ The project is under very active development. Expect bugs and changes.

                  Go to the repo and you’ll see the README, which states at the very top:

                  • ⚠️ The project is under very activedevelopment.
                  • ⚠️ Expect bugs and breaking changes.

                  If you can read that, see that they’re on major version 1 with a minor version over 100, and you still think they’re using semver, then that’s on you.

                  The devs have stated they won’t be using semver until they consider Immich production ready, and that moving to a 1.x version from 0.x was a mistake made some time ago. If you want to think about it as though it is semver, consider the major version to still be 0. See https://github.com/immich-app/immich/discussions/5086#discussioncomment-7593227 for example.

                  As this project is clearly not following semver, the semver guidelines aren’t applicable and haven’t been violated.

                  I don’t think there’s any room to argue

                  Even if semver were applicable, in this case, I would still disagree. The text from semver.org states:

                  8. Major version X (X.y.z | X > 0) MUST be incremented if any backward incompatible changes are introduced to the public API.

                  It doesn’t state that any backward incompatible changes, period, require a major version increase, only changes to the public API. I would personally argue that the deployment configuration is part of the public API, but not all project owners agree with me. Even if they do agree, they might say that this was not a documented deployment configuration and thus not part of the public API, and that it therefore doesn’t necessitate an increase to the major version, but as they knew that people were using that configuration, anyway, they included a note about a potentially breaking change as a courtesy to those users.

  • altphoto@lemmy.today
    link
    fedilink
    arrow-up
    0
    arrow-down
    1
    ·
    17 days ago

    I’m still using photoprism. Or sort of rarely using it. So how’s immich in comparison now?