Skip to content

Commit

Permalink
Merge pull request #1141 from sigmavirus24/release/4.0
Browse files Browse the repository at this point in the history
Prepare release 4.0.0
  • Loading branch information
staticdev committed Apr 23, 2023
2 parents 979e884 + a367fcf commit 4bd5207
Show file tree
Hide file tree
Showing 4 changed files with 63 additions and 3 deletions.
2 changes: 1 addition & 1 deletion AUTHORS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Maintainer(s)

- Matt Chung (@itsmemattchung)

- Thiago D'Ávila (@staticdev)
- Thiago (@staticdev)

Requests
````````
Expand Down
54 changes: 54 additions & 0 deletions docs/source/release-notes/4.0.0.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
4.0.0: 2023-04-23
-----------------

Backwards Incompatible Changes
``````````````````````````````

- :meth:`~github3.repos.comparison.Comparison.commits` was renamed to
`original_commits` (max 250 commits). Now `commits` uses Github's API to
get the full commit list out of the compare endpoint, so enabled
pagination/iterator on the commits within the Comparison class
(@amaccormack-lumira). See also gh-1137_

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

- Add tests for Python 3.11 (@cclauss). See also gh-1124_
- Add function for getting repos for github app (@pettermk). See also gh-1085_
- Cancel and failed invitation (@pallavisharma1210). See also gh-1091_
- Allow to set GitHub API version (@anz-ableton). See also gh-1121_

Removal
```````

- Remove support to EOL Python 3.6 (@staticdev). See also gh-1103_

Bug Fixes
`````````

- Missing set permission for collaborators (@NargiT). See also gh-954_

CI/CD
`````

- Bump the dev-requirements.txt (@offbyone). See also gh-1136_
- Modernize the build: switch to hatchling (@offbyone). See also gh-1142_

.. _gh-954:
https://github.com/sigmavirus24/github3.py/issues/954
.. _gh-1103:
https://github.com/sigmavirus24/github3.py/issues/1103
.. _gh-1085:
https://github.com/sigmavirus24/github3.py/issues/1085
.. _gh-1091:
https://github.com/sigmavirus24/github3.py/pull/1091
.. _gh-1124:
https://github.com/sigmavirus24/github3.py/pull/1124
.. _gh-1121:
https://github.com/sigmavirus24/github3.py/issues/1121
.. _gh-1136:
https://github.com/sigmavirus24/github3.py/pull/1136
.. _gh-1137:
https://github.com/sigmavirus24/github3.py/issues/1137
.. _gh-1142:
https://github.com/sigmavirus24/github3.py/pull/1142
6 changes: 6 additions & 0 deletions docs/source/release-notes/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@
All of the release notes that have been recorded for github3.py are organized
here with the newest releases first.

4.x Release Series
==================

.. toctree::
4.0.0

3.x Release Series
==================

Expand Down
4 changes: 2 additions & 2 deletions src/github3/__about__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
__author__ = "Ian Stapleton Cordasco"
__author_email__ = "graffatcolmingov@gmail.com"
__license__ = "Modified BSD"
__copyright__ = "Copyright 2012-2022 Ian Stapleton Cordasco"
__version__ = "3.2.0"
__copyright__ = "Copyright 2012 Ian Stapleton Cordasco"
__version__ = "4.0.0"
__version_info__ = tuple(
int(i) for i in __version__.split(".") if i.isdigit()
)
Expand Down

0 comments on commit 4bd5207

Please sign in to comment.