linz / bde-fdw-rds

Python AWS cdk to create rds with fdw for BDE analytica queries
MIT License
0 stars 0 forks source link

build(deps): Bump aws-lambda-powertools from 2.11.0 to 2.12.0 #115

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps aws-lambda-powertools from 2.11.0 to 2.12.0.

Release notes

Sourced from aws-lambda-powertools's releases.

v2.12.0

Summary

This release improves the authoring experience for Batch processing (-boilerplate), fix a bug between Batch and Pydantic integration for poison pills, and several documentation and static typing improvements!

⭐ Huge thanks to new contributors: @​michael-k (docs) and @​LuckIlNe (Batch pydantic bugfix)

New Batch experience

No more decorators for Batch Processing

Docs: Amazon SQS, Amazon Kinesis Data Streams, Amazon DynamoDB Streams

Batch feature is generally used for building more resilient data pipelines ranging from ETL to Change Data Capture to AWS automation.

This release significantly removes boilerplate and makes it less error prone to author batch processors. You can now use process_partial_response and async_process_partial_response within your Lambda handler to kick off processing, handle failures and return the expected response for partial failures in Lambda.

Before

image

After

New Batch experience

Addressing poison pill issue with Batch and Pydantic model validation

Docs

Pydantic provides parsing and deep data validation mechanisms. It's commonly used with Batch feature to author and validate data models.

Thanks to @​LuckIlNe, we now correctly handle malformed messages that fail validation early (poison pills), thus not breaking the partial failure mechanism. Previously, any record that doesn't conform with an early model validation would not fail gracefully.

Documentation improvements

Idempotency

Docs: Idempotency new diagrams, terminology, and Idempotency record expiration vs DynamoDB time-to-live (TTL).

Thanks to a discussion with @​pmarko1711, we revamped the Idempotency documentation to include more sequence diagrams to visually explain the different idempotent scenarios. We also clarified terminologies like Idempotency Record, and a confusion between Idempotency Record Expiration and DynamoDB TTL.

The latter can be used as a fine-grained concurrency mechanism.

Batch

Docs

... (truncated)

Changelog

Sourced from aws-lambda-powertools's changelog.

Unreleased

Bug Fixes

  • batch: handle early validation errors for pydantic models (poison pill) #2091 (#2099)

Documentation

  • batch: use newly supported Json model (#2100)
  • homepage: remove banner for end-of-support v1 (#2098)
  • idempotency: fixes to testing your code section (#2073)
  • idempotency: new sequence diagrams, fix idempotency record vs DynamoDB TTL confusion (#2074)
  • parser: fix highlighted line (#2064)

Features

  • batch: reduce boilerplate with process_partial_response (#2090)
  • idempotency: allow custom sdk clients in DynamoDBPersistenceLayer (#2087)

Maintenance

  • deps: bump aws-xray-sdk from 2.11.0 to 2.12.0 (#2080)
  • deps: bump peaceiris/actions-gh-pages from 3.9.2 to 3.9.3 (#2069)
  • deps-dev: bump aws-cdk-lib from 2.72.1 to 2.73.0 (#2097)
  • deps-dev: bump aws-cdk from 2.72.1 to 2.73.0 (#2093)
  • deps-dev: bump mypy-boto3-cloudformation from 1.26.60 to 1.26.108 (#2095)
  • deps-dev: bump types-python-dateutil from 2.8.19.11 to 2.8.19.12 (#2085)
  • deps-dev: bump cfn-lint from 0.76.1 to 0.76.2 (#2084)
  • deps-dev: bump aws-cdk from 2.72.0 to 2.72.1 (#2081)
  • deps-dev: bump coverage from 7.2.2 to 7.2.3 (#2092)
  • deps-dev: bump mkdocs-material from 9.1.4 to 9.1.5 (#2077)
  • deps-dev: bump aws-cdk-lib from 2.72.0 to 2.72.1 (#2076)
  • deps-dev: bump mypy-boto3-s3 from 1.26.99 to 1.26.104 (#2075)
  • deps-dev: bump aws-cdk from 2.71.0 to 2.72.0 (#2071)
  • deps-dev: bump filelock from 3.10.7 to 3.11.0 (#2094)
  • deps-dev: bump aws-cdk-lib from 2.71.0 to 2.72.0 (#2070)
  • deps-dev: bump black from 23.1.0 to 23.3.0 (#2066)
  • deps-dev: bump aws-cdk from 2.70.0 to 2.71.0 (#2067)
  • deps-dev: bump aws-cdk-lib from 2.70.0 to 2.71.0 (#2065)

Commits
  • 985c1ae chore: update v2 layer ARN on documentation
  • 3c2e182 bump version to 2.12.0
  • cbd6694 update changelog with latest changes
  • 1977faf docs(batch): use newly supported Json model (#2100)
  • f2da40f update changelog with latest changes
  • 60d0363 feat(batch): reduce boilerplate with process_partial_response (#2090)
  • c3e25d6 fix(batch): handle early validation errors for pydantic models (poison pill) ...
  • c58f474 update changelog with latest changes
  • 9f430b1 docs(homepage): remove banner for end-of-support v1 (#2098)
  • 8d0c22e chore(deps-dev): bump aws-cdk-lib from 2.72.1 to 2.73.0 (#2097)
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)