Skip to content

Today, a new line of information exploded on the console. How can I eliminate it and what are the solutions? #2828

Closed
@ajiho

Description

@ajiho
[@octokit/request] "GET https://api.github.com/search/issues?q=repo%3Alaravel-manual%2F11.x%20%22Update%20Required%22%20in%3Atitle%20type%3Aissue&per_page=1" is deprecated. It is scheduled to be removed on Thu, 04 Sep 2025 00:00:00 GMT. See https://github.blog/changelog/2025-03-06-github-issues-projects-api-support-for-issues-advanced-searc[@octokit/request] "GET https://api.github.com/search/issues?q=repo%3Alaravel-manual%2F11.x%20%22Update%20Required%22%20in%3Atitle%20type%3Aissue&per_page=1" is deprecated. It is scheduled to be removed on Thu, 04 Sep 2025 00:00:00 GMT. See https://github.blog/changelog/2025-03-06-github-issues-projects-api-support-for-issues-advanced-searc%22%20in%3Atitle%20type%3Aissue&per_page=1" is deprecated. It is scheduled to be removed on Thu, 04 Sep 2025 00:00:00 GMT. See https://github.blog/changelog/2025-03-06-github-issues-projects-api-support-for-issues-advanced-searc:00 GMT. See https://github.blog/changelog/2025-03-06-github-issues-projects-api-support-for-issues-advanced-search-and-more/

The prompts that appear when using the following API

    const { data } = await this.#octokit.rest.search.issuesAndPullRequests({
      q: query,
      per_page: 1,
    })

This warning message indicates that GitHub API plans to remove the current search/issues query method on September 4, 2025. Your code called octokit. rest. search. issuesAndPullRequests(), and GitHub plans to no longer support it after that date.

How can I adjust my code if I want to achieve equivalent results?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions