|RCE| 5.9.0 |RNS|
-----------------

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

- 2025-11-06

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

- AI-powered Code Review: Added UI button to simplify running AI code review on pull requests. Added detailed audit logging for AI review actions. (Enterprise Edition only)
- AI-powered Code Review: Admins can fetch latest list of AI model versions from corresponding API, instead of using static list.
- User management: Added CLI commands for admins to find, notify, and delete inactive users with configurable inactivity thresholds and email notifications.
- Default Branch Configuration: Added system-wide setting to configure default branch name (e.g., 'main', 'master', 'development') for new Git repositories.
- Celery Task Deduplication: Implemented deduplication mechanism for Celery background tasks. Disabled by default, enabled via ``celery.enable_deduplication`` setting in .ini file.

General
^^^^^^^

- dev: Added local SMTP server support for testing email notifications in dev env.
- tests: Improved test cleanup with automatic temporary file removal after test execution.
- deps: Migrated from deprecated pkg_resources library to importlib for package metadata handling.
- docs: New scaling and performance tuning page with detailed guidance on configuring Gunicorn workers/threads, Docker replicas for HTTP/SSH/SVN/Celery services.

Security
^^^^^^^^


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



Fixes
^^^^^

- ai-review: Fixed UI layout issues in AI code review interface and improved API key field security (password type input).

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

- RhodeCode 5.9.0 is a planned feature release.
- Enhancements to AI code review capabilities, configurable default branch names for Git repos.

