0.13.0
ℹ️ Heads up! There is a new patch release 0.13.3 available, we recommend directly installing or upgrading to that version.
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