All Octocrab releases are supported by the community and through GitHub Sponsors.
- Relaxed the
body
argument onOctocrab::graphql
fromimpl AsRef<str>
to&impl serde::Serialize + ?Sized
to allow accepting any valid JSON value. This is mainly useful for being able to use types from other libraries likegraphql_client
directly.
actions
Control and automate GitHub Actions.current
Metadata about the currently authenticated user.gitignore
Get and generate gitignore templates.licenses
Metadata about licenses.markdown
Render markdown with GitHub.orgs
Organisationspulls
Pull Requestsrepos
Repositoriessearch
Search using GitHub's query syntax.
Octocrab::graphql
Send a GraphQL request.IssueHandler::lock
Lock a GitHub issue with an optional reason.IssueHandler::unlock
Unlock a GitHub issue.IssueHandler::replace_all_labels
Replace all labels on an issue.IssueHandler::delete_label
Remove labels from an issue.IssueHandler::list_labels_for_issue
List all labels on an issue.IssueHandler::list_labels_for_repo
List all labels in a repository.PullRequestHandler::media_type
Set the media type for a single request.PullRequestHandler::get_diff
Get a pull request's diff file.PullRequestHandler::get_patch
Get a pull request's patch file.Page::number_of_pages
Get 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_results
andtotal_count
.