A series of changes have been identified across various GitLab APIs due to the deprecation of specific fields. For more information, see REST API deprecations (docs.gitlab.com).
As of the release of this post, GitLab has no official release date for API v5, and development has not yet started as of version 18.0.
What will be changed?
merged_by: In the Merge Request API, the merged_by field has been deprecated and replaced with merge_user. The following block response will be affected:
List merge request
Get merge request
List updated merge request incrementally
List new merge request incrementally
merge_status: The merge_status field in the Merge Request API is deprecated and replaced with detailed_merge_status. The following block response will be affected:
List merge request
Get merge request
Create merge request
List updated merge request incrementally
List new merge request incrementally
default_branch_protection: The default_branch_protection field will be replaced with the default_branch_protection_defaults field. For more information, see default_branch_protection API field (docs.gitlab.com). The following block response will be affected:
List groups
Additional details on Response Changes
Below you will find examples of responses with the deprecated (red) and new (green) fields.