All Octocrab releases are supported by the community and through GitHub Sponsors.
- Relaxed the
bodyargument onOctocrab::graphqlfromimpl AsRef<str>to&impl serde::Serialize + ?Sizedto allow accepting any valid JSON value. This is mainly useful for being able to use types from other libraries likegraphql_clientdirectly.
actionsControl and automate GitHub Actions.currentMetadata about the currently authenticated user.gitignoreGet and generate gitignore templates.licensesMetadata about licenses.markdownRender markdown with GitHub.orgsOrganisationspullsPull RequestsreposRepositoriessearchSearch using GitHub's query syntax.
Octocrab::graphqlSend a GraphQL request.IssueHandler::lockLock a GitHub issue with an optional reason.IssueHandler::unlockUnlock a GitHub issue.IssueHandler::replace_all_labelsReplace all labels on an issue.IssueHandler::delete_labelRemove labels from an issue.IssueHandler::list_labels_for_issueList all labels on an issue.IssueHandler::list_labels_for_repoList all labels in a repository.PullRequestHandler::media_typeSet the media type for a single request.PullRequestHandler::get_diffGet a pull request's diff file.PullRequestHandler::get_patchGet a pull request's patch file.Page::number_of_pagesGet the number of pages in a paginated query if possible.
Page<T>now has new fields for being used with GitHub's search APi such asincomplete_resultsandtotal_count.