Skip to content

Commit 97481ce

Browse files
ildyriaCopilotd7415
authored
version 6.6.2~6.6.3 (#204)
* version 6.6.2 * Apply suggestions from code review Co-authored-by: Copilot <[email protected]> * well... 6.6.3 * Update docs/releases.md Co-authored-by: Martin Stone <[email protected]> --------- Co-authored-by: Copilot <[email protected]> Co-authored-by: Martin Stone <[email protected]>
1 parent e23da3e commit 97481ce

File tree

2 files changed

+37
-2
lines changed

2 files changed

+37
-2
lines changed

docs/releases.md

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

3131
## Version 6
3232

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

3570
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.3"
14+
class="text-slate-200 hover:underline dark:text-slate-200 font-medium">Lychee 6.6.3 is now available! »</a
1515
>
1616
<a
1717
target="_blank"

0 commit comments

Comments
 (0)