@@ -4,6 +4,314 @@ This changelog goes through all the changes that have been made in each release
4
4
without substantial changes to our git log; to see the highlights of what has
5
5
been added to each release, please refer to the [ blog] ( https://blog.gitea.io ) .
6
6
7
+ ## [ 1.17.0] ( https://github.com/go-gitea/gitea/releases/tag/v1.17.0 ) - 2022-07-30
8
+
9
+ * BREAKING
10
+ * Require go1.18 for Gitea 1.17 (#19918 )
11
+ * Make AppDataPath absolute against the AppWorkPath if it is not (#19815 )
12
+ * Nuke the incorrect permission report on /api/v1/notifications (#19761 )
13
+ * Refactor git module, make Gitea use internal git config (#19732 )
14
+ * Remove ` RequireHighlightJS ` field, update plantuml example. (#19615 )
15
+ * Increase minimal required git version to 2.0 (#19577 )
16
+ * Add a directory prefix ` gitea-src-VERSION ` to release-tar-file (#19396 )
17
+ * Use "main" as default branch name (#19354 )
18
+ * Make cron task no notice on success (#19221 )
19
+ * Add pam account authorization check (#19040 )
20
+ * Show messages for users if the ROOT_URL is wrong, show JavaScript errors (#18971 )
21
+ * Refactor mirror code & fix StartToMirror (#18904 )
22
+ * Remove deprecated SSH ciphers from default (#18697 )
23
+ * Add the possibility to allow the user to have a favicon which differs from the main logo (#18542 )
24
+ * Update reserved usernames list (#18438 )
25
+ * Support custom ACME provider (#18340 )
26
+ * Change initial TrustModel to committer (#18335 )
27
+ * Update HTTP status codes (#18063 )
28
+ * Upgrade Alpine from 3.13 to 3.15 (#18050 )
29
+ * Restrict email address validation (#17688 )
30
+ * Refactor Router Logger (#17308 )
31
+ * SECURITY
32
+ * Use git.HOME_PATH for Git HOME directory (#20114 ) (#20293 )
33
+ * Add write check for creating Commit Statuses (#20332 ) (#20333 )
34
+ * Remove deprecated SSH ciphers from default (#18697 )
35
+ * FEDERATION
36
+ * Return statistic information for nodeinfo (#19561 )
37
+ * Add Webfinger endpoint (#19462 )
38
+ * Store the foreign ID of issues during migration (#18446 )
39
+ * FEATURES
40
+ * Automatically render wiki TOC (#19873 )
41
+ * Adding button to link accounts from user settings (#19792 )
42
+ * Allow set default merge style while creating repo (#19751 )
43
+ * Auto merge pull requests when all checks succeeded (#9307 & #19648 )
44
+ * Improve reviewing PR UX (#19612 )
45
+ * Add support for rendering console output with colors (#19497 )
46
+ * Add Helm Chart registry (#19406 )
47
+ * Add Goroutine stack inspector to admin/monitor (#19207 )
48
+ * RSS/Atom support for Orgs & Repos (#17714 & #19055 )
49
+ * Add button for issue deletion (#19032 )
50
+ * Allow to mark files in a PR as viewed (#19007 )
51
+ * Add Index to comment for migrations and mirroring (#18806 )
52
+ * Add health check endpoint (#18465 )
53
+ * Add packagist webhook (#18224 )
54
+ * Add "Allow edits from maintainer" feature (#18002 )
55
+ * Add apply-patch, basic revert and cherry-pick functionality (#17902 )
56
+ * Add Package Registry (#16510 )
57
+ * Add LDAP group sync to Teams (#16299 )
58
+ * Pause queues (#15928 )
59
+ * Added auto-save whitespace behavior if it changed manually (#15566 )
60
+ * Find files in repo (#15028 )
61
+ * Provide configuration to allow camo-media proxying (#12802 )
62
+ * API
63
+ * Add endpoint to serve blob or LFS file content (#19689 )
64
+ * Add endpoint to check if team has repo access (#19540 )
65
+ * More commit info (#19252 )
66
+ * Allow to create file on empty repo (#19224 )
67
+ * Allow removing issues (#18879 )
68
+ * Add endpoint to query collaborators permission for a repository (#18761 )
69
+ * Return primary language and repository language stats API URL (#18396 )
70
+ * Implement http signatures support for the API (#17565 )
71
+ * ENHANCEMENTS
72
+ * Make notification bell more prominent on mobile (#20108 , #20236 , #20251 ) (#20269 )
73
+ * Adjust max-widths for the repository file table (#20243 ) (#20247 )
74
+ * Display full name (#20171 ) (#20246 )
75
+ * Add dbconsistency checks for Stopwatches (#20010 )
76
+ * Add fetch.writeCommitGraph to gitconfig (#20006 )
77
+ * Add fgprof pprof profiler (#20005 )
78
+ * Move agit dependency (#19998 )
79
+ * Empty log queue on flush and close (#19994 )
80
+ * Remove tab/TabName usage where it's not needed (#19973 )
81
+ * Improve file header on mobile (#19945 )
82
+ * Move issues related files into models/issues (#19931 )
83
+ * Add breaking email restrictions checker in doctor (#19903 )
84
+ * Improve UX on modal for deleting an access token (#19894 )
85
+ * Add alt text to logo (#19892 )
86
+ * Move some code into models/git (#19879 )
87
+ * Remove customized (unmaintained) dropdown, improve aria a11y for dropdown (#19861 )
88
+ * Make user profile image show full image on mobile (#19840 )
89
+ * Replace blue button and label classes with primary (#19763 )
90
+ * Remove fomantic progress module (#19760 )
91
+ * Allows repo search to match against "owner/repo" pattern strings (#19754 )
92
+ * Move org functions (#19753 )
93
+ * Move almost all functions' parameter db.Engine to context.Context (#19748 )
94
+ * Show source/target branches on PR's list (#19747 )
95
+ * Use http.StatusTemporaryRedirect(307) when serve avatar directly (#19739 )
96
+ * Add doctor orphan check for orphaned pull requests without an existing base repo (#19731 )
97
+ * Make Ctrl+Enter (quick submit) work for issue comment and wiki editor (#19729 )
98
+ * Update go-chi/cache to utilize Ping() (#19719 )
99
+ * Improve commit list/view on mobile (#19712 )
100
+ * Move some repository related code into sub package (#19711 )
101
+ * Use a better OlderThan for DeleteInactiveUsers (#19693 )
102
+ * Introduce eslint-plugin-jquery (#19690 )
103
+ * Tidy up ` <head> ` template (#19678 )
104
+ * Calculate filename hash only once (#19654 )
105
+ * Simplify ` IsVendor ` (#19626 )
106
+ * Add "Reference" section to Issue view sidebar (#19609 )
107
+ * Only set CanColorStdout / CanColorStderr to true if the stdout/stderr is a terminal (#19581 )
108
+ * Use for a repo action one database transaction (#19576 )
109
+ * Simplify loops to copy (#19569 )
110
+ * Added X-Mailer header to outgoing emails (#19562 )
111
+ * use middleware to open gitRepo (#19559 )
112
+ * Mute link in diff header (#19556 )
113
+ * Improve UI on mobile (#19546 )
114
+ * Fix Pull Request comment filename word breaks (#19535 )
115
+ * Permalink files In PR diff (#19534 )
116
+ * PullService lock via pullID (#19520 )
117
+ * Make repository file list useable on mobile (#19515 )
118
+ * more context for models (#19511 )
119
+ * Refactor readme file renderer (#19502 )
120
+ * By default force vertical tabs on mobile (#19486 )
121
+ * Github style following followers (#19482 )
122
+ * Improve action table indices (#19472 )
123
+ * Use horizontal tabs for repo header on mobile (#19468 )
124
+ * pass gitRepo down since its used for main repo and wiki (#19461 )
125
+ * Admin should not delete himself (#19423 )
126
+ * Use queue instead of memory queue in webhook send service (#19390 )
127
+ * Simplify the code to get issue count (#19380 )
128
+ * Add commit status popup to issuelist (#19375 )
129
+ * Add RSS Feed buttons to Repo, User and Org pages (#19370 )
130
+ * Add logic to switch between source/rendered on Markdown (#19356 )
131
+ * Move some helper files out of models (#19355 )
132
+ * Move access and repo permission to models/perm/access (#19350 )
133
+ * Disallow selecting the text of buttons (#19330 )
134
+ * Allow custom redirect for landing page (#19324 )
135
+ * Remove dependent on session auth for api/v1 routers (#19321 )
136
+ * Never use /api/v1 from Gitea UI Pages (#19318 )
137
+ * Remove legacy unmaintained packages, refactor to support change default locale (#19308 )
138
+ * Move milestone to models/issues/ (#19278 )
139
+ * Configure OpenSSH log level via Environment in Docker (#19274 )
140
+ * Move reaction to models/issues/ (#19264 )
141
+ * Make git.OpenRepository accept Context (#19260 )
142
+ * Move some issue methods as functions (#19255 )
143
+ * Show last cron messages on monitor page (#19223 )
144
+ * New cron task: delete old system notices (#19219 )
145
+ * Add Redis Sentinel Authentication Support (#19213 )
146
+ * Add auto logging of goroutine pid label (#19212 )
147
+ * Set OpenGraph title to DisplayName in profile pages (#19206 )
148
+ * Add pprof labels in processes and for lifecycles (#19202 )
149
+ * Let web and API routes have different auth methods group (#19168 )
150
+ * Move init repository related functions to modules (#19159 )
151
+ * Feeds: render markdown to html (#19058 )
152
+ * Allow users to self-request a PR review (#19030 )
153
+ * Allow render HTML with css/js external links (#19017 )
154
+ * Fix script compatiable with OpenWrt (#19000 )
155
+ * Support ignore all santize for external renderer (#18984 )
156
+ * Add note to GPG key response if user has no keys (#18961 )
157
+ * Improve Stopwatch behavior (#18930 )
158
+ * Improve mirror iterator (#18928 )
159
+ * Uncapitalize errors (#18915 )
160
+ * Prevent Stats Indexer reporting error if repo dir missing (#18870 )
161
+ * Refactor SecToTime() function (#18863 )
162
+ * Replace deprecated String.prototype.substr() with String.prototype.slice() (#18796 )
163
+ * Move deletebeans into models/db (#18781 )
164
+ * Fix display time of milestones (#18753 )
165
+ * Add config option to disable "Update branch by rebase" (#18745 )
166
+ * Display template path of current page in dev mode (#18717 )
167
+ * Add number in queue status to monitor page (#18712 )
168
+ * Change git.cmd to RunWithContext (#18693 )
169
+ * Refactor i18n, use Locale to provide i18n/translation related functions (#18648 )
170
+ * Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552 )
171
+ * Move organization related structs into sub package (#18518 )
172
+ * Warn at startup if the provided ` SCRIPT_TYPE ` is not on the PATH (#18467 )
173
+ * Use ` CryptoRandomBytes ` instead of ` CryptoRandomString ` (#18439 )
174
+ * Use explicit jQuery import, remove unused eslint globals (#18435 )
175
+ * Allow to filter repositories by language in explore, user and organization repositories lists (#18430 )
176
+ * Use base32 for 2FA scratch token (#18384 )
177
+ * Unexport var git.GlobalCommandArgs (#18376 )
178
+ * Don't underline commit status icon on hover (#18372 )
179
+ * Always use git command but not os.Command (#18363 )
180
+ * Switch to non-deprecation setting (#18358 )
181
+ * Set the LastModified header for raw files (#18356 )
182
+ * Refactor jwt.StandardClaims to RegisteredClaims (#18344 )
183
+ * Enable deprecation error for v1.17.0 (#18341 )
184
+ * Refactor httplib (#18338 )
185
+ * Limit max-height of CodeMirror editors for issue comment and wiki (#18271 )
186
+ * Validate migration files (#18203 )
187
+ * Format with gofumpt (#18184 )
188
+ * Allow custom default merge message with .gitea/default_merge_message/<merge_style>_ TEMPLATE.md (#18177 )
189
+ * Prettify number of issues (#17760 )
190
+ * Add a "admin user generate-access-token" subcommand (#17722 )
191
+ * Custom regexp external issues (#17624 )
192
+ * Add smtp password to install page (#17564 )
193
+ * Add config options to hide issue events (#17414 )
194
+ * Prevent double click new issue/pull/comment button (#16157 )
195
+ * Show issue assignee on project board (#15232 )
196
+ * BUGFIXES
197
+ * WebAuthn CredentialID field needs to be increased in size (#20530 ) (#20555 )
198
+ * Ensure that all unmerged files are merged when conflict checking (#20528 ) (#20536 )
199
+ * Stop logging EOFs and exit(1)s in ssh handler (#20476 ) (#20529 )
200
+ * Add labels to two buttons that were missing them (#20419 ) (#20524 )
201
+ * Fix ROOT_URL detection for URLs without trailing slash (#20502 ) (#20503 )
202
+ * Dismiss prior pull reviews if done via web in review dismiss (#20197 ) (#20407 )
203
+ * Allow RSA 2047 bit keys (#20272 ) (#20396 )
204
+ * Add missing return for when topic isn't found (#20351 ) (#20395 )
205
+ * Fix commit status icon when in subdirectory (#20285 ) (#20385 )
206
+ * Initialize cron last (#20373 ) (#20384 )
207
+ * Set target on create release with existing tag (#20381 ) (#20382 )
208
+ * Update xorm.io/xorm to fix a interpreting db column sizes issue on 32bit systems (#20371 ) (#20372 )
209
+ * Make sure ` repo_dir ` is an empty directory or doesn't exist before 'dump-repo' (#20205 ) (#20370 )
210
+ * Prevent context deadline error propagation in GetCommitsInfo (#20346 ) (#20361 )
211
+ * Correctly handle draft releases without a tag (#20314 ) (#20335 )
212
+ * Prevent "empty" scrollbars on Firefox (#20294 ) (#20308 )
213
+ * Refactor SSH init code, fix directory creation for TrustedUserCAKeys file (#20299 ) (#20306 )
214
+ * Bump goldmark to v1.4.13 (#20300 ) (#20301 )
215
+ * Do not create empty ".ssh" directory when loading config (#20289 ) (#20298 )
216
+ * Fix NPE when using non-numeric (#20277 ) (#20278 )
217
+ * Store read access in access for team repositories (#20275 ) (#20276 )
218
+ * EscapeFilter the group dn membership (#20200 ) (#20254 )
219
+ * Only show Followers that current user can access (#20220 ) (#20252 )
220
+ * Update Bluemonday to v1.0.19 (#20199 ) (#20209 )
221
+ * Refix indices on actions table (#20158 ) (#20198 )
222
+ * Check if project has the same repository id with issue when assign project to issue (#20133 ) (#20188 )
223
+ * Fix remove file on initial comment (#20127 ) (#20128 )
224
+ * Catch the error before the response is processed by goth (#20000 ) (#20102 )
225
+ * Dashboard feed respect setting.UI.FeedPagingNum again (#20094 ) (#20099 )
226
+ * Alter hook_task TEXT fields to LONGTEXT (#20038 ) (#20041 )
227
+ * Respond with a 401 on git push when password isn't changed yet (#20026 ) (#20027 )
228
+ * Return 404 when tag is broken (#20017 ) (#20024 )
229
+ * Alter hook_task TEXT fields to LONGTEXT (#20038 ) (#20041 )
230
+ * Respond with a 401 on git push when password isn't changed yet (#20026 ) (#20027 )
231
+ * Return 404 when tag is broken (#20017 ) (#20024 )
232
+ * Write Commit-Graphs in RepositoryDumper (#20004 )
233
+ * Use DisplayName() instead of FullName in Oauth Provider (#19991 )
234
+ * Don't buffer doctor logger (#19982 )
235
+ * Always try to fetch repo for mirrors (#19975 )
236
+ * Uppercase first languages letters (#19965 )
237
+ * Fix cli command restore-repo: "units" should be parsed as StringSlice (#19953 )
238
+ * Ensure minimum mirror interval is reported on settings page (#19895 )
239
+ * Exclude Archived repos from Dashboard Milestones (#19882 )
240
+ * gitconfig: set safe.directory = * (#19870 )
241
+ * Prevent NPE on update mirror settings (#19864 )
242
+ * Only return valid stopwatches to the EventSource (#19863 )
243
+ * Prevent NPE whilst migrating if there is a team request review (#19855 )
244
+ * Fix inconsistency in doctor output (#19836 )
245
+ * Fix release tag for webhook (#19830 )
246
+ * Add title attribute to dependencies in sidebar (#19807 )
247
+ * Estimate Action Count in Statistics (#19775 )
248
+ * Do not update user stars numbers unless fix is specified (#19750 )
249
+ * Improved ref comment link when origin is body/title (#19741 )
250
+ * Fix nodeinfo caching and prevent NPE if cache non-existent (#19721 )
251
+ * Fix duplicate entry error when add team member (#19702 )
252
+ * Fix sending empty notifications (#19589 )
253
+ * Update image URL for Discord webhook (#19536 )
254
+ * Don't let repo clone URL overflow (#19517 )
255
+ * Allow commit status popup on /pulls page (#19507 )
256
+ * Fix two UI bugs: JS error in imagediff.js, 500 error in diff/compare.tmpl (#19494 )
257
+ * Fix logging of Transfer API (#19456 )
258
+ * Fix panic in teams API when requesting members (#19360 )
259
+ * Refactor CSRF protection modules, make sure CSRF tokens can be up-to-date. (#19337 )
260
+ * An attempt to sync a non-mirror repo must give 400 (Bad Request) (#19300 )
261
+ * Move checks for pulls before merge into own function (#19271 )
262
+ * Fix ` contrib/upgrade.sh ` (#19222 )
263
+ * Set the default branch for repositories generated from templates (#19136 )
264
+ * Fix EasyMDE error when input Enter (#19004 )
265
+ * Don't clean up hardcoded ` tmp ` (#18983 )
266
+ * Delete related notifications on issue deletion too (#18953 )
267
+ * Fix trace log to show value instead of pointers (#18926 )
268
+ * Fix behavior or checkbox submission. (#18851 )
269
+ * Add ` ContextUser ` (#18798 )
270
+ * Fix some mirror bugs (#18649 )
271
+ * Quote MAKE to prevent path expansion with space error (#18622 )
272
+ * Preserve users if restoring a repository on the same Gitea instance (#18604 )
273
+ * Fix non-ASCII search on database (#18437 )
274
+ * Automatically pause queue if index service is unavailable (#15066 )
275
+ * TESTING
276
+ * Allow postgres integration tests to run over unix pipe (#19875 )
277
+ * Prevent intermittent NPE in queue tests (#19301 )
278
+ * Add test for importing pull requests in gitea uploader for migrations (#18752 )
279
+ * Remove redundant comparison in repo dump/restore (#18660 )
280
+ * More repo dump/restore tests, including pull requests (#18621 )
281
+ * Add test coverage for original author conversion during migrations (#18506 )
282
+ * TRANSLATION
283
+ * Update issue_no_dependencies description (#19112 )
284
+ * Refactor webhooks i18n (#18380 )
285
+ * BUILD
286
+ * Use alpine 3.16 (#19797 )
287
+ * Require node 14.0 (#19451 )
288
+ * DOCS
289
+ * Update documents (git/fomantic/db, etc) (#19868 )
290
+ * Update the ROOT documentation and error messages (#19832 )
291
+ * Update document to use FHS ` /usr/local/bin/gitea ` instead of ` /app/... ` for Docker (#19794 )
292
+ * Update documentation to disable duration settings with -1 instead of 0 (#19647 )
293
+ * Add warning to set SENDMAIL_ARGS to -- (#19102 )
294
+ * Update nginx reverse proxy docs (#18922 )
295
+ * Add example to render html files (#18736 )
296
+ * Make SSH passtrough documentation better (#18687 )
297
+ * Changelog 1.16.0 & 1.15.11 (#18468 & #18455 ) (#18470 )
298
+ * Update the SSH passthrough documentation (#18366 )
299
+ * Add ` contrib/upgrade.sh ` (#18286 )
300
+ * MISC
301
+ * Fix aria for logo (#19955 )
302
+ * In code search, get code unit accessible repos in one (main) query (#19764 )
303
+ * Add tooltip to pending PR comments (#19662 )
304
+ * Improve sync performance for pull-mirrors (#19125 )
305
+ * Improve dashboard's repo list performance (#18963 )
306
+ * Avoid database lookups for ` DescriptionHTML ` (#18924 )
307
+ * Remove CodeMirror dependencies (#18911 )
308
+ * Disable unnecessary mirroring elements (#18527 )
309
+ * Disable unnecessary OpenID/OAuth2 elements (#18491 )
310
+ * Disable unnecessary GitHooks elements (#18485 )
311
+ * Change some logging levels (#18421 )
312
+ * Prevent showing webauthn error for every time visiting ` /user/settings/security ` (#18385 )
313
+ * Use correct translation key for errors (#18342 )
314
+
7
315
## [ 1.16.9] ( https://github.com/go-gitea/gitea/releases/tag/v1.16.9 ) - 2022-07-12
8
316
9
317
* SECURITY
@@ -160,7 +468,7 @@ been added to each release, please refer to the [blog](https://blog.gitea.io).
160
468
## [ 1.16.3] ( https://github.com/go-gitea/gitea/releases/tag/v1.16.3 ) - 2022-03-02
161
469
162
470
* SECURITY
163
- * Git backend ignore replace objects (#18979 ) (#18980 )
471
+ * Git backend ignore replace objects (#18979 ) (#18980 )
164
472
* ENHANCEMENTS
165
473
* Adjust error for already locked db and prevent level db lock on malformed connstr (#18923 ) (#18938 )
166
474
* BUGFIXES
0 commit comments