Globus-action-provider-tools

Latest version: v0.20.0

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

Scan your dependencies

Page 2 of 4

0.15.0

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

Bugfixes
--------

- Groups were not being properly considered in authorization checks.

Changes
-------

- Error descriptions in responses are now always strings (previously they could also
be lists of strings or lists of dictionaries).
- Input validation errors now use an HTTP response status code of 422.
- Validation errors no longer return input data in their description.

.. _changelog-0.14.1:

0.14.1

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

Changes
-------

- Change the way that dependent token caching computes cache keys to improve
upstream cache busting

.. _changelog-0.14.0:

0.14.0

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

Features
--------

- Added a CloudWatchEMFLogger ``RequestLifecycleHook`` class.
When attached to an ``ActionProviderBlueprint``, it will emit request count, latency,
and response category (2xxs, 4xxs, 5xxs) count metrics through CloudWatch EMF. Metrics
are emitted both for the aggregate AP dimension set and the individual route dimension
set.

- Classes may be provided at Blueprint instantiation time to register before, after,
and/or teardown functionality wrapping route invocation.

.. _changelog-0.13.0rc2:

0.13.0rc2

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

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

- Support Python 3.12.
- Drop support for Python 3.7.

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

- Remove unused dependencies.

Dependencies
------------

- Raise the minimum Flask version to 2.3.0, which dropped support for Python 3.7.

.. _changelog-0.13.0rc1:

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:

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.