From dc021144c825940e50da1a241f9b1cc6a7d8322d Mon Sep 17 00:00:00 2001 From: Ben Kehoe Date: Tue, 29 Mar 2022 19:26:42 -0600 Subject: [PATCH] Release lib-v1.11 and cli-v4.28 --- 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 ab1492d..afa52a0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ ## `aws-sso-util` +### CLI v4.28 +* Log normal output to stdout ([#54](https://github.com/benkehoe/aws-sso-util/issues/54)). +* Fix short region names for GovCloud in `aws-sso-util configure populate` and `aws-sso-util configure profile` ([#55](https://github.com/benkehoe/aws-sso-util/issues/55)). +* Update `aws-sso-util login` to use `--force-refresh` for consistency with other commands (`--force` still works). +* `aws-sso-util check` now provides more information about the token cache. + ### CLI v4.27 * Added `--account-name-case` and `--role-name-case` to `aws-sso-util configure populate` ([#48](https://github.com/benkehoe/aws-sso-util/pull/48)). * `aws-sso-util check` logs version and timestamp information. @@ -42,6 +48,10 @@ ## `aws-sso-lib` +### lib v1.11 +* Improvements to `SSOTokenFetcher` to support better `aws-sso-util check` functionality. +* Fixed type annotations. + ### lib v1.10 * `lookup_accounts_for_ou()` now caches calls to `organizations.DescribeOrganization`. diff --git a/cli/pyproject.toml b/cli/pyproject.toml index 38c17a1..28caf90 100644 --- a/cli/pyproject.toml +++ b/cli/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "aws-sso-util" -version = "4.27.0" # change in aws_sso_util/__init__.py too +version = "4.28.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.9.0" +aws-sso-lib = "^1.11.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 f04f831..7085e47 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.27.0' # change in pyproject.toml too +__version__ = '4.28.0' # change in pyproject.toml too diff --git a/lib/aws_sso_lib/__init__.py b/lib/aws_sso_lib/__init__.py index 1819a26..c63c796 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.10.0' # change in pyproject.toml too +__version__ = '1.11.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 33d4362..c85be5e 100644 --- a/lib/pyproject.toml +++ b/lib/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "aws-sso-lib" -version = "1.10.0" # change in aws_sso_lib/__init__.py too +version = "1.11.0" # change in aws_sso_lib/__init__.py too description = "Library to make AWS SSO easier" authors = ["Ben Kehoe "] license = "Apache-2.0"