Skip to content

0.3.0

Compare
Choose a tag to compare
@hsa00000 hsa00000 released this 23 Nov 10:43
· 266 commits to main since this release

Changelog

[0.3.0] - 2024-11-20

Breaking Changes

Starting with this version, the backend configuration file config.json is deprecated. Previously, this file contained sensitive information such as passwords, private folder paths, and Discord hooks, which were mixed with other general configurations. To enhance security, sensitive configurations must now be moved to .env. Users upgrading from version 0.2.0 must make the following changes to continue using the application.

How to Migrate to Version 0.3.0:

Locate your config.json file in ./Urocissa/gallery-backend/ and move the settings from config.json to .env. For example, if your config.json looks like this:

{
    "password": "your_password_here",
    "readOnlyMode": false,
    "syncPath": ["./upload", "./folder"],
    "disableImg": false,
    "discordHookUrl": null
}

The new config.json should be:

{
    "readOnlyMode": false,
    "disableImg": false
}

Then, create a .env file in the same directory with the following contents:

PASSWORD=your_password_here
SYNC_PATH=./upload,./folder
DISCORD_HOOK_URL=

Your app can now start up normally, just like before.

Added

  • Album Features: Added album features that allow users to create albums, add photos, and edit album titles.

Changed

  • Configuration Management: Replaced config.default.json with environment variables.
  • Optimistic Updates: Tags and albums now update immediately without requiring a refresh.
  • Removed Dynamic Imports: Page transitions are now smoother when navigating through the menu, reducing lag.
  • Restricted Special Characters: Users are now restricted from using overly special characters when editing tags.
  • Logging: Improved logging format for better readability and organization.

Fixed

  • Display Issue: Fixed incorrect display of the last row of photos in an album.
  • Scrollbar Issue: Resolved incorrect scrollbar behavior when there are too few photos.
  • Toolbar Consistency: Padding at the top and bottom of the toolbar is now evenly balanced.
  • Photo Size Error: Fixed an issue where switching between photos would temporarily display incorrect sizes.

Full Changelog: 0.2.0...0.3.0