Skip to content

Commit

Permalink
Merge pull request #50 from globus/release/0.11.5
Browse files Browse the repository at this point in the history
release/0.11.5
  • Loading branch information
rudyardrichter authored Dec 13, 2021
2 parents 0c755bd + 8528828 commit 3bdccfb
Show file tree
Hide file tree
Showing 10 changed files with 571 additions and 274 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Action Provider Tools CI
on:
pull_request:
branches:
- master
- main
push:

jobs:
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/has_changelog.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: Enforce Changelog Fragment
on:
- pull_request

jobs:
call-scriv-workflow:
uses: globus/globus-automate-client/.github/workflows/has_changelog.yaml@main
161 changes: 161 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,161 @@
CHANGELOG
#########

Unreleased changes
==================

Unreleased changes are documented in files in the `changelog.d`_ directory.

.. _changelog.d: https://github.com/globus/action-provider-tools/tree/main/changelog.d

.. scriv-insert-here
0.11.5 - 2021-12-13
===================

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.

0.11.4 - 2021-11-01
===================

Features
--------

- Adds caching to the following Globus Auth operations: token introspection,
group membership, dependent token grants.

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

- Adds documentation around the new caching behavior:
https://action-provider-tools.readthedocs.io/en/latest/toolkit/caching.html


0.11.3 - 2021-05-27
===================

Features
--------

- Bumps globus-sdk version dependency.

0.11.2 - 2021-05-21
===================

Features
--------

- Logs authentication errors when a token fails introspection or token validation.

Bugfixes
--------

- Updates pydantic version to address CVE-2021-29510

0.11.1 - 2021-04-30
===================

Features
--------

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

Bugfixes
--------

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

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

- The Flask Callback Loader Helper is now deprecated in favor of the Flask
Blueprint Helper.

0.11.0 - 2021-03-29
===================

Features
--------

- 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
===================

Features
--------

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

Bugfixes
--------

- Modifies ActionProvider introspection endpoint creation on the
ActionProviderBlueprint so that HTTP requests with and without trailing
slashes receive the same results.

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

- 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
===================

Features
--------

- Improves testing tools for isolating tests between different instances of
ActionProviderBlueprints and the Flask helpers.

0.10.3 - 2020-10-01
===================

Features
--------

- 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

Bugfixes
--------

- Fixes an issue in the ActionProviderBlueprint where registering multiple
Blueprints on a Flask app would only register one set of routes
29 changes: 29 additions & 0 deletions changelog.d/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
About ``changelog.d/``
======================

The ``changelog.d/`` directory contains changelog fragments.

Creating fragments
------------------

Changelog fragments are created during development to document and categorize changes.
The files are created and automatically named using the ``scriv create`` command.

To correctly include your GitHub username in the fragment filename,
run this command to modify your global git configuration:

.. code-block:: shell
git config --global github.user GITHUB_USERNAME
Collecting fragments
--------------------

The fragments are collected and collated during the release process using this command:

.. code-block:: shell
scriv collect --version $(poetry version -s)
(`scriv issue #44 <https://github.com/nedbat/scriv/issues/44>`_ discusses how to
read the version directly from ``pyproject.toml``.)
3 changes: 3 additions & 0 deletions docs/source/changelog.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
:tocdepth: 2

.. include:: ../../CHANGELOG.rst
1 change: 1 addition & 0 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,5 @@ throughout the Globus Automate platform.
installation
toolkit
examples
changelog
license
2 changes: 1 addition & 1 deletion globus_action_provider_tools/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@
"now_isoformat",
]

__version__ = "0.11.4"
__version__ = "0.11.5"
Loading

0 comments on commit 3bdccfb

Please sign in to comment.