Upgrade Path

Gitea 1.23.0 → 1.24.0

9 versions, 2 with breaking changes, 0 required stops

Version by version, oldest first

1.23.1: no action items (1 version)

1.23.2 2025-02-05

Breaking

  • Add tests for webhook and fix some webhook bugs (#33396) (#33442)
  • Package webhook’s Organization was incorrectly used as the User struct. This PR fixes the issue.
  • This changelog is just a hint. The change is not really breaking because most fields are the same, most users are not affected.

Full release notes for 1.23.2

1.23.3 – 1.23.8: no action items (6 versions)

1.24.0 2025-06-10

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)

Breaking — from the release blog

Make Gitea always use its internal config, ignore /etc/gitconfig (#33076)

Historically, Gitea has been able to use the system config under /etc/gitconfig to support some edge-case customizations. However, it sometimes causes conflicts, which have arisen multiple times lately. Therefore, we decided to switch away from this practice, adding GIT_CONFIG_NOSYSTEM=1 to all git commands.

If you have made changes to /etc/gitconfig to affect Gitea's behavior, you need to move these config options to Gitea's internal git config file, it is usually in Gitea's {AppDataPath}/home/.gitconfig.

Thank you to @wxiaoguang for contributing this feature.

Improve log format (#33814)

The router log format was changed from

2025/03/06 22:21:12 ...eb/routing/logger.go:102:func1() [I] router: completed GET / for [::1]:52693, 200 OK in 15.9ms @ web/home.go:32(web.Home)

to

2025/03/06 22:20:35 HTTPRequest [I] router: completed GET / for [::1]:52631, 200 OK in 7.5ms @ web/home.go:32(web.Home)

Thank you to @wxiaoguang for contributing this feature.

Fix markdown render behaviors (#34122)

Add config options MATH_CODE_BLOCK_DETECTION, problematic syntaxes are disabled by default.

Some markdown rendering behaviors are improved to match GitHub, please refer to the latest document's "Markdown" page to see the details.

Thank you to @wxiaoguang for contributing this feature.

Add package version api endpoints (#34173)

Two new API endpoints to list versions of a package and to get the latest version of a package were added.

The size field for this endpoint changes case from Size to size for consistency.

Thank you to @KN4CK3R for contributing this feature.

From blog.gitea.com/release-of-1.24.0/

Full release notes for 1.24.0

Release notes from github.com/go-gitea/gitea/releases, and the official release blog, checked 17 hours ago. Only text the vendor marks as breaking, or puts in a warning/caution/important note, is shown; read the full notes for anything else.