Skip to content

Releases: go-gitea/gitea

v1.25.0-rc0

25 Sep 19:51
v1.25.0-rc0
94a6da3
Compare
Choose a tag to compare
v1.25.0-rc0 Pre-release
Pre-release
  • BREAKING
    • Return 201 Created for CreateVariable API responses (#34517)
    • Add label 'state' to metric 'gitea_users' (#34326)
  • SECURITY
    • Upgrade security public key (#34956)
  • FEATURES
    • Stream repo zip/tar.gz/bundle achives by default (#35487)
    • Use configurable remote name for git commands (#35172)
    • Send email on Workflow Run Success/Failure (#34982)
    • Refactor OpenIDConnect to support SSH/FullName sync (#34978)
    • Refactor repo contents API and add "contents-ext" API (#34822)
    • Add support for 3D/CAD file formats preview (#34794)
    • Improve instance wide ssh commit signing (#34341)
    • Edit file workflow for creating a fork and proposing changes (#34240)
    • Follow file symlinks in the UI to their target (#28835)
    • Allow renaming/moving binary/LFS files in the UI (#34350)
  • PERFORMANCE
    • Improve the performance when detecting the file editable (#34653)
  • ENHANCEMENTS
    • Enable more markdown paste features in textarea editor (#35494)
    • Don't store repo archives on gitea dump (#35467)
    • Always return the relevant status information, even if no status exists. (#35335)
    • Add start time on perf trace because it seems some steps haven't been recorded. (#35282)
    • Remove deprecated auth sources (#35272)
    • When sorting issues by nearest due date, issues without due date should be sorted ascending (#35267)
    • Disable field count validation of CSV viewer (#35228)
    • Add has_code to repository REST API (#35214)
    • Display pull request in merged commit view (#35202)
    • Support Basic Authentication for archive downloads (#35087)
    • Add hover background to table rows in user and repo admin page (#35072)
    • Partially refresh notifications list (#35010)
    • Also display "recently pushed branch" alert on PR view (#35001)
    • Refactor time tracker UI (#34983)
    • Improve CLI commands (#34973)
    • Improve project & label color picker and image scroll (#34971)
    • Improve NuGet API Parity (#21291) (#34940)
    • Support getting last commit message using contents-ext API (#34904)
    • Adds title on branch commit counts (#34869)
    • Add "Cancel workflow run" button to Actions list page (#34817)
    • Improve img lazy loading (#34804)
    • Forks repository list page follow other repositories page (#34784)
    • Add ff_only parameter to POST /repos/{owner}/{repo}/merge-upstream (#34770)
    • Rework delete org and rename org UI (#34762)
    • Improve nuget/rubygems package registries (#34741)
    • Add repo file tree item link behavior (#34730)
    • Add issue delete notifier (#34592)
    • Improve Actions list (#34530)
    • Add a default tab on repo header when migrating (#34503)
    • Add post-installation redirect based on admin account status (#34493)
    • Trigger 'unlabeled' event when label is Deleted from PR (#34316)
    • Support annotated tags when using create release API (#31840)
    • Use lfs label for lfs file rather than a long description (#34363)
    • Add "View workflow file" to Actions list page (#34538)
    • Move organization's visibility change to danger zone. (#34814)
  • BUGFIXES
    • Fix different behavior in status check pattern matching with double stars (#35474)
    • Fix overflow in notifications list (#35446)
    • Fix package link setting can only list limited repositories (#35394)
    • Extend comment treepath length (#35389)
    • Fix font-size in inline code comment preview (#35209)
    • Move git config/remote to gitrepo package and add global lock to resolve possible conflict when updating repository git config file (#35151)
    • Change some columns from text to longtext and fix column wrong type caused by xorm (#35141)
    • Redirect to a presigned URL of HEAD for HEAD requests (#35088)
    • Fix git commit committer parsing and add some tests (#35007)
    • Fix OCI manifest parser (#34797)
    • Refactor FindOrgOptions to use enum instead of bool, fix membership visibility (#34629)
    • Fix notification count positioning for variable-width elements (#34597)
    • Keeping consistent between UI and API about combined commit status state and fix some bugs (#34562)
    • Fix possible panic (#34508)
    • Fix autofocus behavior (#34397)
    • Fix Actions API (#35204)
    • Fix ListWorkflowRuns OpenAPI response model. (#35026)
    • Small fix in Pull Requests page (#34612)
    • Fix http auth header parsing (#34936)
    • Fix modal + form abuse (#34921)
    • Fix PR toggle WIP (#34920)
    • Fix log fmt (#34810)
    • Replace stopwatch toggle with explicit start/stop actions (#34818)
    • Fix some package registry problems (#34759)
    • Fix RPM package download routing & missing package version count (#34909)
    • Fix repo search input height (#34330)
    • Fix "The sidebar of the repository file list does not have a fixed height #34298" (#34321)
    • Fix minor typos in two files #HSFDPMUW (#34944)
    • Fix actions skipped commit status indicator (#34507)
    • Fix job status aggregation logic (#35000)
    • Fix broken OneDev migration caused by various REST API changes in OneDev 7.8.0 and later (#35216)
    • Fix typo in oauth2_full_name_claim_name string (#35199)
    • Fix typo in locale_en-US.ini (#35196)
  • API
    • Exposing TimeEstimate field in the API (#35475)
    • UpdateBranch API supports renaming a branch (#35374)
    • Add owner and parent fields clarification to docs (#35023)
    • Improve OAuth2 provider (correct Issuer, respect ENABLED) (#34966)
    • Add a login/login-name/username disambiguation to affected endpoint parameters and response/request models (#34901)
    • Do not mutate incoming options to SearchRepositoryByName (#34553)
    • Do not mutate incoming options to RenderUserSearch and SearchUsers (#34544)
    • Export repo's manual merge settings (#34502)
    • Add date range filtering to commit retrieval endpoints (#34497)
    • Add endpoint deleting workflow run (#34337)
    • Add workflow_run api + webhook (#33964)
  • REFACTOR
    • Move updateref and removeref to gitrepo and remove unnecessary open repository (#35511)
    • Remove unused param doer (#34545)
    • Split GetLatestCommitStatus as two functions (#34535)
    • Use gitrepo.SetDefaultBranch when set default branch of wiki repository (#33911)
    • Refactor editor (#34780)
    • Refactor packages (#34777)
    • Refactor container package (#34877)
    • Refactor "change file" API (#34855)
    • Rename pull request GetGitRefName to GetGitHeadRefName to prepare introducing GetGitMergeRefName (#35093)
    • Move git command to git/gitcmd (#35483)
    • Use db.WithTx/WithTx2 instead of TxContext when possible (#35428)
    • Support Node.js 22.6 with type stripping (#35427)
    • Migrate tools and configs to typescript, require node.js >= 22.18.0 (#35421)
    • Check user and repo for redirects when using git via SSH transport (#35416)
    • Remove the duplicated function GetTags (#35375)
    • Refactor to use reflect.TypeFor (#35370)
    • Deleting branch could delete broken branch which has database record but git branch is missing (#35360)
    • Exit with success when already up to date (#35312)
    • Split admin config settings templates to make it maintain easier (#35294)
    • A small refactor to use context in the service layer (#35179)
    • Refactor and update mail templates (#35150)
    • Use db.WithTx/WithTx2 instead of TxContext when possible (#35130)
    • Align issue-title-buttons with list-header (#35018)
    • Add Notifications section in User Settings (#35008)
    • Tweak placement of diff file menu (#34999)
    • Refactor mail template and support preview (#34990)
    • Rerun job only when run is done (#34970)
    • Merge index.js (#34963)
    • Refactor "delete-button" to "link-action" (#34962)
    • Refactor webhook and fix feishu/lark secret (#34961)
    • Exclude devtest.ts from tailwindcss (#34935)
    • Refactor head navbar icons (#34922)
    • Improve html escape (#34911)
    • Improve tags list page (#34898)
    • Improve labels-list rendering (#34846)
    • Remove unused variable HUGO_VERSION (#34840)
    • Correct migration tab name (#34826)
    • Refactor template helper (#34819)
    • Use shallowRef instead of ref in .vue files where possible (#34813)
    • Use standalone function to update repository cols (#34811)
    • Refactor wiki (#34805)
    • Remove unnecessary duplicate code (#34733)
    • Refactor embedded assets and drop unnecessary dependencies (#34692)
    • Update x/crypto package and make builtin SSH use default parameters (#34667)
    • Add --color-logo, matching the logo's primary color (#34639)
    • Add openssh-keygen to rootless image (#34625)
    • Replace update repository function in some places (#34566)
    • Change "rejected" to "changes requested" in 3rd party PR review notification (#34481)
    • Remove legacy template helper functions (#34426)
    • Use run-name and evaluate workflow variables (#34301)
    • Move HasWiki to repository service package (#33912)
    • Move some functions from package git to gitrepo (#33910)
  • TESTING
    • Add webhook test for push event (#34442)
    • Add a webhook push test for dev branch (#34421)
    • Add migrations tests (#34456) (#34498)
  • STYLE
    • Enforce explanation for necessary nolints and fix bugs (#34883)
    • Fix remaining issues after gopls modernize formatting (#34771)
    • Update gofumpt, add go.mod ignore directive (#35434)
    • Enforce nolint scope (#34851)
    • Enable gocritic equalFold and fix issues (#34952)
    • Run gopls modernize on codebase (#34751)
    • Upgrade gopls to v0.19.0, add make fix (#34772)
  • BUILD
    • Use github.com/mholt/archives replace github.com/mholt/archiver (#35390)
    • Update JS and PY dependencies (#35444)
    • Upgrade devcontainer go version to 1.24.6 (#35298)
    • Upgrade golang to 1.25.1 and add descriptions for the swagger structs' fields (#35418)
    • Update JS and PY deps (#35191)
    • Update JS and PY dependencies (#34391)
    • Update go tool dependencies (#34845)
    • Update uint8-to-base64, remove type stub (#34844)
    • Switch to @resvg/resvg-wasm...
Read more

v1.24.6

11 Sep 04:20
v1.24.6
08c6ea6
Compare
Choose a tag to compare
  • SECURITY
    • Upgrade xz to v0.5.15 (#35385)
  • BUGFIXES
    • Fix a compare page 404 bug when the pull request disabled (#35441) (#35453)
    • Fix bug when issue disabled, pull request number in the commit message cannot be redirected (#35420) (#35442)
    • Add author.name field to Swift Package Registry API response (#35410) (#35431)
    • Remove usernames when empty in discord webhook (#35412) (#35417)
    • Allow foreachref parser to grow its buffer (#35365) (#35376)
    • Allow deleting comment with content via API like web did (#35346) (#35354)
    • Fix atom/rss mixed error (#35345) (#35347)
    • Fix review request webhook bug (#35339)
    • Remove duplicate html IDs (#35210) (#35325)
    • Fix LFS range size header response (#35277) (#35293)
    • Fix GitHub release assets URL validation (#35287) (#35290)
    • Fix token lifetime, closes #35230 (#35271) (#35281)
    • Fix push commits comments when changing the pull request target branch (#35386) (#35443)

Instances on Gitea Cloud will be automatically upgraded to this version during the specified maintenance window.

v1.24.5

13 Aug 16:35
v1.24.5
136ec9e
Compare
Choose a tag to compare
  • BUGFIXES
    • Fix a bug where lfs gc never worked. (#35198) (#35255)
    • Reload issue when sending webhook to make num comments is right. (#35243) (#35248)
    • Fix bug when review pull request commits (#35192) (#35246)
  • MISC

Instances on Gitea Cloud will be automatically upgraded to this version during the specified maintenance window.

v1.24.4

04 Aug 18:58
v1.24.4
d49feab
Compare
Choose a tag to compare
  • BUGFIXES
    • Fix various bugs (1.24) (#35186)
    • Fix migrate input box bug (#35166) (#35171)
    • Only hide dropzone when no files have been uploaded (#35156) (#35167)
    • Fix review comment/dimiss comment x reference can be refereced back (#35094) (#35099)
    • Fix submodule nil check (#35096) (#35098)
  • MISC
    • Don't use full-file highlight when there is a git diff textconv (#35114) (#35119)
    • Increase gap on latest commit (#35104) (#35113)

Instances on Gitea Cloud will be automatically upgraded to this version during the specified maintenance window.

v1.24.3

15 Jul 04:56
v1.24.3
486d274
Compare
Choose a tag to compare
  • BUGFIXES
    • Fix form property assignment edge case (#35073) (#35078)
    • Improve submodule relative path handling (#35056) (#35075)
    • Fix incorrect comment diff hunk parsing, fix github asset ID nil panic (#35046) (#35055)
    • Fix updating user visibility (#35036) (#35044)
    • Support base64-encoded agit push options (#35037) (#35041)
    • Make submodule link work with relative path (#35034) (#35038)
    • Fix bug when displaying git user avatar in commits list (#35006)
    • Fix API response for swagger spec (#35029)
    • Start automerge check again after the conflict check and the schedule (#34988) (#35002)
    • Fix the response format for actions/workflows (#35009) (#35016)
    • Fix repo settings and protocol log problems (#35012) (#35013)
    • Fix project images scroll (#34971) (#34972)
    • Mark old reviews as stale on agit pr updates (#34933) (#34965)
    • Fix git graph page (#34948) (#34949)
    • Don't send trigger for a pending review's comment create/update/delete (#34928) (#34939)
    • Fix some log and UI problems (#34863) (#34868)
    • Fix archive API (#34853) (#34857)
    • Ignore force pushes for changed files in a PR review (#34837) (#34843)
    • Fix SSH LFS timeout (#34838) (#34842)
    • Fix team permissions (#34827) (#34836)
    • Fix job status aggregation logic (#34823) (#34835)
    • Fix issue filter (#34914) (#34915)
    • Fix typo in pull request merge warning message text (#34899) (#34903)
    • Support the open-icon of folder (#34168) (#34896)
    • Optimize flex layout of release attachment area (#34885) (#34886)
    • Fix the issue of abnormal interface when there is no issue-item on the project page (#34791) (#34880)
    • Skip updating timestamp when sync branch (#34875)
    • Fix required contexts and commit status matching bug (#34815) (#34829)

Instances on Gitea Cloud will be automatically upgraded to this version during the specified maintenance window.

v1.24.2

20 Jun 20:37
v1.24.2
acd4e10
Compare
Choose a tag to compare

This is a quick release to resolve docker images push bug

Instances on Gitea Cloud will be automatically upgraded to this version during the specified maintenance window.

v1.24.1

19 Jun 19:38
v1.24.1
cdbbdbe
Compare
Choose a tag to compare
  • ENHANCEMENTS

    • Improve alignment of commit status icon on commit page (#34750) (#34757)
    • Support title and body query parameters for new PRs (#34537) (#34752)
  • BUGFIXES

    • When using rules to delete packages, remove unclean bugs (#34632) (#34761)
    • Fix ghost user in feeds when pushing in an actions, it should be gitea-actions (#34703) (#34756)
    • Prevent double markdown link brackets when pasting URL (#34745) (#34748)
    • Prevent duplicate form submissions when creating forks (#34714) (#34735)
    • Fix markdown wrap (#34697) (#34702)
    • Fix pull requests API convert panic when head repository is deleted. (#34685) (#34687)
    • Fix commit message rendering and some UI problems (#34680) (#34683)
    • Fix container range bug (#34725) (#34732)
    • Fix incorrect cli default values (#34765) (#34766)
    • Fix dropdown filter (#34708) (#34711)
    • Hide href attribute of a tag if there is no target_url (#34556) (#34684)
    • Fix tag target (#34781) #34783

Instances on Gitea Cloud will be automatically upgraded to this version during the specified maintenance window.

v1.24.0

10 Jun 02:00
v1.24.0
7ed1e89
Compare
Choose a tag to compare
  • BREAKING

    • Make Gitea always use its internal config, ignore /etc/gitconfig (#33076)
    • Improve log format (#33814)
    • Fix markdown render behaviors (#34122)
    • Add package version api endpoints (#34173)
  • 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

      • Auto expand "New PR" form (#33971)
      • Mark parent directory as viewed when all files are viewed (#33958)
      • Show info about maintainers are allowed to edit a PR (#33738)
      • Automerge supports deleting branch automatically after merging (#32343)
      • Add additional command hints for PowerShell & CMD (#33548)
    • 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

      • Link to nuget dependencies (#26554)
      • Add composor source field (#33502)
    • 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 and last_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)
      ...
Read more

v1.23.8

12 May 22:40
v1.23.8
cccd549
Compare
Choose a tag to compare
  • 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

    • Update token creation API swagger documentation (#34288) (#34296)
  • MISC

Instances on Gitea Cloud will be automatically upgraded to this version during the specified maintenance window.

v1.24.0-rc0

30 Apr 04:14
v1.24.0-rc0
a12b5b3
Compare
Choose a tag to compare
v1.24.0-rc0 Pre-release
Pre-release
  • BREAKING

    • Make Gitea always use its internal config, ignore /etc/gitconfig (#33076)
    • Improve log format (#33814)
    • Fix markdown render behaviors (#34122)
    • Add package version api endpoints (#34173)
  • 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

      • Auto expand "New PR" form (#33971)
      • Mark parent directory as viewed when all files are viewed (#33958)
      • Show info about maintainers are allowed to edit a PR (#33738)
      • Automerge supports deleting branch automatically after merging (#32343)
      • Add additional command hints for PowerShell & CMD (#33548)
    • 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)
    • Packages

      • Link to nuget dependencies (#26554)
      • Add composor source field (#33502)
    • 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 and last_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 and ReopenIssue instead of ChangeStatus (#32467)
    • Refactor arch route handlers (#32993)
    • Refactor "stri...
Read more