Skip to content

Commit 90e6987

Browse files
committed
version 6.6.2
1 parent e23da3e commit 90e6987

File tree

2 files changed

+25
-2
lines changed

2 files changed

+25
-2
lines changed

docs/releases.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,29 @@
3030

3131
## Version 6
3232

33+
### v6.6.2
34+
35+
Released on May 15, 2025
36+
37+
#### iFrame integration support and auto open upload popup
38+
39+
One of our user noticed that version 6 was not working within iFrames. This is because we have secure headers
40+
to avoid clickjacking. We added one `.env` variable `SECURITY_HEADER_CSP_FRAME_ANCESTORS` (empty by default)
41+
which allows to add the domains that are allowed to load Lychee in an iFrame. Note that this kind of integration
42+
of Lychee is is not recommended as the cookies will also be set with the policy `SameSite=None`.
43+
If you wish to use iFrames, to make sure that the configuration remains secure,
44+
you will also have to set the `SESSION_SECURE_COOKIE` to `true` in your `.env` file.
45+
46+
The second change is a small one, but it is a nice addition: by adding `#upload` to a Lychee album url,
47+
the upload popup will be automatically opened. This is aimed as users who which to give an upload link to their friends.
48+
Note that this will require you to have guest upload enabled in the album settings.
49+
50+
* `new` #3343 : Add insecure options (with secure defaults) to use Lyche in iFrames by @ildyria.
51+
> This setting needs to be enabled via `.env` configuration and is disabled by default.
52+
* `new` #3340 : Add `#upload` to trigger upload modal from url in an album by @ildyria.
53+
> For this to works, guest upload must be enabled in the album settings.
54+
55+
3356
### v6.6.1
3457

3558
Released on May 12, 2025

src/components/widgets/Announcement.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
>NEW</span
1111
>
1212
<a
13-
href="https://github.com/LycheeOrg/Lychee/releases/tag/v6.6.1"
14-
class="text-slate-200 hover:underline dark:text-slate-200 font-medium">Lychee 6.6.1 is now available! »</a
13+
href="https://github.com/LycheeOrg/Lychee/releases/tag/v6.6.2"
14+
class="text-slate-200 hover:underline dark:text-slate-200 font-medium">Lychee 6.6.2 is now available! »</a
1515
>
1616
<a
1717
target="_blank"

0 commit comments

Comments
 (0)