Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare release 4.0.0 #1141

Merged
merged 4 commits into from
Apr 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
staticdev marked this conversation as resolved.
Show resolved Hide resolved
``````````````

- 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