Unreleased changes are documented in files in the changelog.d directory.
0.13.0rc1 — 2023-07-24¶
The minimum pyyaml version is now 6.0
globus_action_provider_tools.flaskwill no longer emit a
During local testing, build a shared wheel.
Previously, a shared
.tar.gzfile was created. However, in each tox environment, pip would convert this to a wheel during installation.
This change decreases local test times from ~20 seconds to ~12 seconds.
Support running tox test environments in parallel (run
This change decreases local test times to only ~3 seconds.
Introduce caching of the
The cache is invalidated once each week (
date %Urolls the week on Sundays).
Build a shared wheel once as an artifact and re-use it across all test environments.
Consolidate standard testing and testing of minimum Flask versions.
0.13.0b2 — 2022-12-16¶
Remove an unused parameter from
Remove a no-op call to Globus Auth during
0.13.0b1 — 2022-12-14¶
Add support for Python 3.11.
Drop support for Python 3.6.
Fix a crash that will occur if a non-object JSON document is submitted. For example, this will happen if the incoming JSON document is
Fix a crash that occurs when an HTTP 400 “invalid grant” error is received from Globus Auth while getting an authorizer for a given scope.
This is now caught by
importlib.metadatamodule in Python 3.8 and higher (or the backported
importlib_metadatapackage) can be used to query the version of installed packages if needed.
jsonschema>=4.17,<5is now required by action-provider-tools.
Consumers of the library will have to update to a more recent version of
jsonschemaif they are using it explicitly.
0.12.0 - 2022-03-02¶
No changes from 0.12.0b1.
0.12.0b1 - 2022-02-11¶
Upgrade to use major version 3 of the Globus SDK. If you are using Action Provider Tools in an environment which is currently using an earlier version of the Globus SDK, then you will need to upgrade first in order for this version to be compatible.
Fixes an issue where the ActionProviderBlueprint decorators were not returning the decorated functions. This meant that the registered functions were loaded onto the Action Provider correctly but were None in the module in which they were defined.
0.11.5 - 2021-12-13¶
Add a CHANGELOG and include it in the documentation.
Use scriv for CHANGELOG management.
Improved logging around the authentication module’s cache hits and misses.
Fixed handling of missing refresh tokens in dependent token grants. Now, even if a refresh token is expected in a dependent grant, it falls back to just using the access token up until the time the access token expires. We also shorten the dependent token grant cache to be less than the expected lifetime of an access token and, thus, from cache, we should not retrieve an access token which is already expired.
0.11.4 - 2021-11-01¶
Adds caching to the following Globus Auth operations: token introspection, group membership, dependent token grants.
Adds documentation around the new caching behavior: https://action-provider-tools.readthedocs.io/en/latest/toolkit/caching.html
0.11.3 - 2021-05-27¶
Bumps globus-sdk version dependency.
0.11.2 - 2021-05-21¶
Logs authentication errors when a token fails introspection or token validation.
Updates pydantic version to address CVE-2021-29510
0.11.1 - 2021-04-30¶
Allows the detail field to be a string.
Improves logging output in the case where there is an Action Provider throws Exceptions or an authentication issue.
Allows for environment variable configuration.
Bundles Flask an an optional dependency. See the README.md for information on installing the toolkit with Flask.
Stabilizes package API.
Updates serialization to output timezone aware datatime objects
Updates the return type for Action Resume operations to allow for status codes to be returned from the route.
Cleanly separates the Flask HTTP components from the plain Python components.
The Flask Callback Loader Helper is now deprecated in favor of the Flask Blueprint Helper.
0.11.0 - 2021-03-29¶
Provide helpers to standardize output formats for INACTIVE and FAILED states
Adds a new resume operation to the helpers which is used to signal that an INACTIVE Action may be resumed.
0.10.5 - 2021-01-27¶
Adds exceptions that can be raised from Flask views to return standardized JSON responses.
Adds support for Action Provider schema definitions based on Pydantic.
Migrates ActionStatus, ActionRequest, and ActionProviderDescription to Pydantic classes.
Modifies ActionProvider introspection endpoint creation on the ActionProviderBlueprint so that HTTP requests with and without trailing slashes receive the same results.
Action Provider Pydantic classes: https://action-provider-tools.readthedocs.io/en/latest/toolkit/validation.html
Action Provider Pydantic input schema support: https://action-provider-tools.readthedocs.io/en/latest/examples/input_schemas.html#pydantic
0.10.4 - 2020-10-14¶
Improves testing tools for isolating tests between different instances of ActionProviderBlueprints and the Flask helpers.
0.10.3 - 2020-10-01¶
Adds a shared patch to the testing library to mock out an ActionProviderBlueprints TokenChecker
Users can now specify a Globus Auth Client Name (legacy) when creating an instance of the ActionProviderBlueprint
Users can now specify multiple acceptable scopes when creating an instance of the ActionProviderBlueprint
Fixes an issue in the ActionProviderBlueprint where registering multiple Blueprints on a Flask app would only register one set of routes