Forgejo v17.0 is available

Lobsters Hottest Tools

Summary

Forgejo v17.0 已于2026年10月15日发布,这是一个轻量级、社区开发的自托管代码协作平台。新版本包含破坏性变更(如渲染文档中绝对链接的解析方式改变)、弃用 action run webhook 事件,以及 FUNDING.yml 捐赠按钮等新功能。

<p><a href="https://lobste.rs/s/vemho2/forgejo_v17_0_is_available">Comments</a></p>
Original Article
View Cached Full Text

Cached at: 10/15/26, 10:26 PM

# Forgejo v17.0 is available Source: [https://forgejo.org/2026-10-release-v17-0/](https://forgejo.org/2026-10-release-v17-0/) Forgejo[version 17\.0](https://forgejo.org/download/)was released on 15 October 2026\. Forgejo is a lightweight, community\-developed, self\-hosted platform for code collaboration\. This article contains a selection of the changes that were introduced\. A complete list of changes is available[in the release notes](https://codeberg.org/forgejo/forgejo/src/branch/forgejo/release-notes-published/17.0.0.md)\. A[dedicated test instance](https://v17.next.forgejo.org/)is available to try it out\. Before upgrading, it is*strongly recommended*to make a full backup as explained in the[upgrade guide](https://forgejo.org/docs/v17.0/admin/upgrade/)and carefully read*all breaking changes*from the[release notes](https://codeberg.org/forgejo/forgejo/src/branch/forgejo/release-notes-published/17.0.0.md)\. If in doubt, do not hesitate to ask for help[in the chat room](https://matrix.to/#/#forgejo-chat:matrix.org)\. ## Breaking changes[https://forgejo.org/2026-10-release-v17-0/#breaking-changes](https://forgejo.org/2026-10-release-v17-0/#breaking-changes) ### Absolute links in rendered documents[https://forgejo.org/2026-10-release-v17-0/#absolute-links-in-rendered-documents](https://forgejo.org/2026-10-release-v17-0/#absolute-links-in-rendered-documents) In rendered documents, absolute links to resources inside a repository are now resolved with respect to the root of the repository\.[\!12939](https://codeberg.org/forgejo/forgejo/pulls/12939) This is a breaking change from the previous behaviour when these links were rendered using the root of the instance\. Absolute links in issue and pull request descriptions and comments remain rendered with respect to the instance’s root\.[\!13993](https://codeberg.org/forgejo/forgejo/pulls/13993) This change increases the compatibility with other Git forges and thus, makes migrations to Forgejo even easier\. ## Action required[https://forgejo.org/2026-10-release-v17-0/#action-required](https://forgejo.org/2026-10-release-v17-0/#action-required) ### Deprecation of action run webhook events[https://forgejo.org/2026-10-release-v17-0/#deprecation-of-action-run-webhook-events](https://forgejo.org/2026-10-release-v17-0/#deprecation-of-action-run-webhook-events) Action run webhook events are replaced by the more capable and less problematic workflow run events\.[\!14351](https://codeberg.org/forgejo/forgejo/pulls/14351)The action run events have been deprecated for removal in a future Forgejo version\. Unfortunately, it is not possible to migrate existing webhooks to the new events automatically because some headers \(`X\-\*\-Event`,`X\-\*\-Event\-Type`\) and the`action`key have changed, which might break existing receivers\. Furthermore, completion notifications are only emitted after all jobs of a run have terminated\.[\!12598](https://codeberg.org/forgejo/forgejo/pulls/12598) Please inspect existing webhooks and manually migrate them to the workflow run events after verifying that the webhook receivers can process them without issues\. ## New features[https://forgejo.org/2026-10-release-v17-0/#new-features](https://forgejo.org/2026-10-release-v17-0/#new-features) ### Support for`FUNDING\.yml`[https://forgejo.org/2026-10-release-v17-0/#support-for-fundingyml](https://forgejo.org/2026-10-release-v17-0/#support-for-fundingyml) For repositories that contain a[`FUNDING\.yml`](https://forgejo.org/docs/v17.0/user/repository/funding/)file, Forgejo shows a new “Donate” button which presents a list of donation options when clicked\. Additionally, for users and organizations that have such file in their`\.profile`repository, a similar button appears on their profile pages\. This feature currently exists only in the web interface, but we are considering to implement an API surface for it\. If you have a use cases for such API feature, please help shape it by sharing your feedback in[the dedicated issue](https://codeberg.org/forgejo/forgejo/issues/14075)\. ![When applicable, a new "Donate" button appears in the repository's button banner, between the existing RSS and Watch buttons. The new button features a pink heart icon.](https://forgejo.org/_astro/2026-10-funding-yml.2cSfMSPe_ZwIxlL.webp) ### Auto\-completion for issues and pull requests[https://forgejo.org/2026-10-release-v17-0/#auto-completion-for-issues-and-pull-requests](https://forgejo.org/2026-10-release-v17-0/#auto-completion-for-issues-and-pull-requests) When authoring an issue, pull request, or comment, Forgejo will offer auto\-completion for issues and pull requests\.[\!8088](https://codeberg.org/forgejo/forgejo/pulls/8088)To activate the auto\-completion, type`\#`for issues or pull requests, or`\!`for pull requests only\. To refine the suggestions, either continue with a search term or an issue or pull request number\. ![An example auto-completion drop-down, showing suggested issues and pull requests after # is typed in a comment field](https://forgejo.org/_astro/2026-10-issue-pr-autocompletion.BRc5wkLd_Z1zWRP4.webp) ### LFS support improvements[https://forgejo.org/2026-10-release-v17-0/#lfs-support-improvements](https://forgejo.org/2026-10-release-v17-0/#lfs-support-improvements) Forgejo’s[Git LFS](https://git-lfs.com/)support is being overhauled\. While most changes are under the hood, a string of smaller improvements are visible to users\. Those include navigation and overview improvements in the LFS settings, new views to discover the commits that refer to a given LFS file, and better handling of pointers\. ![Web UI-based list of all LFS files associated with a Forgejo repository. On the left side, there is a "Settings" sidebar; the "LFS" section is expanded and shows the options "Overview", "Locks" and "Pointer files". Next to the sidebar, there is a table with 4 table rows; one for each LFS file present. Each row contains the OID of the LFS file, its size, when it was last updated, as well as two buttons: "Find commits" and a "Delete" button.](https://forgejo.org/_astro/2026-10-lfs-overview.BHGKqn-z_Z21Mh8r.webp) ### Invitations to organizations[https://forgejo.org/2026-10-release-v17-0/#invitations-to-organizations](https://forgejo.org/2026-10-release-v17-0/#invitations-to-organizations) Forgejo can be configured so that when adding a user to an organization, they are not added to the organization instantly but instead receive an invitation that can be accepted or declined\. This behavior can be enabled by setting`\[service\]\.ADD\_MEMBERS\_BY\_INVITATIONS = true`in Forgejo’s`app\.ini`\. Authentication providers are still able to add users to organizations with no action on their part\. The invitations are visible on the organization profile and are sent out by email\. By default they expire after 14 days\. Work is ongoing to make those invitations visible in the in\-app notifications\. ![Page of organization displaying a banner with text: "You are invited to join team Owners in this organization."](https://forgejo.org/_astro/2026-10-org-invite.CXPATz7d_64fsY.webp) ### Add/invite to multiple teams at once[https://forgejo.org/2026-10-release-v17-0/#addinvite-to-multiple-teams-at-once](https://forgejo.org/2026-10-release-v17-0/#addinvite-to-multiple-teams-at-once) A user can now be added or invited to multiple teams in one go, without going through each needed team individually\.[\!11848](https://codeberg.org/forgejo/forgejo/pulls/11848) ![Modal dialog with options to search for a user to add and checkboxes with corresponding teams to add a user to](https://forgejo.org/_astro/2026-10-org-add-dialog.ruxIzoxk_ZDsts1.webp) Markdown contents of comments can now be easily copied via the ellipsis menu\.[\!13083](https://codeberg.org/forgejo/forgejo/pulls/13083) ![Comment ellipsis menu with highlighted option: Copy comment Markdown](https://forgejo.org/_astro/2026-10-copy-md.B99e4OW5_1QL1nF.webp) ### Forgejo Actions API improvements[https://forgejo.org/2026-10-release-v17-0/#forgejo-actions-api-improvements](https://forgejo.org/2026-10-release-v17-0/#forgejo-actions-api-improvements) The Forgejo HTTP API received multiple enhancements related to Forgejo Actions: - Entire workflow runs and individual jobs can now be rerun by sending requests to`/repos/\{owner\}/\{repo\}/actions/runs/\{run\_id\}/rerun`and`/repos/\{owner\}/\{repo\}/actions/jobs/\{job\_id\}/rerun`respectively\.[\!13924](https://codeberg.org/forgejo/forgejo/pulls/13924)The workflow runs or jobs must have completed\. Otherwise, they cannot be rerun\. However, individual completed jobs can be rerun while the workflow run is still being executed\. - The HTTP endpoints for obtaining job logs gained substring filters[\!12821](https://codeberg.org/forgejo/forgejo/pulls/12821)and the ability to only return the logs of a particular step with`/jobs/\{job\_id\}/logs?step=N`\.[\!12799](https://codeberg.org/forgejo/forgejo/pulls/12799)In addition to plain text, the logs can be requested as NDJSON with`?format=ndjson`\.[\!12820](https://codeberg.org/forgejo/forgejo/pulls/12820) - `/repos/\{owner\}/\{repo\}/actions/jobs/\{job\_id\}`enables users to get the details of a particular job\.[\!12799](https://codeberg.org/forgejo/forgejo/pulls/12799) ### Forgejo Actions job summaries[https://forgejo.org/2026-10-release-v17-0/#forgejo-actions-job-summaries](https://forgejo.org/2026-10-release-v17-0/#forgejo-actions-job-summaries) Forgejo now displays job summaries generated by Forgejo Runner 13\.2 or newer\.[\!14076](https://codeberg.org/forgejo/forgejo/pulls/14076) Job summaries are Markdown documents that belong to a particular Forgejo Actions job\. They are displayed above the logs\. All Markdown features supported by Forgejo can be used — including tables,[Mermaid](https://mermaid.ai/open-source/intro/syntax-reference.html)diagrams, and formulas written in[KaTeX](https://katex.org/)\. ![A summary of an example job showing TUnit test results and a Mermaid diagram](https://forgejo.org/_astro/actions-step-summary.BSNwEhUM_ZwxP1i.webp) Job summaries are assembled from one or more Markdown fragments that are written by a step to the file`$FORGEJO\_STEP\_SUMMARY`\.`$GITHUB\_STEP\_SUMMARY`is supported, too, for compatibility with existing actions and easing the transition from GitHub\. ### Allow pushing to AGit refs[https://forgejo.org/2026-10-release-v17-0/#allow-pushing-to-agit-refs](https://forgejo.org/2026-10-release-v17-0/#allow-pushing-to-agit-refs) Maintainers and pull\-requests creators can now directly push to the[AGit](https://forgejo.org/docs/latest/user/git-cli/agit-support/)refs: ``` # Pull Request Creator git checkout -b local-branch git push origin HEAD:refs/for/main/agit-topic # Maintainer/Reviewer can pull the code to a local branch git fetch origin refs/pull/3/head:local-branch git switch local-branch # Maintainers and Pull Request creator need some further git config git config push.default upstream git config branch.local-branch.merge refs/pull/3/head git config branch.local-branch.remote origin # NEW: Maintainer and Pull Request creator can now (force) push and pull to this ref git push git pull ``` ### Webhook notifications for workflow jobs[https://forgejo.org/2026-10-release-v17-0/#webhook-notifications-for-workflow-jobs](https://forgejo.org/2026-10-release-v17-0/#webhook-notifications-for-workflow-jobs) More events have been added to Forgejo’s webhooks\. Webhooks can now be triggered when the status of a Forgejo Actions workflow job changes\.[\!14334](https://codeberg.org/forgejo/forgejo/pulls/14334)As usual, it is possible to receive notifications in various chat applications like Discord or Matrix\. Alternatively, Forgejo is able to notify a remote server using an HTTP request\. Users have the possibility to select which statuses, like “waiting” or “cancelled,” they want to receive notifications for\. While prior versions of Forgejo could already trigger notifications for “action runs,” that capability was limited to completion events\. It has been enhanced to match the capabilities of workflow job events\.[\!14351](https://codeberg.org/forgejo/forgejo/pulls/14351)Users can now select which statuses they want to receive notifications for\. The old “action runs” events have been deprecated and will be removed in a future Forgejo version\. ### Repository migration from Bitbucket Data Center[https://forgejo.org/2026-10-release-v17-0/#repository-migration-from-bitbucket-data-center](https://forgejo.org/2026-10-release-v17-0/#repository-migration-from-bitbucket-data-center) Forgejo can now migrate repositories from Bitbucket Data center \(formerly Bitbucket Server\)\. Pull requests, reviews, comments \(including multi\-line comments\), threads and replies can also be imported during the process\.[\!13288](https://codeberg.org/forgejo/forgejo/pulls/13288)Authentication uses an HTTP access token, and “HTTPS SCM Hosting” must be enabled on Bitbucket as Forgejo migrations clone over HTTPS\. ![Migration page showing all the platforms repositories can be migrated from, which now includes a "BitbucketDC" entry](https://forgejo.org/_astro/2026-10-bitbucket-data-center.OTqq5qJB_1qpLOK.webp) ### Migration of repository avatars[https://forgejo.org/2026-10-release-v17-0/#migration-of-repository-avatars](https://forgejo.org/2026-10-release-v17-0/#migration-of-repository-avatars) When migrating repositories from Gogs, Gitlab, Gitea, or Forgejo, the repository avatar images are now migrated, too\.[\!12921](https://codeberg.org/forgejo/forgejo/pulls/12921) ### Backup documentation[https://forgejo.org/2026-10-release-v17-0/#backup-documentation](https://forgejo.org/2026-10-release-v17-0/#backup-documentation) A new guide on[how to backup and restore](https://forgejo.org/docs/latest/admin/setup/backup/)a Forgejo instance has been added to Forgejo’s documentation\. In particular, it points out the most important secrets that need to be backed up for proper instance restoration\. ## Release schedule and Long Term Support[https://forgejo.org/2026-10-release-v17-0/#release-schedule-and-long-term-support](https://forgejo.org/2026-10-release-v17-0/#release-schedule-and-long-term-support) Based on[the release schedule](https://forgejo.org/docs/v17.0/admin/release-schedule/), major releases are published every three months\. Patch releases are published more frequently, depending on the severity of the bug or security fixes they contain\. Forgejo v17\.0 is a non\-LTS release\. It will be supported until**28 January 2027**\. **Version****Release date****End Of Life**15\.0 \(LTS\)16 April 202615 July 202716\.016 July 202629 October 202617\.015 October 2026**28 January 2027**18\.014 January 202729 April 202719\.0 \(LTS\)15 April 202713 July 2028### 17\.0\-test daily releases[https://forgejo.org/2026-10-release-v17-0/#170-test-daily-releases](https://forgejo.org/2026-10-release-v17-0/#170-test-daily-releases) Releases are built daily from the latest changes found in the[v17\.0/forgejo](https://codeberg.org/forgejo/forgejo/src/branch/v17.0/forgejo)development branch\. They are deployed to the[https://v17\.next\.forgejo\.org](https://v17.next.forgejo.org/)instance for manual verification in case a bug fix is of particular interest ahead of the next patch release\. It can also be installed locally with: - OCI images:[root](https://codeberg.org/forgejo-experimental/-/packages/container/forgejo/17.0-test)and[rootless](https://codeberg.org/forgejo-experimental/-/packages/container/forgejo/17.0-test-rootless) - [Binaries](https://codeberg.org/forgejo-experimental/forgejo/releases/tag/v17.0-test) Their names are staying the same, but they are replaced by new builds every day\. ## Get Forgejo v17\.0[https://forgejo.org/2026-10-release-v17-0/#get-forgejo-v170](https://forgejo.org/2026-10-release-v17-0/#get-forgejo-v170) See the[download page](https://forgejo.org/download/)for instructions on how to install Forgejo\. ### Upgrading[https://forgejo.org/2026-10-release-v17-0/#upgrading](https://forgejo.org/2026-10-release-v17-0/#upgrading) Carefully read the[breaking changes](https://codeberg.org/forgejo/forgejo/src/branch/forgejo/release-notes-published/17.0.0.md)section of the release notes\. The actual upgrade process is as simple as replacing the binary or container image with the corresponding[Forgejo binary](https://codeberg.org/forgejo/forgejo/releases/tag/v17.0.0)or[container image](https://codeberg.org/forgejo/-/packages/container/forgejo/17.0.0)\. If you’re using the container images, you can use the[`17\.0`tag](https://codeberg.org/forgejo/-/packages/container/forgejo/17.0)to stay up to date with the latest`17\.0\.Y`patch release automatically\. Make sure to check the[Forgejo upgrade documentation](https://forgejo.org/docs/v17.0/admin/upgrade)for recommendations on how to properly back up your instance before the upgrade\. ## Contribute to Forgejo[https://forgejo.org/2026-10-release-v17-0/#contribute-to-forgejo](https://forgejo.org/2026-10-release-v17-0/#contribute-to-forgejo) If you have any feedback or suggestions for Forgejo, do not hold back; it is also your project\. Open an issue in[the issue tracker](https://codeberg.org/forgejo/forgejo/issues)for feature requests or bug reports, reach out[on the Fediverse](https://floss.social/@forgejo), or drop into[the Matrix space](https://matrix.to/#/#forgejo:matrix.org)\([main chat room](https://matrix.to/#/#forgejo-chat:matrix.org)\) and say hi\! ### Donate[https://forgejo.org/2026-10-release-v17-0/#donate](https://forgejo.org/2026-10-release-v17-0/#donate) Forgejo is proud to be[funded transparently](https://codeberg.org/forgejo/sustainability/)\. Additionally, it accepts donations[through Liberapay](https://liberapay.com/forgejo)\. It is also possible to[donate to Codeberg e\.V\.](https://docs.codeberg.org/improving-codeberg/donate/)in case the Liberapay option does not work out for you, and part of the funding is used to[compensate for work on Forgejo](https://codeberg.org/forgejo/sustainability/#forgejo-resources-per-year)\. However, the Liberapay team allows for money to go directly to developers without a round\-trip to Codeberg\. Additionally, Liberapay allows for a steady and reliable funding stream next to other options, a crucial aspect for the project\. The distribution of funds through Liberapay is[transparently controlled using the decision\-making process](https://codeberg.org/forgejo/governance/src/branch/main/TEAMS.md#liberapay-team-members), and Forgejo contributors are encouraged to consider applying to benefit from this funding opportunity\. Thank you for using Forgejo and considering a donation, if your financial situation allows\.

Similar Articles

Forgejo v15.0 is available

Lobsters Hottest

Forgejo v15.0 released on April 16, 2026, marking the 100th release with UI enhancements, security improvements, repository-specific access tokens, and advanced Forgejo Actions capabilities including reusable workflow expansion and OpenID Connect support.

Forgejo v16.0 is available

Lobsters Hottest

Forgejo v16.0 has been released, introducing breaking changes including SSRF hardening for mirrors, removal of EXIF stripping due to licensing, and changes to trusted proxy settings in containers.

Forgejo <=16.0.3 Critical RCE

Hacker News Top

A critical remote code execution vulnerability has been identified in Forgejo versions up to 16.0.3, allowing potential arbitrary code execution by attackers.

Forgejo monthly report - May 2026

Lobsters Hottest

Forgejo's May 2026 monthly report details the v15 LTS release, security releases for v11 and v14, and updates to Forgejo Runner. The v14 support has ended, and v11 support will end soon, urging upgrades.

Forge

Lobsters Hottest

Forge is a new CLI and Go library that unifies interactions across GitHub, GitLab, Bitbucket, and Gitea/Forgejo with a single interface and automatic forge detection.