Change log¶
Stable versions¶
Version 2.7.0 (XXXXXXX)¶
Breaking Changes¶
Method
Github.get_rate_limit()
now returnsRateLimitOverview
rather thanRateLimit
.Code like
gh.get_rate_limit().core.remaining
should be replaced with
gh.get_rate_limit().resources.core.remaining
Deprecations¶
Methods
dismissal_users
anddismissal_teams
ofRequiredPullRequestReviews
are deprecated, usedismissal_restrictions.users
anddismissal_restrictions.teams
instead.
Version 2.6.0 (February 15, 2025)¶
Breaking Changes¶
Rework
Views
andClones
(#3168) (f7d52249):View and clones traffic information returned by
Repository.get_views_traffic
andRepository.get_clones_traffic
now return proper PyGithub objects, instead of adict
, with all information that used to be provided by thedict
:Code like
repo.get_views_traffic().["views"].timestamp repo.get_clones_traffic().["clones"].timestamp
should be replaced with
repo.get_views_traffic().views.timestamp repo.get_clones_traffic().clones.timestamp
Add
GitCommitVerification
class (#3028) (822e6d71):Changes the return value of
GitTag.verification
andGitCommit.verification
fromdict
toGitCommitVerification
.Code like
tag.verification["reason"] commit.verification["reason"]
should be replaced with
tag.verification.reason commit.verification.reason
Property
AppAuth.private_key
has been removed (#3065) (36697b22)-
Property
OrganizationCustomProperty.respository_id
renamed toOrganizationCustomProperty.repository_id
.
New Features¶
Add Support for GitHub Copilot Seat Management in Organizations (#3082) (b5f8f078)
Support updating pull request draft status (#3104) (5ec7b775)
Add transfer ownership method to Repository (#3091) (b3ccd105)
Add support for managing Code Security Configurations (#3095) (ee5d1da3)
Allow for private_key / sign function in AppAuth (#3065) (36697b22)
Improvements¶
Update RateLimit object with all the new categories GitHub added. (#3096) (152429d9)
Add support for make-latest to create_git_release and create_git_tag_and_release (#3067) (8ed5635f)
Add branch protection support for
required_status_checks.checks
object (#2884) (764540d3)Use id and tree_id from simple-commit to populate GitCommit.sha and GitCommit.tree (#3167) (04887640)
Use message of response in GithubException (#3185) (bd35f7dd)
Sync BranchProtection class with API spec (#3110) (936b3ef5)
Sync CheckRunAnnotation class with API spec (#3112) (29eb0f58)
Sync DeploymentStatus class with API spec (#3122) (b3a06f07)
Sync InstallationAuthorization class with API spec (#3136) (649de20b)
Sync IssuePullRequest class with API spec (#3143) (1836b073)
Sync OrganizationCustomProperty class with API spec (#3151) (519b61b0)
Sync PullRequestComment class with API spec (#3154) (e262c2ee)
Sync SecurityAndAnalysis class with API spec (#3158) (65546abd)
Sync SelfHostedActionsRunner class with API spec (#3159) (ea4a8d1d)
Bug Fixes¶
Others¶
Maintenance¶
Sort attributes and properties in GitHub classes (#3105) (f3986b57)
Preparations for maintaining Github classes by code (#3106) (842a1b02)
Use
responses
instead ofhttpretty
in tests (#3087) (9b293d44)[CI] Publish test results (#3195)
Link Commit to correct upstream documentation (#2936) (4d307a7c)
Replace release drafter with Github release note generation (#3196) (6f9a2983)
Version 2.5.0 (November 06, 2024)¶
Breaking Changes¶
Parameters of method
github.Requester.Requester.graphql_named_mutation
have been renamed:Parameter
variables
renamed tomutation_input
Parameter
output
renamed tooutput_schema
Default value of parameter
output
has been removed
New features¶
Improvements¶
Bug Fixes¶
Maintenance¶
Version 2.4.0 (August 26, 2024)¶
Breaking Changes¶
The
github.Commit.Commit
class provides afiles
property that used to return alist[github.File.File]
, which has now been changed toPaginatedList[github.File.File]
. This breaks user code that assumes alist
:
files = repo.get_commit("7266e812ed2976ea36a4303edecfe5d75522343f").files
no_of_files = len(files)
This will raise a TypeError: object of type 'PaginatedList' has no len()
, as the returned PaginatedList
does not support the len()
method. Use the totalCount
property instead:
files = repo.get_commit("7266e812ed2976ea36a4303edecfe5d75522343f").files
no_of_files = files.totalCount
Removed support for Python 3.7.
New features¶
Improvements¶
Add has_discussions to AuthenticatedUser and Repository classes (#3020) (75224167)
Update more SecurityAndAnalysis attributes (#3025) (fa168279)
Implement support for re-running only failed workflow jobs. (#2983) (23e87563)
Add possibility to mark a thread/notification as done (#2985) (5ba24379)
Add “pull_request_review_id” to PullRequestComment object (#3000) (6a59cf82)
Add minimize and unminimize functions for IssueComment class (#3005) (09c4f58e)
Support Organization/Repository custom properties (#2968) (c5e6b702)
Allow for deleting and restoring branch associated with PR (#1784) (4ba1e412)
Add “archived_at” to Organization object. (#2974) (cc766a6f)
Add added_by and last_used attributes to RepositoryKey (#2952) (5dffa64d)
Add make_latest to GitRelease.update_release (#2888) (60136105)
Bug Fixes¶
Maintenance¶
Version 2.3.0 (March 21, 2024)¶
New features¶
Improvements¶
Bug Fixes¶
Maintenance¶
Version 2.2.0 (January 28, 2024)¶
Breaking Changes¶
The
github.Comparison.Comparison
instance returned byRepository.compare
provides acommits
property that used to return alist[github.Commit.Commit]
, which has now been changed toPaginatedList[github.Commit.Commit]
. This breaks user code that assumes alist
:
commits = repo.compare("v0.6", "v0.7").commits
no_of_commits = len(commits)
This will raise a TypeError: object of type 'PaginatedList' has no len()
, as the returned PaginatedList
does not support the len()
method. Use the totalCount
property instead:
commits = repo.compare("v0.6", "v0.7").commits
no_of_commits = commits.totalCount
New features¶
Add support to call GraphQL API
Improvements¶
Add parent_team_id, maintainers and notification_setting for creating and updating teams. (#2863) (49d07d16)
Make
Repository.compare().commits
return paginated list (#2882) (2d284d1e)Add
include_all_branches
tocreate_repo_from_template
ofAuthenticatedUser
andOrganization
(#2871) (34c4642e)Add and update organisation dependabot secrets (#2316) (603896f4)
Add missing params to
Organization.create_repo
(#2700) (9c61a2a4)Update allowed values for
Repository
collaborator permissions (#1996) (b5b66da8)Update attributes after calling
PullRequestReview.dismiss
(#2854) (6f3d714c)Filter collaborators of a repository by permissions (#2792) (702c127a)
Set pull request to auto merge via GraphQL API (#2816) (232df79a)
Support Environment Variables and Secrets (#2848) (7df97398)
Update workflow.get_runs & pullrequest.add_to_assignees function signature (#2799) (26eedbb0)
Add
GithubObject.last_modified_datetime
to havelast_modified
as adatetime
(#2772) (e7ce8189)Add support for global advisories and unify some shared logic with repository advisories (#2702) (c8b4fcbe)
Add internal as valid Repository visibility value (#2806) (d4a5a40f)
Add support for issue comments reactions summary (#2813) (67397491)
Bug Fixes¶
Maintenance¶
Version 2.1.1 (September 29, 2023)¶
Bug Fixes¶
Maintenance¶
Version 2.1.0 (September 29, 2023)¶
Important¶
Request throttling
This release introduces a default throttling mechanism to mitigate secondary rate limit errors and comply with Github’s best practices: https://docs.github.com/en/rest/guides/best-practices-for-integrators?apiVersion=2022-11-28#dealing-with-secondary-rate-limits
The default throttling of 1 second between writes and 0.25 second between any requests can be configured
for github.Github
and github.GithubIntegration
:
g = github.Github(seconds_between_requests=0.25, seconds_between_writes=1)
Set these parameters to None
to disable throttling and restore earlier behavior.
Request retry
This release introduces a default retry mechanism to retry retry-able 403 responses (primary and secondary rate limit errors only) and any 5xx response.
Class github.GithubRetry
implements this behavior, and can be configured via the retry
argument of github.Github
and github.GithubIntegration
.
Retry behavior is configured similar to urllib3.Retry
: https://urllib3.readthedocs.io/en/stable/reference/urllib3.util.html
g = github.Github(retry=github.GithubRetry())
Set this parameter to None
to disable retry mechanism and restore earlier behaviour.
Breaking Changes¶
Timestamps
Any timestamps returned by this library are datetime
with timezone information, usually UTC.
Before this release, timestamps used to be naive datetime
instances without timezone.
Comparing (other than ==
) these timestamps with naive datetime
instances used to work but will now break.
Add a timezone information to your datetime
instances before comparison:
if g.get_repo("PyGithub/PyGithub").created_at < datetime(2012, 2, 26, tzinfo=timezone.utc):
...
Netrc authentication
A Netrc file (e.g. ~/.netrc
) does not override PyGithub authentication, anymore.
If you require authentication through Netrc, then this is a breaking change.
Use a github.Auth.NetrcAuth
instance to use Netrc credentials:
>>> auth = Auth.NetrcAuth()
>>> g = Github(auth=auth)
>>> g.get_user().login
'login'
Repository.create_pull
Merged overloaded create_pull
methods
def create_pull(self, issue, base, head)
def create_pull(self, title, body, base, head, maintainer_can_modify=NotSet, draft=False)
into
def create_pull(self, base, head, *, title=NotSet, body=NotSet, maintainer_can_modify=NotSet, draft=NotSet, issue=NotSet)
Please update your usage of Repository.create_pull
accordingly.
New features¶
Improvements¶
Make
Branch.edit_*
functions return objects (#2748) (8dee53a8)Add
is_alphanumeric
attribute toAutolink
andRepository.create_autolink
(#2630) (b6a28a26)Suppress
requests
fallback to netrc, providegithub.Auth.NetrcAuth
(#2739) (ac36f6a9)Pass Requester arguments to
AppInstallationAuth.__integration
(#2695) (8bf542ae)Adding feature for enterprise consumed license (#2626) (a7bfdf2d)
Add
required_linear_history
attribute toBranchProtection
(#2643) (7a80fad9)Add retry issue to
GithubException
, don’t log it (#2611) (de80ff4b)Add support for repo and org level actions variables (#2580) (91b3f40f)
Add missing arguments to
Workflow.get_runs()
(#2346) (766df993)
Bug Fixes¶
Fix
Branch.bypass_pull_request_allowances
failing with “nil is not an object” (#2535) (c5542a6a)Fix
required_conversation_resolution
assertion (#2715) (54f22267)Fix assertion creating pull request review comment (#2641) (2fa568b6)
Fix assertion for
subject_type
in creating pull request review comment (#2642) (4933459e)Use timezone-aware reset datetime in
GithubRetry.py
(#2610) (950a6949)Fix
Branch.bypass_pull_request_allowances
failing with “nil is not an object” (#2535) (c5542a6a)
Maintenance¶
Epic mass-merge
.pyi
type stubs back to.py
sources (#2636)Close replay test data file silently when test is failing already (#2747) (6d871d56)
Update
add_attribute.py
to latest conding style (#2631) (e735972e)CI: Increase wait and retries of labels action (#2670) (ff0f31c2)
CI: update labels action name and version (#2654) (c5c83eb5)
Unify requirements files location & source in setup.py (#2598) (2edc0f8f)
CI: Build and check package before release (#2593) (3c880e76)
Add more methods and attributes to Repository.pyi (#2581) (72840de4)
Test on Windows and macOS, don’t fail fast (#2590) (5c600894)
Version 1.59.1 (July 03, 2023)¶
Bug Fixes¶
Version 1.59.0 (June 22, 2023)¶
Important¶
This release introduces new way of authentication. All authentication-related arguments github.Github(login_or_token=…, password=…, jwt=…, app_auth=…)
and github.GithubIntegration(integration_id=…, private_key=…, jwt_expiry=…, jwt_issued_at=…, jwt_algorithm=…)
are replaced by a single auth=…
argument.
Module github.Auth
provides classes for all supported ways of authentication: Login
, Token
, AppAuth
, AppAuthToken
, AppInstallationAuth
, AppUserAuth
.
Old arguments are deprecated but continue to work. They are scheduled for removal for version 2.0 release.
This project has decided to move all typing information from .pyi
files into the respective .py
source files.
This will happen gradually over time.
Breaking Changes¶
The
position
argument ingithub.PullRequest.create_review_comment(position=…)
has been renamed toline
. This breaks user code that callscreate_review_comment
with keyword argumentposition
. Call withline=…
instead. Calling this method with positional arguments is not breaking.The
jwt_expiry
,jwt_issued_at
andjwt_algorithm
arguments ingithub.GithubIntegration()
have changed their position. User code callinggithub.GithubIntegration(…)
with these arguments as positional arguments breaks. Please use keyword arguments:github.GithubIntegration(…, jwt_expiry=…, jwt_issued_at=…, jwt_algorithm=…)
.The
since
argument ingithub.PullRequest.get_review_comments(…)
has changed position.`` User code callinggithub.PullRequest.get_review_comments(…)
with this argument as positional argument breaks. Please use keyword argument:github.PullRequest.get_review_comments(since=…)
.
Deprecation¶
The use of
github.Github(login_or_token=…)
is deprecated, usegithub.Github(auth=github.Auth.Login(…))
orgithub.Github(auth=github.Auth.Token(…))
instead.The use of
github.Github(password=…)
is deprecated, usegithub.Github(auth=github.Auth.Login(…))
instead.The use of
github.Github(jwt=…)
is deprecated, usegithub.Github(auth=github.AppAuth(…))
orgithub.Github(auth=github.AppAuthToken(…))
instead.The use of
github.Github(app_auth=…)
is deprecated, usegithub.Github(auth=github.Auth.AppInstallationAuth(…))
instead.The use of
github.GithubIntegration(integration_id=…, private_key=…, jwt_expiry=…, jwt_issued_at=…, jwt_algorithm=…)
is deprecated, usegithub.GithubIntegration(auth=github.Auth.AppAuth(…))
instead.The use of
github.GithubIntegration.create_jwt
is deprecated, usegithub.Github(auth=github.Auth.AppAuth)
,github.Auth.AppAuth.token
orgithub.Auth.AppAuth.create_jwt(expiration)
instead.The use of
AppAuthentication
is deprecated, usegithub.Auth.AppInstallationAuth
instead.The use of
github.Github.get_app()
without providing argumentslug
is deprecated, usegithub.GithubIntegration(auth=github.Auth.AppAuth(…)).get_app()
.
Bug Fixes¶
Test and fix UTC issue with AppInstallationAuth (#2561) (ff3b80f8)
Make Requester.__createException robust against missing message and body (#2159) (7be3f763)
Fix auth issues with Installation.get_repos (#2547) (64075120)
Raise error on unsupported redirects, log supported redirects (#2524) (17cd0b79)
Fix GithubIntegration that uses expiring jwt (#2460) (5011548c)
Add expiration argument back to GithubIntegration.create_jwt (#2439) (822fc05c)
Add crypto extras to pyjwt, which pulls in cryptogaphy package (#2443) (554b2b28)
Move CI to Python 3.11 release and 3.12 dev (#2434) (e414c322)
Improvements¶
Add support for get_app() with App authentication (#2549) (6d4b6d14)
Implement AppUserAuth for Github App user tokens (#2546) (f291a368)
Add support for new RepositoryAdvisories API :tada: (#2483) (daf62bd4)
Make MainClass.get_app return completed GithubApp when slug is given (#2543) (84912a67)
Add authentication classes, move auth logic there (#2528) (fc2d0e15)
Add sort order and direction for getting comments (#2544) (a8e7c423)
Add name filter to Repository.get_artifacts() (#2459) (9f52e948)
Add name, display_title and path attributes to WorkflowRun (#2397) (10816389)
Add query check_suite_id integer to Workflow.get_runs (#2466) (a4854519)
Add generate_release_notes parameter to create_git_release and create_git_tag_and_release (#2417) (49b3ae16)
Add example for Pull Request comments to documentation (#2390) (c2f12bdc)
Add allow_auto_merge support to Repository (#2477) (8c4b9465)
Add artifact_id argument to Repository.get_artifact() (#2458) (4fa0a5f3)
Add allow_update_branch option to Organization (#2465) (bab4180f)
Add parameters to Repository.get_workflow_runs (#2408) (4198dbfb)
Maintenance¶
Add type stub for MainClass.get_project_column (#2502) (d514222c)
Sync GithubIntegration __init__ arguments with github.Github (#2556) (ea45237d)
Link to stable docs, update introduction in package used by pypi, move auth arg front (#2557) (006766f9)
Merge GithubObject.pyi/Requester.pyi stubs back to source (#2463) (b6258f4b)
[CI] Moving linting into separate workflow (#2522) (52fc1077)
Merging 1.58.x patch release notes into master (#2525) (217d4241)
Merge GithubException.pyi stubs back to source (#2464) (03a2f696)
Add missing fields from GithubCredentials.py to CONTRIBUTING.md (#2482) (297317ba)
Update docstring and typing for allow_forking and allow_update_branch (Repository) (#2529) (600217f0)
RTD: install current project (def5223c)
Add current dir sys.path as well (9c96faa7)
Use use_scm_version to get current version from git tag (#2429) (3ea91a3a)
Version 1.58.2 (May 09, 2023)¶
Bug Fixes¶
Version 1.58.1 (March 18, 2023)¶
Bug Fixes¶
Add expiration argument back to GithubIntegration.create_jwt (#2439) (822fc05c)
Add crypto extras to pyjwt, which pulls in cryptogaphy package (#2443) (554b2b28)
Move CI to Python 3.11 release and 3.12 dev (#2434) (e414c322)
RTD: install current project (def5223c)
Add current dir sys.path as well (9c96faa7)
Use use_scm_version to get current version from git tag (#2429) (3ea91a3a)
Version 1.58.0 (February 19, 2023)¶
Bug Fixes & Improvements¶
Version 1.57 (November 05, 2022)¶
Breaking Changes¶
Bug Fixes & Improvements¶
Version 1.56 (October 13, 2022)¶
Important¶
This is the last release that will support Python 3.6.
Bug Fixes & Improvements¶
Improve signature of Repository.create_repo (#2118) (001970d4)
Add support for ‘visibility’ attribute preview for Repositories (#1872) (8d1397af)
Add function to delete pending reviews on a pull request (#1897) (c8a945bb)
Correctly deal when PaginatedList’s data is a dict (#2084) (93b92cd2)
Add two_factor_authentication in AuthenticatedUser. (#1972) (4f00cbf2)
Implement organization.cancel_invitation() (#2072) (53fb4988)
Feat: Add html_url property in Team Class. (#1983) (6570892a)
Correct replay for Organization.create_project() test (#2075) (fcc12368)
Fix: #1671 Convert Python Bool to API Parameter for Authenticated User Notifications (#2001) (1da600a3)
Do not transform requestHeaders when logging (#1965) (1265747e)
Adding headers in GithubException is a breaking change (#1931) (d1644e33)
Version 1.55 (April 26, 2021)¶
Breaking Changes¶
Bug Fixes & Improvements¶
Do not import from unpackaged paths in typing (#1926) (27ba7838)
Implement hash for CompletableGithubObject (#1922) (4faff23c)
Use property decorator to improve typing compatibility (#1925) (e4168109)
Adding attributes “maintain” and “triage” to class “Permissions” (#1810) (76879613)
Add default arguments to Workflow method type annotations (#1857) (7d6bac9e)
Re-raise the exception when failing to parse JSON (#1892) (916da53b)
Allow adding attributes at the end of the list (#1807) (0245b758)
Updating links to Github documentation for deploy keys (#1850) (c27fb919)
Use right variable in both get_check_runs() (#1889) (3003e065)
fix bad assertions in github.Project.edit (#1817) (6bae9e5c)
Add support for deleting repository secrets (#1868) (696793de)
Switch repository secrets to using f-strings (#1867) (aa240304)
Manually fixing paths for codecov.io to cover all project files (#1813) (b2232c89)
No longer show username and password examples (#1866) (55d98373)
Switch all string addition to using f-strings (#1774) (290b6272)
Enabling connection pool_size definition (a77d4f48)
Always define the session adapter (aaec0a0f)
Version 1.54.1 (December 24, 2020)¶
Version 1.54 (November 30, 2020)¶
Important¶
This is the last release that will support Python 3.5.
Breaking Changes¶
The Github.get_installation(integer) method has been removed. Repository.create_deployment()’s payload parameter is now a dictionary.
Bug Fixes & Improvements¶
Add missing preview features of Deployment and Deployment Statuses API (#1674) (197e0653)
Added a method for getting a user by their id (#1691) (4cfc9912)
Fix #1742 - incorrect typehint for Installation.id (#1743) (546f6495)
Added support for the Self-Hosted actions runners API (#1684) (24251f4b)
Fix Branch protection status in the examples (#1729) (88800844)
Filter the DeprecationWarning in Team tests (#1728) (23f47539)
Added get_installations() to Organizations (#1695) (b42fb244)
Fix #1507: Add new Teams: Add or update team repository endpoint (#1509) (1c55be51)
Added support for Repository.get_workflow_runs parameters (#1682) (c23564dd)
feat(pullrequest): add the rebaseable attribute (#1690) (ee4c7a7e)
Correct type hint for InputGitTreeElement.sha (08b72b48)
Ignore new black formatting commit for git blame (#1680) (7ec4f155)
Version 1.53 (August 18, 2020)¶
Add method get_team_membership for user to Team (#1658) (749e8d35)
Fix Repository.create_repository_dispatch type signature (#1643) (f891bd61)
PaginatedList’s totalCount is 0 if no last page (#1641) (69b37b4a)
Add delete_branch_on_merge arg to Repository.edit type stub (#1639) (15b5ae0c)
Correct Repository.create_pull typing harder (#1635) (5ad091d0)
Version 1.52 (August 03, 2020)¶
Do not check reaction_type before sending (#1592) (136a3e80)
Adds the ‘twitter_username’ attribute to NamedUser. (#1585) (079f75a7)
Create WorkflowRun.timing namedtuple from the dict (#1587) (1879518e)
Add missing properties to PullRequest.pyi (#1577) (c84fad81)
More precise typing for Repository.create_pull (#1581) (4ed7aaf8)
Update sphinx-rtd-theme requirement from <0.5 to <0.6 (#1563) (f9e4feeb)
More precise typing for MainClass.get_user() (#1575) (3668f866)
Small documentation correction in Repository.py (#1565) (f0f6ec83)
Remove “api_preview” parameter from type stubs and docstrings (#1559) (cc1b884c)
Repository.update_file() content also accepts bytes (#1543) (9fb8588b)
Check all arguments of NamedUser.get_repos() (#1532) (69bfc325)
PullRequestReview is not a completable object (#1528) (19fc43ab)
Remove pointless setters in GitReleaseAsset (#1527) (1dd1cf9c)
Drop some unimplemented methods in GitRef (#1525) (d4b61311)
Remove unneeded duplicate string checks in Branch (#1524) (61b61092)
Drastically increase coverage by checking repr() (#1521) (291c4630)
Fixed formatting of docstrings for Repository.create_git_tag_and_release() and StatsPunchCard. (#1520) (ce400bc7)
correct Repository.stargazers_count return type to int (#1513) (b5737d41)
Raise a FutureWarning on use of client_{id,secret} (#1506) (2475fa66)
Improve type signature for create_from_raw_data (#1503) (c7b5eff0)
feat(column): move, edit and delete project columns (#1497) (a32a8965)
Add create_repository_dispatch to typing files (#1502) (ba9d59c2)
Add OAuth support for GitHub applications (4b437110)
Create AccessToken entity (4a6468aa)
Extend installation attributes (61808da1)
Version 1.51 (May 03, 2020)¶
Version 1.50 (April 26, 2020)¶
New features¶
PyGithub now supports type checking thanks to (#1231) (91433fe9)
Slack is now the main channel of communication rather than Gitter (6a6e7c26)
Add and handle the maintainer_can_modify attribute in PullRequest (#1465) (e0997b43)
Add some Organization and Repository attributes. (#1468) (3ab97d61)
Add create project method (801ea385)
Bug Fixes & Improvements¶
Version 1.47 (March 15, 2020)¶
Bug Fixes & Improvements¶
Add method for fetching pull requests associated with a commit (#1433) (0c55381b)
Don’t transform completely in PullRequest.*assignees (#1428) (b1c35499)
Add draft attribute, update test (bd285248)
Docstring for Repository.create_git_tag_and_release (#1425) (bfeacded)
Add draft flag parameter, update tests (bd0211eb)
Add support to reply to a Pull request comment (#1374) (1c82573d)
PullRequest.update_branch(): allow expected_head_sha to be empty (#1412) (806130e9)
Add pre-commit plugin for black/isort/flake8 (#1398) (08b1c474)
Open file in text mode in scripts/add_attribute.py (#1396) (0396a493)
Version 1.46 (February 11, 2020)¶
Important¶
Python 2 support has been removed. If you still require Python 2, use 1.45.
Bug Fixes & Improvements¶
Version 1.45 (December 29, 2019)¶
Important¶
This is the last release of PyGithub that will support Python 2.
Breaking Changes¶
Branch.edit_{user,team}_push_restrictions() have been removed
The new API is: - Branch.add_{user,team}_push_restrictions() to add new members - Branch.replace_{user,team}_push_restrictions() to replace all members - Branch.remove_{user,team}_push_restrictions() to remove members
The api_preview parameter to Github() has been removed.
Bug Fixes & Improvements¶
Update link to GitHub Enterprise in README (#1324) (e1537f79)
Fix rtd build (b797cac0)
Add .git-blame-ignore-revs (573c674b)
Fix class used returning pull request comments (#1307) (f8e33620)
Allow GithubObject.update() to be passed headers (#1300) (989b635e)
Use inclusive ordered comparison for ‘parameterized’ requirement (#1281) (fb19d2f2)
Version 1.44.1 (November 07, 2019)¶
Correct API for NamedUser.get_organization_membership (#1277) (077c80ba)
Sync httpretty version requirement with setup.py (#1265) (99d38468)
Handle unicode strings when recording responses (#1253) (#1254) (faa1bbd6)
Add assignee removal/addition support to PRs (#1241) (a163ba15)
Check if the version is empty in manage.sh (#1268) (db294837)
Version 1.44 (October 19, 2019)¶
New features¶
This version supports running under Python 3 directly, and the test suite passes under both 2.7 and recent 3.x’s.
Bug Fixes & Improvements¶
Stop ignoring unused imports and remove them (#1250) (a0765083)
Bump httpretty to be a greater or equal to (#1262) (27092fb0)
Implemented user organization membership. Added test case. (#1237) (e50420f7)
Create DEPLOY.md (c9ed82b2)
Support non-default URLs in GithubIntegration (#1229) (e33858a3)
Cleanup try/except import in PaginatedList (#1228) (89c967bb)
Jump from notifications to related PRs/issues. (#1168) (020fbebc)
Code review bodies are optional in some cases. (#1169) (b84d9b19)
Do not auto-close issues with high priority tag (ab27ba4d)
Fix bug in repository create new file example PyGithub#1210 (#1211) (74cd6856)
Add support to vulnerability alert and automated security fixes APIs (#1195) (8abd50e2)
Update Repository.update_file() docstring (#1186) (f1ae7200)
Correct return type of MainClass.get_organizations (#1179) (6e79d270)
Add cryptography to test-requirements.txt (#1165) (9b1c1e09)
Version 1.43.8 (July 20, 2019)¶
New features¶
Add two factor attributes on organizations (#1132) (a0731685)
Add Repository methods for pending invitations (#1159) (57af1e05)
Adds get_issue_events to PullRequest object (#1154) (acd515aa)
Adding support for pending team invitations (#993) (edab176b)
Add support for custom base_url in GithubIntegration class (#1093) (6cd0d644)
GithubIntegration: enable getting installation (#1135) (18187045)
Add sorting capability to Organization.get_repos() (#1139) (ef6f009d)
Add new Organization.get_team_by_slug method (#1144) (4349bca1)
Add description field when creating a new team (#1125) (4a37860b)
Handle a path of / in Repository.get_contents() (#1070) (102c8208)
Bug Fixes & Improvements¶
Deprecation¶
Repository.get_file_contents() no longer works use Repository.get_contents() instead
Version 1.43.7 (April 16, 2019)¶
Version 1.43.6 (April 05, 2019)¶
New features¶
Adding HTTP retry functionality via urllib3 (#1002) (5ae7af55)
Add new dismiss() method on PullRequestReview (#1053) (8ef71b1b)
Add since and before to get_notifications (#1074) (7ee6c417)
Add url parameter to include anonymous contributors in get_contributors (#1075) (293846be)
Provide option to extend expiration of jwt token (#1068) (86a9d8e9)
Bug Fixes & Improvements¶
Deprecation¶
Remove Status API (6efd6318)
Version 1.43.5 (January 29, 2019)¶
Version 1.43.4 (December 21, 2018)¶
New features¶
Bug Fixes & Improvements¶
Version 1.43.3 (October 31, 2018)¶
New features¶
Bug Fixes & Improvements¶
Fix missing parameters when reversing
PaginatedList
(#946) (60a684c5)Fix unable to trigger
RateLimitExceededException
. (#943) (972446d5)Fix inconsistent behavior of trailing slash usage in file path (#931) (ee9f098d)
Fix missing attributes of
get_repos
for authenticated users (#915) (c411196f)Improve
__repr__
method of Milestone class (#921) (562908cb)Fix comments not posted in create_review() (#909) (a18eeb3a)
Version 1.43.2 (September 12, 2018)¶
Restore
RateLimit.rate
attribute, raise deprecation warning instead (d92389be)
Version 1.43.1 (September 11, 2018)¶
New feature:
Version 1.43 (September 08, 2018)¶
Bug Fixes¶
New features¶
Add support for required approving review count (#888) (ef16702)
Add
Organization.invite_user
(880)(eb80564)Add support for search/graphql rate limit (fd8a036)
Deprecated
RateLimit.rate
Add Support search by topics (#893) (3ce0418)
Branch Protection API overhaul (#790) (171cc567)
(breaking) Removed Repository.protect_branch
Add BranchProtection
Add
Branch.get_protection
,Branch.get_required_pull_request_reviews
,Branch.get_required_status_checks
, etc
Improvements¶
Deprecation¶
Removed Repository.get_protected_branch (#871) (49db6f8)
Version 1.42 (August 19, 2018)¶
Fix travis upload issue
Bug Fixes¶
Repository.get_archive_link
will now NOT follow HTTP redirect and return the url instead (#858) (43d325a5)Restored NamedUser.contributions attribute (#865) (b91dee8d)
New features
Branch Protection API overhaul (#790) (171cc567)
(breaking) Removed Repository.protect_branch
Add BranchProtection
Add
Branch.get_protection
,Branch.get_required_pull_request_reviews
,Branch.get_required_status_checks
, etc
Improvements
Version 1.41 (August 19, 2018)¶
Bug Fixes¶
Repository.get_archive_link
will now NOT follow HTTP redirect and return the url instead (#858) (43d325a5)Restored NamedUser.contributions attribute (#865) (b91dee8d)
New features
Branch Protection API overhaul (#790) (171cc567)
(breaking) Removed Repository.protect_branch
Add BranchProtection
Add
Branch.get_protection
,Branch.get_required_pull_request_reviews
,Branch.get_required_status_checks
, etc
Improvements
Version 1.40 (June 26, 2018)¶
Major enhancement: use requests for HTTP instead of httplib (#664) (9aed19dd)
Fix github API requests after asset upload (#771) (8bdac23c)
Add remove_membership() method to Teams class (#807) (817f2230)
Fix asset upload timeout, increase default timeout from 10s to 15s (#793) (140c6480)
Fix Content-Length invalid headers exception (#787) (23395f5f)
Add ability to skip SSL cert verification for Github Enterprise (#758) (85a9124b)
Correct Repository.get_git_tree recursive use (#767) (bd0cf309)
Add support for organization outside collaborators (#533) (c4446996)
Version 1.39 (April 10, 2018)¶
Add documentation to github.Repository.Repository.create_git_release() (#747) (a769c2ff)
Add add_to_members() and remove_from_membership() (#741) (4da483d1)
Documentation: clarify semantics of get_comments (#743) (fec3c943)
Add download_url to ContentFile, closes #575 (ca6fbc45)
Fix delete method for RepositoryKey (911bf615)
Remove edit for UserKey (722f2534)
Added Issue.as_pull_request() and PullReqest.as_issue() (#630) (6bf2acc7)
Add support for getting PR single review’s comments. (#670) (612c3500)
Remove some duplicate attributes introduced in #522 (566b28d3)
Added tarball_url, zipball_url, prerelease and draft property (#522) (c76e67b7)
Version 1.38 (March 21, 2018)¶
Updated readthedocs, PyPI to reflect latest version
Added option to create review for Pull request (#662) (162f0397)
Depreciate legacy search API (3cd176e3)
Add url attribute to PullRequestReview object (#731) (0fb176fd)
Added target_commitish option to Repository.create_git_release() (#625) (0f0a7d4e)
Fix broken Github reference link in class docstrings (a32a17bf)
Version 1.37 (March 03, 2018)¶
Version 1.36 (February 02, 2018)¶
Fix changelog generation (5d911e22)
Remove the default “null” input send during GET request (#691) (cbfe8d0f)
Updated PullRequest reviewer request according to API changes (#690) (5c9c2f75)
make created_at/published_at attrs available for Release objects (#689) (2f9b1e01)
Add committer/author to Repository.delete_file (#678) (3baa682c)
Add method to get latest release of a repository (#609) (45d18436)
Fix all pep8 coding conventions (6bc804dc)
Add new params for /users/:user/repos endpoint (89834a9b)
Add PyPI badge and installation instructions to README (#682) (3726f686)
Drop support for EOL Python 2.5-2.6 and 3.2-3.3 (#674) (6735be49)
Add unit test for tree attribute of GitCommit (#668) (e5bfdbeb)
Added missing parameters for repo creation (#623) (5c41120a)
Add ability to access github Release Asset API. (#525) (52449649)
Add Python 3.6 (2533bed9)
Add Python 3.6 (e78f0ece)
Updated references in introduction.rst (d2c72bb3)
fix failing tests on py26 (291f6dde)
Import missing exception (67b078e9)
Version 1.35 (July 10, 2017)¶
Add Support for repository collaborator invitations.
Version 1.34 (abril 04, 2017)¶
Add Support for Pull Request Reviews feature.
Version 1.32 (February 1, 2017)¶
Support for Integrations installation endpoint (656e70e1)
Version 1.31 (January 30, 2017)¶
Support HTTP 302 redirect in Organization.has_in_members (0154c6b)
Add details of repo type for get_repos documentation (f119147)
Note explicit support for Python 3.5 (3ae55f0)
Fix README instructions (5b0224e)
An easier to see link to the documentation in response to issue #480. (6039a4b)
Encode GithubObject repr values in utf-8 when using Python2 (8ab9082)
Updated documentation (4304ccd)
Added a subscribers count field (a2da7f9)
Added “add_to_assignees” & “remove_from_assignees” method to Issue object. (66430d7)
Added “assignees” attribute to PullRequest object. (c0de6be)
add html_url to GitRelease (ec633aa)
Removed unused imports (65afc3f)
Fix typo in a constant (10a28e0)
Fix changelog formatting glitch (03a9227)
Added “assignees” argument in Repository.create_issue() (ba007dc)
Enhance support of “assignees” argument in Issue.edit() (14dd9f0)
Added “assignees” attribute to Issue object. (e0e5fdf)
Version 1.30 (January 30, 2017)¶
adds GitHub integrations (d60943d)
Version 1.29 (October 10, 2016)¶
add issue assignee param (3a8edc7)
Fix different case (fcf6cfb)
DOC: remove easy_install suggestion; update links (45e76d9)
Add permission param documentation (9347345)
Add ability to set permission for team repo (5dddea7)
Fix status check (073bb44)
adds support for content dirs (0799753)
Version 1.28 (September 09, 2016)¶
test against python 3.5 (5d35284)
sort params and make them work on py3 (78374b9)
adds a nicer __repr__ (8571d87)
Add missing space (464259d)
Properly handle HTTP Proxy authentication with Python 3 (d015154)
Fix small typo (987bca0)
push to ‘origin’ instead of ‘github’ (d640666)
Version 1.27.1 (August 12, 2016)¶
upgrade release process based on travis (3c20a66)
change file content encoding to support unicode(like chinese), py2 (5404030)
adds missing testfile corrections (9134aa2)
fixed file API return values (0f29a53)
assert by str and unicode to make it more py3 friendly (7390827)
Patch issue 358 status context (#428) (70e30c5)
Adding “since” param to Issue.get_comments() (#426) (3c6f99f)
update doc url everywhere (#420) (cb0cf0a)
fix a couple typos to be clearer (#419) (23c0e75)
Document how one gets an AuthenticatedUser object (ba66862)
fix wrong expectance on requestJsonAndCheck() returning {} if no data (8985368)
Add previous_filename property to File (e1be1e6)
add changelog entry for 1.26.0 (a1f3de2)
update project files (be2e98b)
fix update/create/delete file api return value issue (8bb765a)
fix typo (a7929ac)
fix update/delete/create content return value invalid issue (a0a4511)
Follow redirects in the case of a 301 status code (c29f533)
Fix for pickling exception when deserializing GithubException. (8f8b455)
add support for the head parameter in Repository.get_pulls (397a74d)
Add: - CommitCombinedStatus class - get_combined_status() to Commit class to return combined status - Add test for combined status. (5823ed7)
fix python3 compatibility issue for using json/base64 (5b7f0bb)
remove not covered API from readme (9c6f881)
change replay data for update file test case (46895df)
fix python3 compatibility error in test case (00777db)
Add repo content create/update/delete testcase (4aaeb9e)
add MAINTAINERS file (a16b55b)
travis: disable email (6347157)
fix protect branch tests (65360b0)
Add branch protection endpoint (737f0c3)
fix request parameters issue (ae37d44)
add content file create/update/delete api (b83ffbf)
Add travis button on README. (a83649b)
fix misspelling: https://github.com/PyGithub/PyGithub/issues/363 (a06b5ec)
Adding base parameter to get_pulls() method. (71593a8)
add support for the direction parameter in Repository.get_pulls (70bcb6d)
added creator parameter (ca9af4f)
Version 1.27.0 (August 12, 2016)¶
this version was never released to PyPi due to a problem with the deployment
Version 1.26.0 (November 5th, 2015)¶
Added context parameter to Status API
Changed InputGitAuthor to reflect that time is an optional parameter
Added sort option to get_pulls
Added api_preview parameter to Requester class
Return empty list instead of None for pagination with no pages
Removed URL scheme validation that broke GitHub Enterprise
Added “add_membership” call to Teams
Added support to lazily load repositories
Updated test suite to record with oauth tokens
Added support for http_proxy
Add support for filter/role options in Organization.get_members()
Changed Organization.get_members’s filter parameter to _filter
Fix escaping so that labels now support whitespaces
Updated create_issue to support taking a list of strings for labels
Added support for long integers in get_repo
Fixed pagination to thread headers between requests
Added repo.get_stargazers_with_dates()
Version 1.25.2 (October 7th, 2014)¶
Work around the GitHub API v3 returning nulls in some paginated responses, erichaase for the bug report
Version 1.25.1 (September 28th, 2014)¶
Version 1.25.0 (May 4th, 2014)¶
Implement getting repos by id, thanks to tylertreat for the pull request
Version 1.24.1 (March 16th, 2014)¶
Version 1.24.0 (March 2nd, 2014)¶
Implement search, thanks to thialfihar for the pull request
Version 1.23.0 (December 23th, 2013)¶
Fix all that is based on headers in Python 3 (pagination, conditional request, rate_limit…), huge thanks to cwarren-mw for finding the bug
Accept strings for assignees and collaborators, thanks to farrd
Ease two-factor authentication by adding ‘onetime_password’ to AuthenticatedUser.create_authorization, thanks to cameronbwhite
Version 1.22.0 (December 15th, 2013)¶
Emojis, thanks to evolvelight
Repository.stargazers_count, thanks to cameronbwhite
User.get_teams, thanks to poulp
Version 1.21.0 (November ??th, 2013)¶
Accept strings as well as
Label
objects inIssue.add_to_labels
,Issue.remove_from_labels
andIssue.set_labels
. Thank you acdha for askingImplement equality comparison for completable github objects (ie. those who have a
url
attribute). Warning, comparison is still not implemented for non-completable objects. This will be done in version 2.0 of PyGithub. Thank you OddBloke for askingAdd parameter
author
toRepository.get_commits
. Thank you naorrosenberg for askingImplement the statistics end points. Thank you naorrosenberg for asking
Version 1.20.0 (October 20th, 2013) (First Seattle edition)¶
Implement
Github.get_hook(name)
. Thank you klmitch for askingIn case bad data is returned by Github API v3, raise an exception only when the user accesses the faulty attribute, not when constructing the object containing this attribute. Thank you klmitch for asking
Fix parameter public/private of
Repository.edit
. Thank you daireobroin449 for reporting the issueRemove
Repository.create_download
andNamedUser.create_gist
as the corresponding APIs are not documented anymore
Version 1.19.0 (September 8th, 2013) (AKFish’s edition)¶
Implement conditional requests by the method
GithubObject.update
. Thank you very much akfish for the pull request and your collaboration!Implement persistence of PyGithub objects:
Github.save
andGithub.load
. Don’t forget toupdate
your objects after loading them, it won’t decrease your rate limiting quota if nothing has changed. Again, thank you akfishImplement
Github.get_repos
to get all public repositoriesImplement
NamedUser.has_in_following
Implement
Github.get_api_status
,Github.get_last_api_status_message
andGithub.get_api_status_messages
. Thank you ruxandraburtica for askingImplement
Github.get_rate_limit
Add many missing attributes
Technical change: HTTP headers are now stored in retrieved objects. This is a base for new functionalities. Thank you akfish for the pull request
Use the new URL to fork gists (minor change)
Use the new URL to test hooks (minor change)
Version 1.18.0 (August 21st, 2013) (Bénodet edition)¶
Issues’
repository
attribute will never beNone
. Thank you stuglaser for the pull requestNo more false assumption on rate_limiting, and creation of
rate_limiting_resettime
. Thank you edjackson for the pull requestNew parameters
since
anduntil
toRepository.get_commits
. Thank you apetresc for the pull requestCatch Json parsing exception for some internal server errors, and throw a better exception. Thank you MarkRoddy for the pull request
Allow reversed iteration of
PaginatedList
. Thank you davidbrai for the pull request
Version 1.17.0 (Jully 7th, 2013) (Hamburg edition)¶
Version 1.16.0 (May 31th, 2013) (Concarneau edition)¶
Add the html_url attribute to IssueComment and PullRequestComment
Version 1.15.0 (May 17th, 2013) (Switzerland edition)¶
Version 1.14.2 (April 25th, 2013)¶
Version 1.14.1 (April 25th, 2013)¶
Version 1.14.0 (April 22nd, 2013)¶
Improve gist edition. Thank you jasonwiener for asking:
Delete a file with
gist.edit(files={"name.txt": None})
Rename a file with
gist.edit(files={"old_name.txt": github.InputFileContent(gist.files["old_name.txt"].content, new_name="new_name.txt")})
Raise specific exceptions. Thank you pconrad for giving me the idea
Version 1.13.1 (March 28nd, 2013)¶
Fix login/password authentication for Python 3. Thank you sebastianstigler for reporting
Version 1.13.0 (March 22nd, 2013)¶
Fix for Python 3 on case-insensitive file-systems. Thank you ptwobrussell for reporting
Expose raw data returned by Github for all objects. Thank you ptwobrussell for asking
Add a property
github.MainClass.Github.per_page
(and a parameter to the constructor) to change the number of items requested in paginated requests. Thank you again ptwobrussell for askingImplement the first part of the Notifications API. Thank you pgolm
Fix automated tests on Python 3.3. Thank you bkabrda for reporting
Version 1.12.2 (March 3rd, 2013)¶
Fix major issue with Python 3: Json decoding was broken. Thank you bilderbuchi for reporting
Version 1.12.1 (February 20th, 2013)¶
Nothing, but packaging/upload of 1.12.0 failed
Version 1.12.0 (February 20th, 2013)¶
Much better documentation: http://jacquev6.github.com/PyGithub
Implement
github.Repository.Repository.get_dir_contents()
. Thank you ksookocheff-va for asking
Version 1.11.1 (February 9th, 2013) (London edition)¶
Fix bug in lazy completion. Thank you ianozsvald for pinpointing it
Version 1.11.0 (February 7th, 2013)¶
Fix bug in PaginatedList without url parameters. Thank you llimllib for the contribution
Support PubSubHub:
github.Repository.Repository.subscribe_to_hub()
andgithub.Repository.Repository.unsubscribe_from_hub()
Publish the oauth scopes in
github.MainClass.Github.oauth_scopes
, thank you bilderbuchi for asking
Version 1.10.0 (December 25th, 2012) (Christmas 2012 edition)¶
Major improvement: support Python 3! PyGithub is automatically tested on Travis with versions 2.5, 2.6, 2.7, 3.1 and 3.2 of Python
Add a shortcut function
github.MainClass.Github.get_repo()
to get a repo directly from its full name. thank you lwc for the contributiongithub.MainClass.Github.get_gitignore_templates()
andgithub.MainClass.Github.get_gitignore_template()
for APIs/gitignore/templates
Add the optional
ref
parameter togithub.Repository.Repository.get_contents()
andgithub.Repository.Repository.get_readme()
. Thank you fixxxeruk for the contributionGet comments for all issues and all pull requests on a repository (
GET /repos/:owner/:repo/pulls/comments
:github.Repository.Repository.get_pulls_comments()
orgithub.Repository.Repository.get_pulls_review_comments()
;GET /repos/:owner/:repo/issues/comments
:github.Repository.Repository.get_issues_comments()
)
Version 1.9.1 (November 20th, 2012)¶
Fix an assertion failure when integers returned by Github do not fit in a Python
int
Version 1.9.0 (November 19th, 2012)¶
You can now use your client_id and client_secret to increase rate limiting without authentication
You can now send a custom User-Agent
PullRequest now has its ‘assignee’ attribute, thank you mstead
Repository.edit now has ‘default_branch’ parameter
create_repo has ‘auto_init’ and ‘gitignore_template’ parameters
GistComment URL is changed (see http://developer.github.com/changes/2012-10-31-gist-comment-uris)
A typo in the readme was fixed by tymofij, thank you
Internal stuff:
Add encoding comment to Python files, thank you Zearin
Restore support of Python 2.5
Restore coverage measurement in setup.py test
Small refactoring
Version 1.8.1 (October 28th, 2012)¶
Repository.get_git_ref prepends “refs/” to the requested references. Thank you simon-weber for noting the incoherence between documentation and behavior. If you feel like it’s a breaking change, please see this issue
Version 1.8.0 (September 30th, 2012)¶
Enable Travis CI
Fix error 500 when json payload contains percent character (%). Thank you again quixotique for pointing that and reporting it to Github
Enable debug logging. Logger name is “github”. Simple logging can be enabled by github.enable_console_debug_logging(). Thank you quixotique for the merge request and the advice
Publish tests in the PyPi source archive to ease QA tests of the FreeBSD port. Thank you koobs for maintaining this port
Switch to Semantic Versioning
Respect pep8 Style Guide for Python Code
Version 1.7 (September 12th, 2012)¶
Be able to clear the assignee and the milestone of an Issue. Thank you quixotique for the merge request
Fix an AssertionFailure in Organization.get_xxx when using Github Enterprise. Thank you mnsanghvi for pointing that
Expose pagination to users needing it (PaginatedList.get_page). Thank you kukuts for asking
Improve handling of legacy search APIs
Small refactoring (documentation, removal of old code generation artifacts)
Version 1.6 (September 8th, 2012)¶
Restore support for Python 2.5
Implement new APIS:
/hooks (undocumented, but mentioned in http://developer.github.com/v3/repos/hooks/#create-a-hook)
Clarify issue and review comments on PullRequest, thank you nixoz2k7 for asking
Version 1.5 (September 5th, 2012)¶
Version 1.4 (August 4th, 2012)¶
Allow connection to a custom Github URL, for Github Enterprise, thank you very much engie for the merge request
Version 1.3 (July 13th, 2012)¶
Implement markdown rendering
GitAuthor.date is now a datetime, thank you bilderbuchi
Fix documentation of Github.get_gist: id is a string, not an integer
Version 1.2 (June 29th, 2012)¶
Implement legacy search APIs, thank you kukuts for telling me Github had released them
Fix a bug with issue labels containing spaces, thank you philipkimmey for detecting the bug and fixing it
Clarify how collections of objects are returned by get_* methods, thank you bilderbuchi for asking
Version 1.1 (June 20th, 2012)¶
Version 1.0 (June 3rd, 2012)¶
Complete rewrite, with no more complicated meta-description
Full typing of attributes and parameters
Full documentation of attributes and parameters
More usable exceptions raised in case on problems with the API
Some bugs and limitations fixed, special thanks to bilderbuchi, roskakori and tallforasmurf for reporting them!
Pre-release versions¶
Version 0.7 (May 26th, 2012)¶
Use PyGithub with OAuth authentication or with no authentication at all
Version 0.6 (April 17th, 2012)¶
Fix issue 21 (KeyError when accessing repositories)
Re-completed the API with NamedUser.create_gist
Version 0.5 (March 19th, 2012)¶
Major achievement: all APIs are implemented
More refactoring, of course
Version 0.4 (March 12th, 2012)¶
The list of the not implemented APIs is shorter than the list of the implemented APIs
APIs not implemented:
GET /gists/public
GET /issues
GET /repos/:owner/:repo/compare/:base…:head
GET /repos/:owner/:repo/git/trees/:sha?recursive-1
POST /repos/:owner/:repo/git/trees?base_tree-
Gists
Authorizations
Keys
Hooks
Events
Merge pull requests
More refactoring, one more time
Version 0.3 (February 26th, 2012)¶
More refactoring
Issues, milestones and their labels
NamedUser:
emails
Repository:
downloads
tags, branches, commits and comments (not the same as “Git objects” of version 0.2)
pull requests (no automatic merge yet)
Automatic generation of the reference documentation of classes, with less “see API”s, and less errors
Version 0.2 (February 23rd, 2012)¶
Refactoring
Teams details and modification
basic attributes
list teams in organizations, on repositories
Git objects
create and get tags, references, commits, trees, blobs
list and edit references
Version 0.1 (February 19th, 2012)¶
User details and modification
basic attributes
followers, following, watching
organizations
repositories
Repository details and modification
basic attributes
forking
collaborators, contributors, watchers
Organization details and modification
basic attributes
members and public members