Releases: rigon/photo-gallery
Releases · rigon/photo-gallery
v1.6.0
What's Changed
- Add support for PWA
- Added graceful shutdown
- Show tooltip with album info
- Links in the favorite tooltips
- Added status interface
- Improved Full Scan, Cleanup Thumbnails
- When extracting photo info check flag for thumbnails
- Do not block thumbnails when scanning new album
- Improved retrieval of thumbnails: hashing function
- Improved cmd arguments, option for default thumbnail path
- URLs to open photos in Lightbox
- Added header Cache-Control in responses
- FIX: Avoid scanning same album concurrently
- FIX: Performance degradation in cache DB
- FIX: Not clearing text from album search
- FIX: concurrency issue when reading/writing pseudo albums
Full Changelog: v1.5.2...v1.6.0
IMPORTANT
Upgrading to v1.6.0 requires to rebuild CacheDB and Thumbnails, because Cache DB was upgraded and the thumbnail hashing function was improved.
To migrate your existing thumbnails, open server
folder. Then:
-
Edit the function
TestMigrateThumbnailsV10
in the filemigrations_test.go
and adjust the configuration for your collection -
Then run:
go test -v github.com/rigon/photo-gallery -run TestMigrateThumbnailsV10
-
Repeat for every collection you have
-
Delete any reaming thumbnail files
v1.5.2
v1.5.1
What's Changed
Full Changelog: v1.5.0...v1.5.1
v1.5.0
What's Changed
- Improved scanning process:
- Switch from fiber to echo framework:
- The entire source albums are loaded together with pseudo-albums:
- Skip uncompressible paths, fix issue of cached requests
- Dependencies update (Go and NPM)
- Extract photo info in parallel
- Added options to configure number of workers (for thumbnails and for photo info)
- Added option to specify the path for cache DB
- Allow to update the cache in background
- Improved procedure of loading albums
- Improved way to save favorites, show a badge for collections
- Added page for empty album, improved page when no album is selected
- Added page for album not found
- Allow searching albums by terms instead using the full text
- Improved New Album dialog visual, open the new album after creating it
- Show photo date in Lightbox
- Added a link in the App Title
- Don't show icons if zoom is too small in gallery
- Making API more REST compliant
- Improved retrieval of the photo location
- Lazy loading of the map
- FIX: memory leak in golang.org/x/image
- FIX: crash missing collections, don't fail when adding/deleting duplicate/missing favorites
- FIX: saving favorites multiple times
- FIX: use the right file MIME for Content-Type
Full Changelog: v1.4.0...v1.5.0
v1.4.0
What's Changed
- Support for sub-directories inside albums
- Sub-albums in pseudo albums
- Suspend background work on activity
- Add and remove favorites
- Add and remove favorite photos from pseudo-albums
- Upgrade Go dependencies
- Upgrade NPM dependencies
- Load front-end in multiple chunks (Rollup manual chunks)
- Shadows in gallery icons
- Comments in pseudo-album file
- FIX: hashes for thumbs filenames
- FIX: collision with ids in cache
- FIX: timeout in cache db connection
- FIX: default size for unsupported images
- FIX: square corners in sidebar
- FIX: keep loading albums when an error occurs
- FIX: reset selected photo after setting as favorite in lightbox
Full Changelog: v1.3.2...v1.4.0