Skip to content

Commit 3044444

Browse files
leandrodamascenadependabot[bot]github-actions[bot]aws-powertools-botsthulb
authored
feat(v3): merging develop into v3 (#5160)
* chore(deps-dev): bump pytest-asyncio from 0.23.7 to 0.23.8 (#4776) Bumps [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) from 0.23.7 to 0.23.8. - [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases) - [Commits](https://github.com/pytest-dev/pytest-asyncio/compare/v0.23.7...v0.23.8) --- updated-dependencies: - dependency-name: pytest-asyncio dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump cfn-lint from 1.6.1 to 1.8.1 (#4780) Bumps [cfn-lint](https://github.com/aws-cloudformation/cfn-lint) from 1.6.1 to 1.8.1. - [Release notes](https://github.com/aws-cloudformation/cfn-lint/releases) - [Changelog](https://github.com/aws-cloudformation/cfn-lint/blob/main/CHANGELOG.md) - [Commits](https://github.com/aws-cloudformation/cfn-lint/compare/v1.6.1...v1.8.1) --- updated-dependencies: - dependency-name: cfn-lint dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(ci): new pre-release 2.41.1a6 (#4783) Co-authored-by: Powertools for AWS Lambda (Python) bot <[email protected]> * chore(ci): changelog rebuild (#4778) Co-authored-by: Powertools for AWS Lambda (Python) bot <[email protected]> * chore(deps-dev): bump ruff from 0.5.2 to 0.5.3 (#4781) Bumps [ruff](https://github.com/astral-sh/ruff) from 0.5.2 to 0.5.3. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/0.5.2...0.5.3) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix(idempotency): ensure in_progress_expiration field is set on Lambda timeout. (#4773) * fix(idempotency): fix timeout bug from #4759 * Adding comment * Adding comment --------- Co-authored-by: Leandro Damascena <[email protected]> * chore(ci): changelog rebuild (#4784) Co-authored-by: Powertools for AWS Lambda (Python) bot <[email protected]> * chore(deps): bump aws-actions/closed-issue-message from 8b6324312193476beecf11f8e8539d73a3553bf4 to 80edfc24bdf1283400eb04d20a8a605ae8bf7d48 (#4786) chore(deps): bump aws-actions/closed-issue-message Bumps [aws-actions/closed-issue-message](https://github.com/aws-actions/closed-issue-message) from 8b6324312193476beecf11f8e8539d73a3553bf4 to 80edfc24bdf1283400eb04d20a8a605ae8bf7d48. - [Commits](https://github.com/aws-actions/closed-issue-message/compare/8b6324312193476beecf11f8e8539d73a3553bf4...80edfc24bdf1283400eb04d20a8a605ae8bf7d48) --- updated-dependencies: - dependency-name: aws-actions/closed-issue-message dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump mypy-boto3-secretsmanager from 1.34.128 to 1.34.145 in the boto-typing group (#4787) chore(deps-dev): bump mypy-boto3-secretsmanager in the boto-typing group Bumps the boto-typing group with 1 update: [mypy-boto3-secretsmanager](https://github.com/youtype/mypy_boto3_builder). Updates `mypy-boto3-secretsmanager` from 1.34.128 to 1.34.145 - [Release notes](https://github.com/youtype/mypy_boto3_builder/releases) - [Commits](https://github.com/youtype/mypy_boto3_builder/commits) --- updated-dependencies: - dependency-name: mypy-boto3-secretsmanager dependency-type: direct:development update-type: version-update:semver-patch dependency-group: boto-typing ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump cfn-lint from 1.8.1 to 1.8.2 (#4788) Bumps [cfn-lint](https://github.com/aws-cloudformation/cfn-lint) from 1.8.1 to 1.8.2. - [Release notes](https://github.com/aws-cloudformation/cfn-lint/releases) - [Changelog](https://github.com/aws-cloudformation/cfn-lint/blob/main/CHANGELOG.md) - [Commits](https://github.com/aws-cloudformation/cfn-lint/compare/v1.8.1...v1.8.2) --- updated-dependencies: - dependency-name: cfn-lint dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(ci): new pre-release 2.41.1a7 (#4792) Co-authored-by: Powertools for AWS Lambda (Python) bot <[email protected]> * chore(ci): changelog rebuild (#4794) Co-authored-by: Powertools for AWS Lambda (Python) bot <[email protected]> * chore(logger): use package logger over source logger to reduce noise (#4793) * chore(deps-dev): bump ruff from 0.5.3 to 0.5.4 (#4798) Bumps [ruff](https://github.com/astral-sh/ruff) from 0.5.3 to 0.5.4. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/0.5.3...0.5.4) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump docker/setup-buildx-action from 3.4.0 to 3.5.0 (#4801) Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 3.4.0 to 3.5.0. - [Release notes](https://github.com/docker/setup-buildx-action/releases) - [Commits](https://github.com/docker/setup-buildx-action/compare/4fd812986e6c8c2a69e18311145f9371337f27d4...aa33708b10e362ff993539393ff100fa93ed6a27) --- updated-dependencies: - dependency-name: docker/setup-buildx-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump docker/setup-qemu-action from 3.1.0 to 3.2.0 (#4800) Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from 3.1.0 to 3.2.0. - [Release notes](https://github.com/docker/setup-qemu-action/releases) - [Commits](https://github.com/docker/setup-qemu-action/compare/5927c834f5b4fdf503fca6f4c7eccda82949e1ee...49b3bc8e6bdd4a60e6116a5414239cba5943d3cf) --- updated-dependencies: - dependency-name: docker/setup-qemu-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump pytest from 8.2.2 to 8.3.1 (#4799) Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.2.2 to 8.3.1. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/8.2.2...8.3.1) --- updated-dependencies: - dependency-name: pytest dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(ci): new pre-release 2.41.1a8 (#4802) Co-authored-by: Powertools for AWS Lambda (Python) bot <[email protected]> * chore(deps-dev): bump aws-cdk-lib from 2.148.1 to 2.150.0 (#4806) Bumps [aws-cdk-lib](https://github.com/aws/aws-cdk) from 2.148.1 to 2.150.0. - [Release notes](https://github.com/aws/aws-cdk/releases) - [Changelog](https://github.com/aws/aws-cdk/blob/main/CHANGELOG.v2.md) - [Commits](https://github.com/aws/aws-cdk/compare/v2.148.1...v2.150.0) --- updated-dependencies: - dependency-name: aws-cdk-lib dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(docs): Add lambda layer policy to versioning docs (#4811) Add lambda layer policy to versioning docs Signed-off-by: Henrique Graca <[email protected]> * docs(idempotency): improve navigation, wording, and new section on guarantees (#4613) * docs(idempotency): cleanup redis usage and link with setup/infra * docs(idempotency): cleanup idempotent decorator; inline admonitions Signed-off-by: heitorlessa <[email protected]> * docs(idempotency): cleanup idempotent_decorator section Signed-off-by: heitorlessa <[email protected]> * docs(idempotency): cleanup serialization, fields subset, move batch to new common use cases section Signed-off-by: heitorlessa <[email protected]> * docs: cleanup handling exceptions Signed-off-by: heitorlessa <[email protected]> * docs: move caching to getting started * docs: use env var for DDB table, no hardcode * docs: moved expiration window to getting started; updated example to set to 24h * docs: include IdempotencyValidationError in example * Fixing errors on Redis examples * docs(config): add social links * docs(idempotency): cleanup intro and key features * docs(idempotency): cleanup getting started ddb vs redis * docs(idempotency): break iam permissions into table; IAM permission to clipboard * docs(idempotency): cleanup dynamodb required resource; break subsections and update nav * docs(idempotency): make terminologies crispier Signed-off-by: heitorlessa <[email protected]> * docs(idempotency): line editing before decorators Signed-off-by: heitorlessa <[email protected]> * docs(idempotency): cleanup timeout section Signed-off-by: heitorlessa <[email protected]> * docs(idempotency): use cards for required resources Signed-off-by: heitorlessa <[email protected]> * docs(idempotency): note to skip timeout section when using handler decorator Signed-off-by: heitorlessa <[email protected]> * docs: remove tabbed content for single timeout snippet Signed-off-by: heitorlessa <[email protected]> * docs: cleanup persistence layers attrs, snippet titles etc Signed-off-by: heitorlessa <[email protected]> * docs: typo in batch integration Signed-off-by: heitorlessa <[email protected]> * docs: rename batch integration to actual use case name Signed-off-by: heitorlessa <[email protected]> * docs(idempotency): cleanup default behavior section Signed-off-by: heitorlessa <[email protected]> * docs: move bold to draw attention to whole event as idempotency key Signed-off-by: heitorlessa <[email protected]> * docs: lead with parameter name over config name * docs: moved composite key under DDB section * docs: cut unnecessary anchor name * docs: fix broken links after sections renaming * Making mypy happy * docs: fix conflicts out of order * docs(leandro's feedback): add caching in key features * Apply suggestions from code review Co-authored-by: Leandro Damascena <[email protected]> Signed-off-by: Heitor Lessa <[email protected]> * docs(leandro's feedback): time window placement * docs(leandro's feedback): key features success vs failure ambiguity * docs(leandro's feedback): Redis anchor name * docs(leandro's feedback): remove ambiguity on Redis VPC connectivity * Update docs/utilities/idempotency.md Co-authored-by: Leandro Damascena <[email protected]> Signed-off-by: Heitor Lessa <[email protected]> * Update docs/utilities/idempotency.md Co-authored-by: Leandro Damascena <[email protected]> Signed-off-by: Heitor Lessa <[email protected]> * docs: move primary key for both persistence storages plus additional ctx --------- Signed-off-by: heitorlessa <[email protected]> Signed-off-by: Heitor Lessa <[email protected]> Co-authored-by: Leandro Damascena <[email protected]> * chore(deps-dev): bump aws-cdk from 2.149.0 to 2.150.0 (#4805) Bumps [aws-cdk](https://github.com/aws/aws-cdk/tree/HEAD/packages/aws-cdk) from 2.149.0 to 2.150.0. - [Release notes](https://github.com/aws/aws-cdk/releases) - [Changelog](https://github.com/aws/aws-cdk/blob/main/CHANGELOG.v2.md) - [Commits](https://github.com/aws/aws-cdk/commits/v2.150.0/packages/aws-cdk) --- updated-dependencies: - dependency-name: aws-cdk dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(ci): new pre-release 2.41.1a9 (#4808) Co-authored-by: Powertools for AWS Lambda (Python) bot <[email protected]> * chore(ci): changelog rebuild (#4809) Co-authored-by: Powertools for AWS Lambda (Python) bot <[email protected]> * chore(deps-dev): bump mypy-boto3-dynamodb from 1.34.131 to 1.34.148 in the boto-typing group (#4812) chore(deps-dev): bump mypy-boto3-dynamodb in the boto-typing group Bumps the boto-typing group with 1 update: [mypy-boto3-dynamodb](https://github.com/youtype/mypy_boto3_builder). Updates `mypy-boto3-dynamodb` from 1.34.131 to 1.34.148 - [Release notes](https://github.com/youtype/mypy_boto3_builder/releases) - [Commits](https://github.com/youtype/mypy_boto3_builder/commits) --- updated-dependencies: - dependency-name: mypy-boto3-dynamodb dependency-type: direct:development update-type: version-update:semver-patch dependency-group: boto-typing ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump sentry-sdk from 2.10.0 to 2.11.0 (#4815) Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from 2.10.0 to 2.11.0. - [Release notes](https://github.com/getsentry/sentry-python/releases) - [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md) - [Commits](https://github.com/getsentry/sentry-python/compare/2.10.0...2.11.0) --- updated-dependencies: - dependency-name: sentry-sdk dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump mkdocs-material from 9.5.29 to 9.5.30 (#4807) Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.5.29 to 9.5.30. - [Release notes](https://github.com/squidfunk/mkdocs-material/releases) - [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG) - [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.5.29...9.5.30) --- updated-dependencies: - dependency-name: mkdocs-material dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump aws-cdk-aws-lambda-python-alpha from 2.148.1a0 to 2.150.0a0 (#4813) chore(deps-dev): bump aws-cdk-aws-lambda-python-alpha Bumps [aws-cdk-aws-lambda-python-alpha](https://github.com/aws/aws-cdk) from 2.148.1a0 to 2.150.0a0. - [Release notes](https://github.com/aws/aws-cdk/releases) - [Changelog](https://github.com/aws/aws-cdk/blob/main/CHANGELOG.v2.md) - [Commits](https://github.com/aws/aws-cdk/commits) --- updated-dependencies: - dependency-name: aws-cdk-aws-lambda-python-alpha dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs from 0.1.212 to 0.1.219 (#4817) chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs Bumps [cdklabs-generative-ai-cdk-constructs](https://github.com/awslabs/generative-ai-cdk-constructs) from 0.1.212 to 0.1.219. - [Release notes](https://github.com/awslabs/generative-ai-cdk-constructs/releases) - [Changelog](https://github.com/awslabs/generative-ai-cdk-constructs/blob/main/CHANGELOG.md) - [Commits](https://github.com/awslabs/generative-ai-cdk-constructs/compare/v0.1.212...v0.1.219) --- updated-dependencies: - dependency-name: cdklabs-generative-ai-cdk-constructs dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(ci): bump version to 2.42.0 (#4819) Co-authored-by: Powertools for AWS Lambda (Python) bot <[email protected]> * chore(ci): layer docs update (#4820) Co-authored-by: Powertools for AWS Lambda (Python) bot <[email protected]> * docs(public_reference): add Caylent as a public reference (#4822) Adding Caylent as public ref * chore(ci): new pre-release 2.42.1a0 (#4827) Co-authored-by: Powertools for AWS Lambda (Python) bot <[email protected]> * chore(deps-dev): bump ruff from 0.5.4 to 0.5.5 (#4823) Bumps [ruff](https://github.com/astral-sh/ruff) from 0.5.4 to 0.5.5. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/0.5.4...0.5.5) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump types-redis from 4.6.0.20240425 to 4.6.0.20240726 (#4831) Bumps [types-redis](https://github.com/python/typeshed) from 4.6.0.20240425 to 4.6.0.20240726. - [Commits](https://github.com/python/typeshed/commits) --- updated-dependencies: - dependency-name: types-redis dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump ossf/scorecard-action from 2.3.3 to 2.4.0 (#4829) Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.3.3 to 2.4.0. - [Release notes](https://github.com/ossf/scorecard-action/releases) - [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md) - [Commits](https://github.com/ossf/scorecard-action/compare/dc50aa9510b46c811795eb24b2f1ba02a914e534...62b2cac7ed8198b15735ed49ab1e5cf35480ba46) --- updated-dependencies: - dependency-name: ossf/scorecard-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs from 0.1.219 to 0.1.222 (#4836) chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs Bumps [cdklabs-generative-ai-cdk-constructs](https://github.com/awslabs/generative-ai-cdk-constructs) from 0.1.219 to 0.1.222. - [Release notes](https://github.com/awslabs/generative-ai-cdk-constructs/releases) - [Changelog](https://github.com/awslabs/generative-ai-cdk-constructs/blob/main/CHANGELOG.md) - [Commits](https://github.com/awslabs/generative-ai-cdk-constructs/compare/v0.1.219...v0.1.222) --- updated-dependencies: - dependency-name: cdklabs-generative-ai-cdk-constructs dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump pytest from 8.3.1 to 8.3.2 (#4824) Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.3.1 to 8.3.2. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/8.3.1...8.3.2) --- updated-dependencies: - dependency-name: pytest dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(ci): changelog rebuild (#4835) Co-authored-by: Powertools for AWS Lambda (Python) bot <[email protected]> * chore(ci): new pre-release 2.42.1a1 (#4837) Co-authored-by: Powertools for AWS Lambda (Python) bot <[email protected]> * docs: fix type vs. field in comment (#4832) Signed-off-by: Axel von Engel <[email protected]> Co-authored-by: Simon Thulbourn <[email protected]> * chore(maintenance): add Banxware customer refernece (#4841) * chore(maintenance): add Banxware customer refernece * chore: add customer names to readme * chore: remove vscode folder * chore: reorder names * chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs from 0.1.222 to 0.1.223 (#4843) chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs Bumps [cdklabs-generative-ai-cdk-constructs](https://github.com/awslabs/generative-ai-cdk-constructs) from 0.1.222 to 0.1.223. - [Release notes](https://github.com/awslabs/generative-ai-cdk-constructs/releases) - [Changelog](https://github.com/awslabs/generative-ai-cdk-constructs/blob/main/CHANGELOG.md) - [Commits](https://github.com/awslabs/generative-ai-cdk-constructs/compare/v0.1.222...v0.1.223) --- updated-dependencies: - dependency-name: cdklabs-generative-ai-cdk-constructs dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(ci): new pre-release 2.42.1a2 (#4847) Co-authored-by: Powertools for AWS Lambda (Python) bot <[email protected]> * chore(deps): bump docker/setup-buildx-action from 3.5.0 to 3.6.1 (#4844) Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 3.5.0 to 3.6.1. - [Release notes](https://github.com/docker/setup-buildx-action/releases) - [Commits](https://github.com/docker/setup-buildx-action/compare/aa33708b10e362ff993539393ff100fa93ed6a27...988b5a0280414f521da01fcc63a27aeeb4b104db) --- updated-dependencies: - dependency-name: docker/setup-buildx-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(ci): changelog rebuild (#4849) Co-authored-by: Powertools for AWS Lambda (Python) bot <[email protected]> * chore(deps-dev): bump cfn-lint from 1.8.2 to 1.9.1 (#4851) Bumps [cfn-lint](https://github.com/aws-cloudformation/cfn-lint) from 1.8.2 to 1.9.1. - [Release notes](https://github.com/aws-cloudformation/cfn-lint/releases) - [Changelog](https://github.com/aws-cloudformation/cfn-lint/blob/main/CHANGELOG.md) - [Commits](https://github.com/aws-cloudformation/cfn-lint/compare/v1.8.2...v1.9.1) --- updated-dependencies: - dependency-name: cfn-lint dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(ci): new pre-release 2.42.1a3 (#4856) Co-authored-by: Powertools for AWS Lambda (Python) bot <[email protected]> * chore(deps-dev): bump mypy-boto3-logs from 1.34.66 to 1.34.151 in the boto-typing group (#4853) chore(deps-dev): bump mypy-boto3-logs in the boto-typing group Bumps the boto-typing group with 1 update: [mypy-boto3-logs](https://github.com/youtype/mypy_boto3_builder). Updates `mypy-boto3-logs` from 1.34.66 to 1.34.151 - [Release notes](https://github.com/youtype/mypy_boto3_builder/releases) - [Commits](https://github.com/youtype/mypy_boto3_builder/commits) --- updated-dependencies: - dependency-name: mypy-boto3-logs dependency-type: direct:development update-type: version-update:semver-patch dependency-group: boto-typing ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs from 0.1.223 to 0.1.224 (#4855) chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs Bumps [cdklabs-generative-ai-cdk-constructs](https://github.com/awslabs/generative-ai-cdk-constructs) from 0.1.223 to 0.1.224. - [Release notes](https://github.com/awslabs/generative-ai-cdk-constructs/releases) - [Changelog](https://github.com/awslabs/generative-ai-cdk-constructs/blob/main/CHANGELOG.md) - [Commits](https://github.com/awslabs/generative-ai-cdk-constructs/compare/v0.1.223...v0.1.224) --- updated-dependencies: - dependency-name: cdklabs-generative-ai-cdk-constructs dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump redis from 5.0.7 to 5.0.8 (#4854) Bumps [redis](https://github.com/redis/redis-py) from 5.0.7 to 5.0.8. - [Release notes](https://github.com/redis/redis-py/releases) - [Changelog](https://github.com/redis/redis-py/blob/master/CHANGES) - [Commits](https://github.com/redis/redis-py/compare/v5.0.7...v5.0.8) --- updated-dependencies: - dependency-name: redis dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(ci): changelog rebuild (#4857) Co-authored-by: Powertools for AWS Lambda (Python) bot <[email protected]> * docs(public_reference): add LocalStack as a public reference (#4858) Adding LocalStack as public ref * chore(deps-dev): bump sentry-sdk from 2.11.0 to 2.12.0 (#4861) Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from 2.11.0 to 2.12.0. - [Release notes](https://github.com/getsentry/sentry-python/releases) - [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md) - [Commits](https://github.com/getsentry/sentry-python/compare/2.11.0...2.12.0) --- updated-dependencies: - dependency-name: sentry-sdk dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(ci): new pre-release 2.42.1a4 (#4864) Co-authored-by: Powertools for AWS Lambda (Python) bot <[email protected]> * chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs from 0.1.224 to 0.1.228 (#4867) chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs Bumps [cdklabs-generative-ai-cdk-constructs](https://github.com/awslabs/generative-ai-cdk-constructs) from 0.1.224 to 0.1.228. - [Release notes](https://github.com/awslabs/generative-ai-cdk-constructs/releases) - [Changelog](https://github.com/awslabs/generative-ai-cdk-constructs/blob/main/CHANGELOG.md) - [Commits](https://github.com/awslabs/generative-ai-cdk-constructs/compare/v0.1.224...v0.1.228) --- updated-dependencies: - dependency-name: cdklabs-generative-ai-cdk-constructs dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(ci): changelog rebuild (#4865) Co-authored-by: Powertools for AWS Lambda (Python) bot <[email protected]> * chore(deps-dev): bump cfn-lint from 1.9.1 to 1.9.3 (#4866) Bumps [cfn-lint](https://github.com/aws-cloudformation/cfn-lint) from 1.9.1 to 1.9.3. - [Release notes](https://github.com/aws-cloudformation/cfn-lint/releases) - [Changelog](https://github.com/aws-cloudformation/cfn-lint/blob/main/CHANGELOG.md) - [Commits](https://github.com/aws-cloudformation/cfn-lint/compare/v1.9.1...v1.9.3) --- updated-dependencies: - dependency-name: cfn-lint dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(ci): new pre-release 2.42.1a5 (#4868) Co-authored-by: Powertools for AWS Lambda (Python) bot <[email protected]> * fix(data_class): ensure DynamoDBStreamEvent conforms to decimal limits (#4863) * fix(utilities): DDB Large numbers Signed-off-by: Simon Thulbourn <[email protected]> * rename var * add unit test for large numbers * remove leading 0s too * Small refactor --------- Signed-off-by: Simon Thulbourn <[email protected]> Co-authored-by: Leandro Damascena <[email protected]> * chore(ci): changelog rebuild (#4869) Co-authored-by: Powertools for AWS Lambda (Python) bot <[email protected]> * chore(deps): bump squidfunk/mkdocs-material from `257eca8` to `9919d6e` in /docs (#4878) chore(deps): bump squidfunk/mkdocs-material in /docs Bumps squidfunk/mkdocs-material from `257eca8` to `9919d6e`. --- updated-dependencies: - dependency-name: squidfunk/mkdocs-material dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump mkdocs-material from 9.5.30 to 9.5.31 (#4877) Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.5.30 to 9.5.31. - [Release notes](https://github.com/squidfunk/mkdocs-material/releases) - [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG) - [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.5.30...9.5.31) --- updated-dependencies: - dependency-name: mkdocs-material dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump actions/upload-artifact from 4.3.4 to 4.3.5 (#4871) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.4 to 4.3.5. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/0b2256b8c012f0828dc542b3febcab082c67f72b...89ef406dd8d7e03cfd12d9e0a4a378f454709029) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump aws-cdk-lib from 2.150.0 to 2.151.0 (#4875) Bumps [aws-cdk-lib](https://github.com/aws/aws-cdk) from 2.150.0 to 2.151.0. - [Release notes](https://github.com/aws/aws-cdk/releases) - [Changelog](https://github.com/aws/aws-cdk/blob/v2.151.0/CHANGELOG.v2.md) - [Commits](https://github.com/aws/aws-cdk/compare/v2.150.0...v2.151.0) --- updated-dependencies: - dependency-name: aws-cdk-lib dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs from 0.1.228 to 0.1.230 (#4876) chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs Bumps [cdklabs-generative-ai-cdk-constructs](https://github.com/awslabs/generative-ai-cdk-constructs) from 0.1.228 to 0.1.230. - [Release notes](https://github.com/awslabs/generative-ai-cdk-constructs/releases) - [Changelog](https://github.com/awslabs/generative-ai-cdk-constructs/blob/main/CHANGELOG.md) - [Commits](https://github.com/awslabs/generative-ai-cdk-constructs/compare/v0.1.228...v0.1.230) --- updated-dependencies: - dependency-name: cdklabs-generative-ai-cdk-constructs dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump ruff from 0.5.5 to 0.5.6 (#4874) Bumps [ruff](https://github.com/astral-sh/ruff) from 0.5.5 to 0.5.6. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/0.5.5...0.5.6) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump aws-cdk from 2.150.0 to 2.151.0 (#4872) Bumps [aws-cdk](https://github.com/aws/aws-cdk/tree/HEAD/packages/aws-cdk) from 2.150.0 to 2.151.0. - [Release notes](https://github.com/aws/aws-cdk/releases) - [Changelog](https://github.com/aws/aws-cdk/blob/v2.151.0/CHANGELOG.v2.md) - [Commits](https://github.com/aws/aws-cdk/commits/v2.151.0/packages/aws-cdk) --- updated-dependencies: - dependency-name: aws-cdk dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump black from 24.4.2 to 24.8.0 (#4873) Bumps [black](https://github.com/psf/black) from 24.4.2 to 24.8.0. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/compare/24.4.2...24.8.0) --- updated-dependencies: - dependency-name: black dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(ci): changelog rebuild (#4883) Co-authored-by: Powertools for AWS Lambda (Python) bot <[email protected]> * chore(ci): new pre-release 2.42.1a6 (#4884) Co-authored-by: Powertools for AWS Lambda (Python) bot <[email protected]> * docs(public_reference): add CHS Inc. as a public reference (#4885) Adding chsinc as public ref * chore(ci): changelog rebuild (#4886) Co-authored-by: Powertools for AWS Lambda (Python) bot <[email protected]> * chore(deps-dev): bump mypy-boto3-cloudwatch from 1.34.83 to 1.34.153 in the boto-typing group (#4887) chore(deps-dev): bump mypy-boto3-cloudwatch in the boto-typing group Bumps the boto-typing group with 1 update: [mypy-boto3-cloudwatch](https://github.com/youtype/mypy_boto3_builder). Updates `mypy-boto3-cloudwatch` from 1.34.83 to 1.34.153 - [Release notes](https://github.com/youtype/mypy_boto3_builder/releases) - [Commits](https://github.com/youtype/mypy_boto3_builder/commits) --- updated-dependencies: - dependency-name: mypy-boto3-cloudwatch dependency-type: direct:development update-type: version-update:semver-patch dependency-group: boto-typing ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * refactor(test): make CORS test consistent with expected behavior (#4882) * fix: cors is opt out if enabled * test: opt-out instead opt-in for cors endpoints * test: catch some UserWarnings --------- Co-authored-by: Leandro Damascena <[email protected]> * chore(deps): bump golang.org/x/sync from 0.7.0 to 0.8.0 in /layer/scripts/layer-balancer in the layer-balancer group (#4892) chore(deps): bump golang.org/x/sync Bumps the layer-balancer group in /layer/scripts/layer-balancer with 1 update: [golang.org/x/sync](https://github.com/golang/sync). Updates `golang.org/x/sync` from 0.7.0 to 0.8.0 - [Commits](https://github.com/golang/sync/compare/v0.7.0...v0.8.0) --- updated-dependencies: - dependency-name: golang.org/x/sync dependency-type: direct:production update-type: version-update:semver-minor dependency-group: layer-balancer ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump coverage from 7.6.0 to 7.6.1 (#4888) Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.6.0 to 7.6.1. - [Release notes](https://github.com/nedbat/coveragepy/releases) - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst) - [Commits](https://github.com/nedbat/coveragepy/compare/7.6.0...7.6.1) --- updated-dependencies: - dependency-name: coverage dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump aws-cdk-aws-lambda-python-alpha from 2.150.0a0 to 2.151.0a0 (#4889) chore(deps-dev): bump aws-cdk-aws-lambda-python-alpha Bumps [aws-cdk-aws-lambda-python-alpha](https://github.com/aws/aws-cdk) from 2.150.0a0 to 2.151.0a0. - [Release notes](https://github.com/aws/aws-cdk/releases) - [Changelog](https://github.com/aws/aws-cdk/blob/main/CHANGELOG.v2.md) - [Commits](https://github.com/aws/aws-cdk/commits) --- updated-dependencies: - dependency-name: aws-cdk-aws-lambda-python-alpha dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs from 0.1.230 to 0.1.231 (#4891) chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs Bumps [cdklabs-generative-ai-cdk-constructs](https://github.com/awslabs/generative-ai-cdk-constructs) from 0.1.230 to 0.1.231. - [Release notes](https://github.com/awslabs/generative-ai-cdk-constructs/releases) - [Changelog](https://github.com/awslabs/generative-ai-cdk-constructs/blob/main/CHANGELOG.md) - [Commits](https://github.com/awslabs/generative-ai-cdk-constructs/compare/v0.1.230...v0.1.231) --- updated-dependencies: - dependency-name: cdklabs-generative-ai-cdk-constructs dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump cfn-lint from 1.9.3 to 1.9.5 (#4890) Bumps [cfn-lint](https://github.com/aws-cloudformation/cfn-lint) from 1.9.3 to 1.9.5. - [Release notes](https://github.com/aws-cloudformation/cfn-lint/releases) - [Changelog](https://github.com/aws-cloudformation/cfn-lint/blob/main/CHANGELOG.md) - [Commits](https://github.com/aws-cloudformation/cfn-lint/compare/v1.9.3...v1.9.5) --- updated-dependencies: - dependency-name: cfn-lint dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(ci): new pre-release 2.42.1a7 (#4894) Co-authored-by: Powertools for AWS Lambda (Python) bot <[email protected]> * feat(validation): returns output from validate function (#4839) * Return the output of fastjsonschema.validate() * Adding documentation --------- Co-authored-by: Leandro Damascena <[email protected]> Co-authored-by: Simon Thulbourn <[email protected]> * refactor(tracer): make capture_lambda_handler type more generic (#4796) * chore(typing): update tracing capture_lambda_handler type Signed-off-by: Amin Alaee <[email protected]> * Making event argument generic and optional arguments Any --------- Signed-off-by: Amin Alaee <[email protected]> Co-authored-by: Leandro Damascena <[email protected]> Co-authored-by: Simon Thulbourn <[email protected]> * chore(ci): changelog rebuild (#4895) Co-authored-by: Powertools for AWS Lambda (Python) bot <[email protected]> * chore(deps-dev): bump types-redis from 4.6.0.20240726 to 4.6.0.20240806 (#4899) Bumps [types-redis](https://github.com/python/typeshed) from 4.6.0.20240726 to 4.6.0.20240806. - [Commits](https://github.com/python/typeshed/commits) --- updated-dependencies: - dependency-name: types-redis dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs from 0.1.231 to 0.1.233 (#4900) chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs Bumps [cdklabs-generative-ai-cdk-constructs](https://github.com/awslabs/generative-ai-cdk-constructs) from 0.1.231 to 0.1.233. - [Release notes](https://github.com/awslabs/generative-ai-cdk-constructs/releases) - [Changelog](https://github.com/awslabs/generative-ai-cdk-constructs/blob/main/CHANGELOG.md) - [Commits](https://github.com/awslabs/generative-ai-cdk-constructs/compare/v0.1.231...v0.1.233) --- updated-dependencies: - dependency-name: cdklabs-generative-ai-cdk-constructs dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump actions/upload-artifact from 4.3.5 to 4.3.6 (#4901) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.5 to 4.3.6. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/89ef406dd8d7e03cfd12d9e0a4a378f454709029...834a144ee995460fba8ed112a2fc961b36a5ec5a) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(ci): new pre-release 2.42.1a8 (#4903) Co-authored-by: Powertools for AWS Lambda (Python) bot <[email protected]> * feat(metrics): add unit None for CloudWatch EMF Metrics (#4904) feat(metrics): Add NoUnit type for EMF * chore(ci): changelog rebuild (#4905) Co-authored-by: Powertools for AWS Lambda (Python) bot <[email protected]> * chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs from 0.1.233 to 0.1.234 (#4909) chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs Bumps [cdklabs-generative-ai-cdk-constructs](https://github.com/awslabs/generative-ai-cdk-constructs) from 0.1.233 to 0.1.234. - [Release notes](https://github.com/awslabs/generative-ai-cdk-constructs/releases) - [Changelog](https://github.com/awslabs/generative-ai-cdk-constructs/blob/main/CHANGELOG.md) - [Commits](https://github.com/awslabs/generative-ai-cdk-constructs/compare/v0.1.233...v0.1.234) --- updated-dependencies: - dependency-name: cdklabs-generative-ai-cdk-constructs dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(ci): layer docs update (#4913) Co-authored-by: Powertools for AWS Lambda (Python) bot <[email protected]> * chore(ci): new pre-release 2.42.1a9 (#4912) Co-authored-by: Powertools for AWS Lambda (Python) bot <[email protected]> * chore(ci): bump version to 2.43.0 (#4911) Signed-off-by: Leandro Damascena <[email protected]> Co-authored-by: Powertools for AWS Lambda (Python) bot <[email protected]> Co-authored-by: Leandro Damascena <[email protected]> * chore(ci): changelog rebuild (#4914) Co-authored-by: Powertools for AWS Lambda (Python) bot <[email protected]> * chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs from 0.1.234 to 0.1.238 (#4917) chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs Bumps [cdklabs-generative-ai-cdk-constructs](https://github.com/awslabs/generative-ai-cdk-constructs) from 0.1.234 to 0.1.238. - [Release notes](https://github.com/awslabs/generative-ai-cdk-constructs/releases) - [Changelog](https://github.com/awslabs/generative-ai-cdk-constructs/blob/main/CHANGELOG.md) - [Commits](https://github.com/awslabs/generative-ai-cdk-constructs/compare/v0.1.234...v0.1.238) --- updated-dependencies: - dependency-name: cdklabs-generative-ai-cdk-constructs dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(ci): new pre-release 2.43.1a0 (#4920) Co-authored-by: Powertools for AWS Lambda (Python) bot <[email protected]> * chore(deps-dev): bump ruff from 0.5.6 to 0.5.7 (#4918) * chore(deps-dev): bump cfn-lint from 1.9.5 to 1.9.6 (#4916) * chore(deps-dev): bump mypy-boto3-ssm from 1.34.132 to 1.34.158 in the boto-typing group (#4921) * chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs from 0.1.238 to 0.1.242 (#4922) chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs Bumps [cdklabs-generative-ai-cdk-constructs](https://github.com/awslabs/generative-ai-cdk-constructs) from 0.1.238 to 0.1.242. - [Release notes](https://github.com/awslabs/generative-ai-cdk-constructs/releases) - [Changelog](https://github.com/awslabs/generative-ai-cdk-constructs/blob/main/CHANGELOG.md) - [Commits](https://github.com/awslabs/generative-ai-cdk-constructs/compare/v0.1.238...v0.1.242) --- updated-dependencies: - dependency-name: cdklabs-generative-ai-cdk-constructs dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump cfn-lint from 1.9.6 to 1.9.7 (#4923) Bumps [cfn-lint](https://github.com/aws-cloudformation/cfn-lint) from 1.9.6 to 1.9.7. - [Release notes](https://github.com/aws-cloudformation/cfn-lint/releases) - [Changelog](https://github.com/aws-cloudformation/cfn-lint/blob/main/CHANGELOG.md) - [Commits](https://github.com/aws-cloudformation/cfn-lint/compare/v1.9.6...v1.9.7) --- updated-dependencies: - dependency-name: cfn-lint dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(ci): changelog rebuild (#4925) Co-authored-by: Powertools for AWS Lambda (Python) bot <[email protected]> * chore(ci): new pre-release 2.43.1a1 (#4926) Co-authored-by: Powertools for AWS Lambda (Python) bot <[email protected]> * chore(ci): changelog rebuild (#4927) Co-authored-by: Powertools for AWS Lambda (Python) bot <[email protected]> * fix(event_source): fix regression when working with zero numbers in DynamoDBStreamEvent (#4932) Fix regression when working with ZERO * chore(ci): new pre-release 2.43.1a2 (#4933) Co-authored-by: Powertools for AWS Lambda (Python) bot <[email protected]> * chore(ci): layer docs update (#4935) * chore(ci): bump version to 2.43.1 (#4934) Signed-off-by: Leandro Damascena <[email protected]> Co-authored-by: Powertools for AWS Lambda (Python) bot <[email protected]> Co-authored-by: Leandro Damascena <[email protected]> * chore(deps-dev): bump mypy-boto3-s3 from 1.34.138 to 1.34.158 in the boto-typing group (#4936) chore(deps-dev): bump mypy-boto3-s3 in the boto-typing group Bumps the boto-typing group with 1 update: [mypy-boto3-s3](https://github.com/youtype/mypy_boto3_builder). Updates `mypy-boto3-s3` from 1.34.138 to 1.34.158 - [Release notes](https://github.com/youtype/mypy_boto3_builder/releases) - [Commits](https://github.com/youtype/mypy_boto3_builder/commits) --- updated-dependencies: - dependency-name: mypy-boto3-s3 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: boto-typing ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump datadog-lambda from 6.97.0 to 6.98.0 (#4938) Bumps [datadog-lambda](https://github.com/DataDog/datadog-lambda-python) from 6.97.0 to 6.98.0. - [Release notes](https://github.com/DataDog/datadog-lambda-python/releases) - [Commits](https://github.com/DataDog/datadog-lambda-python/compare/v6.97.0...v6.98.0) --- updated-dependencies: - dependency-name: datadog-lambda dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(ci): new pre-release 2.43.2a0 (#4946) Co-authored-by: Powertools for AWS Lambda (Python) bot <[email protected]> * refactor(event_handler): correct typo in exception docstring (#4948) fix(event_handler): correct typo in exception docstring Co-authored-by: Leandro Damascena <[email protected]> * chore(ci): changelog rebuild (#4952) Co-authored-by: Powertools for AWS Lambda (Python) bot <[email protected]> * feat(layers): add ARM64 support for ca-west-1 (#4949) feat(general): Add ARM support for ca-west-1 Signed-off-by: Simon Thulbourn <[email protected]> * fix(event_handler): correct URL for OpenAPI spec in Swagger UI (#4930) Co-authored-by: Simon Thulbourn <[email protected]> * chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs from 0.1.242 to 0.1.246 (#4967) chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs Bumps [cdklabs-generative-ai-cdk-constructs](https://github.com/awslabs/generative-ai-cdk-constructs) from 0.1.242 to 0.1.246. - [Release notes](https://github.com/awslabs/generative-ai-cdk-constructs/releases) - [Changelog](https://github.com/awslabs/generative-ai-cdk-constructs/blob/main/CHANGELOG.md) - [Commits](https://github.com/awslabs/generative-ai-cdk-constructs/compare/v0.1.242...v0.1.246) --- updated-dependencies: - dependency-name: cdklabs-generative-ai-cdk-constructs dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump sentry-sdk from 2.12.0 to 2.13.0 (#4969) Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from 2.12.0 to 2.13.0. - [Release notes](https://github.com/getsentry/sentry-python/releases) - [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md) - [Commits](https://github.com/getsentry/sentry-python/compare/2.12.0...2.13.0) --- updated-dependencies: - dependency-name: sentry-sdk dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump cfn-lint from 1.9.7 to 1.10.1 (#4968) Bumps [cfn-lint](https://github.com/aws-cloudformation/cfn-lint) from 1.9.7 to 1.10.1. - [Release notes](https://github.com/aws-cloudformation/cfn-lint/releases) - [Changelog](https://github.com/aws-cloudformation/cfn-lint/blob/main/CHANGELOG.md) - [Commits](https://github.com/aws-cloudformation/cfn-lint/compare/v1.9.7...v1.10.1) --- updated-dependencies: - dependency-name: cfn-lint dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs from 0.1.246 to 0.1.247 (#4973) chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs Bumps [cdklabs-generative-ai-cdk-constructs](https://github.com/awslabs/generative-ai-cdk-constructs) from 0.1.246 to 0.1.247. - [Release notes](https://github.com/awslabs/generative-ai-cdk-constructs/releases) - [Changelog](https://github.com/awslabs/generative-ai-cdk-constructs/blob/main/CHANGELOG.md) - [Commits](https://github.com/awslabs/generative-ai-cdk-constructs/compare/v0.1.246...v0.1.247) --- updated-dependencies: - dependency-name: cdklabs-generative-ai-cdk-constructs dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * revert(deps): "chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs from 0.1.246 to 0.1.247" (#4974) Revert "chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs from 0.1.2…" This reverts commit e756d85902cd288e1fff08c96ed6f58ca3cbc92e. * chore(ci): new pre-release 2.43.2a1 (#4970) Co-authored-by: Powertools for AWS Lambda (Python) bot <[email protected]> Co-authored-by: Leandro Damascena <[email protected]> * chore(deps-dev): bump mypy-boto3-s3 from 1.34.158 to 1.34.160 in the boto-typing group (#4972) chore(deps-dev): bump mypy-boto3-s3 in the boto-typing group Bumps the boto-typing group with 1 update: [mypy-boto3-s3](https://github.com/youtype/mypy_boto3_builder). Updates `mypy-boto3-s3` from 1.34.158 to 1.34.160 - [Release notes](https://github.com/youtype/mypy_boto3_builder/releases) - [Commits](https://github.com/youtype/mypy_boto3_builder/commits) --- updated-dependencies: - dependency-name: mypy-boto3-s3 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: boto-typing ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(ci): changelog rebuild (#4971) Co-authored-by: Powertools for AWS Lambda (Python) bot <[email protected]> * chore(ci): new pre-release 2.43.2a2 (#4978) Co-authored-by: Powertools for AWS Lambda (Python) bot <[email protected]> * chore(ci): changelog rebuild (#4981) Co-authored-by: Powertools for AWS Lambda (Python) bot <[email protected]> * chore(deps): bump the layer-balancer group in /layer/scripts/layer-balancer with 3 updates (#4997) chore(deps): bump the layer-balancer group Bumps the layer-balancer group in /layer/scripts/layer-balancer with 3 updates: [github.com/aws/aws-sdk-go-v2](https://github.com/aws/aws-sdk-go-v2), [github.com/aws/aws-sdk-go-v2/config](https://github.com/aws/aws-sdk-go-v2) and [github.com/aws/aws-sdk-go-v2/service/lambda](https://github.com/aws/aws-sdk-go-v2). Updates `github.com/aws/aws-sdk-go-v2` from 1.30.3 to 1.30.4 - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Commits](https://github.com/aws/aws-sdk-go-v2/compare/v1.30.3...v1.30.4) Updates `github.com/aws/aws-sdk-go-v2/config` from 1.27.27 to 1.27.28 - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Commits](https://github.com/aws/aws-sdk-go-v2/compare/config/v1.27.27...config/v1.27.28) Updates `github.com/aws/aws-sdk-go-v2/service/lambda` from 1.56.3 to 1.56.4 - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/lambda/v1.56.3...service/lambda/v1.56.4) --- updated-dependencies: - dependency-name: github.com/aws/aws-sdk-go-v2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: layer-balancer - dependency-name: github.com/aws/aws-sdk-go-v2/config dependency-type: direct:production update-type: version-update:semver-patch dependency-group: layer-balancer - dependency-name: github.com/aws/aws-sdk-go-v2/service/lambda dependency-type: direct:production update-type: version-update:semver-patch dependency-group: layer-balancer ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump mypy-boto3-s3 from 1.34.160 to 1.34.162 in the boto-typing group (#4998) chore(deps-dev): bump mypy-boto3-s3 in the boto-typing group Bumps the boto-typing group with 1 update: [mypy-boto3-s3](https://github.com/youtype/mypy_boto3_builder). Updates `mypy-boto3-s3` from 1.34.160 to 1.34.162 - [Release notes](https://github.com/youtype/mypy_boto3_builder/releases) - [Commits](https://github.com/youtype/mypy_boto3_builder/commits) --- updated-dependencies: - dependency-name: mypy-boto3-s3 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: boto-typing ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump aws-cdk from 2.151.0 to 2.152.0 (#4996) Bumps [aws-cdk](https://github.com/aws/aws-cdk/tree/HEAD/packages/aws-cdk) from 2.151.0 to 2.152.0. - [Release notes](https://github.com/aws/aws-cdk/releases) - [Changelog](https://github.com/aws/aws-cdk/blob/main/CHANGELOG.v2.md) - [Commits](https://github.com/aws/aws-cdk/commits/v2.152.0/packages/aws-cdk) --- updated-dependencies: - dependency-name: aws-cdk dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs from 0.1.246 to 0.1.248 (#5000) chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs Bumps [cdklabs-generative-ai-cdk-constructs](https://github.com/awslabs/generative-ai-cdk-constructs) from 0.1.246 to 0.1.248. - [Release notes](https://github.com/awslabs/generative-ai-cdk-constructs/releases) - [Changelog](https://github.com/awslabs/generative-ai-cdk-constructs/blob/main/CHANGELOG.md) - [Commits](https://github.com/awslabs/generative-ai-cdk-constructs/compare/v0.1.246...v0.1.248) --- updated-dependencies: - dependency-name: cdklabs-generative-ai-cdk-constructs dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump ruff from 0.5.7 to 0.6.0 (#5001) Bumps [ruff](https://github.com/astral-sh/ruff) from 0.5.7 to 0.6.0. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/0.5.7...0.6.0) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump cfn-lint from 1.10.1 to 1.10.2 (#5002) * chore(deps-dev): bump aws-cdk-lib from 2.151.0 to 2.152.0 (#4999) Bumps [aws-cdk-lib](https://github.com/aws/aws-cdk) from 2.151.0 to 2.152.0. - [Release notes](https://github.com/aws/aws-cdk/releases) - [Changelog](https://github.com/aws/aws-cdk/blob/main/CHANGELOG.v2.md) - [Commits](https://github.com/aws/aws-cdk/compare/v2.151.0...v2.152.0) --- updated-dependencies: - dependency-name: aws-cdk-lib dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(ci): new pre-release 2.43.2a3 (#5003) Co-authored-by: Powertools for AWS Lambda (Python) bot <[email protected]> * chore(ci): changelog rebuild (#5004) Co-authored-by: Powertools for AWS Lambda (Python) bot <[email protected]> * chore(deps-dev): bump the boto-typing group with 11 updates (#5005) * chore(deps-dev): bump ruff from 0.6.0 to 0.6.1 (#5007) * chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs from 0.1.248 to 0.1.250 (#5011) * chore(deps-dev): bump aws-cdk-aws-lambda-python-alpha from 2.151.0a0 to 2.152.0a0 (#5006) * chore(deps-dev): bump cfn-lint from 1.10.2 to 1.10.3 (#5009) * chore(ci): changelog rebuild (#5012) * chore(ci): new pre-release 2.43.2a4 (#5014) Co-authored-by: Powertools for AWS Lambda (Python) bot <[email protected]> * chore(ci): changelog rebuild (#5015) Co-authored-by: Powertools for AWS Lambda (Python) bot <[email protected]> * chore(deps): bump github.com/aws/aws-sdk-go-v2/service/lambda from 1.56.4 to 1.57.0 in /layer/scripts/layer-balancer in the layer-balancer group (#5019) chore(deps): bump github.com/aws/aws-sdk-go-v2/service/lambda Bumps the layer-balancer group in /layer/scripts/layer-balancer with 1 update: [github.com/aws/aws-sdk-go-v2/service/lambda](https://github.com/aws/aws-sdk-go-v2). Updates `github.com/aws/aws-sdk-go-v2/service/lambda` from 1.56.4 to 1.57.0 - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/lambda/v1.56.4...service/s3/v1.57.0) --- updated-dependencies: - dependency-name: github.com/aws/aws-sdk-go-v2/service/lambda dependency-type: direct:production update-type: version-update:semver-minor dependency-group: layer-balancer ... Signed-off-by: dependabot[bot…
1 parent 9acfee4 commit 3044444

File tree

365 files changed

+10222
-3987
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

365 files changed

+10222
-3987
lines changed

.github/workflows/build_changelog.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ on:
1717
# branches:
1818
# - develop
1919
schedule:
20-
# Note: run daily at 7am UTC time until upstream git-chlog uses stable sorting
21-
- cron: "0 7 * * *"
20+
# Note: run daily at 10am UTC time until upstream git-chlog uses stable sorting
21+
- cron: "0 10 * * *"
2222

2323
permissions:
2424
contents: read

.github/workflows/codeql-analysis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828

2929
steps:
3030
- name: Checkout repository
31-
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
31+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
3232

3333
# Initializes the CodeQL tools for scanning.
3434
- name: Initialize CodeQL

.github/workflows/dependency-review.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- name: 'Checkout Repository'
20-
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
20+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
2121
- name: 'Dependency Review'
22-
uses: actions/dependency-review-action@0c155c5e8556a497adf53f2c18edabf945ed8e70 # v4.3.2
22+
uses: actions/dependency-review-action@5a2ce3f5b92ee19cbb1541a4984c76d921601d7c # v4.3.4

.github/workflows/label_pr_on_title.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
pull-requests: write # label respective PR
5151
steps:
5252
- name: Checkout repository
53-
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
53+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
5454
- name: "Label PR based on title"
5555
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
5656
env:

.github/workflows/on_closed_issues.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
permissions:
2222
issues: write # comment on issues
2323
steps:
24-
- uses: aws-actions/closed-issue-message@8b6324312193476beecf11f8e8539d73a3553bf4
24+
- uses: aws-actions/closed-issue-message@80edfc24bdf1283400eb04d20a8a605ae8bf7d48
2525
with:
2626
repo-token: "${{ secrets.GITHUB_TOKEN }}"
2727
message: |

.github/workflows/on_label_added.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
permissions:
4848
pull-requests: write # comment on PR
4949
steps:
50-
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
50+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
5151
# Maintenance: Persist state per PR as an artifact to avoid spam on label add
5252
- name: "Suggest split large Pull Request"
5353
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1

.github/workflows/on_merged_pr.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
issues: write # label issue with pending-release
5050
if: needs.get_pr_details.outputs.prIsMerged == 'true'
5151
steps:
52-
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
52+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
5353
- name: "Label PR related issue for release"
5454
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
5555
env:

.github/workflows/on_opened_pr.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
needs: get_pr_details
4848
runs-on: ubuntu-latest
4949
steps:
50-
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
50+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
5151
- name: "Ensure related issue is present"
5252
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
5353
env:
@@ -66,7 +66,7 @@ jobs:
6666
permissions:
6767
pull-requests: write # label and comment on PR if missing acknowledge section (requirement)
6868
steps:
69-
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
69+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
7070
- name: "Ensure acknowledgement section is present"
7171
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
7272
env:

.github/workflows/ossf_scorecard.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,20 @@ jobs:
2222

2323
steps:
2424
- name: "Checkout code"
25-
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
25+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
2626
with:
2727
persist-credentials: false
2828

2929
- name: "Run analysis"
30-
uses: ossf/scorecard-action@dc50aa9510b46c811795eb24b2f1ba02a914e534 # v2.3.3
30+
uses: ossf/scorecard-action@62b2cac7ed8198b15735ed49ab1e5cf35480ba46 # v2.4.0
3131
with:
3232
results_file: results.sarif
3333
results_format: sarif
3434
publish_results: true # publish to OSSF Scorecard REST API
3535
repo_token: ${{ secrets.SCORECARD_TOKEN }} # read-only fine-grained token to read branch protection settings
3636

3737
- name: "Upload results"
38-
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
38+
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
3939
with:
4040
name: SARIF file
4141
path: results.sarif

.github/workflows/pre-release.yml

+275
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,275 @@
1+
name: Pre-Release
2+
3+
# PRE-RELEASE PROCESS
4+
#
5+
# === Automated activities ===
6+
#
7+
# 1. [Seal] Bump to release version and export source code with integrity hash
8+
# 2. [Quality check] Restore sealed source code, run tests, linting, security and complexity base line
9+
# 3. [Build] Restore sealed source code, create and export hashed build artifact for PyPi release (wheel, tarball)
10+
# 4. [Provenance] Generates provenance for build, signs attestation with GitHub OIDC claims to confirm it came from this release pipeline, commit, org, repo, branch, hash, etc.
11+
# 5. [Release] Restore built artifact, and publish package to PyPi prod repository
12+
# 6. [PR to bump version] Restore sealed source code, and create a PR to update trunk with latest released project metadata
13+
14+
# NOTE
15+
#
16+
# See MAINTAINERS.md "Releasing a new version" for release mechanisms
17+
#
18+
# Every job is isolated and starts a new fresh container.
19+
20+
env:
21+
RELEASE_COMMIT: ${{ github.sha }}
22+
23+
on:
24+
workflow_dispatch:
25+
inputs:
26+
skip_code_quality:
27+
description: "Skip tests, linting, and baseline. Only use if release fail for reasons beyond our control and you need a quick release."
28+
default: false
29+
type: boolean
30+
required: false
31+
skip_pypi:
32+
description: "Skip publishing to PyPi. Used for testing release steps."
33+
default: false
34+
type: boolean
35+
required: false
36+
schedule:
37+
# Note: run daily on weekdays at 8am UTC time
38+
- cron: "0 8 * * 1-5"
39+
40+
permissions:
41+
contents: read
42+
43+
jobs:
44+
45+
# This job bumps the package version to the pre-release version
46+
# creates an integrity hash from the source code
47+
# uploads the artifact with the integrity hash as the key name
48+
# so subsequent jobs can restore from a trusted point in time to prevent tampering
49+
seal:
50+
# ignore forks
51+
if: github.repository == 'aws-powertools/powertools-lambda-python'
52+
53+
runs-on: ubuntu-latest
54+
permissions:
55+
contents: read
56+
outputs:
57+
integrity_hash: ${{ steps.seal_source_code.outputs.integrity_hash }}
58+
artifact_name: ${{ steps.seal_source_code.outputs.artifact_name }}
59+
RELEASE_VERSION: ${{ steps.release_version.outputs.RELEASE_VERSION }}
60+
steps:
61+
# NOTE: Different from prod release, we need both poetry and source code available in earlier steps to bump and verify.
62+
63+
# We use a pinned version of Poetry to be certain it won't modify source code before we create a hash
64+
- name: Install poetry
65+
run: |
66+
pipx install git+https://github.com/python-poetry/poetry@68b88e5390720a3dd84f02940ec5200bfce39ac6 # v1.5.0
67+
pipx inject poetry git+https://github.com/monim67/poetry-bumpversion@315fe3324a699fa12ec20e202eb7375d4327d1c4 # v0.3.1
68+
69+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
70+
with:
71+
ref: ${{ env.RELEASE_COMMIT }}
72+
73+
- name: Bump and export release version
74+
id: release_version
75+
run: |
76+
RELEASE_VERSION="$(poetry version prerelease --short | head -n1 | tr -d '\n')"
77+
78+
echo "RELEASE_VERSION=${RELEASE_VERSION}" >> "$GITHUB_OUTPUT"
79+
80+
- name: Verifies pre-release version semantics
81+
# verify pre-release semantics before proceeding to avoid versioning pollution
82+
# e.g., 2.40.0a1 and 2.40.0b2 are valid while 2.40.0 is not
83+
# NOTE. we do it in a separate step to handle edge cases like
84+
# `poetry` CLI uses immutable install, versioning behaviour could change even in a minor version (we had breaking changes before)
85+
# a separate step allows us to pinpoint what happened (before/after)
86+
run: |
87+
if [[ ! "$RELEASE_VERSION" =~ ^[0-9]+\.[0-9]+\.[0-9]+[a-b].*$ ]]; then
88+
echo "Version $VERSION doesn't look like a pre-release version; aborting"
89+
exit 1
90+
fi
91+
env:
92+
RELEASE_VERSION: ${{ steps.release_version.outputs.RELEASE_VERSION}}
93+
94+
- name: Seal and upload
95+
id: seal_source_code
96+
uses: ./.github/actions/seal
97+
with:
98+
artifact_name_prefix: "source"
99+
100+
# This job runs our automated test suite, complexity and security baselines
101+
# it ensures previously merged have been tested as part of the pull request process
102+
#
103+
# NOTE
104+
#
105+
# we don't upload the artifact after testing to prevent any tampering of our source code dependencies
106+
quality_check:
107+
needs: seal
108+
runs-on: ubuntu-latest
109+
permissions:
110+
contents: read
111+
steps:
112+
# NOTE: we need actions/checkout to configure git first (pre-commit hooks in make dev)
113+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
114+
with:
115+
ref: ${{ env.RELEASE_COMMIT }}
116+
117+
- name: Restore sealed source code
118+
uses: ./.github/actions/seal-restore
119+
with:
120+
integrity_hash: ${{ needs.seal.outputs.integrity_hash }}
121+
artifact_name: ${{ needs.seal.outputs.artifact_name }}
122+
123+
- name: Debug cache restore
124+
run: cat pyproject.toml
125+
126+
- name: Install poetry
127+
run: pipx install git+https://github.com/python-poetry/poetry@68b88e5390720a3dd84f02940ec5200bfce39ac6 # v1.5.0
128+
- name: Set up Python
129+
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
130+
with:
131+
python-version: "3.12"
132+
cache: "poetry"
133+
- name: Install dependencies
134+
run: make dev
135+
- name: Run all tests, linting and baselines
136+
run: make pr
137+
138+
# This job creates a release artifact (tar.gz, wheel)
139+
# it checks out code from release commit for custom actions to work
140+
# then restores the sealed source code (overwrites any potential tampering)
141+
# it's done separately from release job to enforce least privilege.
142+
# We export just the final build artifact for release
143+
build:
144+
runs-on: ubuntu-latest
145+
needs: [quality_check, seal]
146+
permissions:
147+
contents: read
148+
outputs:
149+
integrity_hash: ${{ steps.seal_build.outputs.integrity_hash }}
150+
artifact_name: ${{ steps.seal_build.outputs.artifact_name }}
151+
attestation_hashes: ${{ steps.encoded_hash.outputs.attestation_hashes }}
152+
steps:
153+
# NOTE: we need actions/checkout to configure git first (pre-commit hooks in make dev)
154+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
155+
with:
156+
ref: ${{ env.RELEASE_COMMIT }}
157+
158+
- name: Restore sealed source code
159+
uses: ./.github/actions/seal-restore
160+
with:
161+
integrity_hash: ${{ needs.seal.outputs.integrity_hash }}
162+
artifact_name: ${{ needs.seal.outputs.artifact_name }}
163+
164+
- name: Install poetry
165+
run: pipx install git+https://github.com/python-poetry/poetry@68b88e5390720a3dd84f02940ec5200bfce39ac6 # v1.5.0
166+
- name: Set up Python
167+
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
168+
with:
169+
python-version: "3.12"
170+
cache: "poetry"
171+
172+
- name: Build python package and wheel
173+
run: poetry build
174+
175+
- name: Seal and upload
176+
id: seal_build
177+
uses: ./.github/actions/seal
178+
with:
179+
artifact_name_prefix: "build"
180+
files: "dist/"
181+
182+
# NOTE: SLSA retraces our build to its artifact to ensure it wasn't tampered
183+
# coupled with GitHub OIDC, SLSA can then confidently sign it came from this release pipeline+commit+branch+org+repo+actor+integrity hash
184+
- name: Create attestation encoded hash for provenance
185+
id: encoded_hash
186+
working-directory: dist
187+
run: echo "attestation_hashes=$(sha256sum ./* | base64 -w0)" >> "$GITHUB_OUTPUT"
188+
189+
# This job creates a provenance file that describes how our release was built (all steps)
190+
# after it verifies our build is reproducible within the same pipeline
191+
# it confirms that its own software and the CI build haven't been tampered with (Trust but verify)
192+
# lastly, it creates and sign an attestation (multiple.intoto.jsonl) that confirms
193+
# this build artifact came from this GitHub org, branch, actor, commit ID, inputs that triggered this pipeline, and matches its integrity hash
194+
# NOTE: supply chain threats review (we protect against all of them now): https://slsa.dev/spec/v1.0/threats-overview
195+
provenance:
196+
needs: [seal, build]
197+
permissions:
198+
contents: write # nested job explicitly require despite upload assets being set to false
199+
actions: read # To read the workflow path.
200+
id-token: write # To sign the provenance.
201+
# NOTE: provenance fails if we use action pinning... it's a Github limitation
202+
# because SLSA needs to trace & attest it came from a given branch; pinning doesn't expose that information
203+
# https://github.com/slsa-framework/slsa-github-generator/blob/main/internal/builders/generic/README.md#referencing-the-slsa-generator
204+
uses: slsa-framework/slsa-github-generator/.github/workflows/[email protected]
205+
with:
206+
base64-subjects: ${{ needs.build.outputs.attestation_hashes }}
207+
upload-assets: false # we upload its attestation in create_tag job, otherwise it creates a new release
208+
209+
# This job uses release artifact to publish to PyPi
210+
# it exchanges JWT tokens with GitHub to obtain PyPi credentials
211+
# since it's already registered as a Trusted Publisher.
212+
# It uses the sealed build artifact (.whl, .tar.gz) to release it
213+
release:
214+
needs: [build, seal, provenance]
215+
environment: pre-release
216+
runs-on: ubuntu-latest
217+
permissions:
218+
id-token: write # OIDC for PyPi Trusted Publisher feature
219+
env:
220+
RELEASE_VERSION: ${{ needs.seal.outputs.RELEASE_VERSION }}
221+
steps:
222+
# NOTE: we need actions/checkout in order to use our local actions (e.g., ./.github/actions)
223+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
224+
with:
225+
ref: ${{ env.RELEASE_COMMIT }}
226+
227+
- name: Restore sealed source code
228+
uses: ./.github/actions/seal-restore
229+
with:
230+
integrity_hash: ${{ needs.build.outputs.integrity_hash }}
231+
artifact_name: ${{ needs.build.outputs.artifact_name }}
232+
233+
- name: Upload to PyPi prod
234+
if: ${{ !inputs.skip_pypi }}
235+
uses: pypa/gh-action-pypi-publish@0ab0b79471669eb3a4d647e625009c62f9f3b241 # v1.10.1
236+
237+
# Creates a PR with the latest version we've just released
238+
# since our trunk is protected against any direct pushes from automation
239+
bump_version:
240+
needs: [release, seal, provenance]
241+
permissions:
242+
contents: write # create-pr action creates a temporary branch
243+
pull-requests: write # create-pr action creates a PR using the temporary branch
244+
runs-on: ubuntu-latest
245+
steps:
246+
# NOTE: we need actions/checkout to authenticate and configure git first
247+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
248+
with:
249+
ref: ${{ env.RELEASE_COMMIT }}
250+
251+
- name: Restore sealed source code
252+
uses: ./.github/actions/seal-restore
253+
with:
254+
integrity_hash: ${{ needs.seal.outputs.integrity_hash }}
255+
artifact_name: ${{ needs.seal.outputs.artifact_name }}
256+
257+
- name: Download provenance
258+
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
259+
with:
260+
name: ${{needs.provenance.outputs.provenance-name}}
261+
262+
- name: Update provenance
263+
run: mkdir -p "${PROVENANCE_DIR}" && mv "${PROVENANCE_FILE}" "${PROVENANCE_DIR}/"
264+
env:
265+
PROVENANCE_FILE: ${{ needs.provenance.outputs.provenance-name }}
266+
PROVENANCE_DIR: provenance/${{ needs.seal.outputs.RELEASE_VERSION}}
267+
268+
- name: Create PR
269+
id: create-pr
270+
uses: ./.github/actions/create-pr
271+
with:
272+
files: "pyproject.toml aws_lambda_powertools/shared/version.py provenance/"
273+
temp_branch_prefix: "ci-bump"
274+
pull_request_title: "chore(ci): new pre-release ${{ needs.seal.outputs.RELEASE_VERSION }}"
275+
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)