|RCE| 5.7.0 |RNS|
-----------------

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

- 2025-08-13

New Features
^^^^^^^^^^^^
- squash: The pull request UI now includes a dropdown menu, allowing users to select "Squash" or "Close" when merging pull requests in Git and Mercurial repositories, instead of only having the "Merge" option. This feature is exclusive to the Enterprise Edition (EE) and must be enabled by an administrator.
- pull request: Introduced a new checkbox in the pull request UI, allowing users to select the option to close the branch after merging. This feature is exclusive to the Enterprise Edition (EE).
- pull request: Added a new repository setting to control whether target branch is pre-populated in pull request creation form.
- user: It is now possible to remove users from the system. When a user is deleted, all of their assets will automatically be reassigned to a new system user, 'Ghost User'.
- Active Directory: Added the ability to sync active and inactive users from LDAP/Active Directory. This feature must be enabled in the LDAP authentication plugin by an administrator, is available only for Active Directory, and is exclusive to the Enterprise Edition (EE).
- debugger: Added PyCharm remote debugger support for VCS server development and debugging.

General
^^^^^^^

- tests: Improved unit test coverage and stability, including new tests for LDAP functionality, pull request features, and VCS operations.
- documentation: Updated documentation for Elasticsearch indexing setup and removed some deprecated content. Clarified remapping of default SSH port to 9022.


Security
^^^^^^^^



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



Fixes
^^^^^
- vcs settings: Fixed cache invalidation issue where sometimes UI wasn't reflectign db state for some settings.
- ssh: Fixed an issue where the app.service_api.token field could be left empty in the configuration. The application will now automatically populate this field if it is missing.
- ssh: Fixed default clone url template for repo page to include default 9022 SSH port (template is configurable in settings).
- notifications: Fixed rare timezone-related notification screen exception that could occur after migration from older versions of 4.x.
- elasticsearch: Improved error handling for Elasticsearch search when ES is not configured or index is absent.
- repo sync: Fixed repository sync job issue where Git configuration could refuse sync because of deleted branches.

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