Skip to content

Commit

Permalink
Release 1.1.0
Browse files Browse the repository at this point in the history
A bugfix release with one feature enhancement.
  • Loading branch information
omgjlk authored and sigmavirus24 committed Apr 10, 2018
1 parent 0dea703 commit 4a6f9ed
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 8 deletions.
40 changes: 33 additions & 7 deletions LATEST_VERSION_NOTES.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,31 @@
.. vim: set tw=100
1.1.0: 2018-04-09
~~~~~~~~~~~~~~~~~

This is a small release with some enhancments.

Features Added
``````````````

- Repository collaborators now returns a ``users.Collaborator`` object, instead of
a ``users.ShortUser`` object. This is to support collaborator affiliations. A
refresh call of this object (and ``users.Contributor``) will result in a full
``users.User`` object.

- The call to iterate collaborators of a repository
(``Repsitory#collaborators``) can now take an ``affiliation`` filter with options of
``outside``, ``direct``, and ``all``. The default is ``all``, which preserves the previous
behavior of this method.

Bugs Fixed
``````````

- Parse certain attributes on ``IssueEvent`` into objects (again, this was a
regression in 1.0)
- Handle older GitHub Enterprise responses for authenticated user objects
- Handle large file pull request responses not including a ``patch`` attribute

1.0.2: 2018-03-28
~~~~~~~~~~~~~~~~~

Expand Down Expand Up @@ -213,10 +239,10 @@ Old name New name

- ``github3.login`` has been simplified and split into two functions:

- ``github3.login`` serves the majority use case and only provides an
- ``github3.login`` serves the majority use case and only provides an
authenticated ``GitHub`` object.

- ``github3.enterprise_login`` allows GitHub Enterprise users to log into
- ``github3.enterprise_login`` allows GitHub Enterprise users to log into
their service.

- ``GitHub#iter_followers`` was split into two functions:
Expand All @@ -237,10 +263,10 @@ Old name New name

- ``GitHub#iter_gists`` was split into three functions:

- ``GitHub#public_gists`` which iterates over all of the public gists on
- ``GitHub#public_gists`` which iterates over all of the public gists on
GitHub

- ``GitHub#gists_for`` which iterates over all the public gists of a
- ``GitHub#gists_for`` which iterates over all the public gists of a
specific user

- ``GitHub#gists`` which iterates over the authenticated users gists
Expand All @@ -258,7 +284,7 @@ Old name New name
- ``GitHub#subscriptions_for`` which iterates over an arbitrary user's
subscriptions

- ``GitHub#subscriptions`` which iterates over the authenticated user's
- ``GitHub#subscriptions`` which iterates over the authenticated user's
subscriptions

- ``GitHub#iter_starred`` was split into two functions:
Expand Down Expand Up @@ -292,10 +318,10 @@ Old name New name

- ``Repository#set_subscription`` was split into two simpler functions

- ``Repository#subscribe`` subscribes the authenticated user to the
- ``Repository#subscribe`` subscribes the authenticated user to the
repository's notifications

- ``Repository#ignore`` ignores notifications from the repository for the
- ``Repository#ignore`` ignores notifications from the repository for the
authenticated user

- ``Repository#contents`` was split into two simpler functions
Expand Down
2 changes: 1 addition & 1 deletion github3/__about__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
__author_email__ = 'graffatcolmingov@gmail.com'
__license__ = 'Modified BSD'
__copyright__ = 'Copyright 2012-2018 Ian Stapleton Cordasco'
__version__ = '1.0.2'
__version__ = '1.1.0'
__version_info__ = tuple(int(i) for i in __version__.split('.') if i.isdigit())
__url__ = 'https://github3.readthedocs.io'

Expand Down

0 comments on commit 4a6f9ed

Please sign in to comment.