@@ -12,6 +12,87 @@ to a major new version of the SDK.
1212
1313.. scriv-insert-here
1414
15+ .. _changelog-3.44.0 :
16+
17+ v3.44.0 (2024-08-02)
18+ --------------------
19+
20+ Added
21+ ~~~~~
22+
23+ - Added a reference to the new Flows all scope under
24+ ``globus_sdk.scopes.FlowsScopes.all ``. (:pr: `1016 `)
25+
26+ .. rubric :: Experimental
27+
28+ - Added support for ``ScopeCollectionType `` to GlobusApp's ``__init__ `` and
29+ ``add_scope_requirements `` methods. (:pr: `1020 `)
30+
31+ Changed
32+ ~~~~~~~
33+
34+ - Updated ``ScopeCollectionType `` to be defined recursively. (:pr: `1020 `)
35+
36+ - ``TransferClient.add_app_data_access_scope `` now raises an error if it is
37+ given an invalid collection ID. (:pr: `1022 `)
38+
39+ .. rubric :: Experimental
40+
41+ - Changed the experimental ``GlobusApp `` class in the following way (:pr: `1017 `):
42+
43+ - ``app_name `` is no longer required (defaults to "DEFAULT")
44+
45+ - Token storage now defaults to including the client id in the path.
46+
47+ - Old (unix) : ``~/.globus/app/{app_name}/tokens.json ``
48+
49+ - New (unix): ``~/.globus/app/{client_id}/{app_name}/tokens.json ``
50+
51+ - Old (win): ``~\AppData\Local\globus\app\{app_name}\tokens.json ``
52+
53+ - New (win): ``~\AppData\Local\globus\app\{client_id}\{app_name}\tokens.json ``
54+
55+ - ``GlobusAppConfig.token_storage `` now accepts shorthand string references:
56+ ``"json" `` to use a ``JSONTokenStorage ``, ``"sqlite" `` to use a
57+ ``SQLiteTokenStorage `` and ``"memory" `` to use a ``MemoryTokenStorage ``.
58+
59+ - ``GlobusAppConfig.token_storage `` also now accepts a ``TokenStorageProvider ``,
60+ a class with a ``for_globus_app(...) -> TokenStorage `` class method.
61+
62+ - Renamed the experimental ``FileTokenStorage `` attribute ``.filename `` to
63+ ``.filepath ``.
64+
65+ - Changed the experimental ``GlobusApp `` class in the following ways (:pr: `1018 `):
66+
67+ - ``LoginFlowManagers `` now insert ``GlobusApp.app_name `` into any native
68+ client login flows as the ``prefill_named_grant ``.
69+
70+ - ``GlobusAppConfig `` now accepts a ``login_redirect_uri `` parameter to specify
71+ the redirect URI for a login flow.
72+
73+ - Invalid when used with a ``LocalServerLoginFlowManager ``.
74+
75+ - Defaults to ``"https://auth.globus.org/v2/web/auth-code" `` for native
76+ client flows. Raises an error if not set for confidential ones.
77+
78+ - ``UserApp `` now allows for the use of confidential client flows with the use of
79+ either a ``LocalServerLoginFlowManager `` or a configured ``login_redirect_uri ``.
80+
81+ - ``GlobusAppConfig.login_flow_manager `` now accepts shorthand string references
82+ ``"command-line" `` to use a ``CommandLineLoginFlowManager `` and
83+ ``"local-server" `` to use a ``LocalServerLoginFlowManager ``.
84+
85+ - ``GlobusAppConfig.login_flow_manager `` also now accepts a
86+ ``LoginFlowManagerProvider ``, a class with a
87+ ``for_globus_app(...) -> LoginFlowManager `` class method.
88+
89+ Development
90+ ~~~~~~~~~~~
91+
92+ - Added a scope normalization function ``globus_sdk.scopes.scopes_to_scope_list `` to
93+ translate from ``ScopeCollectionType `` to a list of ``Scope `` objects.
94+ (:pr: `1020 `)
95+
1596.. _changelog-3.43.0 :
1697
1798v3.43.0 (2024-07-25)
0 commit comments