chore: sync Gitea 28.2.0 inputs and compatibility docs
Validate / Validate (push) Successful in 7m58s
Validate / Validate (push) Successful in 7m58s
This commit is contained in:
1 parent
d99c5d1dc5
commit
85ee9dbdbf
8 files changed
+29
-15
No files matched your search
@@ -13,6 +13,7 @@ Select the recommended template release for the Gitea version you run. `[PASS]`
|
||||
|
||||
| Gitea version | Recommended template release | Status | Notes |
|
||||
|---|---|---|---|
|
||||
| 28.2.0 | **v28.1.0** | [PASS] | Mail templates, template function registrations and mail translation keys are unchanged from 28.1.0 |
|
||||
| 28.1.0 | **v28.1.0** | [PASS] | - |
|
||||
| 28.0.0 | **v28.1.0** | [PASS] | Gitea replaced the mail function `FileSize` with `FormatByteSize` |
|
||||
| 1.27.3 | **v1.27.3** | [PASS] | Pull request push notification commit links fixed in every theme |
|
||||
@@ -36,6 +37,7 @@ This table describes changes in **Gitea**, not fixes in this template repository
|
||||
|
||||
| Gitea | Release date | Mail template changes | Impact |
|
||||
|---|---|---|---|
|
||||
| **28.2.0** | 2026-10-18 | No template interface changes | Custom-watch notification recipient rules and incoming reply token validation changed; existing templates are unaffected |
|
||||
| **28.1.0** | 2026-10-06 | None | None |
|
||||
| **28.0.0** | 2026-09-29 | Mail function `FileSize` renamed to `FormatByteSize` ([PR](https://github.com/go-gitea/gitea/pull/39083)) | **Breaking change:** old release attachment templates fail |
|
||||
| | | Introduced `templates/mail/base/` ([PR](https://github.com/go-gitea/gitea/pull/38396)) | **Breaking change:** older Gitea versions cannot directly use the new mail templates |
|
||||
@@ -54,6 +56,9 @@ This table describes changes in **Gitea**, not fixes in this template repository
|
||||
|
||||
## Template Variable Reference
|
||||
|
||||
> [!NOTE]
|
||||
> Mail templates, context construction, template functions and translation keys were checked against the [Gitea 28.1.0 to 28.2.0 source diff](https://github.com/go-gitea/gitea/compare/v28.1.0...v28.2.0). Version 28.2.0 changes [email notification rules for custom watches](https://github.com/go-gitea/gitea/pull/39837) and [incoming email token validation](https://github.com/go-gitea/gitea/pull/39841), without changing the variables, functions or translation keys required by existing mail templates. Source build inputs are locked to v28.2.0; the published v28.1.0 templates remain usable.
|
||||
|
||||
Official templates define the context for each mail type. For specific mail templates, functions and variables used during development, refer to the official mail template documentation [1](#notes).
|
||||
|
||||
## Translation Keys
|
||||
|
||||
Reference in new issue
Block a user