PackageTrack
Sign in Get early access

octocrab

A modern, extensible GitHub API client.

0.54.1 17M downloads/mo #2314 most downloaded on crates.io XAMPPRocky/octocrab

What this package is like to depend on

Last release 1 months ago

24 Jul 2026

Release timing varies

gaps range from 1 weeks to 3 months

Some releases are documented

notes for 66 of 114 stable releases

1 version withdrawn

withdrawn after publishing

6 years old

119 releases · first in 2020

23 releases in the last 12 months

see the full history below

Release timeline

119 releases · Apr 2020 to Jul 2026
2021 2022 2023 2024 2025 2026
Release Pre-release Withdrawn

Releases

latest 60 of 119
  1. 0.54.1 24 Jul 2026
    Release notes

    Added

    • Add override of default crypto provider (#931)
    Open source →
    Release notes

    Added

    • Add override of default crypto provider (#931)
    Open source →
  2. 0.54.0 07 Jul 2026
    Release notes

    Fixed

    • [breaking] make mandatory PR fields mandatory (#924)
    Open source →
    Release notes

    Fixed

    • [breaking] make mandatory PR fields mandatory (#924)
    Open source →
  3. 0.53.1 10 Jun 2026
    Release notes

    Added

    • support sub-issues (#898)

    Fixed

    • Omit input object if null. Github expects object or nothing. (#918)

    Other

    • cargo clippy --tests --examples --fix (#920)
    • Use std::sync::LazyLock over once_cell::sync::Lazy (#919)
    Open source →
    Release notes

    Added

    • support sub-issues (#898)

    Fixed

    • Omit input object if null. Github expects object or nothing. (#918)

    Other

    • cargo clippy --tests --examples --fix (#920)
    • Use std::sync::LazyLock over once_cell::sync::Lazy (#919)
    Open source →
  4. 0.53.0 03 Jun 2026
    Release notes

    Fixed

    • [breaking] correct nullable properties on AutoMerge (#911)
    Open source →
    Release notes

    Fixed

    • [breaking] correct nullable properties on AutoMerge (#911)
    Open source →
  5. 0.52.0 02 Jun 2026
    Release notes

    Added

    • Added GitHub async SBOM API endpoints. (#903)
    • [breaking] made PullRequest to be able to accept SimplePullRequest payload from github (#902)
    • add list-artifacts-for-a-repository endpoint (#896)
    • support pinned comments (#894)

    Other

    • add tests for InMemoryCache [cache-redb 2/3] (#904)
    • serde support for Cache structs [cache-redb 1/3] (#905)
    • add changes field to PullRequestWebhookEventPayload (#907)
    Open source →
    Release notes

    Added

    • Added GitHub async SBOM API endpoints. (#903)
    • [breaking] made PullRequest to be able to accept SimplePullRequest payload from github (#902)
    • add list-artifacts-for-a-repository endpoint (#896)
    • support pinned comments (#894)

    Other

    • add tests for InMemoryCache [cache-redb 2/3] (#904)
    • serde support for Cache structs [cache-redb 1/3] (#905)
    • add changes field to PullRequestWebhookEventPayload (#907)
    Open source →
  6. 0.51.0 17 May 2026
    Release notes

    Fixed

    • [breaking] actualized github response model for 'List Pull Requests' (#886)
    Open source →
    Release notes

    Fixed

    • [breaking] actualized github response model for 'List Pull Requests' (#886)
    Open source →
  7. 0.50.0 05 May 2026
    Release notes

    Added

    • add create_comment to PullRequestHandler (#880)
    • Add support for exchanging oauth code for access token (#780)
    • add get_app (#757)
    • Add ability to update an existing label (#786)
    • Added converted_from_draft to Event (#859)

    Fixed

    • Use PUT not PATCH for pull request reviews (#879)
    • cargo fmt, cargo test, Set MSRV to 1.85.0 (#878)
    • deser generate repo as respository (#812)
    • use new search model on search function
    • revert commit back to correct structure

    Other

    • [breaking] remove the either dependency (#883)
    • added issue_field_added to Event enum (#882)
    • update MSRV to 1.95.0
    • don't include unconditional backtrace in Display impl (#824)
    • add a simple test for compare commits
    • remove duplicated GitUser
    • create search models submodule
    • move repository model from commits module
    • move maybe_empty to models module
    • remove Option<> for some fields of PullRequest (#873)
    Open source →
    Release notes

    Added

    • add create_comment to PullRequestHandler (#880)
    • Add support for exchanging oauth code for access token (#780)
    • add get_app (#757)
    • Add ability to update an existing label (#786)
    • Added converted_from_draft to Event (#859)

    Fixed

    • Use PUT not PATCH for pull request reviews (#879)
    • cargo fmt, cargo test, Set MSRV to 1.85.0 (#878)
    • deser generate repo as respository (#812)
    • use new search model on search function
    • revert commit back to correct structure

    Other

    • [breaking] remove the either dependency (#883)
    • added issue_field_added to Event enum (#882)
    • update MSRV to 1.95.0
    • don't include unconditional backtrace in Display impl (#824)
    • add a simple test for compare commits
    • remove duplicated GitUser
    • create search models submodule
    • move repository model from commits module
    • move maybe_empty to models module
    • remove Option<> for some fields of PullRequest (#873)
    Open source →
  8. 0.49.9 27 Apr 2026
    Release notes

    Other

    • Add 'tokio' dependency to retry configuration (#875)
    Open source →
    Release notes

    Other

    • Add 'tokio' dependency to retry configuration (#875)
    Open source →
  9. 0.49.8 24 Apr 2026
    Release notes

    Added

    • add structured GraphQL response and error (#874)

    Fixed

    • Expose OctoBody (#870)
    Open source →
    Release notes

    Added

    • add structured GraphQL response and error (#874)

    Fixed

    • Expose OctoBody (#870)
    Open source →
  10. 0.49.7 30 Mar 2026
    Release notes

    Added

    • add missing waiting status to Status enum (#862)

    Fixed

    • (repos) create a repo variable doesn't take the name in the path (#865)

    Other

    • Extend get_content to allow requesting raw_files (#866)
    • [retry/rate-limits] Add rate limit handling into the retry config (#869)
    • Allow retry policy to run on GET requests (#867)
    Open source →
    Release notes

    Added

    • add missing waiting status to Status enum (#862)

    Fixed

    • (repos) create a repo variable doesn't take the name in the path (#865)

    Other

    • Extend get_content to allow requesting raw_files (#866)
    • [retry/rate-limits] Add rate limit handling into the retry config (#869)
    • Allow retry policy to run on GET requests (#867)
    Open source →
  11. 0.49.6 23 Mar 2026
    Release notes

    Added

    • (activity/starring) add list_repos_starred_by_user (#861)
    • added undocumented events (#858)
    • repository variables handler (#857)

    Other

    • Remove Lines Of Code badge from README
    • Add Event::CopilotWorkStarted (#854)
    • actualized Commit for GET /search/commits (#851)
    Open source →
  12. 0.49.5 30 Dec 2025
    Release notes

    Fixed

    • resolve docs.rs build failure (#848)
    Open source →
  13. 0.49.4 25 Dec 2025
    Release notes

    Added

    • Add squash_merge_commit_title, squash_merge_commit_title to repo model (#845)
    Open source →
  14. 0.49.3 23 Dec 2025
    Release notes

    Added

    • Http caching & Conditional requests (#831)
    Open source →
  15. 0.49.2 20 Dec 2025
    Release notes

    Added

    • Add body_text and body_html to Comment model (#832)
    Open source →
  16. 0.49.1 20 Dec 2025
    Release notes

    Added

    • provide expiration-aware installation token APIs (#837)

    Fixed

    • Send body for retried requests (#842)
    Open source →
  17. 0.49.0 19 Dec 2025
    Release notes

    Fixed

    • [breaking] add a cfg to make the crypto backend for jwt configurable (#834)
    • incorrect path for followers and followees (#829)

    Other

    • fix various warnings in CI and deny warnings being reintroduced (#839)
    • [breaking] mark more structs as #[non_exhaustive] (#840)
    • Partial implementation of Organization CoPilot APIs (#747)
    • [codes-of-conduct] #527 (#833)
    Open source →
  18. 0.48.1 02 Dec 2025
    Release notes

    Fixed

    • (build) don't fetch dependencies (#828)
    Open source →
  19. 0.48.0 18 Nov 2025
    Release notes

    Added

    • fetch contributor repository permission (#825)
    • [breaking] Use Option<AuthorAssociation> over String in Issue struct (#822)

    Other

    • add missing issue event types (#821)
    • Remove fields deleted in October 2025 API changes (#826)
    • Bump jsonwebtoken to v10 (#814)
    • Feature/set http headers #808 (#819)
    Open source →
  20. 0.47.1 03 Nov 2025
    Release notes

    Added

    • add missing list workflows filters (#820)

    Other

    • Modify _put method documentation (#818)
    • Feature/interactions 537 (#817)
    • Added Feature/classrooms #524 (#815)
    Open source →
  21. 0.47.0 07 Oct 2025
    Release notes

    Added

    • add immutable Release field (#806)

    Other

    • added creating a review (POST "/repos/{owner}/{repo}/pulls/{pull_number}/reviews") (#805)
    Open source →
  22. 0.46.0 28 Sep 2025
    Release notes

    Fixed

    • [breaking] make CommitAuthor email nullable (#799)

    Other

    • Expose digest field in Asset model (#804)
    • cargo clippy (#803)
    • fix doc url for ProjectHandler (#802)
    Open source →
  23. 0.45.0 14 Sep 2025
    Release notes

    Added

    • add redelivery field for hook deliveries (#797)
    • added PATCH /user (#792)

    Fixed

    • [breaking] change some fields to optional types in CheckSuite struct (#784)

    Other

    • :repos::Commit -> models::commits::Commit (#781)
    • cargo clippy --fix (#783)
    • cargo clippy --fix (#774)
    Open source →
  24. 0.44.1 06 May 2025
    Release notes

    Fixed

    • (docs) Update and fix crate documentation for docs.rs, update README (#769)
    • print deprecation warning to stderr (#768)

    Other

    • Add optional name field to Author struct (#771)
    • Add 'dowload' and 'download_zip' functions to client (#766)
    • Add enum EventInstallation::id() helper (#763)
    • examples/graphql_issues.rs: Update schema URL (#764)
    Open source →
  25. 0.44.0 26 Mar 2025
    Release notes

    Added

    • Implement Serialize for Page (#761)

    Fixed

    • [breaking] sha is optional in DiffEntry if file contents are unchanged (#750)
    • insert auth headers for api.github.com (#754)
    • (emails) visibility can be null (#756)
    Open source →
  26. 0.43.0 17 Jan 2025
    Release notes

    Other

    • Enable client reuse when authenticating via a Github app using user access tokens (#740)
    • [breaking] Box the github error & fix clippy lints (#743)
    • issues can now be closed as duplicate (#741)
    • Add "merged" field to PullRequest (#737)
    Open source →
  27. 0.42.1 22 Nov 2024
    Release notes

    Other

    • Secret scanning alert locations API (#735)
    Open source →
  28. 0.42.0 14 Nov 2024
    Release notes

    Added

    • added ssh_signing_keys ops (#725)

    Other

    • Secrets and Code scanning alerts API (#730)
    • add support for custom executors (#728)
    • Fixup route in api/issues/update (#732)
    Open source →
  29. 0.41.2 16 Oct 2024
    Release notes

    Fixed

    • Removed rustls hard-dependency (#709)
    • crate build issues with stream feature (#711)

    Other

    • Update tower dependency from 0.4.13 to 0.5.1 (#722)
    • added user's social accounts operations (/user/social_accounts) (#723)
    • added auth.user's git_ssh_keys operations (#719)
    • Remove --verbose (#716)
    Open source →
  30. 0.41.1 10 Oct 2024
    Release notes

    Fixed

    • don't capture backtraces by default (#710)

    Other

    • added user's gpg_keys operations (#717)
    • Secrecy dependency update from 0.8.0 to 0.10.3 (#718)
    • Added handlers for Repo Dependabot API (#714)
    • #552 (emails, public_emails, visibility) (#712)
    • make some fields to public (#708)
    • Implement some style improvements (#698)
    Open source →
  31. 0.41.0 30 Sep 2024
    Release notes

    Added

    • Implement getting users and reopos by their respective IDs (#690)

    Fixed

    • (installation) [breaking] Return Result instead of panicking in Octocrab::installation (#687)

    Other

    • Update tower-http requirement from 0.5.1 to 0.6.1 (#701)
    • add additional webhook model fields (#696)
    • Bump hyper-rustls version. (#699)
    Open source →
  32. 0.40.0 23 Sep 2024
    Release notes

    Added

    • Support remove_assignees on issue API (#686)
    • add missing fields in CreateForkBuilder (#682)
    • Add Gist::public field (#678)

    Fixed

    • (refs) [breaking] remove Reference::Commit variant (#697)

    Other

    • Fix typo in cfg_attr statement (#693)
    • Handle empty author object in pr_commits (#656)
    • Add DeviceCodes::poll_until_available method (#679)
    • Uncomment pr_commits function (#680)
    • Only add base_path if req_pandq does not contain it (#684)
    • Update code scanning alert (#673)
    • Added merged_by and closed_by fields (#674)
    • Update and Fixes to the Code Scanning Models & Webhooks (#675)
    Open source →
  33. 0.39.0 31 Jul 2024
    Release notes

    Added

    • support permission on list_collaborators (#630)
    • add check run pull requests and list parameters (#494)
    • implement hook deliveries (#668)
    • allow sending non String payload with execute (#665)
    • added /user/blocks functionality (#657)
    • add method to create repo webhook (#640)

    Fixed

    • use put instead of get for set_thread_subscription (#661)
    • (builder) Change add_retry_config signature to match others in OctocrabBuilder (#643)

    Other

    • getting Code Scanning (#669)
    • added missing /repos/{owner}/{repo}/pulls/... handlers (#546) (#605)
    • Properly mark feature-gated functionality in docs (#662)
    • repos/releases improvements (#666)
    • Add AutoRebaseEnabled to models.rs (#660)
    • cargo fmt (#658)
    • Fix issue #635 (#637)
    • Update issues.rs (#634)
    • Add head repo to create pr (#636)
    • Added support for make_latest in UpdateReleaseBuilder (#646)
    • Changing the user name from required to optional parameter (#650)
    • Update models.rs (#651)
    Open source →
  34. 0.38.0 09 Apr 2024
    Release notes

    Added

    • Add generate_release_notes: (#588)

    Other

    • Unify diff entry models (#624)
    • Added tests for .delete_thread_subscriptions() (#620)
    • Adding tests, and fixing missing error code. (#619)
    Open source →
  35. 0.37.0 27 Mar 2024
    Release notes

    Fixed

    • [breaking] Change Rate::reset to u64 (#615)

    Other

    • Update graphql_client requirement from 0.13.0 to 0.14.0 (#617)
    • Added basic support for getting user profiles (#616)
    • Update manual github app authentication example (#610)
    Open source →
  36. 0.36.0 19 Mar 2024
    Release notes

    Added

    • WASM Support (#591)

    Other

    • fix some comments (#611)
    • Add status code to GithubError (#607)
    • Add Pending variant to octocrab::models::workflows::Status (#604)
    • Fix personal token auth for pagination (#602)
    • Fixed some .gists() functions, and wrote tests. (#606)
    • Allow directly passing SecretString (#601)
    Open source →
  37. 0.35.0 11 Mar 2024
    Release notes

    Added

    • add repository list language support (#595)

    Other

    • Added test for actions().create_workflow_dispatch() (#603)
    • added "Create a new Git commit object" (#600)
    • Added check-suites endpoints (#596)
    • Adding org secrets tests (#599)
    Open source →
  38. 0.34.3 05 Mar 2024
    Release notes

    Other

    • Add delete_ref in RepoHandler (#573)
    • Adding tests to orgs().secrets().create_or_update_secret() (#590)
    Open source →
  39. 0.34.2 04 Mar 2024
    Release notes

    Other

    • Update base64 requirement from 0.21.0 to 0.22.0 (#592)
    • Add Public and Release events (#589)
    • Adding tests for actions().remove_selected_repo_from_org_secret() (#586)
    • Fixed the `projects().delete_project().send() function (#587)
    • Added more tests, for repos().delete() (#585)
    • Adding test for actions().actions_delete_workflow_run_logs_test() (#584)
    • Fixing snafu version update (#580)
    • Fixing the test that [email protected] breaks. (#579)
    • Added some more tests (#578)
    • Added a test (#577)
    Open source →
  40. 0.34.1 12 Feb 2024
    Release notes

    Other

    • Added tests to prove repos().secrets().delete_secret() (#570)
    • Adding test for issues().delete_comment() (#569)
    • Fixed issues().delete_comment_reaction() (#566)
    Open source →
  41. 0.34.0 07 Feb 2024
    Release notes

    Other

    • Upgrade http/hyper 1.0 (#564)
    Open source →
  42. 0.33.4 06 Feb 2024
    Release notes

    Other

    • Don't send Authorization headers to third-party services. (#562)
    • Added tests for repos().merges() (#560)
    Open source →
  43. 0.33.3 26 Jan 2024
    Release notes

    Other

    • Handle redirects in ReleasesHandler::stream_asset(). (#556)
    • Tests for locking and unlocking issue comments (#557)
    Open source →
  44. 0.33.2 24 Jan 2024
    Release notes

    Other

    • Resolving issue with deleting reactions from issues. (#555)
    • Added a test for repos().is_collaborator(). The 204 case is good! (#553)

    Other

    • Added a test case for repos().is_collaborator() to cover both 204 and 404 cases.
    Open source →
  45. 0.33.1 15 Jan 2024
    Release notes

    Fixed

    • fixed timeout methods not being feature gated (#519)
    Open source →
  46. 0.33.0 15 Jan 2024
    Release notes

    Added

    • add methods to builder for changing timeouts (#498)

    Other

    • Always set http request header CONTENT-LENGTH (#464)
    • Add link to Content::decoded_content (#514)
    • Repairing two 204-related serde errors, and adding some simple tests. (#503)
    • Add CheckRunOutput (#515)
    • cargo clippy --tests --examples --fix (#496)
    • make dismissal_message optional (#501)
    • Add conclusion, completed_at and output fields to create check api (#467)
    • Fix typo in docs (#508)
    • [docs] Improve the update_file docs (#513)
    • added repos/list_contributors (#500)
    • Make user information optional
    • Use graphql_client to get stronger typing
    • add fields for refresh token and expiry timestamps (#477)

    Fixed

    • Fixed two functions which return 204s and have no body, which throws serde errors
      • octocrab.issues().delete_label()
      • octocrab.teams().repos().remove()

    Other

    • Added tests for the above functions
    • Also added tests for octocrab.teams().repos().add_or_update()
    • Also added tests for octocrab.issues().remove_label()
    Open source →
  47. 0.32.0 03 Nov 2023
    Release notes

    Other

    • support eq and hash (#480)
    • Demonstrate variables and paging (#481)
    • Fix a bunch of clippy issues (#482)
    • add events for auto_merge_[disabled|enabled] (#479)
    • Add examples/graphql_issues.rs (#478)
    • Document the PullRequest number field (#476)
    • Update jsonwebtoken requirement from 8 to 9 (#471)
    Open source →
  48. 0.31.2 15 Oct 2023
    Release notes

    Other

    • Add follow-redirect feature (#469)
    Open source →
  49. 0.31.1 08 Oct 2023
    Release notes

    Other

    • add get_readme for RepoHandler (#465)
    Open source →
  50. 0.31.0 02 Oct 2023
    Release notes

    Other

    • Add WatchEvent (#462)
    • Checks API (#461)
    • Fix github_app_authentication.rs (#458)
    Open source →
  51. 0.30.1 04 Sep 2023
    Release notes

    Other

    • add tracing debug only when tracing feature is enabled (#454)
    Open source →
  52. 0.30.0 01 Sep 2023
    Release notes

    Other

    • Fix commit_comment webhook event parsing (#453)
    • Add Octocrab::users() and UsersHandler::repos (#451)
    • Add CommitHandler::associated_check_runs (#450)
    • Fix installation token cache issue (#442)
    • Add projects Api (#447)
    • Enhance installation webhook events
    • Add test for push webhook event
    • Implement custom deserialization for hybrid Github API timestamps
    • Make webhook_events deserialization tests more robust
    Open source →
  53. 0.29.3 15 Aug 2023
    Release notes

    Other

    • add WebhookEventType::Schedule variant
    Open source →
  54. 0.29.2 14 Aug 2023
    Release notes

    Fixed

    • fix get_asset url

    Other

    • Add optional email field to Author
    • Add get_org_installation to AppsRequestHandler
    • Update CHANGELOG.md
    Open source →
  55. 0.29.1 31 Jul 2023
    Release notes

    Other

    • Make models::webhook_events::payload public
    Open source →
  56. 0.29.0 31 Jul 2023
    Release notes

    Other

    • Add webhook event deserialization (#427)
    • Update changelog for v0.28.0 (#428)
    • Add associated pull requests and commit compare functionality (#413)
    • Fix clippy 1.71 warnings (#424)
    Open source →
  57. 0.28.0 19 Jul 2023
    Release notes

    Other

    • Handle errors when kicking off github workflows (#409)
    • Update license field following https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields (#412)
    • cargo clippy --tests (#416)
    • Improve workflow job types (#414)
    • Fix graphql example (#404)
    Open source →
  58. 0.27.0 18 Jul 2023
    Release notes

    Other

    • Handle errors when kicking off github workflows (#409)
    • Update license field following https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields (#412)
    • cargo clippy --tests (#416)
    • Improve workflow job types (#414)
    • Fix graphql example (#404)
    Open source →
  59. 0.26.0 12 Jul 2023

    Nothing published for this version

  60. 0.25.1 06 Jun 2023
    Release notes

    Other

    • Pass through hyper-rustls/webpki-tokio (#392)
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive