[@octokit/request] "GET https://api.github.com/repos/hyprwm/Hyprland/contents/.github" is deprecated. It is scheduled to be removed on Fri, 10 Mar 2028 00:00:00 GMT. See https://docs.github.com/en/rest/about-the-rest-api/api-versions
[@octokit/request] "GET https://api.github.com/repos/hyprwm/Hyprland/contents" is deprecated. It is scheduled to be removed on Fri, 10 Mar 2028 00:00:00 GMT. See https://docs.github.com/en/rest/about-the-rest-api/api-versions
The repository contents endpoint itself is not deprecated. GitHub docs indicate the 2026-03-10 breaking change is that directory listings return submodules with type: "submodule" instead of type: "file". Octokit appears to format API-version Deprecation / Sunset response headers as if the concrete request URL is deprecated.
Context
Some Gitpulse runs emit Octokit warnings like:
The repository contents endpoint itself is not deprecated. GitHub docs indicate the 2026-03-10 breaking change is that directory listings return submodules with
type: "submodule"instead oftype: "file". Octokit appears to format API-versionDeprecation/Sunsetresponse headers as if the concrete request URL is deprecated.Current mitigation
X-GitHub-Api-Version: 2026-03-10.Accept: application/vnd.github+json.type: "file"entries as documentation candidates and modelstype: "submodule".Follow-up
Deprecation,Sunset,Link, andx-github-api-version-selected.References