|
30 | 30 |
|
31 | 31 | ## Version 6 |
32 | 32 |
|
| 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 | + |
33 | 68 | ### v6.6.1 |
34 | 69 |
|
35 | 70 | Released on May 12, 2025 |
|
0 commit comments