diff --git a/changelog.d/20230623_102145_sirosen_auth_client_init_signatures.rst b/changelog.d/20230623_102145_sirosen_auth_client_init_signatures.rst deleted file mode 100644 index 60e3ea990..000000000 --- a/changelog.d/20230623_102145_sirosen_auth_client_init_signatures.rst +++ /dev/null @@ -1,13 +0,0 @@ -Changed -~~~~~~~ - -* ``AuthClient``, ``NativeAppAuthClient``, and ``ConfidentialAppAuthClient`` - have had their init signatures updated to explicitly list available - parameters. (:pr:`764`) - - * Type annotations for these classes are now more accurate - - * The ``NativeAppAuthClient`` and ``ConfidentialAppAuthClient`` classes do - not accept ``authorizer`` in their init signatures. Previously this was - accepted but raised a ``GlobusSDKUsageError``. Attempting to pass an - ``authorizer`` will now result in a ``TypeError``. diff --git a/changelog.d/20230623_162743_sirosen_add_get_projects.rst b/changelog.d/20230623_162743_sirosen_add_get_projects.rst deleted file mode 100644 index ac34e398b..000000000 --- a/changelog.d/20230623_162743_sirosen_add_get_projects.rst +++ /dev/null @@ -1,4 +0,0 @@ -Added -~~~~~ - -- Add ``AuthClient.get_projects`` to support the Get Projects API (:pr:`766`) diff --git a/changelog.d/20230627_111713_sirosen_enhance_testing_method_docs.rst b/changelog.d/20230627_111713_sirosen_enhance_testing_method_docs.rst deleted file mode 100644 index 2e2c38999..000000000 --- a/changelog.d/20230627_111713_sirosen_enhance_testing_method_docs.rst +++ /dev/null @@ -1,6 +0,0 @@ -Documentation -~~~~~~~~~~~~~ - -- The ``_testing`` documentation has been expanded with a dropdown view of the - response contents for each method. In support of this, client method testing - docs have been reorganized into a page per service. (:pr:`767`) diff --git a/changelog.d/20230628_152745_sirosen_add_project_crud.rst b/changelog.d/20230628_152745_sirosen_add_project_crud.rst deleted file mode 100644 index 05ee04a5b..000000000 --- a/changelog.d/20230628_152745_sirosen_add_project_crud.rst +++ /dev/null @@ -1,5 +0,0 @@ -Added -~~~~~ - -- Add ``AuthClient.create_project`` as a method for creating a new Project via - the Globus Auth Developer API (:pr:`772`) diff --git a/changelog.d/20230629_121831_sirosen_update_authorization_params_parsing.rst b/changelog.d/20230629_121831_sirosen_update_authorization_params_parsing.rst deleted file mode 100644 index 1fc2e8d1d..000000000 --- a/changelog.d/20230629_121831_sirosen_update_authorization_params_parsing.rst +++ /dev/null @@ -1,13 +0,0 @@ -Changed -~~~~~~~ - -- ``session_required_policies`` parsing in ``AuthorizationParameterInfo`` now - supports the policies being returned as a ``list[str]`` in addition to - supporting ``str`` (:pr:`769`) - -Fixed -~~~~~ - -- ``AuthorizationParameterInfo`` is now more type-safe, and will not return - parsed data from a response without checking that the data has correct types - (:pr:`769`) diff --git a/changelog.d/20230630_004448_sirosen_test_construct_error.rst b/changelog.d/20230630_004448_sirosen_test_construct_error.rst deleted file mode 100644 index 9d9111208..000000000 --- a/changelog.d/20230630_004448_sirosen_test_construct_error.rst +++ /dev/null @@ -1,7 +0,0 @@ -Added -~~~~~ - -- ``globus_sdk._testing`` now exposes a method, ``construct_error`` which makes - it simpler to explicitly construct and return a Globus SDK error object for - testing. This is used in the SDK's own testsuite and is available for - ``_testing`` users. (:pr:`770`) diff --git a/changelog.d/20230705_124906_sirosen_add_authorize_url_params.rst b/changelog.d/20230705_124906_sirosen_add_authorize_url_params.rst deleted file mode 100644 index 7205ae479..000000000 --- a/changelog.d/20230705_124906_sirosen_add_authorize_url_params.rst +++ /dev/null @@ -1,8 +0,0 @@ -Added -~~~~~ - -- ``AuthClient.oauth2_get_authorize_url`` now supports the following parameters - for session management: ``session_required_identities``, - ``session_required_single_domain``, and ``session_required_policies``. Each - of these accept list inputs, as returned by - ``ErrorInfo.authorization_parameters``. (:pr:`773`) diff --git a/changelog.d/20230705_173841_sirosen_add_project_update.rst b/changelog.d/20230705_173841_sirosen_add_project_update.rst deleted file mode 100644 index 97a669331..000000000 --- a/changelog.d/20230705_173841_sirosen_add_project_update.rst +++ /dev/null @@ -1,5 +0,0 @@ -Added -~~~~~ - -- Add ``AuthClient.update_project`` as a method for updating a Project via the - Globus Auth Developer API (:pr:`774`) diff --git a/changelog.d/20230706_094143_sirosen_delete_project.rst b/changelog.d/20230706_094143_sirosen_delete_project.rst deleted file mode 100644 index 452359a4a..000000000 --- a/changelog.d/20230706_094143_sirosen_delete_project.rst +++ /dev/null @@ -1,5 +0,0 @@ -Added -~~~~~ - -- Add ``AuthClient.delete_project`` for deleting a project via the Globus Auth - Developer API. (:pr:`776`) diff --git a/changelog.d/20230706_111957_kurtmckee_fix_include_flow_description_parameter_sc_25534.rst b/changelog.d/20230706_111957_kurtmckee_fix_include_flow_description_parameter_sc_25534.rst deleted file mode 100644 index f50c0dd49..000000000 --- a/changelog.d/20230706_111957_kurtmckee_fix_include_flow_description_parameter_sc_25534.rst +++ /dev/null @@ -1,5 +0,0 @@ -Fixed -~~~~~ - -- Adjust the ``FlowsClient.get_run()`` ``include_flow_description`` parameter - so it is submitted only when it has a value. (:pr:`778`) diff --git a/docs/changelog.rst b/docs/changelog.rst index 27585fcad..b3667295a 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -12,6 +12,68 @@ to a major new version of the SDK. .. scriv-insert-here +.. _changelog-3.23.0: + +v3.23.0 (2023-07-06) +-------------------- + +Added +~~~~~ + +- Add ``AuthClient`` methods to support the Projects APIs for listing, + creating, updating, and deleting projects. + + - ``AuthClient.get_projects`` (:pr:`766`) + - ``AuthClient.create_project`` (:pr:`772`) + - ``AuthClient.update_project`` (:pr:`774`) + - ``AuthClient.delete_project`` (:pr:`776`) + +- ``globus_sdk._testing`` now exposes a method, ``construct_error`` which makes + it simpler to explicitly construct and return a Globus SDK error object for + testing. This is used in the SDK's own testsuite and is available for + ``_testing`` users. (:pr:`770`) + +- ``AuthClient.oauth2_get_authorize_url`` now supports the following parameters + for session management: ``session_required_identities``, + ``session_required_single_domain``, and ``session_required_policies``. Each + of these accept list inputs, as returned by + ``ErrorInfo.authorization_parameters``. (:pr:`773`) + +Changed +~~~~~~~ + +* ``AuthClient``, ``NativeAppAuthClient``, and ``ConfidentialAppAuthClient`` + have had their init signatures updated to explicitly list available + parameters. (:pr:`764`) + + * Type annotations for these classes are now more accurate + + * The ``NativeAppAuthClient`` and ``ConfidentialAppAuthClient`` classes do + not accept ``authorizer`` in their init signatures. Previously this was + accepted but raised a ``GlobusSDKUsageError``. Attempting to pass an + ``authorizer`` will now result in a ``TypeError``. + +- ``session_required_policies`` parsing in ``AuthorizationParameterInfo`` now + supports the policies being returned as a ``list[str]`` in addition to + supporting ``str`` (:pr:`769`) + +Fixed +~~~~~ + +- ``AuthorizationParameterInfo`` is now more type-safe, and will not return + parsed data from a response without checking that the data has correct types + (:pr:`769`) + +- Adjust the ``FlowsClient.get_run()`` ``include_flow_description`` parameter + so it is submitted only when it has a value. (:pr:`778`) + +Documentation +~~~~~~~~~~~~~ + +- The ``_testing`` documentation has been expanded with a dropdown view of the + response contents for each method. In support of this, client method testing + docs have been reorganized into a page per service. (:pr:`767`) + .. _changelog-3.22.0: v3.22.0 (2023-06-22) @@ -29,7 +91,7 @@ Added ``AuthClient.scopes.manage_projects`` (:pr:`761`) Documentation -------------- +~~~~~~~~~~~~~ * Alpha features of globus-sdk are now documented in the "Unstable" doc section (:pr:`753`) diff --git a/src/globus_sdk/version.py b/src/globus_sdk/version.py index 0b147c810..efb29344e 100644 --- a/src/globus_sdk/version.py +++ b/src/globus_sdk/version.py @@ -1,3 +1,3 @@ # single source of truth for package version, # see https://packaging.python.org/en/latest/single_source_version/ -__version__ = "3.22.0" +__version__ = "3.23.0"