Skip to content

Releases: octokit/octokit.rb

v5.6.0

14 Sep 10:58
17d2f86
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v5.5.0...v5.6.0

v5.5.0

12 Sep 11:37
15be725
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v5.4.0...v5.5.0

v5.4.0

30 Aug 11:48
70e55c2
Compare
Choose a tag to compare

What's Changed

  • Add support for "Check team permissions for a repository" API (GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}) with #team_permissions_for_repo by @juanmrad in #1474

New Contributors

Full Changelog: v5.3.0...v5.4.0

v5.3.0

24 Aug 11:16
2bb819a
Compare
Choose a tag to compare

Features

New Contributors

Full Changelog: v5.2.0...v5.3.0

v5.2.0

01 Aug 21:18
Compare
Choose a tag to compare

Advisories and Breaking Changes

With this release, all preview logic and header implementations have been removed. GitHub REST API previews were promoted in October 2021. With this change, the headers no longer need to be passed to the GitHub REST API. This means you will no longer need to manually pass in preview headers (for any reason) to benefit from the API changes behind the preview logic.

Housekeeping

  • Removes REST API previews logic from the SDK now that all previews have been promoted by @nickfloyd in #1464

CI/Build

Dependencies

Full Changelog: v5.1.0...v5.2.0

v5.1.0

13 Jul 11:20
9f96e5a
Compare
Choose a tag to compare

Features

  • Add support for the "Search topics" (GET /search/topics) API with .search_topics (@juanluis-garrote)
  • Add support for the "Disable a workflow" (PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable) GitHub Actions API with .workflow_disable (@Fryguy)
  • Add support for the "Enable a workflow" (PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable) GitHub Actions API with .workflow_enable (@Fryguy)
  • Add support for the "Get workflow run usage" (GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing) GitHub Actions API with .workflow_run_usage (@mathroule)
  • Add support for the "Get a job for a workflow run" (GET /repos/{owner}/{repo}/actions/jobs/{job_id}) GitHub Actions API with .workflow_run_job (@mathroule)
  • Add support for the "Download job logs for a workflow run" (GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs) GitHub Actions API with .workflow_run_job_logs (@mathroule)
  • Add support for the "List jobs for a workflow run attempt" (GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs) GitHub Actions API with .workflow_run_attempt_jobs (@mathroule)
  • Add support for the "List jobs for a workflow run" (GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs) GitHub Actions API with .workflow_run_jobs (@mathroule)

Gem development

v5.0.0

12 Jul 15:26
9bb6362
Compare
Choose a tag to compare
  • Drop support for Ruby versions 2.0, 2.1, 2.2, 2.3, 2.4, 2.5 and 2.6, which have all reached end-of-life (i.e. they aren't maintained anymore) (@timrogers)

v4.25.1

01 Jul 13:59
97ac5fb
Compare
Choose a tag to compare
  • Stop configuring Faraday's retry middleware twice (@Edouard-chin)
  • Fix various Ruby warnings (e.g. missing parentheses) (@coryf)

v4.25.0

15 Jun 20:58
Compare
Choose a tag to compare

✅ NOTE: This remediates A security advisory was published on versions 4.23.0 and 4.24.0 of this gem. You can read more about this in the published security advisory. ✅

DX Improvements

CI Improvements

Updates all build scripts to be more durable and adds details on how to run a manual file integrity check by @nickfloyd in #1446

Housekeeping

  • Drop support for Ruby 1.9.2 in Octokit::Client::Contents#create_contents by @timrogers in #1442

Full Changelog: v4.24.0...v4.25.0

v4.24.0

06 Jun 21:44
Compare
Choose a tag to compare

❗ NOTE: A security advisory has been published on version 4.24.0 of this gem. This gem was published with world-writeable files. You can read more about this in the published security advisory. ❗

Known issues

Note: This release fixes the issue around autoloading modules causing some modules to not load before use #1428


Code improvements


CI Improvements

  • Adds Code QL analysis to octokit.rb via @nickfloyd

Bug fixes


Full Changelog: v4.23.0...v4.24.0