Skip to content

version 6.6.0 #200

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

Merged
merged 5 commits into from
May 1, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 38 additions & 2 deletions docs/releases.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,44 @@

## Version 6

### v6.6.0

Released on May 1, 2025

#### Legacy is gone and improved image security

To put it simply, we are getting rid of the legacy v4 code.
This change is significant for two reasons. First of all, it means that the API v1 is now completely gone.
But more importantly, this is a big change for us, as we have been using the v4 codebase as a safety net for a long time.
If something breaks, there will no longer be an easy flag that disables the complete vue-js front-end and fallbacks to the v4 codebase.

This fallback process has been extremely useful to us when we deployed the version 5, and in early version 6. However we are now satisfied with the current state of the front-end and we no longer think that the fallback to v4 is needed.

One may wonder why we decided to do this change, and to that there are two big reasons:

- We no longer will need to maintain a legacy compatibility. Cleaning old code bases is part of the life cycle of a project, and we are now at the point where we can do this.
- We are planning to refactor the way images are attached to albums. We decided to go in the direction of a many-to-many relationship. In layman terms, this means that a photo can be in multiple albums at the same time. This behaviour is not compatible with the API v1 definitions. This relationship change is going to have significant impact on the way photos access rights are handled, but we are confident this will also enable us to provide more interesting features in the future.

Now moving on from this 45 000 lines of code removal, we also simplified the way photos are shared. In the past in order to avoid hot-links we had to create symbolic links that expired. This was a bit of a hack. We now provide the option to use signed urls. This ensures that the photo is only available for a limited amount of time. Our SE users will also be happy to know that the url of the photo can also be encrypted, making sure that nobody can access the photo by guessworks.

`klo` refers to *Keep the Light On*. In other words, basic software updates.

* `new` #3296 : Propose revising the footer text as it could be misunderstood by @Novapixel1010.
> Small change aimed to clarify that Lychee org is not hosting the pictures but that Lychee is a software that allows users
> to have their own self-hosted gallery.
* `klo` #3291 : Remove legacy v4 by @ildyria.
> There is no coming back...
* `new` #3211 : Drop random symlinks functionality for a more streamlined system by @ildyria.
> Remove the symbolic link functionality, this feature provides a more modern and secure way to share photos links.
* `fixes` #3289 : Fixes sharing access rights. by @ildyria.
> When trying to share multiple albums with multiple users, all the accessible albums could be selected even though the user
> was not allowed to edit them. We now only list the albums that are owned by the user.

#### New Contributors

* @Novapixel1010 made their first contribution in https://github.com/LycheeOrg/Lychee/pull/3296


### v6.5.3

Released on Apr 27, 2025
Expand All @@ -40,8 +78,6 @@ This small release is mostly targeted at fixing a few bugs. Though if you are a
you will want to upgrade to this version as soon as possible as it solves the error 500 when the metrics
module is enabled and trying to open album with recently uploaded photos.

`klo` refers to *Keep the Light On*. In other words, basic software updates.

* `new` #3263 : Allow description to be used in photo thumb (expert setting) by @ildyria
> A small request from one of our user. This allows to display the description of the photo instead of
> its title and date of capture in the thumbnail album view. This text is formatted with markdown and the display
Expand Down
4 changes: 2 additions & 2 deletions src/components/widgets/Announcement.astro
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
>NEW</span
>
<a
href="https://github.com/LycheeOrg/Lychee/releases/tag/v6.5.3"
class="text-slate-200 hover:underline dark:text-slate-200 font-medium">Lychee 6.5.3 is now available! »</a
href="https://github.com/LycheeOrg/Lychee/releases/tag/v6.6.0"
class="text-slate-200 hover:underline dark:text-slate-200 font-medium">Lychee 6.6.0 is now available! »</a
>
<a
target="_blank"
Expand Down
27 changes: 22 additions & 5 deletions src/pages/get-supporter-edition.astro
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ const metadata = {
// },
{
description: 'Same features as the Free Edition.',
classes: { icon: 'bg-green-700 rounded-full text-white' }
},
{
description: 'Statistics on your library.',
Expand All @@ -94,6 +95,10 @@ const metadata = {
description: 'Anonymous uploads.',
icon: 'tabler:plus',
},
{
description: 'Secured image links.',
icon: 'tabler:plus',
},
{
description: 'Extended customizations.',
icon: 'tabler:plus',
Expand All @@ -120,10 +125,12 @@ const metadata = {
/>

<FeaturesList
title="Full comparison"
title="Full comparison<sup class='text-xl'>*</sup>"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GH won't let me comment on unchanged lines...

On line 430, is it time to remove the "coming soon"?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

tagline="the essentials and a few more"
products={['Free', 'Lychee <span class="text-sky-600 dark:text-sky-300">SE</span>']}
extra="<sup>*</sup>A lot of default values are still in English. Any pull requests with translation to your own language would help.<br><sup>*</sup><sup>*</sup> This option is not available on <span class='text-sky-600 dark:text-sky-300'>SE</span> as they are already hidden."
extra="<sup>*</sup> This table is summary of Lychee's functionalities and does not represent the large amount of configurations available.<br>\
<sup>**</sup> A lot of default values are still in English. Any pull requests with translation to your own language would help.<br>\
<sup>***</sup> This option is not available on <span class='text-sky-600 dark:text-sky-300'>SE</span> as they are already hidden."
specs={[
{
feature: 'Global',
Expand All @@ -147,11 +154,11 @@ const metadata = {
available: [true, true],
},
{
feature: 'Multiple languages supported<sup>*</sup>',
feature: 'Multiple languages supported<sup>*</sup><sup>*</sup>',
available: [true, true],
},
{
feature: 'Hide Lychee <span class="text-sky-600 dark:text-sky-300">SE</span> call for actions <sup>*</sup><sup>*</sup>',
feature: 'Hide Lychee <span class="text-sky-600 dark:text-sky-300">SE</span> call for actions <sup>*</sup><sup>*</sup><sup>*</sup>',
available: [true, false],
isV6: true,
},
Expand Down Expand Up @@ -191,6 +198,16 @@ const metadata = {
available: [true, true],
isV6: true,
},
{
feature: 'Hotlink protection',
available: [true, true],
isV6: true,
},
{
feature: 'AES-Secured links',
available: [false, true],
isV6: true,
},
{
feature: 'Statistics (download,share, etc.)',
available: [false, true],
Expand Down Expand Up @@ -410,7 +427,7 @@ const metadata = {

<FAQs
title="FAQs"
subtitle="With the new <span class='font-bold dark:text-neutral-200'>Lychee <span class='text-sky-600 dark:text-sky-300'>SE</span></span> coming soon, we understand that you must have some questions. We try to answer some of them here."
subtitle="With the new <span class='font-bold dark:text-neutral-200'>Lychee <span class='text-sky-600 dark:text-sky-300'>SE</span></span> readily available, we understand that you must have some questions. We try to answer some of them here."
columns={1}
items={[
{
Expand Down