Globus-action-provider-tools

Latest version: v0.17.0

Safety actively analyzes 630169 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 4

0.13.0rc1

======================

Changes
-------

- The minimum pyyaml version is now 6.0

Deprecations
------------

- Imports from ``globus_action_provider_tools.flask`` will no longer emit a
``DeprecationWarning``

Development
-----------

- During local testing, build a shared wheel.

Previously, a shared ``.tar.gz`` file 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 ``tox p``).

This change decreases local test times to only ~3 seconds.

- Overhaul CI.

- Introduce caching of the ``.tox/`` and ``.venv/`` directories.

The cache is invalidated once each week (``date %U`` rolls the week on Sundays).

- Build a shared wheel once as an artifact and reuse it across all test environments.
- Consolidate standard testing and testing of minimum Flask versions.

.. _changelog-0.13.0b2:

0.13.0b2

=====================

Changes
-------

- Remove an unused parameter from ``TokenChecker``: ``cache_config``.
- Remove a no-op call to Globus Auth during ``TokenChecker`` instantiation.
- Remove the ``ConfigurationError`` class.

.. _changelog-0.13.0b1:

0.13.0b1

=====================

Python support
--------------

- Add support for Python 3.11.
- Drop support for Python 3.6.

Bugfixes
--------

- 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 ``"string"``
or ``["array"]``.

- 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 ``AuthState.get_authorizer_for_scope()`` and ``None`` is returned.

Changes
-------

- Remove the ``__version__`` attribute.

The ``importlib.metadata`` module in Python 3.8 and higher
(or the backported ``importlib_metadata`` package)
can be used to query the version of installed packages if needed.

- ``jsonschema>=4.17,<5`` is now required by action-provider-tools.

Consumers of the library will have to update to a more recent version of ``jsonschema``
if they are using it explicitly.

0.12.0

===================

*No changes from 0.12.0b1.*

0.12.0b1

=====================

Features
--------

- Upgrade to use major version 3 of the `Globus SDK
<https://github.com/globus/globus-sdk-python>`_. 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.

Bugfixes
--------

- 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

===================

Documentation
-------------

- Add a CHANGELOG and include it in the documentation.
- Use scriv for CHANGELOG management.

Added
-----

- Improved logging around the authentication module's cache hits and misses.

Fixed
-----

* 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.

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.