github PyGithub/PyGithub v2.7.0

latest releases: v2.8.1, v2.8.0
one month ago

What's Changed

Breaking Changes

  • Method Github.get_rate_limit() now returns RateLimitOverview rather than RateLimit (#3205).

Code like

gh.get_rate_limit().core.remaining

should be replaced with

gh.get_rate_limit().resources.core.remaining
  • Method GitTag.verification now returns GitCommitVerification rather than dict[str, Any] (#3226).

Code like

tag.verification["reason"]
tag.verification.get("reason")

should be replaced with

tag.verification.reason

New Features

Improvement

Bug Fixes

  • Fix broken pickle support for Auth classes by @EnricoMi in #3211
  • Remove schema from Deployment, remove message attribute by @EnricoMi in #3223
  • Fix incorrect deprecated import by @EnricoMi in #3225
  • Add CodeSecurityConfigRepository returned by get_repos_for_code_security_config by @EnricoMi in #3219
  • Fix Branch.get_required_status_checks return type by @EnricoMi in #3235
  • Adds multi_select and true_false options to CustomProperty.value_type by @gfog-floqast in #3173
  • Fix url encoding of strings with slashes in URLs by @OscarVanL in #3263
  • Fix side-effect when removing Authorization key from headers by @alecglen in #3313
  • Make TimingData.run_duration_ms optional by @LifeLex in #3268
  • Normalize App ID to String & Enhance JWT Issuer Verification by @x612skm in #3272

Dependencies

Maintenance

New Contributors

Full Changelog: v2.6.0...v2.7.0

Don't miss a new PyGithub release

NewReleases is sending notifications on new releases.