File tree 2 files changed +25
-2
lines changed 2 files changed +25
-2
lines changed Original file line number Diff line number Diff line change 30
30
31
31
## Version 6
32
32
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
+
33
56
### v6.6.1
34
57
35
58
Released on May 12, 2025
Original file line number Diff line number Diff line change 10
10
>NEW</span
11
11
>
12
12
<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
15
15
>
16
16
<a
17
17
target =" _blank"
You can’t perform that action at this time.
0 commit comments