From bb8b3c8f3eab7ffe9ad5190c7cb260d0769be516 Mon Sep 17 00:00:00 2001 From: Ben Kehoe Date: Wed, 2 Nov 2022 19:17:23 -0500 Subject: [PATCH] Release lib-v1.13 and cli-v4.30 --- CHANGELOG.md | 10 ++++++++++ cli/pyproject.toml | 4 ++-- cli/src/aws_sso_util/__init__.py | 2 +- lib/aws_sso_lib/__init__.py | 2 +- lib/pyproject.toml | 2 +- 5 files changed, 15 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a9bc09f..59c92c2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,13 @@ ## `aws-sso-util` +### CLI v4.30 +* `aws-sso-util login` adds `receivedAt` time to token cache entry. +* Improved `aws-sso-util check` feedback. + * Displays `receivedAt` time for token if present. + * Validates apparently-valid cached token by attempting to list one page of available accounts. +* Add `--check-profile` option to `aws-sso-util check` for pulling configuration from a profile. + ### CLI v4.29 * Remove support for Python 3.6 (removed in `boto3`). * Fix `aws-sso-credential-process` for `botocore` change. @@ -52,6 +59,9 @@ ## `aws-sso-lib` +### lib v1.13 +* `login()` adds `receivedAt` timestamp to token dict. + ### lib v1.12 * Remove support for Python 3.6 (removed in `boto3`). * Fix `get_credentials()` for `botocore` change. diff --git a/cli/pyproject.toml b/cli/pyproject.toml index 6a23966..424df30 100644 --- a/cli/pyproject.toml +++ b/cli/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "aws-sso-util" -version = "4.29.0" # change in aws_sso_util/__init__.py too +version = "4.30.0" # change in aws_sso_util/__init__.py too description = "Utilities to make AWS SSO easier" authors = ["Ben Kehoe "] license = "Apache-2.0" @@ -28,7 +28,7 @@ pyyaml = "^5.3.1" jsonschema = "^3.2.0" aws-error-utils = "^1.0.4" python-dateutil = "^2.8.1" -aws-sso-lib = "^1.12.0" +aws-sso-lib = "^1.13.0" # aws-sso-lib = { path = "../lib" } requests = "^2.26.0" diff --git a/cli/src/aws_sso_util/__init__.py b/cli/src/aws_sso_util/__init__.py index aad6390..92a0c67 100644 --- a/cli/src/aws_sso_util/__init__.py +++ b/cli/src/aws_sso_util/__init__.py @@ -12,4 +12,4 @@ # See the License for the specific language governing permissions and # limitations under the License. -__version__ = '4.29.0' # change in pyproject.toml too +__version__ = '4.30.0' # change in pyproject.toml too diff --git a/lib/aws_sso_lib/__init__.py b/lib/aws_sso_lib/__init__.py index ea248ea..4097454 100644 --- a/lib/aws_sso_lib/__init__.py +++ b/lib/aws_sso_lib/__init__.py @@ -11,7 +11,7 @@ # ANY KIND, either express or implied. See the License for the specific # language governing permissions and limitations under the License. -__version__ = '1.12.0' # change in pyproject.toml too +__version__ = '1.13.0' # change in pyproject.toml too from .sso import get_boto3_session, login, list_available_accounts, list_available_roles from .assignments import Assignment, list_assignments diff --git a/lib/pyproject.toml b/lib/pyproject.toml index 2198757..888c85b 100644 --- a/lib/pyproject.toml +++ b/lib/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "aws-sso-lib" -version = "1.12.0" # change in aws_sso_lib/__init__.py too +version = "1.13.0" # change in aws_sso_lib/__init__.py too description = "Library to make AWS SSO easier" authors = ["Ben Kehoe "] license = "Apache-2.0"