From bdfca7c00d780edc32e5f45b8a84ec376d661a13 Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Wed, 24 Apr 2024 07:26:20 +0200 Subject: [PATCH] fix(docs): v7.0.0 admin user create regression The tests in Forgejo extensively rely on admin user create to create the first admin user. This regression was not noticed because it is an exception and a password change will not be required. Refs: https://codeberg.org/forgejo/forgejo/issues/3399 (cherry picked from commit 4b573620560b753a466a1d3c303592355565c630) --- RELEASE-NOTES.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index a4ea46e762..9a1c19632d 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -21,6 +21,8 @@ $ git clone https://codeberg.org/forgejo/forgejo/ $ git -C forgejo log --oneline --no-merges origin/v1.21/forgejo..origin/v7.0/forgejo ``` +* **Regression and workaround:** + * The [`fogejo admin user create`](https://forgejo.org/docs/v7.0/admin/command-line/#admin-user-create) CLI command [requires a password](https://codeberg.org/forgejo/forgejo/commit/b122c6ef8b9254120432aed373cbe075331132ac) change by default. The `--must-change-password=false` argument must be given to not require a password change. The first user created on a new Forgejo instance is the exception, it will not require a password change by default. This regression will be [fixed in 7.0.1](https://codeberg.org/forgejo/forgejo/issues/3399). * **Breaking changes requiring manual intervention:** * [MySQL 8.0 or PostgreSQL 12](https://codeberg.org/forgejo/forgejo/commit/e94f9fcafdcf284561e7fb33f60156a69c4ad6a5) are the minimum supported versions. The database must be migrated before upgrading. The requirements regarding SQLite did not change. * The `per_page` parameter is [no longer a synonym for `limit`](https://codeberg.org/forgejo/forgejo/commit/0aab2d38a7d91bc8caff332e452364468ce52d9a) in the [/repos/{owner}/{repo}/releases](https://code.forgejo.org/api/swagger/#/repository/repoListReleases) API endpoint.