|RCE| 5.1.0 |RNS|
-----------------

Release Date
^^^^^^^^^^^^

- 2024-07-18


New Features
^^^^^^^^^^^^

- We've introduced 2FA for users. Now alongside the external auth 2FA support RhodeCode allows to enable 2FA for users.
  2FA options will be available for each user individually, or enforced via authentication plugins like ldap, or internal.
- Email based log-in. RhodeCode now allows to log-in using email as well as username for main authentication type.
- Ability to replace a file using web UI. Now one can replace an existing file from the web-ui.
- GIT LFS Sync automation. Remote push/pull commands now can also sync GIT LFS objects.
- Added ability to remove or close branches from the web ui.
- Added ability to delete a branch automatically after merging PR for git repositories.
- Added support for S3 based archive_cache that allows storing cached archives in S3 compatible object store.


General
^^^^^^^

- Upgraded all dependency libraries to their latest available versions.
- Repository storage is no longer controlled via DB settings, but .ini file. This allows easier automated deployments.
- Bumped mercurial to 6.7.4
- Mercurial: enable httppostarguments for better support of large repositories with lots of heads.
- Added explicit db-migrate step to update hooks for 5.X release.


Security
^^^^^^^^



Performance
^^^^^^^^^^^

- Introduced a full rewrite of ssh backend for performance. The result is 2-5x speed improvement for operation with ssh.
  Enable new ssh wrapper by setting: `ssh.wrapper_cmd = /home/rhodecode/venv/bin/rc-ssh-wrapper-v2`
- Introduced a new hooks subsystem that is more scalable and faster, enable it by setting: `vcs.hooks.protocol = celery`


Fixes
^^^^^

- Archives: Zip archive download breaks when a gitmodules file is present.
- Branch permissions: fixed bug preventing to specify own rules from 4.X install.
- SVN: refactored svn events, thus fixing support for it in dockerized environment.
- Fixed empty server url in PR link after push from cli.


Upgrade notes
^^^^^^^^^^^^^

- RhodeCode 5.1.0 is a major feature release after big 5.0.0 python3 migration. Happy to ship a first time feature-rich release.
