All notable changes to Gogs are documented in this file.
- Markdown supports GitHub alerts (
> [!NOTE],> [!TIP],> [!IMPORTANT],> [!WARNING]and> [!CAUTION]) and footnotes. #8519 - Headings in rendered Markdown have stable ids like GitHub's, e.g.,
user-content-getting-started, so links to sections also work in API output and outside the web interface. #8519 - Markdown renders
<kbd>keys as keycaps, like GitHub, e.g.,<kbd>Ctrl</kbd>+<kbd>C</kbd>. #8598 - Markdown renders emoji shortcodes as emoji, e.g.,
:tada:as 🎉, and Markdown editors suggest them as you type, e.g.,:talists 🎉 tada. #8600 #8601 - Markdown editors suggest people to mention and issues or pull requests to reference as you type, e.g.,
@allists@aliceand#12or#loginlists the matching issues. #8610 - Task list items in Markdown show their checkbox in place of the list bullet, as on GitHub. #8519
- Git protocol v2 for clones and fetches over HTTP and SSH. With your own OpenSSH server, add
AcceptEnv GIT_PROTOCOLtosshd_configto enable it over SSH. #8485 - Tracing of HTTP requests and Git operations, exported over OTLP when
OTEL_EXPORTER_OTLP_ENDPOINTis set. #8487 - Repositories with SHA-256 object IDs, chosen when creating a repository or with
object_formatin the API. #8496 - Issue templates, issue forms and pull request templates in the same formats as on GitHub, read from the repository root,
.gogsor.github, e.g.,.github/ISSUE_TEMPLATE/bug.ymland.github/pull_request_template.md. Opening an issue offers a template chooser when the repository has templates. #8588 - Passkeys. Users add them on the security settings page and then sign in without a password or a two-factor passcode. The sign-in page asks for a passkey first, and offers to try again or to sign in with a password after three failed attempts, a timeout, or a cancelled prompt. #8512
- The repository branches page has Overview, Yours, Active, Stale and All tabs, and a field to search branches by name. Yours lists the branches whose last commit uses one of your activated email addresses. The overview shows up to 5 branches per group with a link to the rest, and the other tabs show 20 branches a page. #8590
- Docker builds from
mainare now published only asgogs/gogs:edge, using the next-generationDockerfile.next. The legacyDockerfileno longer producesmainbuilds. Thegogs/gogs:latestandgogs/gogs:next-latesttags now always point to the highest published stable release, never to a back-patch on an older line. #8278 - The minimum required Git version on the server is now 2.43.1. Gogs refuses to start with an older Git. #8437
- The minimum supported database versions are now PostgreSQL 12 and MariaDB 10.6. MySQL 5.7 is still supported. #8546
- Git operations are now stopped when they exceed
[git.timeout]or[cron.repo_health_check] TIMEOUT, and a timeout of zero now means no timeout. The defaults of[git.timeout] MIRRORandGCare raised to 600 seconds. Git fetches and pushes over HTTP and SSH are stopped after 30 minutes without any data transferred. #8441 - Self-registration is now disabled by default. New instances must set
[auth] DISABLE_REGISTRATION = falseto allow sign-ups. #8350 - New repositories now use
mainas the default branch. Existing repositories keep their current default branch. Set[repository] DEFAULT_BRANCH = masterto keep the previous behavior. #8497 - Markdown is now rendered like GitHub renders it, e.g., bare
www.links and email addresses become links, and list items separated by blank lines are rendered as paragraphs. #8519 - Issues, comments, release notes and milestone descriptions keep their line breaks.
[markdown] ENABLE_HARD_LINE_BREAKnow only applies to Markdown files, e.g., READMEs and wiki pages. #8607 - Markdown renders up to five times faster. #8519
- Markdown and Org-mode documents larger than
[ui] MAX_DISPLAY_FILE_SIZEare shown as plain text instead of being rendered. #8519
- Commenting on, closing, or reopening an issue, including with
fixes #Nin a pushed commit, no longer hangs the server when using SQLite with email notifications enabled. #8395 - Markdown files starting with a byte order mark now render their first line correctly, e.g., a leading heading is no longer shown as plain text. #8519
- Code blocks in languages whose names contain symbols, e.g.,
c++andc#, now keep their language for syntax highlighting. #8519 - Relative links in issue notification emails now point to the repository instead of a broken
http:/address. #8519 - Ordered lists in Markdown that start at a number other than 1, e.g.,
10., now show that number instead of starting at 1. #8519 - Protocol-relative links in Markdown, e.g.,
//example.com/page, now point to that site instead of a path in the repository. #8519 - Mentions in code, link text and URLs of issues and comments no longer notify the mentioned users, as on GitHub. #8519
- Mentions and issue references are now linked where they appear, e.g., in
@alice @aliciaboth names are linked, and a reference that also appears earlier as part of a word is still linked. #8519 - Viewing a diff that renames a file whose name contains special characters (e.g., a double quote) no longer crashes the server. #8437
- Migrating an empty repository no longer fails. #8440
- Previewing changes to a file in the web editor no longer fails when a tag has the same name as the file. #8440
- Files whose names start with a double quote are no longer listed with a wrong name. #8441
- Diffs no longer show a wrong name for files whose path contains " b/", e.g.,
foo b/bar.txt. #8441 - Downloading a repository archive that times out no longer leaves a broken archive that later downloads receive. #8437
- A file whose only change is its mode (e.g., made executable) no longer hides the next file in a diff. #8441
- Editing files in the web editor no longer fails after the repository or its owner was renamed. #8446
- Files created or uploaded in the web editor are no longer silently left out of the commit when their path matches
.gitignore. #8446 - Commits made in the web editor or the wiki no longer lose the author email when the full name contains
<. #8446 - Merging several pull requests at the same time no longer fails. #8446
- The compare link in the news feed for a branch created by a mirror sync no longer leads to an error page. It now shows the commits of the branch since it forked from the default branch, or all of its commits when it adds none or they share no history, and the news feed counts the same commits when the branch is created. Comparing against a commit that does not exist now shows a not found page. #8510
- Security: Open redirect on the
/redirectendpoint and post-action flows via a backslash in the redirect target. #8391 - GHSA-3g28-2vwg-gxq6 - Security: The "remember me" auto-login cookie was derived from database columns, so an attacker with a database dump could forge a valid cookie for any user. The auto-login cookie path has been removed entirely. Persistence is now provided by the server-issued session cookie. #8289 - GHSA-4pph-25p3-pw73
gogs restoreno longer replaces the database before failing when an earlier restore left its.bakdirectories behind. #8453- Mirrors of an empty repository now show their content once the source repository receives commits. #8497
- When the first branch pushed to an empty repository has a different name than the repository's default branch, it now becomes the default branch, so cloning checks it out instead of producing an empty working tree. Mirrors whose default branch no longer exists now follow the default branch of the source repository. #8497
- The API response for creating a repository now reports the correct default branch, empty state, creation and update times, and watcher count instead of blank or zero values. #8497
- Quoted values in authentication source files under
custom/conf/auth.dare now read in full when they contain#or;, e.g.,bind_password = "p#ss". Previously they were cut at the first#or;. #8489
- GitHub authentication sources, which could no longer sign anyone in since GitHub stopped accepting passwords for its API. Existing GitHub sources and
custom/conf/auth.dfiles withtype = githubare ignored. #8466 - The web-based first-time install page at
/install, along with the[security] INSTALL_LOCKconfiguration option. A workingcustom/conf/app.iniis now always required. #8350 - Support for overriding full page templates (e.g.,
custom/templates/home.tmpl), as the web interface no longer renders pages from server-side templates. Content injection throughcustom/templates/inject/head.tmplandcustom/templates/inject/footer.tmpl, static file overrides undercustom/public/, and email template overrides remain supported. #8392 - Support for MSSQL as the database backend. #8173
- Support for
memcacheas the cache adapter. #8270 - The
gogs certsubcommand. #8153 - The
[email] DISABLE_HELOconfiguration option. HELO/EHLO is now always sent during SMTP handshake. #8164 - The
/debug,/debug/pprof/*,/debug/profile/*, and/urlmap.jsonendpoints. #8271 - CSRF protection and the
[session] CSRF_COOKIE_NAMEconfiguration option. #8300 - Support for DSA public keys. The
DSAentry under[ssh.minimum_key_sizes]is no longer recognized. #8313
- Lowering
[auth] ACTIVATE_CODE_LIVESor[auth] RESET_PASSWORD_CODE_LIVESnow also shortens the lifetime of activation, email confirmation, and password reset links already sent. #8478
- Security: On Windows hosts, a user creating a repository with initial files or initializing its labels could read files on the server, including the configuration file. #8488 - GHSA-fv2v-vwmj-j74p
- Security: Referencing an issue in a commit message added a comment to it even when the pusher could not access its repository, letting anyone post into issues of private repositories. #8486 - GHSA-53f6-cgcf-gp6v
- Security: Viewing an Org-mode file could show the contents of arbitrary files on the server, including the configuration file. #8484 - GHSA-hr26-3fq5-9365
- Security: On Windows hosts, an authenticated user with write access could still write files into a repository's
.gitdirectory through other names for it, leading to code execution on the server. #8483 - GHSA-hc35-pcqw-5xjq - Security: A username containing HTML, which could come from an external login source such as LDAP, was rendered as markup on issue and pull request pages and in the dashboard issue and pull request lists. #8482 - GHSA-vhf5-f34f-vhq9
- Security: Webhooks, repository migrations, and mirrors could reach services on the Gogs host through the IPv6 address
[::], bypassing the local network restriction. #8481 - GHSA-799r-mx22-r63q - Security: Any signed-in user who knew the UUID of an attachment in another repository, including a private one, could move it to their own issue, comment, or release to download it, in some cases removing it from the original. #8480 - GHSA-p92p-7887-3g33
- Security: A password reset link could be used to sign in as the user without their password or two-factor authentication. Activation, email confirmation, and password reset links sent before upgrading no longer work. #8472 - GHSA-pmfh-wh5m-gmjm
- Security: Accounts with login prohibited or not activated kept repository access through access tokens, passwords, and SSH keys. #8439 - GHSA-f9cv-gfvg-3464
- Security: On Windows hosts, an authenticated user with write access could write files into a repository's
.gitdirectory through a crafted tree path. #8408 - GHSA-85m5-cfw6-3cx8 - Security: Argument injection through a crafted commit or branch reference on several repository API endpoints allowed an authenticated user with read access to leak internal server details to the error logs. #8393 - GHSA-mxrh-2rxr-6mqc
- Security: Argument injection through a crafted branch name when creating a pull request allowed an authenticated user with write access to write files to arbitrary paths on the server. #8390 - GHSA-2grc-qr7q-6m36
- Organization member and team actions, such as removing a member or leaving a team, failed with "Bad Request: no CSRF token present". #8399
- Security: Reverse proxy authentication header was honored from any remote address, allowing user impersonation when Gogs was reachable directly. The header is now only trusted from addresses listed in
[auth] TRUSTED_PROXY_IPS. #8264 - GHSA-w6j9-vw59-27wv - Security: Server-side request forgery in webhook deliveries via HTTP redirects to local network addresses. #8263 - GHSA-c4v7-xg93-qf8g
- Security: Denial of service when rendering issue references against a malformed external issue tracker URL format. #8312 - GHSA-4j89-2c4f-44c6
- Security: Stored XSS in Jupyter notebook (
.ipynb) preview through Markdown links withjavascript:URLs. #8319 - GHSA-jq8v-rmf6-65jw - Security: Missing authorization check on the attachment download endpoint allowed anyone who knew (or guessed) an attachment UUID to download files belonging to private repositories. #8320 - GHSA-p9f5-h3rx-j5qw
- Security: Organization team and member management actions accepted GET requests, allowing a logged-in owner to be tricked into adding an attacker to the Owners team via a crafted link. #8321 - GHSA-pwx3-qcgw-vh7h
- Security: SSRF via mirror address update bypassing clone address validation. #8225 - GHSA-wv27-2vqp-j7g5
- Security: Open redirect on login and other post-action flows via the
redirect_toquery parameter. #8322 - GHSA-xxhq-69mf-w8cr - Security: Privilege escalation to repository owner via collaboration access mode update. #8227 - GHSA-4565-r4x7-hg8j
- Security: SSRF in repository migration and recurring mirror sync via HTTP redirects and stale host validation on stored mirror URLs. #8324 - GHSA-g2f5-gjr4-qjvm
- Security: Remote command execution via pull request rebase merges with crafted branch names. #8301 - GHSA-qf6p-p7ww-cwr9
- Security: Stored XSS in the milestone dropdown on the new issue page via crafted milestone names. #8325 - GHSA-vcm5-gvmp-78mp
- Security: Stored XSS in Jupyter notebook (
.ipynb) preview throughdata:text/htmlURIs that bypassed the sanitizer. #8326 - GHSA-3w28-36p9-w929 - Security: Write-level collaborators could change admin-only repository settings (issue tracker, wiki, mirror sync) via API. #8327 - GHSA-268j-37xf-pp52
- Security: Password reset tokens stayed valid for the account-activation lifetime, ignoring
[auth] RESET_PASSWORD_CODE_LIVES. #8328 - GHSA-5c3f-6486-3g7g - Security: Stored XSS in Jupyter notebook (
.ipynb) preview through raw HTML in markdown cells. #8330 - GHSA-6vxv-wg6j-5qwp - Security: Read-only Git HTTP access could be confused with write access during repository pushes. #8331 - GHSA-wmfg-5p4h-5fw3
- Security: Arbitrary file write outside the repository working tree via crafted upload filename routed through a committed directory symlink. #8332 - GHSA-89mr-xqfv-758m
- Security: Cross-repository disclosure of Git LFS object contents by binding a known OID to another repository without proving possession of the bytes. #8333 - GHSA-6p9m-q3jp-47h4
- Security: Remote code execution via path traversal in organization names accepted through the API. #8334 - GHSA-c39w-43gm-34h5
- Security: Stalled SSH handshakes pinned a file descriptor and goroutine indefinitely. The built-in SSH server now drops connections that do not complete the handshake within 15 seconds. #8335 - GHSA-xp79-5mx3-jx52
- Security: Organization metadata and team list endpoints were reachable without authentication. #8336 - GHSA-744x-3838-5r56
- Security: Denial of service in repository and wiki file listing pages via crafted file names. #8116 - GHSA-3qq3-668m-v9mj
- Security: Cross-repository LFS object overwrite via missing content hash verification. #8166 - GHSA-gmf8-978x-2fg2
- Security: Stored XSS via data URI in issue comments. #8174 - GHSA-xrcr-gmf5-2r8j
- Security: Release tag option injection in release deletion. #8175 - GHSA-v9vm-r24h-6rqm
- Security: Stored XSS in branch and wiki views through author and committer names. #8176 - GHSA-vgvf-m4fw-938j
- Security: DOM-based XSS via issue meta selection on the issue page. #8178 - GHSA-vgjm-2cpf-4g7c
- Unable to update files via web editor and API. #8184
- Support for passing API access tokens via URL query parameters (
token,access_token). Use theAuthorizationheader instead. #8177 - GHSA-x9p5-w45c-7ffc
- Support comparing tags in addition to branches. #6141
- Show file name in browser tab title when viewing files. #5896
- Support using TLS for Redis session provider using
[session] PROVIDER_CONFIG = ...,tls=true. #7860 - Support expanading values in
app.inifrom environment variables, e.g.[database] PASSWORD = ${DATABASE_PASSWORD}. #8057 - Support custom logout URL that users get redirected to after sign out using
[auth] CUSTOM_LOGOUT_URL. #8089 - Start publishing next-generation, security-focused Docker image via
gogs/gogs:next-latest, which will become the default image distribution (gogs/gogs:latest) starting 0.16.0. While not all container options support have been added in the next-generation image, the use of current legacy Docker image is deprecated, it will be published asgogs/gogs:legacy-lateststarting 0.16.0, and be completely removed no earlier than 0.17.0. #8061
- The required Go version to compile source code changed to 1.25.
- The build tag
certhas been removed, and thegogs certsubcommand is now always available. #7883 - Switched to pure-Go SQLite driver, CGO is no longer required to compile Gogs. #7882
- Updated Mermaid JS to 11.9.0. #8009
- Halt the repository creation and leave the directory untouched if the repository root already exists. #8091
- Security: Unauthenticated file upload. #8128 - GHSA-fc3h-92p8-h36f
- Security: Protected branch bypass in web UI. #8124 - GHSA-2c6v-8r3v-gh6p
- Security: Authorization bypass allows cross-repository label modification. #8123 - GHSA-cv22-72px-f4gh
- Security: Cross-repository comment deletion. #8119 - GHSA-jj5m-h57j-5gv7
- 500 error on repository watchers and stargazers pages when using MSSQL. #5482
- Submodules using
ssh://protocol and a port number are not rendered correctly. #4941 - Missing link to user profile on the first commit in commits history page. #7404
- Unable to delete or display files with special characters in their names. #7596
- Docker healthcheck fails when
HTTP_PROXYorHTTPS_PROXYenvironment variables are set. #7529
- Security: DoS in repository mirror sync. #8065 - GHSA-cr88-6mqm-4g57
- Security: RCE in repository put contents API. #8082 - GHSA-gg64-xxr9-qhjp
- Security: Arbitrary file deletion via path traversal in wiki page update. #8099 - GHSA-jp7c-wj6q-3qf2
- Security: 2FA bypass via recovery code. #8100 - GHSA-p6x6-9mx6-26wj
- Security: Authorization bypass in repository deletion API. #8101 - GHSA-rjv5-9px2-fqw6
- Security: Update repository content via API with read-only permission. #8102 - GHSA-5qhx-gwfj-6jqr
- Security: Arbitrary file read/write via path traversal in Git hook editing. #8103 - GHSA-mrph-w4hh-gx3g
- Security: Stored XSS via Mermaid diagrams.
2c88cd4- GHSA-26gq-grmh-6xm6 - Route
GET /api/v1/user/reposresponses 500 when accessible repositories contain forks. #8069 - Newer Git versions that uses default branch
maincause wiki initialization to fail. #8094
- Security: Stored XSS in PDF renderer. GHSA-xh32-cx6c-cp4v
- Security: Path Traversal in file editing UI. GHSA-wj44-9vcg-wjq7
- Randomly timeout on repository file uploads. #7890
- Unable to override email templates in custom directory. #7905
- Security: Path Traversal in file editing UI. GHSA-r7j8-5h9c-f6fx
- Security: Path Traversal in file update API. GHSA-qf5v-rp47-55gg
- Security: Argument Injection in the built-in SSH server. GHSA-vm62-9jw3-c8w3
- Security: Deletion of internal files. GHSA-ccqv-43vm-4f3w
- Security: Argument Injection during changes preview. GHSA-9pp6-wq8c-3w2c
- Security: Argument Injection when tagging new releases. GHSA-m27m-h5gj-wwmg
- Use the non-deprecated section name
[email]during installation for email settings. #7704 - Use the non-deprecated section name
[email] PASSWORDduring installation for email password. #7807 - Make purple template label color to actually use the hexcode of purple. #7722
- Support using personal access token in the password field. #3866
- An unlisted option is added when create or migrate a repository. Unlisted repositories are public but not being listed for users without direct access in the UI. #5733
- New API endpoint
PUT /repos/:owner/:repo/contents/:pathfor creating and update repository contents. #5967 - New configuration option
[git.timeout] DIFFfor customizing operation timeout ofgit diff. #6315 - New configuration option
[server] SSH_SERVER_MACSfor setting list of accepted MACs for connections to builtin SSH server. #6434 - New configuration option
[repository] DEFAULT_BRANCHfor setting default branch name for new repositories. #7291 - New configuration option
[server] SSH_SERVER_ALGORITHMSfor specifying the list of accepted key exchange algorithms for connections to builtin SSH server. #7345 - Support specifying custom schema for PostgreSQL. #6695
- Support rendering Mermaid diagrams in Markdown. #6776
- Docker: Allow passing extra arguments to the
backupcommand. #7060 - New languages support: Mongolian, Romanian. #6510 #7082
- The default branch has been changed to
main. #6285 - MSSQL as database backend is deprecated, installation page no longer shows it as an option. Existing installations and manually craft configuration file continue to work. #6295
- Use Task as the build tool. #6297
- The required Go version to compile source code changed to 1.18.
- Access tokens are now stored using their SHA256 hashes instead of raw values. #7008
- Unable to use LDAP authentication on ARM machines. #6761
- Unable to choose "Lookup Avatar by mail" in user settings without deleting custom avatar. #7267
- Mistakenly include the "data" directory under the custom directory in the Docker setup. #7343
- Unable to start after data recovery with an outdated migration version. #7125
⚠️ Migrations before 0.12 are removed, installations not on 0.12 should upgrade to it to run the migrations and then upgrade to 0.13.- Configuration section
[mailer]is no longer used, please use[email]. - Configuration section
[service]is no longer used, please use[auth]. - Configuration option
APP_NAMEis no longer used, please useBRAND_NAME. - Configuration option
[security] REVERSE_PROXY_AUTHENTICATION_USERis no longer used, please use[auth] REVERSE_PROXY_AUTHENTICATION_HEADER. - Configuration option
[auth] ACTIVE_CODE_LIVE_MINUTESis no longer used, please use[auth] ACTIVATE_CODE_LIVES. - Configuration option
[auth] RESET_PASSWD_CODE_LIVE_MINUTESis no longer used, please use[auth] RESET_PASSWORD_CODE_LIVES. - Configuration option
[auth] ENABLE_CAPTCHAis no longer used, please use[auth] ENABLE_REGISTRATION_CAPTCHA. - Configuration option
[auth] ENABLE_NOTIFY_MAILis no longer used, please use[user] ENABLE_EMAIL_NOTIFICATION. - Configuration option
[auth] REGISTER_EMAIL_CONFIRMis no longer used, please use[auth] REQUIRE_EMAIL_CONFIRMATION. - Configuration option
[session] GC_INTERVAL_TIMEis no longer used, please use[session] GC_INTERVAL. - Configuration option
[session] SESSION_LIFE_TIMEis no longer used, please use[session] MAX_LIFE_TIME. - Configuration option
[server] ROOT_URLis no longer used, please use[server] EXTERNAL_URL. - Configuration option
[server] LANDING_PAGEis no longer used, please use[server] LANDING_URL. - Configuration option
[database] DB_TYPEis no longer used, please use[database] TYPE. - Configuration option
[database] PASSWDis no longer used, please use[database] PASSWORD. - Remove option to use Makefile as the build tool. #6980
- Security: Stored XSS for issue assignees. #7145
- Security: OS Command Injection in repo editor on case-insensitive file systems. #7030
- Unable to render repository pages with implicit submodules (e.g.
get submodule "REDACTED": revision does not exist). #6436
- Support using
[security] LOCAL_NETWORK_ALLOWLIST = *to allow all hostnames. #7111
- Unable to send webhooks to local network addresses after configured
[security] LOCAL_NETWORK_ALLOWLIST. #7074
- Security: OS Command Injection in file editor. #7000
- Security: Sanitize
DisplayNamein repository issue list. #7009 - Security: Path Traversal in file editor on Windows. #7001
- Security: Path Traversal in Git HTTP endpoints. #7002
- Unable to init repository during creation on Windows. #6967
- Mysterious panic on
Value not found for type *repo.HTTPContext. #6963
- All users (including admins) need to use the configuration option
[security] LOCAL_NETWORK_ALLOWLISTto allow repository migration and webhooks to be able to access local network addresses, which is a comma separated list of hostnames. #6988
- Security: SSRF in webhook. #6901
- Security: XSS in cookies. #6953
- Security: OS Command Injection in file uploading. #6968
- Security: Remote Command Execution in file editing. #6555
- Security: Stored XSS in issues. #6919
- Invalid character in
Access-Control-Allow-Credentialsresponse header. #4983 - Mysterious
ssh: overflow reading version stringerrors from builtin SSH server. #6882
- Security: Remote command execution in file uploading. #6833
- Regression: Unable to migrate repository from other local Git hosting. Added a new configuration option
[security] LOCAL_NETWORK_ALLOWLIST, which is a comma separated list of hostnames that are explicitly allowed to be accessed within the local network. #6841 - Slow start of Docker containers using NAS devices. #6554
- Security: Potential SSRF in repository migration. #6754
- Security: Improper PAM authorization handling. #6810
- Security: Potential SSRF attack by CRLF injection via repository migration. #6413
- Regression: Fixed smart links for issues stops rendering. #6506
- Added
X-Frame-Optionsheader to prevent Clickjacking. #6409
- Regression: When running Gogs on Windows, push commits no longer fail on a daily basis with the error "pre-receive hook declined". #6316
- Auto-linked commit SHAs now have correct links. #6300
- Git LFS client (with version >= 2.5.0) wasn't able to upload files with known format (e.g. PNG, JPEG), and the server is expecting the HTTP Header
Content-Typeto beapplication/octet-stream. The server now tells the LFS client to always useContent-Type: application/octet-streamwhen upload files.
- Regression: Pages are correctly rendered when requesting
?go-get=1for subdirectories. #6314 - Regression: Submodule with a relative path is linked correctly. #6319
- Backup can be processed when
--targetis specified on Windows. #6339 - Commit message contains keywords look like an issue reference no longer fails the push entirely. #6289
- The
updated_atfield is now correctly updated when updates an issue. #6209 - Fixed a regression which created
login_source.cfgcolumn to haveVARCHAR(255)instead ofTEXTin MySQL. #6280
- Support for Git LFS, you can read documentation for both user and admin. #1322
- Allow admin to remove observers from the repository. #5803
- Use
Last-ModifiedHTTP header for raw files. #5811 - Support syntax highlighting for SAS code files (i.e.
.r,.sas,.tex,.yaml). #5856 - Able to fill in pull request title with a template. #5901
- Able to override static files under
public/directory, please refer to documentation for usage. #5920 - New API endpoint
GET /admin/teams/:teamid/membersto list members of a team. #5877 - Support backup with retention policy for Docker deployments. #6140
- The organization profile page has changed to display at most 12 members. #5506
- The required Go version to compile source code changed to 1.14.
- All assets are now embedded into binary and served from memory by default. Set
[server] LOAD_ASSETS_FROM_DISK = trueto load them from disk. #5920 - Application and Go versions are removed from page footer and only show in the admin dashboard.
- Build tag for running as Windows Service has been changed from
miniwinsvctominwinsvc. - Configuration option
APP_NAMEis deprecated and will end support in 0.13.0, please start usingBRAND_NAME. - Configuration option
[server] ROOT_URLis deprecated and will end support in 0.13.0, please start using[server] EXTERNAL_URL. - Configuration option
[server] LANDING_PAGEis deprecated and will end support in 0.13.0, please start using[server] LANDING_URL. - Configuration option
[database] DB_TYPEis deprecated and will end support in 0.13.0, please start using[database] TYPE. - Configuration option
[database] PASSWDis deprecated and will end support in 0.13.0, please start using[database] PASSWORD. - Configuration option
[security] REVERSE_PROXY_AUTHENTICATION_USERis deprecated and will end support in 0.13.0, please start using[auth] REVERSE_PROXY_AUTHENTICATION_HEADER. - Configuration section
[mailer]is deprecated and will end support in 0.13.0, please start using[email]. - Configuration section
[service]is deprecated and will end support in 0.13.0, please start using[auth]. - Configuration option
[auth] ACTIVE_CODE_LIVE_MINUTESis deprecated and will end support in 0.13.0, please start using[auth] ACTIVATE_CODE_LIVES. - Configuration option
[auth] RESET_PASSWD_CODE_LIVE_MINUTESis deprecated and will end support in 0.13.0, please start using[auth] RESET_PASSWORD_CODE_LIVES. - Configuration option
[auth] REGISTER_EMAIL_CONFIRMis deprecated and will end support in 0.13.0, please start using[auth] REQUIRE_EMAIL_CONFIRMATION. - Configuration option
[auth] ENABLE_CAPTCHAis deprecated and will end support in 0.13.0, please start using[auth] ENABLE_REGISTRATION_CAPTCHA. - Configuration option
[auth] ENABLE_NOTIFY_MAILis deprecated and will end support in 0.13.0, please start using[user] ENABLE_EMAIL_NOTIFICATION. - Configuration option
[session] GC_INTERVAL_TIMEis deprecated and will end support in 0.13.0, please start using[session] GC_INTERVAL. - Configuration option
[session] SESSION_LIFE_TIMEis deprecated and will end support in 0.13.0, please start using[session] MAX_LIFE_TIME. - The name
-is reserved and cannot be used for users or organizations.
- [Security] Potential open redirection with i18n.
- [Security] Potential ability to delete files outside a repository.
- [Security] Potential ability to set primary email on others' behalf from their verified emails.
- [Security] Potential XSS attack via
.ipynb. #5170 - [Security] Potential SSRF attack via webhooks. #5366
- [Security] Potential CSRF attack in admin panel. #5367
- [Security] Potential stored XSS attack in some browsers. #5397
- [Security] Potential RCE on mirror repositories. #5767
- [Security] Potential XSS attack with raw markdown API. #5907
- File both modified and renamed within a commit treated as separate files. #5056
- Unable to restore the database backup to MySQL 8.0 with syntax error. #5602
- Open/close milestone redirects to a 404 page. #5677
- Disallow multiple tokens with same name. #5587 #5820
- Enable Federated Avatar Lookup could cause server to crash. #5848
- Private repositories are hidden in the organization's view. #5869
- Users have access to base repository cannot view commits in forks. #5878
- Server error when changing email address in user settings page. #5899
- Fall back to use RFC 3339 as time layout when misconfigured. #6098
- Unable to update team with server error. #6185
- Webhooks are not fired after push when
[service] REQUIRE_SIGNIN_VIEW = true. - Files with identical content are randomly displayed one of them.
- Configuration option
[other] SHOW_FOOTER_VERSION - Configuration option
[server] STATIC_ROOT_PATH - Configuration option
[repository] MIRROR_QUEUE_LENGTH - Configuration option
[repository] PULL_REQUEST_QUEUE_LENGTH - Configuration option
[session] ENABLE_SET_COOKIE - Configuration option
[release.attachment] PATH - Configuration option
[webhook] QUEUE_LENGTH - Build tag
sqlite, which means CGO is now required.
Older change logs can be found on GitHub.