func GetChangelog() ([]byte, Error) {
	headers := map[string]string{"Accept": "application/json"}
	_, _, resp, err := GetRequest("https://cli.doppler.com", true, headers, "/changes", nil)
	if err != nil {
		return nil, Error{Err: err, Message: "Unable to fetch changelog"}
	}
	return resp, Error{}
}
GetChangelog of CLI releases
package http
import (
	"encoding/json"
	"errors"
	"time"
	"github.com/DopplerHQ/cli/pkg/models"
	"github.com/DopplerHQ/cli/pkg/utils"
	"github.com/DopplerHQ/cli/pkg/version"
)
func getLatestVersion() (string, error) {
	origTimeout := TimeoutDuration
	TimeoutDuration = 2 * time.Second
	_, _, resp, err := GetRequest("https://cli.doppler.com", true, nil, "/version", nil)
	TimeoutDuration = origTimeout
	if err != nil {
		return "", err
	}
	var body map[string]interface{}
	err = json.Unmarshal(resp, &body)
	if err != nil {
		return "", err
	}
	if version, exists := body["version"]; exists {
		return version.(string), nil
	}
	return "", errors.New("unable to retrieve latest CLI version")
}
func GetLatestCLIVersion() (models.VersionCheck, error) {
	utils.LogDebug("Checking for latest version of the CLI")
	tag, err := getLatestVersion()
	if err != nil {
		utils.LogDebug("Unable to check for CLI updates")
		utils.LogDebugError(err)
		return models.VersionCheck{}, err
	}
	versionCheck := models.VersionCheck{CheckedAt: time.Now(), LatestVersion: version.Normalize(tag)}
	return versionCheck, nil
}
func GetCLIInstallScript() ([]byte, Error) {
	_, _, resp, err := GetRequest("https://cli.doppler.com", true, nil, "/install.sh", nil)
	if err != nil {
		return nil, Error{Err: err, Message: "Unable to download CLI install script"}
	}
	return resp, Error{}
}