8000 Merge pull request #823 from omgjlk/do-1.1.0 · staticdev/github4.py@59df554 · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on May 22, 2021. It is now read-only.

Commit 59df554

Browse files
authored
Merge pull request sigmavirus24#823 from omgjlk/do-1.1.0
Release 1.1.0
2 parents 0dea703 + 4a6f9ed commit 59df554

File tree

2 files changed

+34
-8
lines changed

2 files changed

+34
-8
lines changed

LATEST_VERSION_NOTES.rst

Lines changed: 33 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,31 @@
11
.. vim: set tw=100
22
3+
1.1.0: 2018-04-09
4+
~~~~~~~~~~~~~~~~~
5+
6+
This is a small release with some enhancments.
7+
8+
Features Added
9+
``````````````
10+
11+
- Repository collaborators now returns a ``users.Collaborator`` object, instead of
12+
a ``users.ShortUser`` object. This is to support collaborator affiliations. A
13+
refresh call of this object (and ``users.Contributor``) will result in a full
14+
``users.User`` object.
15+
16+
- The call to iterate collaborators of a repository
17+
(``Repsitory#collaborators``) can now take an ``affiliation`` filter with options of
18+
``outside``, ``direct``, and ``all``. The default is ``all``, which preserves the previous
19+
behavior of this method.
20+
21+
Bugs Fixed
22+
``````````
23+
24+
- Parse certain attributes on ``IssueEvent`` into objects (again, this was a
25+
regression in 1.0)
26+
- Handle older GitHub Enterprise responses for authenticated user objects
27+
- Handle large file pull request responses not including a ``patch`` attribute
28+
329
1.0.2: 2018-03-28
430
~~~~~~~~~~~~~~~~~
531

@@ -213,10 +239,10 @@ Old name New name
213239

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

216-
- ``github3.login`` serves the majority use case and only provides an
242+
- ``github3.login`` serves the majority use case and only provides an
217243
authenticated ``GitHub`` object.
218244

219-
- ``github3.enterprise_login`` allows GitHub Enterprise users to log into
245+
- ``github3.enterprise_login`` allows GitHub Enterprise users to log into
220246
their service.
221247

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

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

240-
- ``GitHub#public_gists`` which iterates over all of the public gists on
266+
- ``GitHub#public_gists`` which iterates over all of the public gists on
241267
GitHub
242268

243-
- ``GitHub#gists_for`` which iterates over all the public gists of a
269+
- ``GitHub#gists_for`` which iterates over all the public gists of a
244270
specific user
245271

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

261-
- ``GitHub#subscriptions`` which iterates over the authenticated user's
287+
- ``GitHub#subscriptions`` which iterates over the authenticated user's
262288
subscriptions
263289

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

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

295-
- ``Repository#subscribe`` subscribes the authenticated user to the
321+
- ``Repository#subscribe`` subscribes the authenticated user to the
296322
repository's notifications
297323

298-
- ``Repository#ignore`` ignores notifications from the repository for the
324+
- ``Repository#ignore`` ignores notifications from the repository for the
299325
authenticated user
300326

301327
- ``Repository#contents`` was split into two simpler functions

github3/__about__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
__author_email__ = 'graffatcolmingov@gmail.com'
66
__license__ = 'Modified BSD'
77
__copyright__ = 'Copyright 2012-2018 Ian Stapleton Cordasco'
8-
__version__ = '1.0.2'
8+
__version__ = '1.1.0'
99
__version_info__ = tuple(int(i) for i in __version__.split('.') if i.isdigit())
1010
__url__ = 'https://github3.readthedocs.io'
1111

0 commit comments

Comments
 (0)
0