Releases: gogs/gogs
Releases · gogs/gogs
Latest Commit Build
Automated build from the latest commit on main branch. This release is updated automatically with every push to main.
0.14.2
Fixed
- 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
Removed
- Support for passing API access tokens via URL query parameters (
token,access_token). Use theAuthorizationheader instead. #8177 - GHSA-x9p5-w45c-7ffc
Previous patch releases
0.14.1
Added
- 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
Changed
- 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
Fixed
- 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
v0.14.2-rc.1
Release candidate for v0.14.2.
Release Archive Testing
Automated testing release for workflow development.
0.14.1
ℹ️ Heads up! There is a new patch release 0.14.2 available, we recommend directly installing or upgrading to that version.
Added
- 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
Changed
- 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
Fixed
- 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
v0.14.1-rc.1
Fix up tests
v0.14.0
v0.14.0-rc.1
Update version to 0.14.0
0.13.4
Warning
Due to changes to the release infrastructure, starting this release and going forward, pam tag will not be included for release archives that previously had it included.
Fixed
- 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
Previous patch releases
0.13.3
Fixed
- 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
0.13.2
Fixed
- 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
0.13.0
Added
- 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
Changed
- 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
Fixed
- 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
Removed
⚠️ 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
v0.13.4-rc.3
ci: fix up docker workflow issue