diff --git a/changelog.d/20240726_111812_derek_flows_all_scope.rst b/changelog.d/20240726_111812_derek_flows_all_scope.rst deleted file mode 100644 index 605bce087..000000000 --- a/changelog.d/20240726_111812_derek_flows_all_scope.rst +++ /dev/null @@ -1,6 +0,0 @@ - -Added -~~~~~ - -- Added a reference to the new Flows all scope under - ``globus_sdk.scopes.FlowsScopes.all``. (:pr:`1016`) diff --git a/changelog.d/20240728_220953_derek_client_based_token_caching.rst b/changelog.d/20240728_220953_derek_client_based_token_caching.rst deleted file mode 100644 index 8bbc4f24e..000000000 --- a/changelog.d/20240728_220953_derek_client_based_token_caching.rst +++ /dev/null @@ -1,27 +0,0 @@ - -Changed -~~~~~~~ - -- Changed the experimental ``GlobusApp`` class in the following way (:pr:`1017`): - - - ``app_name`` is no longer required (defaults to "DEFAULT") - - - Token storage now defaults to including the client id in the path. - - - Old (unix) : ``~/.globus/app/{app_name}/tokens.json`` - - - New (unix): ``~/.globus/app/{client_id}/{app_name}/tokens.json`` - - - Old (win): ``~\AppData\Local\globus\app\{app_name}\tokens.json`` - - - New (win): ``~\AppData\Local\globus\app\{client_id}\{app_name}\tokens.json`` - - - ``GlobusAppConfig.token_storage`` now accepts shorthand string references: - ``"json"`` to use a ``JSONTokenStorage``, ``"sqlite"`` to use a - ``SQLiteTokenStorage`` and ``"memory"`` to use a ``MemoryTokenStorage``. - - - ``GlobusAppConfig.token_storage`` also now accepts a ``TokenStorageProvider``, - a class with a ``for_globus_app(...) -> TokenStorage`` class method. - - - Renamed the experimental ``FileTokenStorage`` attribute ``.filename`` to - ``.filepath``. diff --git a/changelog.d/20240730_020618_derek_refactor_login_flow_manager_interactions.rst b/changelog.d/20240730_020618_derek_refactor_login_flow_manager_interactions.rst deleted file mode 100644 index 3c76ea22f..000000000 --- a/changelog.d/20240730_020618_derek_refactor_login_flow_manager_interactions.rst +++ /dev/null @@ -1,29 +0,0 @@ - -Changed -~~~~~~~ - -- Changed the experimental ``GlobusApp`` class in the following ways (:pr:`1018`): - - - ``LoginFlowManagers`` now insert ``GlobusApp.app_name`` into any native - client login flows as the ``prefill_named_grant``. - - - ``GlobusAppConfig`` now accepts a ``login_redirect_uri`` parameter to specify - the redirect URI for a login flow. - - - Invalid when used with a ``LocalServerLoginFlowManager``. - - - Defaults to ``"https://auth.globus.org/v2/web/auth-code"`` for native - client flows. Raises an error if not set for confidential ones. - - - ``UserApp`` now allows for the use of confidential client flows with the use of - either a ``LocalServerLoginFlowManager`` or a configured ``login_redirect_uri``. - - - ``GlobusAppConfig.login_flow_manager`` now accepts shorthand string references - ``"command-line"`` to use a ``CommandLineLoginFlowManager`` and - ``"local-server"`` to use a ``LocalServerLoginFlowManager``. - - - ``GlobusAppConfig.login_flow_manager`` also now accepts a - ``LoginFlowManagerProvider``, a class with a - ``for_globus_app(...) -> LoginFlowManager`` class method. - - diff --git a/changelog.d/20240801_182813_derek_globus_app_extended_scope_type_support.rst b/changelog.d/20240801_182813_derek_globus_app_extended_scope_type_support.rst deleted file mode 100644 index 56c535ea3..000000000 --- a/changelog.d/20240801_182813_derek_globus_app_extended_scope_type_support.rst +++ /dev/null @@ -1,20 +0,0 @@ - -Added -~~~~~ - -- Added support for ``ScopeCollectionType`` to GlobusApp's ``__init__`` and - ``add_scope_requirements`` methods. (:pr:`1020`) - -Changed -~~~~~~~ - -- Updated ``ScopeCollectionType`` to be defined recursively. (:pr:`1020`) - - -Development -~~~~~~~~~~~ - -- Added a scope normalization function ``globus_sdk.scopes.scopes_to_scope_list`` to - translate from ``ScopeCollectionType`` to a list of ``Scope`` objects. - (:pr:`1020`) - diff --git a/changelog.d/20240802_143010_sirosen_check_uuids.rst b/changelog.d/20240802_143010_sirosen_check_uuids.rst deleted file mode 100644 index f2fcc9aeb..000000000 --- a/changelog.d/20240802_143010_sirosen_check_uuids.rst +++ /dev/null @@ -1,5 +0,0 @@ -Changed -~~~~~~~ - -- ``TransferClient.add_app_data_access_scope`` now raises an error if it is - given an invalid collection ID. (:pr:`1022`) diff --git a/changelog.rst b/changelog.rst index 6ec57511e..8740f96c9 100644 --- a/changelog.rst +++ b/changelog.rst @@ -12,6 +12,87 @@ to a major new version of the SDK. .. scriv-insert-here +.. _changelog-3.44.0: + +v3.44.0 (2024-08-02) +-------------------- + +Added +~~~~~ + +- Added a reference to the new Flows all scope under + ``globus_sdk.scopes.FlowsScopes.all``. (:pr:`1016`) + +.. rubric:: Experimental + +- Added support for ``ScopeCollectionType`` to GlobusApp's ``__init__`` and + ``add_scope_requirements`` methods. (:pr:`1020`) + +Changed +~~~~~~~ + +- Updated ``ScopeCollectionType`` to be defined recursively. (:pr:`1020`) + +- ``TransferClient.add_app_data_access_scope`` now raises an error if it is + given an invalid collection ID. (:pr:`1022`) + +.. rubric:: Experimental + +- Changed the experimental ``GlobusApp`` class in the following way (:pr:`1017`): + + - ``app_name`` is no longer required (defaults to "DEFAULT") + + - Token storage now defaults to including the client id in the path. + + - Old (unix) : ``~/.globus/app/{app_name}/tokens.json`` + + - New (unix): ``~/.globus/app/{client_id}/{app_name}/tokens.json`` + + - Old (win): ``~\AppData\Local\globus\app\{app_name}\tokens.json`` + + - New (win): ``~\AppData\Local\globus\app\{client_id}\{app_name}\tokens.json`` + + - ``GlobusAppConfig.token_storage`` now accepts shorthand string references: + ``"json"`` to use a ``JSONTokenStorage``, ``"sqlite"`` to use a + ``SQLiteTokenStorage`` and ``"memory"`` to use a ``MemoryTokenStorage``. + + - ``GlobusAppConfig.token_storage`` also now accepts a ``TokenStorageProvider``, + a class with a ``for_globus_app(...) -> TokenStorage`` class method. + + - Renamed the experimental ``FileTokenStorage`` attribute ``.filename`` to + ``.filepath``. + +- Changed the experimental ``GlobusApp`` class in the following ways (:pr:`1018`): + + - ``LoginFlowManagers`` now insert ``GlobusApp.app_name`` into any native + client login flows as the ``prefill_named_grant``. + + - ``GlobusAppConfig`` now accepts a ``login_redirect_uri`` parameter to specify + the redirect URI for a login flow. + + - Invalid when used with a ``LocalServerLoginFlowManager``. + + - Defaults to ``"https://auth.globus.org/v2/web/auth-code"`` for native + client flows. Raises an error if not set for confidential ones. + + - ``UserApp`` now allows for the use of confidential client flows with the use of + either a ``LocalServerLoginFlowManager`` or a configured ``login_redirect_uri``. + + - ``GlobusAppConfig.login_flow_manager`` now accepts shorthand string references + ``"command-line"`` to use a ``CommandLineLoginFlowManager`` and + ``"local-server"`` to use a ``LocalServerLoginFlowManager``. + + - ``GlobusAppConfig.login_flow_manager`` also now accepts a + ``LoginFlowManagerProvider``, a class with a + ``for_globus_app(...) -> LoginFlowManager`` class method. + +Development +~~~~~~~~~~~ + +- Added a scope normalization function ``globus_sdk.scopes.scopes_to_scope_list`` to + translate from ``ScopeCollectionType`` to a list of ``Scope`` objects. + (:pr:`1020`) + .. _changelog-3.43.0: v3.43.0 (2024-07-25) diff --git a/src/globus_sdk/version.py b/src/globus_sdk/version.py index 3baebb2f8..7f73491ef 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.43.0" +__version__ = "3.44.0"