From f87cdb400e47fb853fe8e251fe8da44043b53001 Mon Sep 17 00:00:00 2001 From: staticdev Date: Sun, 16 Apr 2023 15:02:02 +0200 Subject: [PATCH 1/2] Prepare release 4.0.0 --- AUTHORS.rst | 2 +- docs/source/release-notes/4.0.0.rst | 40 +++++++++++++++++++++++++++++ docs/source/release-notes/index.rst | 6 +++++ src/github3/__about__.py | 4 +-- 4 files changed, 49 insertions(+), 3 deletions(-) create mode 100644 docs/source/release-notes/4.0.0.rst diff --git a/AUTHORS.rst b/AUTHORS.rst index 30ea2450..991702f2 100644 --- a/AUTHORS.rst +++ b/AUTHORS.rst @@ -12,7 +12,7 @@ Maintainer(s) - Matt Chung (@itsmemattchung) -- Thiago D'Ávila (@staticdev) +- Thiago A. (@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..5d401798 --- /dev/null +++ b/docs/source/release-notes/4.0.0.rst @@ -0,0 +1,40 @@ +4.0.0: 2023-04-16 +----------------- + +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_ + +Dependency Change +````````````````` + +- Bump the dev-requirements.txt (@offbyone). See also gh-1136_ + +Bug Fixes +````````` + +- Missing set permission for collaborators. See also gh-954_ + +.. _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 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() ) From 0e2142a95cb2610761be3d5184356faa5b2a4277 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sun, 23 Apr 2023 12:28:46 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- docs/source/release-notes/4.0.0.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/release-notes/4.0.0.rst b/docs/source/release-notes/4.0.0.rst index 21d4b32f..694fb6b8 100644 --- a/docs/source/release-notes/4.0.0.rst +++ b/docs/source/release-notes/4.0.0.rst @@ -7,7 +7,7 @@ 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 + pagination/iterator on the commits within the Comparison class (@amaccormack-lumira). See also gh-1137_ Features Added