Version 4.5.3 - New folder structure & more
This is official release making the step from 4.4.0.
IMPORTANT
- The internal representation of Albums changed with version 4.5.0; we strongly recommend that you BACK UP YOUR DATABASE BEFORE UPDATING.
- The folder structure changed for images; please check the required directory permissions.
Read more here ».
Notable Modifications (since 4.4.0)
-
New ID scheme. Albums and photos are migrated to a new ID scheme. Previously, albums and photos used time-based integer IDs. The new IDs are truly 144bit of randomness encoded in Base64 as a 24-character string; e.g., if your photo had the URL
https://my-domain.tld/r/16102925744307/16102927818284
before, it may have the URLhttps://my-domain.tld/r/GTqZfSso3nPeCnTNW4ovisgC/jM6KkmlK7X0LtVas5MjrHtTO
after the migration. This means, external links to your albums or photos will stop working. However, we implemented a redirection service. You can enable/disable the re-direction service underSettings
>More
>legacy_id_redirection
. This gives you time to migrate any external reference to the new IDs. We also generate a log entry every time the redirection service is used. This log contains the legacy and new ID as well as information where the request came from. This may help you with the migration of your external links. -
New folder structure for images:
- Deep directory structure. Instead of all images of a certain kind residing in a single, flat directory (potentially containing thousands of files), we now have two additional two-letter directory levels under each kind (e.g., images are stored as
medium/ba/d0/9a28ec995ead4877dfa1befa2d3b.jpg
). - HiDPI (
@2x
) variants now reside in their own directories. big
has been renamed tooriginal
.
Note that this only affects newly added photos; those added in the past are not moved to new locations. Also, see the note above about directory permissions.
- Deep directory structure. Instead of all images of a certain kind residing in a single, flat directory (potentially containing thousands of files), we now have two additional two-letter directory levels under each kind (e.g., images are stored as
-
Refactoring of the internal architecture and the representation of albums. While this didn't add any major new features, a number of optimizations have been put in place to speed up various operations, e.g., on installations with many hundreds of albums. Because this requires a particularly complex database migration, those with existing installations should pay attention to the note above about backing up their database.
-
Refactoring of error handling and reporting. This should result in more meaningful error messages both in the web front end and in the server logs (instead of the old cryptic "Server error or API not found" messages).
-
Refactoring of the file handling during upload/import. Instead of using temporary files and (re-)reading them many times, we now rely on file streams. This not only speeds up processing during upload/import (by around 50% in our tests), but is also an important step towards future support for the use of AWS S3 as image storage.
-
New features in the web front end :
- QR code added in the sharing menu.
- GPX tracks can be added to albums for displaying together with photos on the map.
- Drag/drop support added for albums and photos to facilitate more intuitive Move/Merge
-
ZIP compression level can now be changed and the compression can be disabled.
-
Support of Vietnamese language.
What's Changed (since 4.5.2)
- Moved unit tests for root album into separate class by @nagmat84 in #1416
- Add some tests by @qwerty287 in #1395
- move the traits to the class as it is only used once by @ildyria in #1425
- Fix test interaction with smart albums by @nagmat84 in #1428
- Fix album unit tests by @nagmat84 in #1427
- Security fix: Unsorted photos by @nagmat84 in #1430
- Improve cicd by @ildyria in #1424
- add JetBrain Open Source Community Support by @ildyria in #1442
- Make VideoHandler support optional by @kamil4 in #1439
- Update dependencies and add NPM lockfile by @qwerty287 in #1440
- Ensure consistent sorting of albums in list of shares by @nagmat84 in #1429
- Added options for ZIP compression by @nagmat84 in #1436
- Update readme.md by @ildyria in #1450
- version 4.5.3 by @ildyria in #1447
Full Changelog: v4.5.2...v4.5.3