module Gitlab::Client::Repositories

def get_changelog(project, version, options = {})

Returns:
  • (Gitlab::ObjectifiedHash) -

Options Hash: (**options)
  • :trailer (String) -- The Git trailer to use for including commits
  • :date (String) -- The date and time of the release, defaults to the current time
  • :to (String) -- The end of the range of commits (as a SHA) to use for the changelog
  • :from (String) -- The start of the range of commits (SHA)

Parameters:
  • options (Hash) -- A customizable set of options
  • version (String) -- The version to generate the changelog for
  • project (Integer, String) -- The ID or name of a project
def get_changelog(project, version, options = {})
  get("/projects/#{url_encode project}/repository/changelog", body: options.merge(version: version))
end