Releases: octokit/octokit.rb
v6.0.1
What's Changed
Dependencies
- Update rubocop requirement from 1.36.0 to 1.37.1 by @dependabot in #1497
- Update rubocop requirement from 1.37.1 to 1.38.0 by @dependabot in #1503
- Update rubocop requirement from 1.38.0 to 1.39.0 by @dependabot in #1509
Housekeeping
- Outdated credential removal by @kfcampbell in #1500
- Add issue templates by @kfcampbell in #1501
- Add PR templates by @nickfloyd in #1507
Bug fixes
New Contributors
Full Changelog: v6.0.0...v6.0.1
v6.0.0
We're releasing v6.0.0 because #1494 and #1495 are technically breaking changes although the APIs that underlie this functionalilty have been not operational for some time.
What's Changed
- Fix broken pagination in ActionsWorkflowRuns by @luke-engle in #1488
- Remove Octokit::Client::Hooks#available_hooks by @kfcampbell in #1495
- Change the default value of
update_ref
force
to false by @pocke in #980 - Remove Octokit::Client::Authorizations by @kfcampbell in #1494
- Bump to v6.0.0 by @kfcampbell in #1496
New Contributors
- @luke-engle made their first contribution in #1488
- @kfcampbell made their first contribution in #1495
Full Changelog: v5.6.1...v6.0.0
v5.6.1
What's Changed
- Update regex to raise
Octokit::TooLargeContent
when relevant error messages are returned by GitHub (by @goldstar611 in #1484) - Correct documentation URL for
#artifact_download_url
(by @timrogers in #1483)
New Contributors
- @goldstar611 made their first contribution in #1484
Full Changelog: v5.6.0...v5.6.1
v5.6.0
What's Changed
- Add
#repository_artifacts
,#workflow_run_artifacts
,#artifact
,#artifact_download_url
and#delete_artifact
methods to support Actions Artifacts APIs (by @lerebear in #1480)
New Contributors
Full Changelog: v5.5.0...v5.6.0
v5.5.0
What's Changed
- Add support for listing entries in an organization's audit log with
#organization_audit_log
by @Brend-Smits in #1481 - Update "See Also" link for Projects API client by @michaelroudnitski in #1476
- Update rubocop requirement from 1.35.1 to 1.36.0 by @dependabot in #1477
- Fix
faraday_http_cache
link in README by @garaujodev in #1469 - Tweak release documentation and process by @timrogers in #1475
New Contributors
- @michaelroudnitski made their first contribution in #1476
- @garaujodev made their first contribution in #1469
- @Brend-Smits made their first contribution in #1481
Full Changelog: v5.4.0...v5.5.0
v5.4.0
v5.3.0
Features
- Adds ability to update pull request branch by @bjedrocha in #1472
New Contributors
- @bjedrocha made their first contribution in #1472
Full Changelog: v5.2.0...v5.3.0
v5.2.0
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
- Add GitHub Actions to Dependabot by @petergoldstein in #1461
Dependencies
- Bumps actions/cache from 1 to 3 by @dependabot in #1462
- Bumps rubocop requirement from 1.31.2 to 1.32.0 by @dependabot in #1465
Full Changelog: v5.1.0...v5.2.0
v5.1.0
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
- Update
rubocop
to1.31.2
and autocorrect Rubocop offences (@timrogers) - Enable new Rubocop cops by default (@timrogers)
- Update
rb-fsevent
to0.11.1
(@timrogers) - Update
vcr
to6.1
(@timrogers)
v5.0.0
- 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)