Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
23 changes: 23 additions & 0 deletions docs/releases.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,29 @@

## Version 6

### v6.6.2

Released on May 15, 2025

#### iFrame integration support and auto open upload popup

One of our user noticed that version 6 was not working within iFrames. This is because we have secure headers
Comment thread
ildyria marked this conversation as resolved.
Outdated
to avoid clickjacking. We added one `.env` variable `SECURITY_HEADER_CSP_FRAME_ANCESTORS` (empty by default)
which allows to add the domains that are allowed to load Lychee in an iFrame. Note that this kind of integration
of Lychee is is not recommended as the cookies will also be set with the policy `SameSite=None`.
Comment thread
ildyria marked this conversation as resolved.
Outdated
If you wish to use iFrames, to make sure that the configuration remains secure,
you will also have to set the `SESSION_SECURE_COOKIE` to `true` in your `.env` file.

The second change is a small one, but it is a nice addition: by adding `#upload` to a Lychee album url,
the upload popup will be automatically opened. This is aimed as users who which to give an upload link to their friends.
Comment thread
ildyria marked this conversation as resolved.
Outdated
Note that this will require you to have guest upload enabled in the album settings.

* `new` #3343 : Add insecure options (with secure defaults) to use Lyche in iFrames by @ildyria.
Comment thread
ildyria marked this conversation as resolved.
Outdated
> This setting needs to be enabled via `.env` configuration and is disabled by default.
* `new` #3340 : Add `#upload` to trigger upload modal from url in an album by @ildyria.
> For this to works, guest upload must be enabled in the album settings.
Comment thread
ildyria marked this conversation as resolved.
Outdated


### v6.6.1

Released on May 12, 2025
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.6.1"
class="text-slate-200 hover:underline dark:text-slate-200 font-medium">Lychee 6.6.1 is now available! »</a
href="https://github.com/LycheeOrg/Lychee/releases/tag/v6.6.2"
class="text-slate-200 hover:underline dark:text-slate-200 font-medium">Lychee 6.6.2 is now available! »</a
>
<a
target="_blank"
Expand Down