Skip to content

Update octokit to 6.0#1437

Merged
orta merged 3 commits intodanger:masterfrom
spencertransier:spencertransier/update-octokit-to-6.x
Apr 25, 2023
Merged

Update octokit to 6.0#1437
orta merged 3 commits intodanger:masterfrom
spencertransier:spencertransier/update-octokit-to-6.x

Conversation

@spencertransier
Copy link
Copy Markdown
Contributor

@spencertransier spencertransier commented Apr 25, 2023

This PR updates the octokit dependency from ~> 5.0 to ~> 6.0. The latest version of octokit is 6.1.1. This change allows projects that use danger to keep up-to-date with the latest octokit changes.

This is technically a breaking change because it's jumping from 5.x to 6.x. The octokit 6.0.0 release states:

We're releasing v6.0.0 because octokit/octokit.rb#1494 and octokit/octokit.rb#1495 are technically breaking changes although the APIs that underlie this functionalilty have been not operational for some time.

I ran the danger tests locally after upgrading to 6.1.1 and they all passed successfully.

I also searched the danger codebase for any uses of the Octokit::Client::Authorizations or Octokit::Client::Hooks#available_hooks modules that were removed in 6.0.0 and verified that they aren't being used anywhere.

@spencertransier spencertransier changed the title Update octokit to 6.x Update octokit to 6.0 Apr 25, 2023
@spencertransier spencertransier marked this pull request as ready for review April 25, 2023 04:30
@orta
Copy link
Copy Markdown
Member

orta commented Apr 25, 2023

Makes sense to me, and given these hooks/methods aren't really available in the Danger DSL, I'd say this isn't a major semver either 👍🏻

@orta orta merged commit 6317256 into danger:master Apr 25, 2023
spencertransier added a commit to spencertransier/danger that referenced this pull request Apr 25, 2023
@spencertransier spencertransier deleted the spencertransier/update-octokit-to-6.x branch April 25, 2023 13:37
manicmaniac added a commit that referenced this pull request Apr 26, 2023
…ngelog-entry-for-octokit-upgrade

Add CHANGELOG.md entry for PR #1437
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants