Releases: octokit/octokit.rb
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)
v4.25.1
v4.25.0
✅ 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
- Rubocop improvements by @timrogers in #1441
- Require multi-factor authentication to push new releases to RubyGems by @timrogers in #1443
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
❗ 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
- #1354, #1426 Enabling Ruby's immutable ("frozen") string literals i.e.
--enable-frozen-string-literal
via @timrogers and @olleolleolle
CI Improvements
- Adds Code QL analysis to octokit.rb via @nickfloyd
Bug fixes
- #1428 Fixes module loading issue with autoloading (this reverts #1351 ) - more information here via @collinsauve. @waiting-for-dev, @etiennebarrie, @timrogers, and @nickfloyd
Full Changelog: v4.23.0...v4.24.0