diff --git a/AUTHORS.rst b/AUTHORS.rst index 14af8d38..841a0b85 100644 --- a/AUTHORS.rst +++ b/AUTHORS.rst @@ -12,7 +12,7 @@ Maintainer(s) - Matt Chung (@itsmemattchung) -- Thiago D'Ávila (@staticdev) +- Thiago (@staticdev) Requests ```````` diff --git a/docs/source/release-notes/4.0.0.rst b/docs/source/release-notes/4.0.0.rst new file mode 100644 index 00000000..694fb6b8 --- /dev/null +++ b/docs/source/release-notes/4.0.0.rst @@ -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 diff --git a/docs/source/release-notes/index.rst b/docs/source/release-notes/index.rst index 5edbe650..ee1d6293 100644 --- a/docs/source/release-notes/index.rst +++ b/docs/source/release-notes/index.rst @@ -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 ================== diff --git a/src/github3/__about__.py b/src/github3/__about__.py index 4312e99d..0dc569f8 100644 --- a/src/github3/__about__.py +++ b/src/github3/__about__.py @@ -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() )