Releases: go-gitea/gitea
v1.24.0
-
BREAKING
-
FEATURES
- Enforce two-factor auth (2FA: TOTP or WebAuthn) (#34187)
- Add fullscreen mode as a more efficient operation way to view projects (#34081)
- Add anonymous access support for private/unlisted repositories (#34051)
- Support public code/issue access for private repositories (#33127)
- Add middleware for request prioritization (#33951)
- Add cli flags LDAP group configuration (#33933)
- Add file tree to file view page (#32721)
- Add material icons for file list (#33837)
- Artifacts download api for artifact actions v4 (#33510)
- Support choose email when creating a commit via web UI (#33432)
- Add basic auth support to rss/atom feeds (#33371)
- Add sorting by exclusive labels (issue priority) (#33206)
- Add sub issue list support (#32940)
- Private README.md for organization (#32872)
- Email option to embed images as base64 instead of link (#32061)
- Option to delay conflict checking of old pull requests until page view (#27779)
- Worktime tracking for the organization level (#19808)
-
PERFORMANCE
- Add cache for common package queries (#22491)
- Move issue pin to an standalone table for querying performance (#33452)
- Improve commits list performance to reduce unnecessary database queries (#33528)
- Optimize total count of feed when loading activities in user dashboard. (#33841)
- Optimize heatmap query (#33853)
- Only use prev and next buttons for pagination on user dashboard (#33981)
- Improve pull request list API performance (#34052)
- Cache GPG keys, emails and users when list commits (#34086)
- Refactor Git Attribute & performance optimization (#34154)
- Performance optimization for tags synchronization (#34355) #34522
-
ENHANCEMENTS
-
Code
- Display when a release attachment was uploaded (#34261)
- Support creating relative link to raw path in markdown (#34105)
- Improve code block readability and isolate copy button (#34009)
- Improve repository commit view (#33877)
- Full-file syntax highlighting for diff pages (#33766)
- Clone repository with Tea CLI (#33725)
- Improve sync fork behavior (#33319)
- Make git clone URL could use current signed-in user (#33091)
- Add submodule diff links (#33097)
- Link to tree views of submodules if possible (#33424)
- Only keep popular licenses (#33832)
- De-emphasize signed commits (#31160)
-
Actions
- Add flat-square action badge style (#34062)
- Update action status badge layout (#34018)
- Download actions job logs from API (#33858)
- Always show the "rerun" button for action jobs (#33692)
- Add auto-expanding running actions step (#30058)
- Update status check for all supported on.pull_request.types in Gitea (#33117)
- Workflow_dispatch use workflow from trigger branch (#33098)
- Add action auto-scroll (#30057)
- Add workflow_job webhook (#33694)
- Add a button editing action secret (#34462)
-
Pull Request
-
Issues
- Allow filtering issues by any assignee (#33343)
- Show warning on navigation if currently editing comment or title (#32920)
- Make tracked time representation display as hours (#33315)
- Add No Results Prompt Message on Issue List Page (#33699)
- Add sort option recentclose for issues and pulls (#34525) #34539
-
Packages
-
Administration
- Improve navbar: add "admin" tip, add "active" style (#32927)
- Add a option "--user-type bot" to admin user create, improve role display (#27885)
- Improve admin user view page (#33735)
- Support performance trace (#32973)
- Change pprof labels to be prometheus compatible (#32865)
- Allow admins and org owners to change org member public status (#28294)
- Optimize the installation page (#32994)
- Make public URL generation configurable (#34250)
- Add a --fullname arg to gitea admin user create. (#34241)
-
Others
- Improve oauth2 error handling (#33969)
- Fail mirroring more gracefully (#34002)
- Align User Details Page Header Layout with Design Specifications (#34192)
- Webhook add X-Gitea-Hook-Installation-Target-Type Header (#33752)
- Optimize the dashboard (#32990)
- Improve button layout on small screens (#33633)
- Add cropping support when modifying the user/org/repo avatar (#33498)
- Make ROOT_URL support using request Host header (#32564)
- Add
show more
organizations icon in user's profile (#32986) - Introduce
--page-space-bottom
at 64px (#30692) - Improve theme display (#30671)
- Add alphabetical project sorting (#33504)
- Add global lock for migrations to make upgrade more safe with multiple replications (#33706)
- Add descriptions for private repo public access settings and improve the UI (#34057)
-
-
API
- Actions Runner rest api (#33873)
- Inclusion of rename organization api (#33303)
- Add API to support link package to repository and unlink it (#33481)
- Add API endpoint to request contents of multiple files simultaniously (#34139)
- Actions artifacts API list/download check status upload confirmed (#34273)
- Add API routes to lock and unlock issues (#34165)
- Fix some user name usages (#33689)
- Allow filtering /repos/{owner}/{repo}/pulls by target base branch queryparam (#33684)
- Improve swagger generation (#33664)
- Support Ephemeral action runners (#33570)
- Support workflow event dispatch via API (#33545)
- Support workflow event dispatch via API (#32059)
- Added Description Field for Secrets and Variables (#33526)
- Reject star-related requests if stars are disabled (#33208)
- Let API create and edit system webhooks, attempt 2 (#33180)
- Use
Project-URL
metadata field to get a PyPI package's homepage URL (#33089) - Add
last_committer_date
andlast_author_date
for file contents API (#32921)
-
REFACTORS
- Remove context from git struct (#33793)
- Refactor admin/common.ts (#33788)
- Refactor repo-settings.ts (#33785)
- Refactor repo-issue.ts (#33784)
- Small refactor to reduce unnecessary database queries and remove duplicated functions (#33779)
- Refactor initRepoBranchTagSelector to use new init framework (#33776)
- Refactor buttons to use new init framework (#33774)
- Refactor markup and pdf-viewer to use new init framework (#33772)
- Refactor error system (#33771)
- Refactor mail code (#33768)
- Update TypeScript types (#33799)
- Refactor older tests to use testify (#33140)
- Move notifywatch to service layer (#33825)
- Decouple context from repository related structs (#33823)
- Remove context from mail struct (#33811)
- Refactor dropdown ellipsis (#34123)
- Refactor functions to reduce repopath expose (#33892)
- Refactor repo-diff.ts (#33746)
- Refactor web route handler (#33488)
- Refactor user & avatar (#33433)
- Refactor user package (#33423)
- Refactor decouple context from migration structs (#33399)
- Refactor context flash msg and global variables (#33375)
- Refactor response writer & access logger (#33323)
- Refactor ref type (#33242)
- Refactor context repository (#33202)
- Refactor legacy JS (#33115)
- Refactor legacy line-number and scroll code (#33094)
- Refactor env var related code (#33075)
- Move SetMerged to service layer (#33045)
- Merge updatecommentattachment functions (#33044)
- Refactor pull-request compare&create page (#33071)
- Refactor repo-new.ts (#33070)
- Refactor pagination (#33037)
- Refactor tests (#33021)
- Refactor markup render to fix various path problems (#34114)
- Refactor Branch struct in package modules/git (#33980)
- Don't create duplicated functions for code repositories and wiki repositories (#33924)
- Move git references checking to gitrepo packages to reduce expose of repository path (#33891)
- Refactor cache-control (#33861)
- Decouple diff stats query from actual diffing (#33810)
- Move part of updating protected branch logic to service layer (#33742)
- Decouple Batch from git.Repository to simplify usage without requiring the creation of a Repository struct. (#34001)
- Refactor tmpl and blob_excerpt (#32967)
- Refactor template & test related code (#32938)
- Refactor db package and remove unnecessary
DumpTables
(#32930) - Refactor pprof labels and process desc (#32909)
- Refactor repo-projects.ts (#32892)
- Refactor getpatch/getdiff functions and remove unnecessary fallback (#32817)
- Uniform all temporary directories and allow customizing temp path (#32352)
- Remove context from retry downloader (#33871)
- Refactor global init code and add more comments (#33755)
- Remove some unnecessary template helpers (#33069)
- Move and rename UpdateRepository (#34136)
- Move hooks function to gitrepo and reduce expose repopath (#33890)
- Add abstraction layer to delete repository from disk (#33879)
- Add abstraction layer to check if the repository exists on disk (#33874)
- Move ParseCommitWithSSHSignature to service layer (#34087)
- Move duplicated functions (#33977)
- Extract code to their own functions for push update (#33944)
- Move gitgraph from modules to services layer (#33527)
...
v1.23.8
-
SECURITY
-
BUGFIXES
- Fix releases sidebar navigation link (#34436) #34439
- Fix bug webhook milestone is not right. (#34419) #34429
- Fix two missed null value checks on the wiki page. (#34205) (#34215)
- Swift files can be passed either as file or as form value (#34068) (#34236)
- Fix bug when API get pull changed files for deleted head repository (#34333) (#34368)
- Upgrade github v61 -> v71 to fix migrating bug (#34389)
- Fix bug when visiting comparation page (#34334) (#34364)
- Fix wrong review requests when updating the pull request (#34286) (#34304)
- Fix github migration error when using multiple tokens (#34144) (#34302)
- Explicitly not update indexes when sync database schemas (#34281) (#34295)
- Fix panic when comment is nil (#34257) (#34277)
- Fix project board links to related Pull Requests (#34213) (#34222)
- Don't assume the default wiki branch is master in the wiki API (#34244) (#34245)
-
DOCUMENTATION
-
MISC
Instances on Gitea Cloud will be automatically upgraded to this version during the specified maintenance window.
v1.24.0-rc0
-
BREAKING
-
FEATURES
- Enforce two-factor auth (2FA: TOTP or WebAuthn) (#34187)
- Add fullscreen mode as a more efficient operation way to view projects (#34081)
- Add anonymous access support for private/unlisted repositories (#34051)
- Support public code/issue access for private repositories (#33127)
- Add middleware for request prioritization (#33951)
- Add cli flags LDAP group configuration (#33933)
- Add file tree to file view page (#32721)
- Add material icons for file list (#33837)
- Artifacts download api for artifact actions v4 (#33510)
- Support choose email when creating a commit via web UI (#33432)
- Add basic auth support to rss/atom feeds (#33371)
- Add sorting by exclusive labels (issue priority) (#33206)
- Add sub issue list support (#32940)
- Private README.md for organization (#32872)
- Email option to embed images as base64 instead of link (#32061)
- Option to delay conflict checking of old pull requests until page view (#27779)
- Worktime tracking for the organization level (#19808)
-
PERFORMANCE
- Add cache for common package queries (#22491)
- Move issue pin to an standalone table for querying performance (#33452)
- Improve commits list performance to reduce unnecessary database queries (#33528)
- Optimize total count of feed when loading activities in user dashboard. (#33841)
- Optimize heatmap query (#33853)
- Only use prev and next buttons for pagination on user dashboard (#33981)
- Improve pull request list API performance (#34052)
- Cache GPG keys, emails and users when list commits (#34086)
- Refactor Git Attribute & performance optimization (#34154)
-
ENHANCEMENTS
-
Code
- Display when a release attachment was uploaded (#34261)
- Support creating relative link to raw path in markdown (#34105)
- Improve code block readability and isolate copy button (#34009)
- Improve repository commit view (#33877)
- Full-file syntax highlighting for diff pages (#33766)
- Clone repository with Tea CLI (#33725)
- Improve sync fork behavior (#33319)
- Make git clone URL could use current signed-in user (#33091)
- Add submodule diff links (#33097)
- Link to tree views of submodules if possible (#33424)
- Only keep popular licenses (#33832)
- De-emphasize signed commits (#31160)
-
Actions
- Add flat-square action badge style (#34062)
- Update action status badge layout (#34018)
- Download actions job logs from API (#33858)
- Always show the "rerun" button for action jobs (#33692)
- Add auto-expanding running actions step (#30058)
- Update status check for all supported on.pull_request.types in Gitea (#33117)
- Workflow_dispatch use workflow from trigger branch (#33098)
- Add action auto-scroll (#30057)
- Add workflow_job webhook (#33694)
-
Pull Request
-
Issues
-
Packages
-
Administration
- Improve navbar: add "admin" tip, add "active" style (#32927)
- Add a option "--user-type bot" to admin user create, improve role display (#27885)
- Improve admin user view page (#33735)
- Support performance trace (#32973)
- Change pprof labels to be prometheus compatible (#32865)
- Allow admins and org owners to change org member public status (#28294)
- Optimize the installation page (#32994)
- Make public URL generation configurable (#34250)
- Add a --fullname arg to gitea admin user create. (#34241)
-
Others
- Improve oauth2 error handling (#33969)
- Fail mirroring more gracefully (#34002)
- Align User Details Page Header Layout with Design Specifications (#34192)
- Webhook add X-Gitea-Hook-Installation-Target-Type Header (#33752)
- Optimize the dashboard (#32990)
- Improve button layout on small screens (#33633)
- Add cropping support when modifying the user/org/repo avatar (#33498)
- Make ROOT_URL support using request Host header (#32564)
- Add
show more
organizations icon in user's profile (#32986) - Introduce
--page-space-bottom
at 64px (#30692) - Improve theme display (#30671)
- Add alphabetical project sorting (#33504)
- Add global lock for migrations to make upgrade more safe with multiple replications (#33706)
- Add descriptions for private repo public access settings and improve the UI (#34057)
-
-
API
- Actions Runner rest api (#33873)
- Inclusion of rename organization api (#33303)
- Add API to support link package to repository and unlink it (#33481)
- Add API endpoint to request contents of multiple files simultaniously (#34139)
- Actions artifacts API list/download check status upload confirmed (#34273)
- Add API routes to lock and unlock issues (#34165)
- Fix some user name usages (#33689)
- Allow filtering /repos/{owner}/{repo}/pulls by target base branch queryparam (#33684)
- Improve swagger generation (#33664)
- Support Ephemeral action runners (#33570)
- Support workflow event dispatch via API (#33545)
- Support workflow event dispatch via API (#32059)
- Added Description Field for Secrets and Variables (#33526)
- Reject star-related requests if stars are disabled (#33208)
- Let API create and edit system webhooks, attempt 2 (#33180)
- Use
Project-URL
metadata field to get a PyPI package's homepage URL (#33089) - Add
last_committer_date
andlast_author_date
for file contents API (#32921)
-
REFACTORS
- Remove context from git struct (#33793)
- Refactor admin/common.ts (#33788)
- Refactor repo-settings.ts (#33785)
- Refactor repo-issue.ts (#33784)
- Small refactor to reduce unnecessary database queries and remove duplicated functions (#33779)
- Refactor initRepoBranchTagSelector to use new init framework (#33776)
- Refactor buttons to use new init framework (#33774)
- Refactor markup and pdf-viewer to use new init framework (#33772)
- Refactor error system (#33771)
- Refactor mail code (#33768)
- Update TypeScript types (#33799)
- Refactor older tests to use testify (#33140)
- Move notifywatch to service layer (#33825)
- Decouple context from repository related structs (#33823)
- Remove context from mail struct (#33811)
- Refactor dropdown ellipsis (#34123)
- Refactor functions to reduce repopath expose (#33892)
- Refactor repo-diff.ts (#33746)
- Refactor web route handler (#33488)
- Refactor user & avatar (#33433)
- Refactor user package (#33423)
- Refactor decouple context from migration structs (#33399)
- Refactor context flash msg and global variables (#33375)
- Refactor response writer & access logger (#33323)
- Refactor ref type (#33242)
- Refactor context repository (#33202)
- Refactor legacy JS (#33115)
- Refactor legacy line-number and scroll code (#33094)
- Refactor env var related code (#33075)
- Move SetMerged to service layer (#33045)
- Merge updatecommentattachment functions (#33044)
- Refactor pull-request compare&create page (#33071)
- Refactor repo-new.ts (#33070)
- Refactor pagination (#33037)
- Refactor tests (#33021)
- Refactor markup render to fix various path problems (#34114)
- Refactor Branch struct in package modules/git (#33980)
- Don't create duplicated functions for code repositories and wiki repositories (#33924)
- Move git references checking to gitrepo packages to reduce expose of repository path (#33891)
- Refactor cache-control (#33861)
- Decouple diff stats query from actual diffing (#33810)
- Move part of updating protected branch logic to service layer (#33742)
- Decouple Batch from git.Repository to simplify usage without requiring the creation of a Repository struct. (#34001)
- Refactor tmpl and blob_excerpt (#32967)
- Refactor template & test related code (#32938)
- Refactor db package and remove unnecessary
DumpTables
(#32930) - Refactor pprof labels and process desc (#32909)
- Refactor repo-projects.ts (#32892)
- Refactor getpatch/getdiff functions and remove unnecessary fallback (#32817)
- Uniform all temporary directories and allow customizing temp path (#32352)
- Remove context from retry downloader (#33871)
- Refactor global init code and add more comments (#33755)
- Remove some unnecessary template helpers (#33069)
- Move and rename UpdateRepository (#34136)
- Move hooks function to gitrepo and reduce expose repopath (#33890)
- Add abstraction layer to delete repository from disk (#33879)
- Add abstraction layer to check if the repository exists on disk (#33874)
- Move ParseCommitWithSSHSignature to service layer (#34087)
- Move duplicated functions (#33977)
- Extract code to their own functions for push update (#33944)
- Move gitgraph from modules to services layer (#33527)
- Move commits signature and verify functions to service layers (#33605)
- Use
CloseIssue
andReopenIssue
instead ofChangeStatus
(#32467) - Refactor arch route handlers (#32993)
- Refactor "stri...
v1.23.7
- SECURITY
- Compile with Go 1.23.8
- Enhancements
- BUGFIXES
- Fix discord webhook 400 status code when description limit is exceeded (#34084) (#34124)
- Get changed files based on merge base when checking
pull_request
actions trigger (#34106) (#34120) - Fix invalid version in RPM package path (#34112) (#34115)
- Return default avatar url when user id is zero rather than updating database (#34094) (#34095)
- Add additional ReplaceAll in pathsep to cater for different pathsep (#34061) (#34070)
- Try to fix check-attr bug (#34029) (#34033)
- Git client will follow 301 but 307 (#34005) (#34010)
- Fix block expensive for 1.23 (#34127)
- Fix markdown frontmatter rendering (#34102) (#34107)
- Add new CLI flags to set name and scopes when creating a user with access token (#34080) (#34103)
- Do not show 500 error when default branch doesn't exist (#34096) (#34097)
- Hide activity contributors, recent commits and code frequrency left tabs if there is no code permission (#34053) (#34065)
- Simplify emoji rendering (#34048) (#34049)
- Adjust the layout of the toolbar on the Issues/Projects page (#33667) (#34047)
- Pull request updates will also trigger code owners review requests (#33744) (#34045)
- Fix org repo creation being limited by user limits (#34030) (#34044)
- Fix git client accessing renamed repo (#34034) (#34043)
- Fix the issue with error message logging for the
check-attr
command on Windows OS. (#34035) (#34036) - Polyfill WeakRef (#34025) (#34028)
Instances on Gitea Cloud will be automatically upgraded to this version during the specified maintenance window.
v1.23.6
- SECURITY
- BUGFIXES
- Drop timeout for requests made to the internal hook api (#33947) (#33970)
- Fix maven panic when no package exists (#33888) (#33889)
- Fix markdown render (#33870) (#33875)
- Fix auto concurrency cancellation skips commit status updates (#33764) (#33849)
- Fix oauth2 auth (#33961) (#33962)
- Fix incorrect 1.23 translations (#33932)
- Try to figure out attribute checker problem (#33901) (#33902)
- Ignore trivial errors when updating push data (#33864) (#33887)
- Fix some UI problems for 1.23 (#33856)
- Removing unwanted ui container (#33833) (#33835)
- Support disable passkey auth (#33348) (#33819)
- Do not call "git diff" when listing PRs (#33817)
- Try to fix ACME (3rd) (#33807) (#33808)
- Fix incorrect code search indexer options (#33992) #33999
Instances on Gitea Cloud will be automatically upgraded to this version during the specified maintenance window.
v1.23.5
-
SECURITY
-
PERFORMANCE
-
BUGFIXES
- Fix navbar dropdown item align (#33782)
- Fix inconsistent closed issue list icon (#33722) (#33728)
- Fix for Maven Package Naming Convention Handling (#33678) (#33679)
- Improve Open-with URL encoding (#33666) (#33680)
- Deleting repository should unlink all related packages (#33653) (#33673)
- Fix omitempty bug (#33663) (#33670)
- Upgrade go-crypto from 1.1.4 to 1.1.6 (#33745) (#33754)
- Fix OCI image.version annotation for releases to use full semver (#33698) (#33701)
- Try to fix ACME path when renew (#33668) (#33693)
- Fix mCaptcha bug (#33659) (#33661)
- Git graph: don't show detached commits (#33645) (#33650)
- Use MatchPhraseQuery for bleve code search (#33628)
- Adjust appearence of commit status webhook (#33778) #33789
- Upgrade golang net from 0.35.0 -> 0.36.0 (#33795) #33796
Instances on Gitea Cloud will be automatically upgraded to this version during the specified maintenance window.
v1.23.4
- SECURITY
- PERFORMANCES
- BUGFIXES
- Add a transaction to
pickTask
(#33543) (#33563) - Fix mirror bug (#33597) (#33607)
- Use default Git timeout when checking repo health (#33593) (#33598)
- Fix PR's target branch dropdown (#33589) (#33591)
- Fix various problems (artifact order, api empty slice, assignee check, fuzzy prompt, mirror proxy, adopt git) (#33569) (#33577)
- Rework suggestion backend (#33538) (#33546)
- Fix context usage (#33554) (#33557)
- Only show the latest version in the Arch index (#33262) (#33580)
- Skip deletion error for action artifacts (#33476) (#33568)
- Make actions URL in commit status webhooks absolute (#33620) #33632
- Add missing locale (#33641) #33642
- Add a transaction to
Instances on Gitea Cloud will be automatically upgraded to this version during the specified maintenance window.
v1.23.3
v1.23.2
- BREAKING
- ENHANCEMENTS
- BUGFIXES
- Fix code button alignment (#33345) (#33351)
- Correct bot label
vertical-align
(#33477) (#33480) - Fix SSH LFS memory usage (#33455) (#33460)
- Fix issue sidebar dropdown keyboard support (#33447) (#33450)
- Fix user avatar (#33439)
- Fix
GetCommitBranchStart
bug (#33298) (#33421) - Add pubdate for repository rss and add some tests (#33411) (#33416)
- Add missed auto merge feed message on dashboard (#33309) (#33405)
- Fix issue suggestion bug (#33389) (#33391)
- Make issue suggestion work for all editors (#33340) (#33342)
- Fix issue count (#33338) (#33341)
- Fix Account linking page (#33325) (#33327)
- Fix closed dependency title (#33285) (#33287)
- Fix sidebar milestone link (#33269) (#33272)
- Fix missing license when sync mirror (#33255) (#33258)
- Fix upload file form (#33230) (#33233)
- Fix mirror bug (#33224) (#33225)
- Fix system admin cannot fork or get private fork with API (#33401) (#33417)
- Fix push message behavior (#33215) (#33317)
- Trivial fixes (#33304) (#33312)
- Fix "stop time tracking button" on navbar (#33084) (#33300)
- Fix tag route and empty repo (#33253)
- Fix cache test triggered by non memory cache (#33220) (#33221)
- Revert empty lfs ref name (#33454) (#33457)
- Fix flex width (#33414) (#33418)
- Fix commit status events (#33320) #33493
- Fix unnecessary comment when moving issue on the same project column (#33496) #33499
- Add timetzdata build tag to binary releases (#33463) #33503
- MISC
Instances on Gitea Cloud will be automatically upgraded to this version during the specified maintenance window.
v1.23.1
- ENHANCEMENTS
- BUGFIXES
- Use updated path to s6-svscan after alpine upgrade (#33185) (#33188)
- Fix fuzz test (#33156) (#33158)
- Fix raw file API ref handling (#33172) (#33189)
- Fix ACME panic (#33178) (#33186)
- Fix branch dropdown not display ref name (#33159) (#33183)
- Fix assignee list overlapping in Issue sidebar (#33176) (#33181)
- Fix sync fork for consistency (#33147) (#33192)
- Fix editor markdown not incrementing in a numbered list (#33187) (#33193)
Instances on Gitea Cloud will be automatically upgraded to this version during the specified maintenance window.