Skip to content

Commit ca88ced

Browse files
authored
version 6.4.0 (#185)
1 parent a658138 commit ca88ced

File tree

3 files changed

+155
-4
lines changed

3 files changed

+155
-4
lines changed

docs/releases.md

Lines changed: 129 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,142 @@
3030

3131
## Version 6
3232

33-
### v6.3.3
33+
### v6.4.0
3434

35-
Released on Feb 21, 2025
35+
Released on Mar 23, 2025
36+
37+
#### Mostly a klo release, but a spicy one!
38+
39+
One of the weakness of our codebase was a constant mix between camelCase and snake_case.
40+
This was due to the combination of:
41+
- the database attributes being in snake_case
42+
- the old style php being in snake_case
43+
- some recent contributions being in camelCase
44+
- Matthias and Ildyria are also a enterprise grade developers (understand Java, C++, C#) and we are used to camelCase.
45+
46+
As a result, ppshobi decided to write a rector rule to convert all the code base to a single standard.
47+
After further thoughts, we decided to go with snake_case. This is a bit more verbose, but it is easier to read when you are not use to camelCase.
3648

3749
#### Changes
3850

3951
`klo` refers to *Keep the Light On*. In other words, basic software updates.
4052
`SE` refers to functionalities that are aimed at the Supporter Edition.
4153

54+
* `new` #3100 : feat: custom variable casing rector rule to convert camelCase vars to snake_case by @ppshobi.
55+
* `fixes` #3107 : Do not upload placeholders to S3 by @ildyria.
56+
> The placeholder are base64 encoded directly in the database, as a result, when the jobs uploading
57+
> the images to S3, they couldn't find the non-existing images and were crashing.
58+
> We fixes this.
59+
* `klo` #3104 : Improve baseline by @ildyria.
60+
> Due to migration to Phpstan v2, we had to reset our baseline.
61+
* `klo` #3109 : Snakecasify variables in app/Actions/Photo by @ildyria.
62+
* `new` #3091 : feat: basic docker-compose setup by @ppshobi.
63+
* `klo` #3112 : snakecasify app/Actions/User by @ildyria.
64+
* `klo` #3113 : snakecasify app/Assets by @ildyria.
65+
* `klo` #3110 : snakecasify app/Actions/RSS by @ildyria.
66+
* `klo` #3116 : snakecasify app/Casts by @ildyria.
67+
* `klo` #3111 : snakecasify app/Actions/Diagnostics by @ildyria.
68+
* `klo` #3122 : snakecasify app/Jobs by @ildyria.
69+
* `klo` #3119 : snakecasify app/Factories by @ildyria.
70+
* `klo` #3115 : Snake caseify `app/Actions/Import` by @ppshobi.
71+
* `klo` #3120 : snakecasify app/Http/Middleware by @ildyria.
72+
* `klo` #3117 : Snakecasify app/Console by @ildyria.
73+
* `klo` #3121 : snakecasify app/Images by @ildyria.
74+
* `klo` #3118 : snakecasify app/Exceptions by @ildyria.
75+
* `klo` #3124 : snakecasify app/Metadata by @ildyria.
76+
* `klo` #3125 : snakecasify app/ModelFunctions by @ildyria.
77+
* `klo` #3126 : snakecasify app/Policies by @ildyria.
78+
* `klo` #3127 : snakecasify app/Relations by @ildyria.
79+
* `klo` #3128 : snakecasify app/Models by @ildyria.
80+
* `klo` #3132 : snakecasify app/SmartAlbums by @ildyria.
81+
* `klo` #3133 : snakecasify app/View by @ildyria.
82+
* `klo` #3137 : snakecasify app/Http/Controllers by @ildyria.
83+
* `klo` #3130 : snakecasify app/DTO by @ildyria.
84+
* `klo` #3139 : snakecasify app/Legacy by @ildyria.
85+
* `klo` #3138 : snakecasify app/Http/Resources by @ildyria.
86+
* `new` #3045 : Refactor Album page into 2 components: display - actions by @ildyria.
87+
> This is may seem a small change, but this means that effectively the album page is loaded behind the photo view.
88+
> As a result, if you go back from a photo to the album view, you no longer have a scroll down and triggering the
89+
> loading of all the images (even though they were set to be lazy loaded).
90+
* `SE` #3045: Add favourite support by @ildyria.
91+
> This is a feature that is only available for our Sponsors. It allows any anonymous users to mark a photo as favourite.
92+
> This is implemented in a privacy friendly way: the favourite is stored in the local storage of the browser.
93+
> As a result, the favourite is only available on the browser that marked the photo as favourite (no cross-device communication, no data on the server).
94+
* `klo` #3142 : snakecasify all left in app/Actions (#3123) by @ildyria.
95+
* `fixes` #3136 : Ignore some specific files from being rectorified. by @ildyria.
96+
> Due to licensing constraint, we prefer to not touch some files which were directly imported as is (under MIT license).
97+
* `klo` #3135 : snakecasify app/Http/Requests by @ildyria.
98+
* `klo` #3131 : snakecasify app/Rules by @ildyria.
99+
* `klo` #3144 : snakecasify the missing directories by @ildyria.
100+
* `klo` #3143 : version 6.4.0 by @ildyria.
101+
102+
### v6.3.5
103+
104+
Released on Mar 19, 2025
105+
106+
#### PHPSTAN 2.0 and a new contributor: ppshobi!
107+
108+
We have the pleasure to announce that @ppshobi has joined the team as a developer.
109+
He has been working on the codebase for a while now and has been a great help in the transition to PHPSTAN 2.0.
110+
We are looking forward to his future contributions.
111+
112+
#### Changes
113+
114+
* `klo` #3044 : Refactor a bit of UI. by @ildyria.
115+
* `new` #3034 : Add opcache enabled check by @ildyria.
116+
> Mostly useful for debugging purposes.
117+
* `new` #3059 : Improved left menu by @ildyria.
118+
> This makes the menu more in line with current UI standards.
119+
* `fixes` #3064 : Exclude /feed from content type check by @ildyria.
120+
> When loading feeds with Content-Type: application/xml, Lychee was crashing wrongly.
121+
* `klo` #3062 : Special characters cannot be used for the database password by @ildyria.
122+
> Though not recommnended as it complexifies the way you have to install Lychee.
123+
* `SE` #3069 : Allow anonymous users to upload by @ildyria.
124+
> This is only available for our Sponsors, this is also very niche option.
125+
> The owner of the album can now decide whether anonymous users can upload to the album.
126+
> There is no image validation, as a result, you are responsible for the content that is uploaded.
127+
> Use at your own risk.
128+
* `klo` #3070 : Move legacy translations to Legacy folder by @ildyria.
129+
> This is in preparation of the removal of the v4 front-end and to avoid confusion on translation work needed.
130+
* `fixes` #3078 : isDocker should return false if fails by @ildyria.
131+
> The function was crashing when the file was innaccessible, rendering the diagnostic page... effectively useless.
132+
* `new` #3080 : Add vue-component-analyzer by @ildyria.
133+
> This is for our reviewers so they can get a better understanding of the front-end architecture.
134+
* `new` #3082 : Do not open a new tab when downloading pictures by @ildyria.
135+
* `new` #3085 : feat: `npm run build-dev` to build js/css etc... assets without minif… by @ppshobi.
136+
* `klo` #3079 : Fix handle button in toggle being too big. by @ildyria.
137+
* `new` #3088 : install rector & update phpstan -> set level to 1 and fix errors by @ppshobi.
138+
> Preparatory work for the rector runs and version 6.4.0
139+
* `fixes` #3087 : Drop middleware not existing to avoid a 500 by @ildyria.
140+
* `new` #3090 : fix: rector default run by @ppshobi.
141+
* `fixes` #3086 : Fix Mod frame button not visible by @ildyria.
142+
* `new` #3097 : Polish translations thanks to @jarex691 by @ildyria.
143+
* `new` #3101 : Fix untranslated strings + more PL translations thanks to @jarex691 by @ildyria.
144+
* `klo` #3102 : Add logging line to know which size variant crashed. by @ildyria.
145+
* `klo` #3105 : Version 6.3.5 by @ildyria.
146+
147+
#### New Contributors
148+
149+
* @ppshobi made their first contribution in https://github.com/LycheeOrg/Lychee/pull/3085
150+
151+
### v6.3.4
152+
153+
Released on Feb 28, 2025
154+
155+
#### Changes
156+
157+
* `klo` Add Diagnostics cache checks by @ildyria in https://github.com/LycheeOrg/Lychee/pull/3027
158+
* `klo` Scroll top button for album and albums views by @sancsin in https://github.com/LycheeOrg/Lychee/pull/3035
159+
* `klo` Split-oauth endpoint to reduce the number of requests. by @ildyria in https://github.com/LycheeOrg/Lychee/pull/3023
160+
* `klo` Simplified Chinese localization by @x1ntt in https://github.com/LycheeOrg/Lychee/pull/3046
161+
* `klo` Version 6.3.4 by @ildyria in https://github.com/LycheeOrg/Lychee/pull/3047
162+
163+
### v6.3.3
164+
165+
Released on Feb 21, 2025
166+
167+
#### Changes
168+
42169
* `new` #3015 : Do not display useless message in diagnostics by @ildyria.
43170
* `fixes` #3011 : Handle failing encoding gracefully by @ildyria.
44171
* `new` #3012 : Add config option for the number of operations done by @ildyria.

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.3.3"
14-
class="text-slate-200 hover:underline dark:text-slate-200 font-medium">Lychee 6.3.3 is now available! »</a
13+
href="https://github.com/LycheeOrg/Lychee/releases/tag/v6.4.0"
14+
class="text-slate-200 hover:underline dark:text-slate-200 font-medium">Lychee 6.4.0 is now available! »</a
1515
>
1616
<a
1717
target="_blank"

src/pages/support.astro

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,30 @@ const metadata = {
6666
},
6767
description: 'Main reviewer.',
6868
},
69+
{
70+
title: 'ppshobi (Shobi)',
71+
image: {
72+
src: 'https://avatars.githubusercontent.com/u/8536607?v=4',
73+
alt: 'ppshobi',
74+
},
75+
description: 'dev.',
76+
},
77+
{
78+
title: 'sancsin',
79+
image: {
80+
src: 'https://avatars.githubusercontent.com/u/75096844?v=4',
81+
alt: 'sancsin',
82+
},
83+
description: 'dev.',
84+
},
85+
{
86+
title: 'JasonMillward (Jason)',
87+
image: {
88+
src: 'https://avatars.githubusercontent.com/u/1149781?v=4',
89+
alt: 'JasonMillward',
90+
},
91+
description: 'contributor.',
92+
},
6993
]}
7094
/>
7195

0 commit comments

Comments
 (0)