Unreleased¶
Bug Fixes¶
- appsync: make contextual data accessible for async functions (#5317)
- ci: Update output to something easily copy/pasteable (#5435)
- ci: remove space (#5433)
- metrics: add warning for invalid dimension values; prevent their addition to EMF blobs (#5542)
- parameters: fix force_fetch feature when working with get_parameters (#5515)
- parser: support TypeAdapter instances as models (#5535)
Documentation¶
Features¶
- event_handler: mutualTLS Security Scheme for OpenAPI (#5484)
- layers: introduce new CDK Python constructor for Powertools Lambda Layer (#5320)
Maintenance¶
- ci: new pre-release 3.2.1a9 (#5504)
- ci: new pre-release 3.2.1a13 (#5537)
- ci: new pre-release 3.2.1a0 (#5434)
- ci: new pre-release 3.2.1a1 (#5443)
- ci: bump minimum required pydantic version (#5446)
- ci: new pre-release 3.2.1a12 (#5524)
- ci: new pre-release 3.2.1a2 (#5456)
- ci: new pre-release 3.2.1a3 (#5465)
- ci: new pre-release 3.2.1a11 (#5517)
- ci: new pre-release 3.2.1a5 (#5473)
- ci: new pre-release 3.2.1a6 (#5480)
- ci: new pre-release 3.2.1a10 (#5509)
- ci: new pre-release 3.2.1a4 (#5470)
- ci: new pre-release 3.2.1a7 (#5488)
- ci: new pre-release 3.2.1a8 (#5497)
- deps: bump datadog-lambda from 6.100.0 to 6.101.0 (#5513)
- deps: bump datadog-lambda from 6.99.0 to 6.100.0 (#5491)
- deps: bump actions/dependency-review-action from 4.3.4 to 4.3.5 (#5431)
- deps: bump docker/setup-qemu-action from 2.1.0 to 3.2.0 (#5528)
- deps: bump actions/setup-python from 5.2.0 to 5.3.0 (#5529)
- deps: bump zgosalvez/github-actions-ensure-sha-pinned-actions from 3.0.15 to 3.0.16 (#5499)
- deps: bump squidfunk/mkdocs-material from
2c2802b
toce587cb
in /docs (#5507) - deps: bump actions/checkout from 4.2.1 to 4.2.2 (#5438)
- deps: bump actions/checkout from 4.2.0 to 4.2.2 (#5531)
- deps: bump squidfunk/mkdocs-material from
31eb7f7
to2c2802b
in /docs (#5487) - deps: bump docker/setup-buildx-action from 2.4.1 to 3.7.1 (#5530)
- deps: bump actions/setup-node from 4.0.4 to 4.1.0 (#5450)
- deps: bump actions/setup-python from 5.2.0 to 5.3.0 (#5449)
- deps: bump redis from 5.1.1 to 5.2.0 (#5454)
- deps: bump pypa/gh-action-pypi-publish from 1.12.1 to 1.12.2 (#5519)
- deps: bump actions/dependency-review-action from 4.3.5 to 4.4.0 (#5469)
- deps: bump pypa/gh-action-pypi-publish from 1.10.3 to 1.11.0 (#5477)
- deps: bump pypa/gh-action-pypi-publish from 1.11.0 to 1.12.1 (#5514)
- deps-dev: bump aws-cdk-lib from 2.164.1 to 2.165.0 (#5490)
- deps-dev: bump boto3-stubs from 1.35.49 to 1.35.51 (#5472)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.278 to 0.1.279 (#5512)
- deps-dev: bump mkdocs-material from 9.5.42 to 9.5.43 (#5486)
- deps-dev: bump boto3-stubs from 1.35.51 to 1.35.52 (#5478)
- deps-dev: bump cfn-lint from 1.18.1 to 1.18.2 (#5468)
- deps-dev: bump cfn-lint from 1.18.2 to 1.18.3 (#5479)
- deps-dev: bump aws-cdk-aws-lambda-python-alpha from 2.163.1a0 to 2.164.1a0 (#5467)
- deps-dev: bump aws-cdk from 2.165.0 to 2.166.0 (#5520)
- deps-dev: bump aws-cdk from 2.164.0 to 2.164.1 (#5462)
- deps-dev: bump boto3-stubs from 1.35.46 to 1.35.49 (#5460)
- deps-dev: bump aws-cdk-lib from 2.164.0 to 2.164.1 (#5459)
- deps-dev: bump ruff from 0.7.0 to 0.7.1 (#5451)
- deps-dev: bump aws-cdk-aws-lambda-python-alpha from 2.162.1a0 to 2.163.1a0 (#5441)
- deps-dev: bump aws-cdk-lib from 2.165.0 to 2.166.0 (#5522)
- deps-dev: bump aws-cdk-lib from 2.163.1 to 2.164.0 (#5453)
- deps-dev: bump aws-cdk from 2.163.1 to 2.164.0 (#5452)
- deps-dev: bump boto3-stubs from 1.35.56 to 1.35.58 (#5540)
- deps-dev: bump ruff from 0.7.1 to 0.7.2 (#5492)
- deps-dev: bump boto3-stubs from 1.35.52 to 1.35.53 (#5485)
- deps-dev: bump boto3-stubs from 1.35.54 to 1.35.56 (#5523)
- deps-dev: bump mkdocs-material from 9.5.43 to 9.5.44 (#5506)
- deps-dev: bump aws-cdk-aws-lambda-python-alpha from 2.165.0a0 to 2.166.0a0 (#5533)
- deps-dev: bump mypy from 1.11.2 to 1.13.0 (#5440)
- deps-dev: bump cfn-lint from 1.18.3 to 1.18.4 (#5501)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.277 to 0.1.278 (#5439)
- deps-dev: bump aws-cdk-aws-lambda-python-alpha from 2.164.1a0 to 2.165.0a0 (#5500)
- deps-dev: bump boto3-stubs from 1.35.53 to 1.35.54 (#5493)
- deps-dev: bump ruff from 0.7.2 to 0.7.3 (#5532)
- deps-dev: bump aws-cdk from 2.164.1 to 2.165.0 (#5494)
- deps-dev: bump boto3-stubs from 1.35.45 to 1.35.46 (#5430)
- deps-dev: bump aws-cdk from 2.162.1 to 2.163.1 (#5432)
- deps-dev: bump sentry-sdk from 2.17.0 to 2.18.0 (#5502)
- deps-dev: bump xenon from 0.9.1 to 0.9.3 (#5428)
- deps-dev: bump aws-cdk-lib from 2.162.1 to 2.163.1 (#5429)
- layers: add pydantic-settings package to v3 Layer (#5516)
v3.2.0 - 2024-10-22¶
Bug Fixes¶
- test command in verify step (#5381)
- ci: Tables are nicer (#5416)
- ci: GovCloud layer verification (#5382)
- ci: Update partition name (#5380)
- layer: update partition name in the GovCloud workflow (#5379)
Documentation¶
- Add GovCloud layer info (#5414)
- event_handler: add Terraform payload info for API Gateway HTTP API (#5351)
- examples: temporarily fix SAR version to v2.x (#5360)
- layer: update layer version number (#5344)
- upgrade_guide: update Lambda layer name (#5347)
Features¶
Maintenance¶
- version bump
- ci: new pre-release 3.1.1a0 (#5353)
- ci: Add dump of govcloud layer info in verify step (#5415)
- deps: bump squidfunk/mkdocs-material from
f9cb76d
to0d4e687
in /docs (#5395) - deps: bump actions/upload-artifact from 4.4.1 to 4.4.3 (#5357)
- deps: bump squidfunk/mkdocs-material from
8e8b333
tof9cb76d
in /docs (#5366) - deps: bump zgosalvez/github-actions-ensure-sha-pinned-actions from 3.0.14 to 3.0.15 (#5418)
- deps: bump jsonpath-ng from 1.6.1 to 1.7.0 (#5369)
- deps: bump squidfunk/mkdocs-material from
0d4e687
to31eb7f7
in /docs (#5417) - deps: bump actions/upload-artifact from 4.4.0 to 4.4.3 (#5373)
- deps-dev: bump boto3-stubs from 1.35.38 to 1.35.39 (#5370)
- deps-dev: bump boto3-stubs from 1.35.39 to 1.35.41 (#5392)
- deps-dev: bump aws-cdk-aws-lambda-python-alpha from 2.161.1a0 to 2.162.1a0 (#5386)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.274 to 0.1.275 (#5406)
- deps-dev: bump boto3-stubs from 1.35.43 to 1.35.44 (#5407)
- deps-dev: bump cfn-lint from 1.17.2 to 1.18.1 (#5423)
- deps-dev: bump cfn-lint from 1.17.1 to 1.17.2 (#5408)
- deps-dev: bump aws-cdk-lib from 2.161.1 to 2.162.1 (#5371)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.273 to 0.1.274 (#5394)
- deps-dev: bump aws-cdk from 2.161.1 to 2.162.1 (#5372)
- deps-dev: bump boto3-stubs from 1.35.41 to 1.35.42 (#5397)
- deps-dev: bump cfn-lint from 1.16.1 to 1.17.1 (#5404)
- deps-dev: bump mkdocs-material from 9.5.40 to 9.5.41 (#5393)
- deps-dev: bump cfn-lint from 1.16.0 to 1.16.1 (#5363)
- deps-dev: bump boto3-stubs from 1.35.37 to 1.35.38 (#5364)
- deps-dev: bump mkdocs-material from 9.5.39 to 9.5.40 (#5365)
- deps-dev: bump ruff from 0.6.9 to 0.7.0 (#5403)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.275 to 0.1.277 (#5419)
- deps-dev: bump boto3-stubs from 1.35.42 to 1.35.43 (#5402)
- deps-dev: bump boto3-stubs from 1.35.36 to 1.35.37 (#5356)
- deps-dev: bump nox from 2024.4.15 to 2024.10.9 (#5355)
- deps-dev: bump mkdocs-material from 9.5.41 to 9.5.42 (#5420)
- deps-dev: bump boto3-stubs from 1.35.44 to 1.35.45 (#5421)
- deps-dev: bump aws-cdk-aws-lambda-python-alpha from 2.161.0a0 to 2.161.1a0 (#5349)
- deps-dev: bump boto3-stubs from 1.35.35 to 1.35.36 (#5350)
- deps-dev: bump sentry-sdk from 2.15.0 to 2.16.0 (#5348)
- deps-dev: bump sentry-sdk from 2.16.0 to 2.17.0 (#5400)
- docs: remove layer callout from data masking docs (#5377)
v3.1.0 - 2024-10-08¶
Bug Fixes¶
- ci: Layer Rename Fix (#5291)
- ci: layer rename (#5283)
- idempotency: fix response hook invocation when function returns None (#5251)
- layer: reverting SSM parameter name (#5340)
- layers: rename Lambda layer name from x86 to x86_64 (#5226)
- parser: fallback to
validate_python
when usingtype[Model]
and nested models (#5313) - parser: revert a regression in v3 when raising ValidationError (#5259)
- parser: make size and etag optional for LifecycleExpiration events in S3 (#5250)
Code Refactoring¶
- examples: fix issues reported by SonarCloud and Scorecard (#5315)
Documentation¶
- idempotency: fix description in
Advanced
table (#5191) - metrics: fix test references (#5265)
- public_reference: add Flyweight as a public reference (#5322)
- upgrade_guide: update upgrade guide with Pydantic information (#5316)
- v3: fix small things in the documentation (#5224)
- versioning: add v2 maintainance mode banner (#5240)
Features¶
- event_source: add CodeDeploy Lifecycle Hook event (#5219)
- openapi: enable direct list input in Examples model (#5318)
Maintenance¶
- version bump
- ci: new pre-release 3.0.1a7 (#5299)
- ci: new pre-release 3.0.1a3 (#5270)
- ci: new pre-release 3.0.1a4 (#5277)
- ci: new pre-release 3.0.1a2 (#5258)
- ci: new pre-release 3.0.1a5 (#5288)
- ci: new pre-release 3.0.1a9 (#5337)
- ci: new pre-release 3.0.1a8 (#5323)
- ci: new pre-release 3.0.1a0 (#5220)
- ci: new pre-release 3.0.1a1 (#5247)
- ci: new pre-release 3.0.1a6 (#5293)
- deps: bump actions/download-artifact from 4.1.7 to 4.1.8 (#5203)
- deps: bump squidfunk/mkdocs-material from
22a429f
to08fbf58
in /docs (#5243) - deps: bump docker/setup-buildx-action from 3.6.1 to 3.7.0 (#5298)
- deps: bump actions/checkout from 4.1.7 to 4.2.0 (#5244)
- deps: bump actions/setup-node from 4.0.3 to 4.0.4 (#5186)
- deps: bump docker/setup-buildx-action from 3.7.0 to 3.7.1 (#5310)
- deps: bump pypa/gh-action-pypi-publish from 1.10.2 to 1.10.3 (#5311)
- deps: bump squidfunk/mkdocs-material from
a2e3a31
to22a429f
in /docs (#5201) - deps: bump pypa/gh-action-pypi-publish from 1.10.1 to 1.10.2 (#5202)
- deps: bump actions/checkout from 4.2.0 to 4.2.1 (#5329)
- deps: bump squidfunk/mkdocs-material from
08fbf58
to7aea359
in /docs (#5253) - deps: bump actions/setup-python from 5.1.0 to 5.2.0 (#5204)
- deps: bump codecov/codecov-action from 4.5.0 to 4.6.0 (#5287)
- deps: bump redis from 5.1.0 to 5.1.1 (#5331)
- deps: bump actions/checkout from 4.1.6 to 4.1.7 (#5206)
- deps: bump actions/upload-artifact from 4.4.0 to 4.4.1 (#5328)
- deps: bump actions/upload-artifact from 4.3.3 to 4.4.0 (#5217)
- deps: bump zgosalvez/github-actions-ensure-sha-pinned-actions from 3.0.12 to 3.0.13 (#5276)
- deps: bump redis from 5.0.8 to 5.1.0 (#5264)
- deps: bump datadog-lambda from 6.98.0 to 6.99.0 (#5333)
- deps: bump squidfunk/mkdocs-material from
7aea359
to8e8b333
in /docs (#5272) - deps: bump zgosalvez/github-actions-ensure-sha-pinned-actions from 3.0.13 to 3.0.14 (#5330)
- deps: bump docker/setup-qemu-action from 3.0.0 to 3.2.0 (#5205)
- deps-dev: bump mkdocs-material from 9.5.38 to 9.5.39 (#5273)
- deps-dev: bump cfn-lint from 1.15.1 to 1.15.2 (#5274)
- deps-dev: bump boto3-stubs from 1.35.28 to 1.35.29 (#5263)
- deps-dev: bump boto3-stubs from 1.35.34 to 1.35.35 (#5334)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.270 to 0.1.271 (#5284)
- deps-dev: bump mkdocs-material from 9.5.37 to 9.5.38 (#5255)
- deps-dev: bump ruff from 0.6.7 to 0.6.8 (#5254)
- deps-dev: bump boto3-stubs from 1.35.27 to 1.35.28 (#5256)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.269 to 0.1.270 (#5257)
- deps-dev: bump sentry-sdk from 2.14.0 to 2.15.0 (#5285)
- deps-dev: bump boto3-stubs from 1.35.29 to 1.35.31 (#5286)
- deps-dev: bump boto3-stubs from 1.35.31 to 1.35.32 (#5292)
- deps-dev: bump aws-cdk-lib from 2.161.0 to 2.161.1 (#5335)
- deps-dev: bump boto3-stubs from 1.35.32 to 1.35.33 (#5295)
- deps-dev: bump types-python-dateutil from 2.9.0.20240906 to 2.9.0.20241003 (#5296)
- deps-dev: bump boto3-stubs from 1.35.26 to 1.35.27 (#5242)
- deps-dev: bump mkdocs-material from 9.5.36 to 9.5.37 (#5241)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.271 to 0.1.272 (#5297)
- deps-dev: bump boto3-stubs from 1.35.25 to 1.35.26 (#5234)
- deps-dev: bump aws-cdk from 2.159.1 to 2.160.0 (#5233)
- deps-dev: bump aws-cdk-aws-lambda-python-alpha from 2.159.1a0 to 2.160.0a0 (#5235)
- deps-dev: bump aws-cdk-lib from 2.159.1 to 2.160.0 (#5230)
- deps-dev: bump cfn-lint from 1.15.0 to 1.15.1 (#5232)
- deps-dev: bump aws-cdk-aws-lambda-python-alpha from 2.158.0a0 to 2.159.1a0 (#5231)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.268 to 0.1.269 (#5229)
- deps-dev: bump aws-cdk-lib from 2.160.0 to 2.161.0 (#5304)
- deps-dev: bump boto3-stubs from 1.35.33 to 1.35.34 (#5306)
- deps-dev: bump types-redis from 4.6.0.20240903 to 4.6.0.20241004 (#5307)
- deps-dev: bump aws-cdk-lib from 2.158.0 to 2.159.1 (#5208)
- deps-dev: bump ruff from 0.6.4 to 0.6.7 (#5207)
- deps-dev: bump aws-cdk from 2.157.0 to 2.159.1 (#5194)
- deps-dev: bump aws-cdk from 2.160.0 to 2.161.0 (#5309)
- deps-dev: bump ruff from 0.6.8 to 0.6.9 (#5308)
- deps-dev: bump cfn-lint from 1.15.2 to 1.16.0 (#5305)
- deps-dev: bump aws-cdk-aws-lambda-python-alpha from 2.160.0a0 to 2.161.0a0 (#5332)
- deps-dev: bump aws-cdk from 2.161.0 to 2.161.1 (#5327)
- deps-dev: bump mkdocs-material from 9.5.34 to 9.5.36 (#5210)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.272 to 0.1.273 (#5336)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.264 to 0.1.268 (#5216)
- deps-dev: bump multiprocess from 0.70.16 to 0.70.17 (#5275)
- deps-dev: bump boto3-stubs from 1.35.17 to 1.35.25 (#5218)
- deps-dev: bump bandit from 1.7.9 to 1.7.10 (#5214)
- deps-dev: bump cfn-lint from 1.12.4 to 1.15.0 (#5215)
- docs: recreate requirements.txt file for mkdocs container (#5246)
- tests: fix e2e tests in Idempotency utility (#5280)
v3.0.0 - 2024-09-23¶
Bug Fixes¶
- v3: revert unnecessary changes that impacts v3 (#5087)
Code Refactoring¶
- batch: add from future import annotations (#4993)
- batch_processing: mark batch_processor and async_batch_processor as deprecated (#4910)
- data_classes: add from future import annotations (#4939)
- data_masking: add from future import annotations (#4945)
- event_handler: add from future import annotations (#4992)
- event_handler: add from future import annotations in the Middlewares (#4975)
- feature_flags: add from future import annotations (#4960)
- general: drop pydantic v1 (#4305)
- idempotency: add from future import annotations (#4961)
- jmespath_utils: deprecate extract_data_from_envelope in favor of query (#4907)
- jmespath_utils: add from future import annotations (#4962)
- logging: add from future import annotations (#4940)
- metrics: add from future import annotations (#4944)
- middleware_factory: add from future import annotations (#4941)
- openapi: add from future import annotations (#4990)
- parameters: deprecate the config parameter in favor of boto_config (#4893)
- parameters: add top-level get_multiple method in SSMProvider class (#4785)
- parameters: add from future import annotations (#4976)
- parameters: increase default max_age (cache) to 5 minutes (#4279)
- parser: add from future import annotations (#4977)
- parser: add from future import annotations (#4983)
- shared: add from future import annotations (#4942)
- streaming: add from future import annotations (#4987)
- tracing: add from future import annotations (#4943)
- typing: add from future import annotations (#4985)
- typing: enable TCH, UP and FA100 ruff rules (#5017)
- typing: reduce aws_lambda_powertools.shared.types usage (#4896)
- typing: enable boto3 implicit type annotations (#4692)
- typing: move more types into TYPE_CHECKING (#5088)
- validation: add from future import annotations (#4984)
Documentation¶
- upgrade_guide: create upgrade guide from v2 to v3 (#5028)
Features¶
- data_classes: return empty dict or list instead of None (#4606)
- event_handler: Ensure Bedrock Agents resolver works with Pydantic v2 (#5156)
- idempotency: simplify access to expiration time in
DataRecord
class (#5082) - lambda-layer: add pipeline to build Lambda layer in v3 (#4826)
- parser: Adds DDB deserialization to DynamoDBStreamChangedRecordModel (#4401)
- parser: Allow primitive data types to be parsed using TypeAdapter (#4502)
- v3: merging develop into v3 (#5160)
Maintenance¶
- version bump
- ci: fix bump poetry version (#5211)
- ci: fix working-directory in v3 layer pipeline (#5199)
- ci: fix Redis e2e tests in v3 branch (#4852)
- ci: fix e2e tests in v3 branch (#4848)
- ci: add the aws-encryption-sdk dependency in the Lambda layer (#4630)
- ci: bump pydantic library to 2.0+ and boto3 to 1.34.32 (#4235)
- v3: merging develop into v3 - 15/05/2024 (#4335)
- v3: merging develop into v3 (#4267)
v2.43.1 - 2024-08-12¶
Bug Fixes¶
- event_source: fix regression when working with zero numbers in DynamoDBStreamEvent (#4932)
Maintenance¶
- version bump
- ci: new pre-release 2.43.1a0 (#4920)
- ci: new pre-release 2.43.1a1 (#4926)
- ci: new pre-release 2.42.1a9 (#4912)
- deps-dev: bump ruff from 0.5.6 to 0.5.7 (#4918)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.234 to 0.1.238 (#4917)
- deps-dev: bump mypy-boto3-ssm from 1.34.132 to 1.34.158 in the boto-typing group (#4921)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.238 to 0.1.242 (#4922)
- deps-dev: bump cfn-lint from 1.9.6 to 1.9.7 (#4923)
- deps-dev: bump cfn-lint from 1.9.5 to 1.9.6 (#4916)
v2.43.0 - 2024-08-08¶
Bug Fixes¶
- data_class: ensure DynamoDBStreamEvent conforms to decimal limits (#4863)
Code Refactoring¶
- test: make CORS test consistent with expected behavior (#4882)
- tracer: make capture_lambda_handler type more generic (#4796)
Documentation¶
- fix type vs. field in comment (#4832)
- public_reference: add CHS Inc. as a public reference (#4885)
- public_reference: add LocalStack as a public reference (#4858)
- public_reference: add Caylent as a public reference (#4822)
Features¶
- metrics: add unit None for CloudWatch EMF Metrics (#4904)
- validation: returns output from validate function (#4839)
Maintenance¶
- version bump
- ci: new pre-release 2.42.1a5 (#4868)
- ci: new pre-release 2.42.1a8 (#4903)
- ci: new pre-release 2.42.1a0 (#4827)
- ci: new pre-release 2.42.1a7 (#4894)
- ci: new pre-release 2.42.1a1 (#4837)
- ci: new pre-release 2.42.1a3 (#4856)
- ci: new pre-release 2.42.1a4 (#4864)
- ci: new pre-release 2.42.1a6 (#4884)
- ci: new pre-release 2.42.1a2 (#4847)
- 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)
- deps: bump actions/upload-artifact from 4.3.5 to 4.3.6 (#4901)
- deps: bump actions/upload-artifact from 4.3.4 to 4.3.5 (#4871)
- deps: bump ossf/scorecard-action from 2.3.3 to 2.4.0 (#4829)
- deps: bump squidfunk/mkdocs-material from
257eca8
to9919d6e
in /docs (#4878) - deps: bump docker/setup-buildx-action from 3.5.0 to 3.6.1 (#4844)
- deps: bump redis from 5.0.7 to 5.0.8 (#4854)
- deps-dev: bump ruff from 0.5.5 to 0.5.6 (#4874)
- deps-dev: bump mypy-boto3-cloudwatch from 1.34.83 to 1.34.153 in the boto-typing group (#4887)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.224 to 0.1.228 (#4867)
- deps-dev: bump cfn-lint from 1.9.1 to 1.9.3 (#4866)
- deps-dev: bump sentry-sdk from 2.11.0 to 2.12.0 (#4861)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.228 to 0.1.230 (#4876)
- deps-dev: bump black from 24.4.2 to 24.8.0 (#4873)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.223 to 0.1.224 (#4855)
- deps-dev: bump mypy-boto3-logs from 1.34.66 to 1.34.151 in the boto-typing group (#4853)
- deps-dev: bump coverage from 7.6.0 to 7.6.1 (#4888)
- deps-dev: bump cfn-lint from 1.8.2 to 1.9.1 (#4851)
- deps-dev: bump aws-cdk-aws-lambda-python-alpha from 2.150.0a0 to 2.151.0a0 (#4889)
- deps-dev: bump aws-cdk from 2.150.0 to 2.151.0 (#4872)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.219 to 0.1.222 (#4836)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.222 to 0.1.223 (#4843)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.233 to 0.1.234 (#4909)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.230 to 0.1.231 (#4891)
- deps-dev: bump cfn-lint from 1.9.3 to 1.9.5 (#4890)
- deps-dev: bump pytest from 8.3.1 to 8.3.2 (#4824)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.231 to 0.1.233 (#4900)
- deps-dev: bump mkdocs-material from 9.5.30 to 9.5.31 (#4877)
- deps-dev: bump types-redis from 4.6.0.20240425 to 4.6.0.20240726 (#4831)
- deps-dev: bump ruff from 0.5.4 to 0.5.5 (#4823)
- deps-dev: bump aws-cdk-lib from 2.150.0 to 2.151.0 (#4875)
- deps-dev: bump types-redis from 4.6.0.20240726 to 4.6.0.20240806 (#4899)
- maintenance: add Banxware customer refernece (#4841)
v2.42.0 - 2024-07-25¶
Bug Fixes¶
- idempotency: ensure in_progress_expiration field is set on Lambda timeout. (#4773)
Documentation¶
- idempotency: improve navigation, wording, and new section on guarantees (#4613)
Features¶
- event_handler: add OpenAPI extensions (#4703)
Maintenance¶
- version bump
- ci: new pre-release 2.41.1a4 (#4772)
- ci: new pre-release 2.41.1a0 (#4749)
- ci: new pre-release 2.41.1a1 (#4756)
- ci: new pre-release 2.41.1a2 (#4758)
- ci: new pre-release 2.41.1a9 (#4808)
- ci: new pre-release 2.41.1a3 (#4766)
- ci: new pre-release 2.41.1a8 (#4802)
- ci: new pre-release 2.41.1a5 (#4777)
- ci: new pre-release 2.41.1a6 (#4783)
- ci: new pre-release 2.41.1a7 (#4792)
- deps: bump github.com/aws/aws-sdk-go-v2/config from 1.27.26 to 1.27.27 in /layer/scripts/layer-balancer in the layer-balancer group (#4779)
- deps: bump aws-actions/closed-issue-message from 8b6324312193476beecf11f8e8539d73a3553bf4 to 80edfc24bdf1283400eb04d20a8a605ae8bf7d48 (#4786)
- deps: bump actions/dependency-review-action from 4.3.3 to 4.3.4 (#4753)
- deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 3 updates (#4745)
- deps: bump datadog-lambda from 6.96.0 to 6.97.0 (#4770)
- deps: bump docker/setup-buildx-action from 3.4.0 to 3.5.0 (#4801)
- deps: bump docker/setup-qemu-action from 3.1.0 to 3.2.0 (#4800)
- deps-dev: bump cfn-lint from 1.8.1 to 1.8.2 (#4788)
- deps-dev: bump pytest-asyncio from 0.23.7 to 0.23.8 (#4776)
- deps-dev: bump pytest from 8.2.2 to 8.3.1 (#4799)
- deps-dev: bump aws-cdk-lib from 2.148.1 to 2.150.0 (#4806)
- deps-dev: bump ruff from 0.5.3 to 0.5.4 (#4798)
- deps-dev: bump cfn-lint from 1.6.1 to 1.8.1 (#4780)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.211 to 0.1.212 (#4769)
- deps-dev: bump ruff from 0.5.2 to 0.5.3 (#4781)
- deps-dev: bump mkdocs-material from 9.5.28 to 9.5.29 (#4764)
- deps-dev: bump aws-cdk from 2.148.0 to 2.149.0 (#4765)
- deps-dev: bump ruff from 0.5.1 to 0.5.2 (#4762)
- deps-dev: bump sentry-sdk from 2.9.0 to 2.10.0 (#4763)
- deps-dev: bump aws-cdk from 2.149.0 to 2.150.0 (#4805)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.207 to 0.1.211 (#4760)
- deps-dev: bump mypy-boto3-dynamodb from 1.34.131 to 1.34.148 in the boto-typing group (#4812)
- deps-dev: bump sentry-sdk from 2.10.0 to 2.11.0 (#4815)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.212 to 0.1.219 (#4817)
- deps-dev: bump cfn-lint from 1.6.0 to 1.6.1 (#4751)
- deps-dev: bump mkdocs-material from 9.5.29 to 9.5.30 (#4807)
- deps-dev: bump aws-cdk-aws-lambda-python-alpha from 2.148.1a0 to 2.150.0a0 (#4813)
- deps-dev: bump cfn-lint from 1.5.3 to 1.6.0 (#4747)
- deps-dev: bump coverage from 7.5.4 to 7.6.0 (#4746)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.206 to 0.1.207 (#4748)
- deps-dev: bump mypy-boto3-secretsmanager from 1.34.128 to 1.34.145 in the boto-typing group (#4787)
- docs: Add lambda layer policy to versioning docs (#4811)
- logger: use package logger over source logger to reduce noise (#4793)
v2.41.0 - 2024-07-11¶
Bug Fixes¶
- event_handler: make the max_age attribute comply with RFC specification (#4731)
- event_handler: disable allow-credentials header when origin allow_origin is * (#4638)
- event_handler: convert null body to empty string in ALBResolver to avoid HTTP 502 (#4683)
- event_handler: custom serializer recursive values when using data validation (#4664)
Documentation¶
- i-made-this: Bedrock agents with Powertools for AWS Lambda (#4705)
- public_reference: add BusPatrol as a public reference (#4713)
Features¶
- batch: add option to not raise
BatchProcessingError
exception when the entire batch fails (#4719) - feature_flags: allow customers to bring their own boto3 client and session (#4717)
- parser: add support for API Gateway Lambda authorizer events (#4718)
Maintenance¶
- version bump
- Add token to codecov action (#4682)
- ci: new pre-release 2.40.2a5 (#4706)
- ci: new pre-release 2.40.2a0 (#4665)
- ci: new pre-release 2.40.2a8 (#4737)
- ci: new pre-release 2.40.2a7 (#4726)
- ci: new pre-release 2.40.2a1 (#4669)
- ci: new pre-release 2.40.2a2 (#4679)
- ci: new pre-release 2.40.2a3 (#4688)
- ci: new pre-release 2.40.2a6 (#4715)
- ci: new pre-release 2.40.2a4 (#4694)
- deps: bump docker/setup-qemu-action from 3.0.0 to 3.1.0 (#4685)
- deps: bump actions/setup-python from 5.1.0 to 5.1.1 (#4732)
- deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 3 updates (#4733)
- deps: bump actions/upload-artifact from 4.3.3 to 4.3.4 (#4698)
- deps: bump actions/download-artifact from 4.1.7 to 4.1.8 (#4699)
- deps: bump actions/setup-node from 4.0.2 to 4.0.3 (#4725)
- deps: bump zgosalvez/github-actions-ensure-sha-pinned-actions from 3.0.9 to 3.0.10 (#4678)
- deps: bump docker/setup-buildx-action from 3.3.0 to 3.4.0 (#4693)
- deps: bump zipp from 3.17.0 to 3.19.1 in /docs (#4720)
- deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 3 updates (#4659)
- deps: bump certifi from 2024.6.2 to 2024.7.4 (#4700)
- deps: bump github.com/aws/aws-sdk-go-v2/config from 1.27.23 to 1.27.24 in /layer/scripts/layer-balancer in the layer-balancer group (#4684)
- deps-dev: bump mkdocs-material from 9.5.27 to 9.5.28 (#4676)
- deps-dev: bump cfn-lint from 1.4.2 to 1.5.0 (#4675)
- deps-dev: bump aws-cdk-aws-lambda-python-alpha from 2.147.3a0 to 2.148.0a0 (#4722)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.200 to 0.1.201 (#4687)
- deps-dev: bump aws-cdk-lib from 2.147.2 to 2.147.3 (#4674)
- deps-dev: bump zipp from 3.17.0 to 3.19.1 in /layer (#4721)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.202 to 0.1.205 (#4723)
- deps-dev: bump aws-cdk-aws-lambda-python-alpha from 2.147.2a0 to 2.147.3a0 (#4686)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.199 to 0.1.200 (#4677)
- deps-dev: bump aws-cdk-lib from 2.147.3 to 2.148.0 (#4710)
- deps-dev: bump aws-cdk from 2.147.2 to 2.147.3 (#4672)
- deps-dev: bump mypy-boto3-s3 from 1.34.120 to 1.34.138 in the boto-typing group (#4673)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.201 to 0.1.202 (#4696)
- deps-dev: bump cfn-lint from 1.5.1 to 1.5.2 (#4724)
- deps-dev: bump ruff from 0.5.0 to 0.5.1 (#4697)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.198 to 0.1.199 (#4668)
- deps-dev: bump aws-cdk-aws-lambda-python-alpha from 2.147.1a0 to 2.147.2a0 (#4667)
- deps-dev: bump aws-cdk from 2.147.3 to 2.148.0 (#4708)
- deps-dev: bump cfn-lint from 1.5.2 to 1.5.3 (#4734)
- deps-dev: bump sentry-sdk from 2.8.0 to 2.9.0 (#4735)
- deps-dev: bump cfn-lint from 1.4.1 to 1.4.2 (#4660)
- deps-dev: bump aws-cdk-lib from 2.147.1 to 2.147.2 (#4661)
- deps-dev: bump cfn-lint from 1.5.0 to 1.5.1 (#4711)
- deps-dev: bump aws-cdk from 2.147.1 to 2.147.2 (#4657)
- deps-dev: bump ruff from 0.4.10 to 0.5.0 (#4644)
- deps-dev: bump sentry-sdk from 2.7.1 to 2.8.0 (#4712)
- layers: downgrade aws cdk to 2.145.0 (#4739)
v2.40.1 - 2024-06-28¶
Bug Fixes¶
- event_handler: current_event regression AppSyncResolver Router (#4652)
Maintenance¶
- version bump
- ci: new pre-release 2.40.1a1 (#4653)
- ci: new pre-release 2.40.1a0 (#4648)
- deps-dev: bump cfn-lint from 1.3.7 to 1.4.1 (#4646)
- deps-dev: bump sentry-sdk from 2.7.0 to 2.7.1 (#4645)
v2.40.0 - 2024-06-27¶
Bug Fixes¶
- event_sources: change partition and offset field types in KafkaEventRecord (#4515)
Documentation¶
- homepage: Fix homepage link (#4587)
- i-made-this: add new article about best practices for accelerating serverless development (#4518)
- public reference: add Brsk as a public reference (#4597)
Features¶
- event-handler: add appsync batch resolvers (#1998)
- validation: support JSON Schema referencing in validation utils (#4508)
Maintenance¶
- version bump
- ci: add the Metrics feature to nox tests (#4552)
- ci: new pre-release 2.39.2a5 (#4636)
- ci: add the Streaming feature to nox tests (#4575)
- ci: new pre-release 2.39.2a4 (#4629)
- ci: new pre-release 2.39.2a3 (#4620)
- ci: add the Event Handler feature to nox tests (#4581)
- ci: add the Data Class feature to nox tests (#4583)
- ci: add the Parser feature to nox tests (#4584)
- ci: add the Idempotency feature to nox tests (#4585)
- ci: new pre-release 2.39.2a2 (#4610)
- ci: introduce tests with Nox (#4537)
- ci: new pre-release 2.39.2a1 (#4598)
- ci: add the Tracer feature to nox tests (#4567)
- ci: add the Middleware Factory feature to nox tests (#4568)
- ci: add the Parameters feature to nox tests (#4569)
- ci: add the Batch Processor feature to nox tests (#4586)
- ci: add the Feature Flags feature to nox tests (#4570)
- ci: add the Validation feature to nox tests (#4571)
- ci: introduce daily pre-releases (#4535)
- ci: new pre-release 2.39.2a0 (#4590)
- ci: add the Data Masking feature to nox tests (#4574)
- ci: add the Typing feature to nox tests (#4572)
- deps: bump pypa/gh-action-pypi-publish from 1.8.14 to 1.9.0 (#4592)
- deps: bump pydantic from 1.10.16 to 1.10.17 (#4595)
- deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 3 updates (#4565)
- deps: bump squidfunk/mkdocs-material from
96abcbb
to257eca8
in /docs (#4540) - deps: bump zgosalvez/github-actions-ensure-sha-pinned-actions from 3.0.7 to 3.0.9 (#4539)
- deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 3 updates (#4546)
- deps: bump redis from 5.0.5 to 5.0.6 (#4527)
- deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 3 updates (#4580)
- deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 2 updates (#4635)
- deps: bump codecov/codecov-action from 4.4.1 to 4.5.0 (#4514)
- deps: bump pypa/gh-action-pypi-publish from 1.8.14 to 1.9.0 (#4538)
- deps: bump fastjsonschema from 2.19.1 to 2.20.0 (#4543)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.189 to 0.1.192 (#4578)
- deps-dev: bump sentry-sdk from 2.5.1 to 2.6.0 (#4579)
- deps-dev: bump cfn-lint from 0.87.7 to 1.3.0 (#4577)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.192 to 0.1.193 (#4596)
- deps-dev: bump ruff from 0.4.9 to 0.4.10 (#4594)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.193 to 0.1.194 (#4601)
- deps-dev: bump aws-cdk from 2.146.0 to 2.147.0 (#4604)
- deps-dev: bump aws-cdk-lib from 2.146.0 to 2.147.0 (#4603)
- deps-dev: bump filelock from 3.15.1 to 3.15.3 (#4576)
- deps-dev: bump hvac from 2.2.0 to 2.3.0 (#4563)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.188 to 0.1.189 (#4564)
- deps-dev: bump cfn-lint from 1.3.0 to 1.3.3 (#4602)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.194 to 0.1.198 (#4627)
- deps-dev: bump aws-cdk-aws-lambda-python-alpha from 2.146.0a0 to 2.147.0a0 (#4619)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.184 to 0.1.188 (#4550)
- deps-dev: bump mkdocs-material from 9.5.26 to 9.5.27 (#4544)
- deps-dev: bump aws-cdk-aws-lambda-python-alpha from 2.145.0a0 to 2.146.0a0 (#4542)
- deps-dev: bump urllib3 from 1.26.18 to 1.26.19 in /layer (#4547)
- deps-dev: bump aws-cdk-lib from 2.145.0 to 2.146.0 (#4526)
- deps-dev: bump aws-cdk from 2.147.0 to 2.147.1 (#4614)
- deps-dev: bump coverage from 7.5.3 to 7.5.4 (#4617)
- deps-dev: bump aws-cdk-lib from 2.147.0 to 2.147.1 (#4615)
- deps-dev: bump mypy-boto3-secretsmanager from 1.34.125 to 1.34.128 in the boto-typing group (#4541)
- deps-dev: bump pdoc3 from 0.10.0 to 0.11.0 (#4618)
- deps-dev: bump mypy-boto3-secretsmanager from 1.34.109 to 1.34.125 in the boto-typing group (#4509)
- deps-dev: bump mike from 2.1.1 to 2.1.2 (#4616)
- deps-dev: bump mypy from 1.10.0 to 1.10.1 (#4624)
- deps-dev: bump filelock from 3.15.3 to 3.15.4 (#4626)
- deps-dev: bump ruff from 0.4.8 to 0.4.9 (#4528)
- deps-dev: bump cfn-lint from 1.3.3 to 1.3.5 (#4628)
- deps-dev: bump mypy-boto3-ssm from 1.34.91 to 1.34.132 in the boto-typing group (#4623)
- deps-dev: bump aws-cdk from 2.145.0 to 2.146.0 (#4525)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.182 to 0.1.184 (#4529)
- deps-dev: bump bandit from 1.7.8 to 1.7.9 (#4511)
- deps-dev: bump cfn-lint from 0.87.6 to 0.87.7 (#4513)
- deps-dev: bump filelock from 3.14.0 to 3.15.1 (#4512)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.179 to 0.1.182 (#4510)
- deps-dev: bump cfn-lint from 1.3.5 to 1.3.7 (#4634)
- deps-dev: bump mypy-boto3-dynamodb from 1.34.114 to 1.34.131 in the boto-typing group (#4593)
- governance: fix errors when creating Gitpod environment (#4532)
- layers: downgrade aws cdk to 2.145.0 (#4640)
v2.39.1 - 2024-06-13¶
Bug Fixes¶
- event_handler: regression making pydantic required (it should not) (#4500)
Maintenance¶
- version bump
v2.39.0 - 2024-06-13¶
Bug Fixes¶
- event_handler: do not skip middleware and exception handlers on 404 error (#4492)
- event_handler: raise more specific SerializationError exception for unsupported types in data validation (#4415)
- event_handler: security scheme unhashable list when working with router (#4421)
- event_handler: CORS Origin for ALBResolver multi-headers (#4385)
- idempotency: POWERTOOLS_IDEMPOTENCY_DISABLED should respect truthy values (#4391)
Documentation¶
- homepage: Change installation to CDK v2 (#4351)
- public reference: add Recast as a public reference (#4491)
Features¶
- event_source: add CloudFormationCustomResourceEvent data class. (#4342)
- events: Update and Add Cognito User Pool Events (#4423)
Maintenance¶
- version bump
- deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 3 updates (#4369)
- deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 3 updates (#4468)
- deps: bump datadog-lambda from 5.94.0 to 6.95.0 (#4471)
- deps: bump redis from 5.0.4 to 5.0.5 (#4464)
- deps: bump aws-encryption-sdk from 3.2.0 to 3.3.0 (#4393)
- deps: bump codecov/codecov-action from 4.4.0 to 4.4.1 (#4376)
- deps: bump squidfunk/mkdocs-material from
8a87f05
to96abcbb
in /docs (#4461) - deps: bump typing-extensions from 4.12.1 to 4.12.2 (#4470)
- deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 2 updates (#4396)
- deps: bump aws-xray-sdk from 2.13.0 to 2.13.1 (#4379)
- deps: bump actions/dependency-review-action from 4.3.2 to 4.3.3 (#4456)
- deps: bump aws-xray-sdk from 2.13.1 to 2.14.0 (#4453)
- deps: bump typing-extensions from 4.11.0 to 4.12.0 (#4404)
- deps: bump squidfunk/mkdocs-material from
5358893
to8a87f05
in /docs (#4408) - deps: bump zgosalvez/github-actions-ensure-sha-pinned-actions from 3.0.6 to 3.0.7 (#4478)
- deps: bump squidfunk/mkdocs-material from
48d1914
to5358893
in /docs (#4377) - deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 3 updates (#4444)
- deps: bump pydantic from 1.10.15 to 1.10.16 (#4485)
- deps: bump datadog-lambda from 6.95.0 to 6.96.0 (#4489)
- deps: bump actions/checkout from 4.1.6 to 4.1.7 (#4493)
- deps: bump typing-extensions from 4.12.0 to 4.12.1 (#4440)
- deps: bump zgosalvez/github-actions-ensure-sha-pinned-actions from 3.0.5 to 3.0.6 (#4445)
- deps: bump requests from 2.31.0 to 2.32.0 (#4383)
- deps-dev: bump aws-cdk from 2.143.1 to 2.144.0 (#4443)
- deps-dev: bump aws-cdk-lib from 2.143.1 to 2.144.0 (#4441)
- deps-dev: bump ruff from 0.4.6 to 0.4.7 (#4435)
- deps-dev: bump aws-cdk-aws-lambda-python-alpha from 2.143.0a0 to 2.143.1a0 (#4433)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.164 to 0.1.169 (#4442)
- deps-dev: bump pytest from 8.2.1 to 8.2.2 (#4450)
- deps-dev: bump aws-cdk from 2.143.0 to 2.143.1 (#4430)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.163 to 0.1.164 (#4428)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.161 to 0.1.163 (#4425)
- deps-dev: bump cfn-lint from 0.87.5 to 0.87.6 (#4486)
- deps-dev: bump sentry-sdk from 2.3.1 to 2.4.0 (#4449)
- deps-dev: bump ruff from 0.4.5 to 0.4.6 (#4417)
- deps-dev: bump cfn-lint from 0.87.3 to 0.87.4 (#4419)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.159 to 0.1.161 (#4420)
- deps-dev: bump coverage from 7.5.2 to 7.5.3 (#4418)
- deps-dev: bump mypy-boto3-dynamodb from 1.34.113 to 1.34.114 in the boto-typing group (#4416)
- deps-dev: bump mkdocs-material from 9.5.24 to 9.5.25 (#4411)
- deps-dev: bump aws-cdk-lib from 2.143.0 to 2.143.1 (#4429)
- deps-dev: bump aws-cdk-aws-lambda-python-alpha from 2.142.1a0 to 2.143.0a0 (#4410)
- deps-dev: bump mypy-boto3-dynamodb from 1.34.97 to 1.34.113 in the boto-typing group (#4409)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.158 to 0.1.159 (#4412)
- deps-dev: bump coverage from 7.5.1 to 7.5.2 (#4413)
- deps-dev: bump aws-cdk-aws-lambda-python-alpha from 2.143.1a0 to 2.144.0a0 (#4448)
- deps-dev: bump mypy-boto3-s3 from 1.34.105 to 1.34.120 in the boto-typing group (#4452)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.169 to 0.1.173 (#4459)
- deps-dev: bump aws-cdk-lib from 2.142.1 to 2.143.0 (#4403)
- deps-dev: bump aws-cdk from 2.142.1 to 2.143.0 (#4402)
- deps-dev: bump ruff from 0.4.4 to 0.4.5 (#4399)
- deps-dev: bump sentry-sdk from 2.2.1 to 2.3.1 (#4398)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.157 to 0.1.158 (#4397)
- deps-dev: bump ruff from 0.4.7 to 0.4.8 (#4455)
- deps-dev: bump sentry-sdk from 2.4.0 to 2.5.0 (#4462)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.155 to 0.1.157 (#4394)
- deps-dev: bump mkdocs-material from 9.5.25 to 9.5.26 (#4463)
- deps-dev: bump mypy-boto3-cloudformation from 1.34.84 to 1.34.111 in the boto-typing group (#4392)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.154 to 0.1.155 (#4386)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.173 to 0.1.174 (#4466)
- deps-dev: bump pytest-asyncio from 0.23.6 to 0.23.7 (#4387)
- deps-dev: bump sentry-sdk from 2.2.0 to 2.2.1 (#4388)
- deps-dev: bump ijson from 3.2.3 to 3.3.0 (#4465)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.152 to 0.1.154 (#4382)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.174 to 0.1.175 (#4472)
- deps-dev: bump mypy-boto3-secretsmanager from 1.34.107 to 1.34.109 in the boto-typing group (#4378)
- deps-dev: bump sentry-sdk from 2.5.0 to 2.5.1 (#4469)
- deps-dev: bump cfn-lint from 0.87.4 to 0.87.5 (#4479)
- deps-dev: bump mkdocs-material from 9.5.23 to 9.5.24 (#4380)
- deps-dev: bump pytest from 8.2.0 to 8.2.1 (#4381)
- deps-dev: bump aws-cdk from 2.144.0 to 2.145.0 (#4482)
- deps-dev: bump aws-cdk-lib from 2.144.0 to 2.145.0 (#4481)
- deps-dev: bump aws-cdk-aws-lambda-python-alpha from 2.141.0a0 to 2.142.1a0 (#4367)
- deps-dev: bump aws-cdk-aws-lambda-python-alpha from 2.144.0a0 to 2.145.0a0 (#4487)
- deps-dev: bump aws-cdk from 2.142.0 to 2.142.1 (#4366)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.150 to 0.1.152 (#4368)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.176 to 0.1.179 (#4488)
- deps-dev: bump cfn-lint from 0.87.2 to 0.87.3 (#4370)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.175 to 0.1.176 (#4480)
- libraries: add jmespath as a required dependency (#4422)
v2.38.1 - 2024-05-17¶
Bug Fixes¶
- logger: reverting logger child modification (#4363)
Maintenance¶
- version bump
v2.38.0 - 2024-05-17¶
Bug Fixes¶
- ci: apply lessons learned to monthly roadmap reminder cross-repo (#4078)
- event-sources: sane defaults for authorizer v1 and v2 (#4298)
- logger: correctly pick powertools or custom handler in custom environments (#4295)
- parser: make etag optional field on S3 notification events (#4173)
- typing: resolved_headers_field is not Optional (#4148)
Code Refactoring¶
Documentation¶
- general: update documentation to add info about v3 (#4234)
- homepage: add link to new and official workshop (#4292)
- idempotency: fix highlight and import path (#4154)
- roadmap: april updates (#4181)
Features¶
- event_handler: add support for persisting authorization session in OpenAPI (#4312)
- event_handler: add decorator for HTTP HEAD verb (#4275)
- logger-utils: preserve log level for discovered third-party top-level loggers (#4299)
Maintenance¶
- version bump
- ci: bump upload artifact action to v4 (#4355)
- ci: add branch v3 to quality check and e2e actions (#4232)
- ci: bump download artifact action to v4 (#4358)
- deps: bump actions/download-artifact from 4.1.4 to 4.1.5 (#4161)
- deps: bump actions/checkout from 4.1.3 to 4.1.4 (#4206)
- deps: bump ossf/scorecard-action from 2.3.1 to 2.3.3 (#4315)
- deps: bump github.com/aws/aws-sdk-go-v2/config from 1.27.12 to 1.27.13 in /layer/scripts/layer-balancer in the layer-balancer group (#4319)
- deps: bump actions/download-artifact from 4.1.6 to 4.1.7 (#4205)
- deps: bump squidfunk/mkdocs-material from
521644b
toe309089
in /docs (#4216) - deps: bump squidfunk/mkdocs-material from
11d7ec0
to8ef47d7
in /docs (#4323) - deps: bump datadog-lambda from 5.92.0 to 5.93.0 (#4211)
- deps: bump redis from 5.0.3 to 5.0.4 (#4187)
- deps: bump actions/upload-artifact from 4.3.2 to 4.3.3 (#4177)
- deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 2 updates (#4302)
- deps: bump squidfunk/mkdocs-material from
8ef47d7
to48d1914
in /docs (#4336) - deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 3 updates (#4337)
- deps: bump squidfunk/mkdocs-material from
e309089
to98c9809
in /docs (#4236) - deps: bump actions/dependency-review-action from 4.3.1 to 4.3.2 (#4244)
- deps: bump zgosalvez/github-actions-ensure-sha-pinned-actions from 3.0.4 to 3.0.5 (#4281)
- deps: bump actions/checkout from 4.1.4 to 4.1.5 (#4282)
- deps: bump jinja2 from 3.1.3 to 3.1.4 in /docs (#4284)
- deps: bump codecov/codecov-action from 4.3.0 to 4.3.1 (#4252)
- deps: bump datadog-lambda from 5.93.0 to 5.94.0 (#4253)
- deps: bump actions/checkout from 4.1.2 to 4.1.3 (#4168)
- deps: bump actions/dependency-review-action from 4.2.5 to 4.3.1 (#4240)
- deps: bump actions/checkout from 4.1.5 to 4.1.6 (#4344)
- deps: bump squidfunk/mkdocs-material from
98c9809
to11d7ec0
in /docs (#4269) - deps: bump actions/upload-artifact from 4.3.1 to 4.3.2 (#4162)
- deps: bump codecov/codecov-action from 4.3.1 to 4.4.0 (#4328)
- deps: bump slsa-framework/slsa-github-generator from 1.10.0 to 2.0.0 (#4179)
- deps: bump actions/download-artifact from 4.1.5 to 4.1.6 (#4178)
- deps-dev: bump mkdocs-material from 9.5.20 to 9.5.21 (#4271)
- deps-dev: bump mike from 2.1.0 to 2.1.1 (#4268)
- deps-dev: bump cfn-lint from 0.87.0 to 0.87.1 (#4272)
- deps-dev: bump mike from 1.1.2 to 2.1.0 (#4258)
- deps-dev: bump aws-cdk-lib from 2.139.1 to 2.140.0 (#4259)
- deps-dev: bump aws-cdk-aws-lambda-python-alpha from 2.139.1a0 to 2.140.0a0 (#4270)
- deps-dev: bump aws-cdk-aws-lambda-python-alpha from 2.139.0a0 to 2.139.1a0 (#4261)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.133 to 0.1.134 (#4260)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.134 to 0.1.135 (#4273)
- deps-dev: bump mypy-boto3-dynamodb from 1.34.91 to 1.34.97 in the boto-typing group (#4257)
- deps-dev: bump sentry-sdk from 2.0.1 to 2.1.1 (#4287)
- deps-dev: bump aws-cdk-lib from 2.139.0 to 2.139.1 (#4248)
- deps-dev: bump cfn-lint from 0.86.4 to 0.87.0 (#4249)
- deps-dev: bump pytest-xdist from 3.5.0 to 3.6.1 (#4247)
- deps-dev: bump ruff from 0.4.2 to 0.4.3 (#4286)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.132 to 0.1.133 (#4246)
- deps-dev: bump jinja2 from 3.1.3 to 3.1.4 (#4283)
- deps-dev: bump aws-cdk from 2.139.0 to 2.139.1 (#4245)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.135 to 0.1.136 (#4285)
- deps-dev: bump filelock from 3.13.4 to 3.14.0 (#4241)
- deps-dev: bump hvac from 2.1.0 to 2.2.0 (#4238)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.131 to 0.1.132 (#4239)
- deps-dev: bump mkdocs-material from 9.5.19 to 9.5.20 (#4242)
- deps-dev: bump aws-cdk from 2.139.1 to 2.140.0 (#4256)
- deps-dev: bump pytest from 8.1.1 to 8.2.0 (#4237)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.136 to 0.1.139 (#4293)
- deps-dev: bump aws-cdk-lib from 2.141.0 to 2.142.1 (#4352)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.139 to 0.1.140 (#4301)
- deps-dev: bump sentry-sdk from 1.45.0 to 2.0.1 (#4223)
- deps-dev: bump mkdocs-material from 9.5.18 to 9.5.19 (#4224)
- deps-dev: bump black from 24.4.1 to 24.4.2 (#4222)
- deps-dev: bump aws-cdk-aws-lambda-python-alpha from 2.138.0a0 to 2.139.0a0 (#4225)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.130 to 0.1.131 (#4221)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.140 to 0.1.142 (#4307)
- deps-dev: bump ruff from 0.4.1 to 0.4.2 (#4212)
- deps-dev: bump aws-cdk-lib from 2.138.0 to 2.139.0 (#4213)
- deps-dev: bump aws-cdk from 2.138.0 to 2.139.0 (#4215)
- deps-dev: bump aws-cdk from 2.140.0 to 2.141.0 (#4306)
- deps-dev: bump types-redis from 4.6.0.20240423 to 4.6.0.20240425 (#4214)
- deps-dev: bump aws-cdk-lib from 2.140.0 to 2.141.0 (#4308)
- deps-dev: bump the boto-typing group with 2 updates (#4210)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.126 to 0.1.130 (#4209)
- deps-dev: bump ruff from 0.4.3 to 0.4.4 (#4309)
- deps-dev: bump aws-cdk-aws-lambda-python-alpha from 2.140.0a0 to 2.141.0a0 (#4318)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.142 to 0.1.144 (#4316)
- deps-dev: bump black from 24.4.0 to 24.4.1 (#4203)
- deps-dev: bump mypy from 1.9.0 to 1.10.0 (#4202)
- deps-dev: bump mypy-boto3-ssm from 1.34.61 to 1.34.91 in the boto-typing group (#4201)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.123 to 0.1.126 (#4188)
- deps-dev: bump cfn-lint from 0.87.1 to 0.87.2 (#4317)
- deps-dev: bump coverage from 7.4.4 to 7.5.0 (#4186)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.144 to 0.1.145 (#4325)
- deps-dev: bump types-redis from 4.6.0.20240417 to 4.6.0.20240423 (#4185)
- deps-dev: bump mkdocs-material from 9.5.21 to 9.5.22 (#4324)
- deps-dev: bump mypy-boto3-s3 from 1.34.91 to 1.34.105 in the boto-typing group (#4329)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.145 to 0.1.146 (#4330)
- deps-dev: bump cfn-lint from 0.86.3 to 0.86.4 (#4180)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.121 to 0.1.123 (#4176)
- deps-dev: bump mkdocs-material from 9.5.22 to 9.5.23 (#4338)
- deps-dev: bump aws-cdk-aws-lambda-python-alpha from 2.137.0a0 to 2.138.0a0 (#4169)
- deps-dev: bump aws-cdk from 2.141.0 to 2.142.0 (#4343)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.119 to 0.1.121 (#4167)
- deps-dev: bump ruff from 0.3.7 to 0.4.1 (#4166)
- deps-dev: bump mypy-boto3-secretsmanager from 1.34.72 to 1.34.107 in the boto-typing group (#4345)
- deps-dev: bump aws-cdk from 2.137.0 to 2.138.0 (#4157)
- deps-dev: bump aws-cdk-lib from 2.137.0 to 2.138.0 (#4160)
- deps-dev: bump sentry-sdk from 2.1.1 to 2.2.0 (#4348)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.146 to 0.1.150 (#4346)
- deps-dev: bump coverage from 7.5.0 to 7.5.1 (#4288)
- governance: add FastAPI third party license attribution (#4297)
v2.37.0 - 2024-04-18¶
Bug Fixes¶
- docs: clarified usage of validation with fine grained responses (#4101)
- event_source: fix typo in physicalname attribute for AmazonMQ events (#4053)
- typing: make the case_sensitive field a boolean only (#4128)
- typing: improve overloads to ensure the return type follows the default_value type (#4114)
Documentation¶
- we-made-this: new article on how to stream data with AWS Lambda & Powertools for AWS Lambda (#4068)
Features¶
- Idempotency: add feature for manipulating idempotent responses (#4037)
- event_handler: add support for OpenAPI security schemes (#4103)
- logger: add method to return currently configured keys (#4033)
Maintenance¶
- version bump
- ci: add monthly roadmap reminder workflow (#4075)
- ci: prevent deprecated custom runner from being used (#4061)
- deps: bump squidfunk/mkdocs-material from
065f3af
to6b124e1
in /docs (#4055) - deps: bump squidfunk/mkdocs-material from
3307665
to065f3af
in /docs (#4052) - deps: bump idna from 3.6 to 3.7 (#4121)
- deps: bump sqlparse from 0.4.4 to 0.5.0 (#4138)
- deps: bump squidfunk/mkdocs-material from
6b124e1
to521644b
in /docs (#4141) - deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 1 update (#4066)
- deps: bump pydantic from 1.10.14 to 1.10.15 (#4064)
- deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 3 updates (#4042)
- deps: bump golang.org/x/sync from 0.6.0 to 0.7.0 in /layer/scripts/layer-balancer in the layer-balancer group (#4071)
- deps: bump codecov/codecov-action from 4.1.1 to 4.2.0 (#4072)
- deps: bump datadog-lambda from 5.91.0 to 5.92.0 (#4038)
- deps: bump github.com/aws/aws-sdk-go-v2/config from 1.27.10 to 1.27.11 in /layer/scripts/layer-balancer in the layer-balancer group (#4079)
- deps: bump typing-extensions from 4.10.0 to 4.11.0 (#4080)
- deps: bump zgosalvez/github-actions-ensure-sha-pinned-actions from 3.0.3 to 3.0.4 (#4099)
- deps: bump codecov/codecov-action from 4.2.0 to 4.3.0 (#4098)
- deps: bump docker/setup-buildx-action from 3.2.0 to 3.3.0 (#4091)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.112 to 0.1.113 (#4136)
- deps-dev: bump aws-cdk from 2.135.0 to 2.136.0 (#4090)
- deps-dev: bump types-redis from 4.6.0.20240311 to 4.6.0.20240409 (#4094)
- deps-dev: bump aws-cdk-lib from 2.135.0 to 2.136.0 (#4092)
- deps-dev: bump cfn-lint from 0.86.1 to 0.86.2 (#4081)
- deps-dev: bump aws-cdk-aws-lambda-python-alpha from 2.135.0a0 to 2.136.0a0 (#4095)
- deps-dev: bump filelock from 3.13.3 to 3.13.4 (#4096)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.106 to 0.1.107 (#4082)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.107 to 0.1.110 (#4097)
- deps-dev: bump aws-cdk from 2.136.0 to 2.136.1 (#4106)
- deps-dev: bump aws-cdk-lib from 2.136.0 to 2.136.1 (#4107)
- deps-dev: bump sentry-sdk from 1.44.1 to 1.45.0 (#4108)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.110 to 0.1.112 (#4109)
- deps-dev: bump sentry-sdk from 1.44.0 to 1.44.1 (#4065)
- deps-dev: bump aws-cdk-aws-lambda-python-alpha from 2.134.0a0 to 2.135.0a0 (#4063)
- deps-dev: bump aws-cdk from 2.136.1 to 2.137.0 (#4115)
- deps-dev: bump the boto-typing group with 2 updates (#4062)
- deps-dev: bump mypy-boto3-cloudwatch from 1.34.75 to 1.34.83 in the boto-typing group (#4116)
- deps-dev: bump ruff from 0.3.5 to 0.3.7 (#4123)
- deps-dev: bump aws-cdk-lib from 2.136.1 to 2.137.0 (#4119)
- deps-dev: bump aws-cdk from 2.134.0 to 2.135.0 (#4058)
- deps-dev: bump aws-cdk-lib from 2.134.0 to 2.135.0 (#4057)
- deps-dev: bump mkdocs-material from 9.5.16 to 9.5.17 (#4056)
- deps-dev: bump aws-cdk-aws-lambda-python-alpha from 2.136.0a0 to 2.137.0a0 (#4124)
- deps-dev: bump mypy-boto3-cloudformation from 1.34.77 to 1.34.84 in the boto-typing group (#4126)
- deps-dev: bump ruff from 0.3.4 to 0.3.5 (#4049)
- deps-dev: bump mkdocs-material from 9.5.15 to 9.5.16 (#4050)
- deps-dev: bump the boto-typing group with 1 update (#4047)
- deps-dev: bump black from 24.3.0 to 24.4.0 (#4135)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.105 to 0.1.106 (#4048)
- deps-dev: bump cfn-lint from 0.86.2 to 0.86.3 (#4137)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.113 to 0.1.115 (#4142)
- deps-dev: bump aws-cdk-aws-lambda-python-alpha from 2.133.0a0 to 2.134.0a0 (#4039)
- deps-dev: bump mkdocs-material from 9.5.17 to 9.5.18 (#4143)
- deps-dev: bump types-redis from 4.6.0.20240409 to 4.6.0.20240417 (#4145)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.115 to 0.1.119 (#4150)
- deps-dev: bump aws-cdk-lib from 2.133.0 to 2.134.0 (#4031)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.104 to 0.1.105 (#4030)
- deps-dev: bump aws-cdk from 2.133.0 to 2.134.0 (#4032)
- deps-dev: bump the boto-typing group with 1 update (#4029)
- deps-dev: bump sentry-sdk from 1.43.0 to 1.44.0 (#4040)
- docs: update highlighted lines on the Typing examples (#4131)
v2.36.0 - 2024-03-27¶
Bug Fixes¶
- event_handler: always add 422 response to the schema (#3995)
- event_handler: make decoded_body field optional in ApiGateway resolver (#3937)
- tracer: add name sanitization for X-Ray subsegments (#4005)
Code Refactoring¶
- logger: add type annotation for append_keys method (#3988)
- parameters: improve typing for get_secret method (#3910)
Documentation¶
- batch: improved the example demonstrating how to create a custom partial processor. (#4024)
- bedrock-agents: fix type in Bedrock operation example (#3948)
- tutorial: fix "Simplifying with Tracer" section in the tutorial (#3962)
Features¶
- batch: add flag in SqsFifoProcessor to enable continuous message processing (#3954)
- data_classes: Add CloudWatchAlarmEvent data class (#3868)
- event-handler: add compress option when serving Swagger HTML (#3946)
- event_handler: define exception_handler directly from the router (#3979)
- metrics: allow custom timestamps for metrics (#4006)
- parameters: add feature for creating and updating Parameters and Secrets (#2858)
- tracer: auto-disable tracer when for AWS SAM and Chalice environments (#3949)
Maintenance¶
- version bump
- deps: bump squidfunk/mkdocs-material from
3678304
to6c81a89
in /docs (#3973) - deps: bump datadog-lambda from 5.89.0 to 5.90.0 (#3941)
- deps: bump actions/checkout from 4.1.1 to 4.1.2 (#3939)
- deps: bump redis from 5.0.2 to 5.0.3 (#3929)
- deps: bump slsa-framework/slsa-github-generator from 1.9.0 to 1.10.0 (#3997)
- deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 1 update (#4001)
- deps: bump actions/dependency-review-action from 4.2.3 to 4.2.4 (#4012)
- deps: bump docker/setup-buildx-action from 3.1.0 to 3.2.0 (#3955)
- deps: bump actions/dependency-review-action from 4.1.3 to 4.2.3 (#3993)
- deps: bump datadog-lambda from 5.90.0 to 5.91.0 (#3958)
- deps: bump pypa/gh-action-pypi-publish from 1.8.12 to 1.8.14 (#3918)
- deps: bump squidfunk/mkdocs-material from
6c81a89
to3307665
in /docs (#4017) - deps: bump actions/dependency-review-action from 4.2.4 to 4.2.5 (#4023)
- deps: bump aws-encryption-sdk from 3.1.1 to 3.2.0 (#3983)
- deps: bump actions/setup-python from 5.0.0 to 5.1.0 (#4022)
- deps: bump codecov/codecov-action from 4.1.0 to 4.1.1 (#4021)
- deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 3 updates (#3972)
- deps-dev: bump filelock from 3.13.1 to 3.13.3 (#4014)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.90 to 0.1.91 (#3975)
- deps-dev: bump types-python-dateutil from 2.9.0.20240315 to 2.9.0.20240316 (#3977)
- deps-dev: bump mkdocs-material from 9.5.13 to 9.5.14 (#3978)
- deps-dev: bump aws-cdk-aws-lambda-python-alpha from 2.132.1a0 to 2.133.0a0 (#3976)
- deps-dev: bump the boto-typing group with 2 updates (#3974)
- deps-dev: bump the boto-typing group with 2 updates (#3982)
- deps-dev: bump ruff from 0.3.2 to 0.3.3 (#3967)
- deps-dev: bump aws-cdk-lib from 2.132.1 to 2.133.0 (#3965)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.91 to 0.1.94 (#3985)
- deps-dev: bump black from 24.2.0 to 24.3.0 (#3968)
- deps-dev: bump types-python-dateutil from 2.8.19.20240311 to 2.9.0.20240315 (#3966)
- deps-dev: bump aws-cdk from 2.132.1 to 2.133.0 (#3963)
- deps-dev: bump the boto-typing group with 1 update (#3964)
- deps-dev: bump pytest-asyncio from 0.23.5.post1 to 0.23.6 (#3984)
- deps-dev: bump the boto-typing group with 1 update (#3991)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.89 to 0.1.90 (#3957)
- deps-dev: bump the boto-typing group with 1 update (#3956)
- deps-dev: bump sentry-sdk from 1.42.0 to 1.43.0 (#3992)
- deps-dev: bump coverage from 7.4.3 to 7.4.4 (#3959)
- deps-dev: bump ruff from 0.3.3 to 0.3.4 (#3996)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.88 to 0.1.89 (#3952)
- deps-dev: bump sentry-sdk from 1.41.0 to 1.42.0 (#3951)
- deps-dev: bump the boto-typing group with 1 update (#3950)
- deps-dev: bump pytest-mock from 3.12.0 to 3.13.0 (#3999)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.94 to 0.1.96 (#4002)
- deps-dev: bump the boto-typing group with 2 updates (#3940)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.87 to 0.1.88 (#3942)
- deps-dev: bump pytest from 8.0.2 to 8.1.1 (#3943)
- deps-dev: bump aws-cdk-aws-lambda-python-alpha from 2.131.0a0 to 2.132.1a0 (#3944)
- deps-dev: bump cfn-lint from 0.86.0 to 0.86.1 (#3998)
- deps-dev: bump aws-cdk from 2.132.0 to 2.132.1 (#3938)
- deps-dev: bump aws-cdk-lib from 2.131.0 to 2.132.1 (#3936)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.96 to 0.1.99 (#4008)
- deps-dev: bump aws-cdk from 2.131.0 to 2.132.0 (#3928)
- deps-dev: bump types-redis from 4.6.0.20240218 to 4.6.0.20240311 (#3931)
- deps-dev: bump types-python-dateutil from 2.8.19.20240106 to 2.8.19.20240311 (#3932)
- deps-dev: bump pytest-mock from 3.13.0 to 3.14.0 (#4007)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.99 to 0.1.101 (#4015)
- deps-dev: bump ruff from 0.3.0 to 0.3.2 (#3925)
- deps-dev: bump mypy from 1.8.0 to 1.9.0 (#3921)
- deps-dev: bump bandit from 1.7.7 to 1.7.8 (#3920)
- deps-dev: bump pytest-cov from 4.1.0 to 5.0.0 (#4013)
- deps-dev: bump pytest-asyncio from 0.23.5 to 0.23.5.post1 (#3923)
- deps-dev: bump mkdocs-material from 9.5.14 to 9.5.15 (#4016)
- deps-dev: bump the boto-typing group with 2 updates (#3919)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.101 to 0.1.104 (#4020)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.83 to 0.1.87 (#3930)
v2.35.1 - 2024-03-08¶
Bug Fixes¶
- data_sources: ensure correct types on SQSMessageAttributes (#3898)
- event_handler: validate POST bodies on BedrockAgentResolver (#3903)
- internal: call ruff with correct args (#3901)
Features¶
- event_handler: use custom serializer during openapi serialization (#3900)
Maintenance¶
- version bump
- deps: bump aws-xray-sdk from 2.12.1 to 2.13.0 (#3906)
- deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 3 updates (#3911)
- deps: bump squidfunk/mkdocs-material from
7be068b
to3678304
in /docs (#3894) - deps: bump datadog-lambda from 5.88.0 to 5.89.0 (#3907)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.81 to 0.1.82 (#3896)
- deps-dev: bump sentry-sdk from 1.40.6 to 1.41.0 (#3905)
- deps-dev: bump mkdocs-material from 9.5.12 to 9.5.13 (#3895)
- deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.82 to 0.1.83 (#3908)
- deps-dev: bump the boto-typing group with 1 update (#3904)
v2.35.0 - 2024-03-06¶
Bug Fixes¶
- event_handler: OpenAPI schema version respects Pydantic version (#3860)
Code Refactoring¶
- logger: improve typing (#3869)
Documentation¶
- event_handler: add bedrock agent resolver documentation (#3602)
Maintenance¶
- version bump
- deps: bump docker/setup-buildx-action from 3.0.0 to 3.1.0 (#3864)
- deps: bump actions/download-artifact from 4.1.3 to 4.1.4 (#3875)
- deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 1 update (#3884)
- deps: bump squidfunk/mkdocs-material from
49d1bfd
to7be068b
in /docs (#3872) - deps: bump squidfunk/mkdocs-material from
43b898a
to49d1bfd
in /docs (#3857) - deps: bump codecov/codecov-action from 4.0.2 to 4.1.0 (#3856)
- deps: bump redis from 5.0.1 to 5.0.2 (#3867)
- deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 1 update (#3887)
- deps: bump actions/download-artifact from 4.1.2 to 4.1.3 (#3862)
- deps: bump pypa/gh-action-pypi-publish from 1.8.11 to 1.8.12 (#3863)
- deps-dev: bump aws-cdk-lib from 2.130.0 to 2.131.0 (#3881)
- deps-dev: bump cfn-lint from 0.85.3 to 0.86.0 (#3882)
- deps-dev: bump black from 24.1.1 to 24.2.0 (#3760)
- deps-dev: bump cfn-lint from 0.85.2 to 0.85.3 (#3861)
- deps-dev: bump aws-cdk from 2.130.0 to 2.131.0 (#3883)
- deps-dev: bump mkdocs-material from 9.5.11 to 9.5.12 (#3870)
- deps-dev: bump ruff from 0.2.2 to 0.3.0 (#3871)
- docs: add Bedrock Agents to feature list (#3889)
v2.34.2 - 2024-02-26¶
Bug Fixes¶
- typing: ensure return type is a str when default_value is set (#3840)
Documentation¶
- install: make minimum install the default option then extra (#3834)
Features¶
- event-source: add function to get multi-value query string params by name (#3846)
Maintenance¶
- version bump
- ci: remove aws-encryption-sdk from Lambda layer due to cffi being tied to python version (#3853)
- deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 3 updates (#3844)
- deps: bump cryptography from 42.0.2 to 42.0.4 (#3827)
- deps: bump codecov/codecov-action from 4.0.1 to 4.0.2 (#3842)
- deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 3 updates (#3835)
- deps-dev: bump httpx from 0.26.0 to 0.27.0 (#3828)
- deps-dev: bump aws-cdk from 2.128.0 to 2.129.0 (#3831)
- deps-dev: bump the boto-typing group with 1 update (#3836)
- deps-dev: bump aws-cdk from 2.129.0 to 2.130.0 (#3843)
- deps-dev: bump aws-cdk-lib from 2.128.0 to 2.130.0 (#3838)
v2.34.1 - 2024-02-21¶
Bug Fixes¶
- ci: inject PR_LABELS env for PR Label automation (#3819)
- ci: revert layer version bump write-only back to append (#3818)
- event-handler: return dict on missing multi_value_headers (#3824)
- idempotency: validate before saving to cache (#3822)
Maintenance¶
- version bump
- deps-dev: bump ruff from 0.2.1 to 0.2.2 (#3802)
- deps-dev: bump the boto-typing group with 2 updates (#3810)
v2.34.0 - 2024-02-21¶
Bug Fixes¶
- ci: create one layer artifact per region & merge (#3808)
- event-handler: multi-value query string and validation of scalar parameters (#3795)
- event-handler: swagger schema respects api stage (#3796)
- event-handler: handle aliased parameters e.g., Query(alias="categoryType") (#3766)
Code Refactoring¶
- feature-flags: add intersection tests; structure refinement (#3775)
Documentation¶
- feature_flags: fix incorrect line markers and envelope name (#3792)
- home: update layer version to 62 for package version 2.33.1 (#3778)
- home: add note about POWERTOOLS_DEV side effects in CloudWatch Logs (#3770)
- homepage: discord flat badge style; remove former devax email (#3768)
- homepage: remove leftover announcement banner (#3783)
- roadmap: latest roadmap update; use new grid to de-clutter homepage (#3755)
- we-made-this: add swagger post (#3799)
- we-made-this: add reinvent 2023 session (#3790)
Features¶
- feature_flags: add intersect actions for conditions (#3692)
Maintenance¶
- version bump
- deps: bump actions/dependency-review-action from 4.1.2 to 4.1.3 (#3813)
- deps: bump actions/dependency-review-action from 4.1.0 to 4.1.2 (#3800)
- deps: bump actions/dependency-review-action from 4.0.0 to 4.1.0 (#3771)
- deps: bump squidfunk/mkdocs-material from
62d3668
to43b898a
in /docs (#3801) - deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 3 updates (#3764)
- deps: bump squidfunk/mkdocs-material from
6a72238
to62d3668
in /docs (#3756) - deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 2 updates (#3814)
- deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 1 update (#3784)
- deps-dev: bump pytest from 8.0.0 to 8.0.1 (#3812)
- deps-dev: bump aws-cdk from 2.127.0 to 2.128.0 (#3776)
- deps-dev: bump the boto-typing group with 2 updates (#3797)
- deps-dev: bump cfn-lint from 0.85.1 to 0.85.2 (#3786)
- deps-dev: bump pytest-asyncio from 0.21.1 to 0.23.5 (#3773)
- deps-dev: bump aws-cdk-lib from 2.127.0 to 2.128.0 (#3777)
- deps-dev: bump sentry-sdk from 1.40.3 to 1.40.4 (#3765)
- deps-dev: bump sentry-sdk from 1.40.4 to 1.40.5 (#3805)
- deps-dev: bump mkdocs-material from 9.5.9 to 9.5.10 (#3803)
- deps-dev: bump types-redis from 4.6.0.20240106 to 4.6.0.20240218 (#3804)
- deps-dev: bump the boto-typing group with 1 update (#3757)
- deps-dev: bump aws-cdk-lib from 2.126.0 to 2.127.0 (#3758)
- deps-dev: bump aws-cdk from 2.126.0 to 2.127.0 (#3761)
- deps-dev: bump mkdocs-material from 9.5.8 to 9.5.9 (#3759)
- deps-dev: bump sentry-sdk from 1.40.2 to 1.40.3 (#3750)
- deps-dev: bump cfn-lint from 0.85.0 to 0.85.1 (#3749)
- deps-dev: bump coverage from 7.4.1 to 7.4.2 (#3811)
- tests: increase idempotency coverage with nested payload tampering tests (#3809)
v2.33.1 - 2024-02-09¶
Bug Fixes¶
- typing: make Response headers covariant (#3745)
Documentation¶
- Add nathan hanks post community (#3727)
Maintenance¶
- version bump
- ci: drop support for Python 3.7 (#3638)
- ci: enable Redis e2e tests (#3718)
- deps: bump actions/setup-node from 4.0.1 to 4.0.2 (#3737)
- deps: bump squidfunk/mkdocs-material from
e0d6c67
to6a72238
in /docs (#3735) - deps: bump actions/dependency-review-action from 3.1.5 to 4.0.0 (#3646)
- deps: bump release-drafter/release-drafter from 5.25.0 to 6.0.0 (#3699)
- deps: bump actions/download-artifact from 4.1.1 to 4.1.2 (#3725)
- deps: bump squidfunk/mkdocs-material from
a4a2029
toe0d6c67
in /docs (#3708) - deps: bump codecov/codecov-action from 3.1.6 to 4.0.1 (#3700)
- deps: bump actions/download-artifact from 3.0.2 to 4.1.1 (#3612)
- deps: revert aws-cdk-lib as a runtime dep (#3730)
- deps: bump actions/upload-artifact from 3.1.3 to 4.3.1 (#3714)
- deps-dev: bump cfn-lint from 0.83.8 to 0.85.0 (#3724)
- deps-dev: bump httpx from 0.24.1 to 0.26.0 (#3712)
- deps-dev: bump pytest from 7.4.4 to 8.0.0 (#3711)
- deps-dev: bump sentry-sdk from 1.40.1 to 1.40.2 (#3740)
- deps-dev: bump coverage from 7.2.7 to 7.4.1 (#3713)
- deps-dev: bump the boto-typing group with 7 updates (#3709)
- deps-dev: bump types-python-dateutil from 2.8.19.14 to 2.8.19.20240106 (#3720)
- deps-dev: bump mypy from 1.4.1 to 1.8.0 (#3710)
- deps-dev: bump ruff from 0.2.0 to 0.2.1 (#3742)
- deps-dev: bump isort from 5.11.5 to 5.13.2 (#3723)
- deps-dev: bump pytest-socket from 0.6.0 to 0.7.0 (#3721)
- deps-dev: bump ruff from 0.1.15 to 0.2.0 (#3702)
- deps-dev: bump aws-cdk from 2.125.0 to 2.126.0 (#3701)
- deps-dev: bump hvac from 1.2.1 to 2.1.0 (#3738)
- deps-dev: bump black from 23.12.1 to 24.1.1 (#3739)
v2.33.0 - 2024-02-02¶
Bug Fixes¶
- data-masking: fix and improve e2e tests for DataMasking (#3695)
- event-handler: strip whitespace from Content-Type headers during OpenAPI schema validation (#3677)
Documentation¶
- data-masking: add docs for data masking utility (#3186)
- metrics: fix empty metric warning filter (#3660)
- proccess: add versioning and maintenance policy (#3682)
Features¶
- event_handler: support Header parameter validation in OpenAPI schema (#3687)
- event_handler: add support for multiValueQueryStringParameters in OpenAPI schema (#3667)
Maintenance¶
- version bump
- deps: bump codecov/codecov-action from 3.1.5 to 3.1.6 (#3683)
- deps: bump codecov/codecov-action from 3.1.4 to 3.1.5 (#3674)
- deps: bump pydantic from 1.10.13 to 1.10.14 (#3655)
- deps: bump squidfunk/mkdocs-material from
58eef6c
to9aad7af
in /docs (#3670) - deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 1 update (#3665)
- deps: bump squidfunk/mkdocs-material from
9aad7af
toa4a2029
in /docs (#3679) - deps-dev: bump sentry-sdk from 1.39.2 to 1.40.0 (#3684)
- deps-dev: bump ruff from 0.1.14 to 0.1.15 (#3685)
- deps-dev: bump ruff from 0.1.13 to 0.1.14 (#3656)
- deps-dev: bump aws-cdk from 2.122.0 to 2.123.0 (#3673)
- deps-dev: bump aws-cdk from 2.124.0 to 2.125.0 (#3693)
- deps-dev: bump aws-cdk from 2.123.0 to 2.124.0 (#3678)
v2.32.0 - 2024-01-19¶
Bug Fixes¶
- event_handler: escape OpenAPI schema on Swagger UI (#3606)
Code Refactoring¶
- event-handler: Inject CSS and JS files into SwaggerUI route when no custom CDN is used. (#3562)
- event_handler: fix BedrockAgentResolver docstring (#3645)
Documentation¶
- homepage: add banner about Python 3.7 deprecation (#3618)
- i-made-this: added new article on how to create a serverless API with CDK and Powertools (#3605)
Features¶
- event_handler: add support for additional response models (#3591)
- event_handler: add support to download OpenAPI spec file (#3571)
- event_source: Add support for S3 batch operations (#3572)
- event_source: Add support for policyLevel field in CloudWatch Logs event and parser (#3624)
- idempotency: leverage new DynamoDB Failed conditional writes behavior with ReturnValuesOnConditionCheckFailure (#3446)
- idempotency: adding redis as idempotency backend (#2567)
Maintenance¶
- version bump
- ci: Disable Redis e2e until we drop Python 3.7 (#3652)
- ci: update boto3 library version to 1.26.164+ (#3632)
- deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 1 update (#3649)
- deps: bump jinja2 from 3.1.2 to 3.1.3 in /docs (#3620)
- deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 1 update (#3639)
- deps: bump gitpython from 3.1.37 to 3.1.41 in /docs (#3610)
- deps: bump squidfunk/mkdocs-material from
2f29d71
to58eef6c
in /docs (#3633) - deps: bump redis from 4.6.0 to 5.0.1 (#3613)
- deps-dev: bump gitpython from 3.1.40 to 3.1.41 (#3611)
- deps-dev: bump sentry-sdk from 1.39.1 to 1.39.2 (#3614)
- deps-dev: bump aws-cdk from 2.120.0 to 2.121.1 (#3634)
- deps-dev: bump jinja2 from 3.1.2 to 3.1.3 (#3619)
- deps-dev: bump cfn-lint from 0.83.7 to 0.83.8 (#3603)
- deps-dev: bump aws-cdk from 2.121.1 to 2.122.0 (#3648)
- deps-dev: bump ruff from 0.1.11 to 0.1.13 (#3625)
- deps-dev: bump aws-cdk from 2.118.0 to 2.120.0 (#3627)
v2.31.0 - 2024-01-05¶
Bug Fixes¶
- ci: fail dispatch analytics job when Lambda call fails (#3579)
Code Refactoring¶
- parameters: add overload signatures for get_parameter and get_parameters (#3534)
- parser: Improve error message when parsing models and envelopes (#3587)
Documentation¶
- middleware-factory: Fix and improve typing (#3569)
Features¶
- event-handler: add description to request body in OpenAPI schema (#3548)
- event_handler: support richer top level Tags (#3543)
- layers: add new comercial region Canada - ca-west-1 (#3549)
Maintenance¶
- version bump
- ci: Remove dev dependencies locked to Pydantic v1 within the Pydantic v2 workflow. (#3582)
- deps: bump squidfunk/mkdocs-material from
9af3b7e
to2f29d71
in /docs (#3559) - deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 4 updates (#3593)
- deps: bump actions/setup-node from 4.0.0 to 4.0.1 (#3535)
- deps: bump zgosalvez/github-actions-ensure-sha-pinned-actions from 3.0.2 to 3.0.3 (#3536)
- deps: bump actions/dependency-review-action from 3.1.4 to 3.1.5 (#3592)
- deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 2 updates (#3544)
- deps: bump fastjsonschema from 2.19.0 to 2.19.1 (#3567)
- deps-dev: bump ruff from 0.1.8 to 0.1.9 (#3550)
- deps-dev: bump aws-cdk from 2.115.0 to 2.116.1 (#3553)
- deps-dev: bump aws-cdk from 2.117.0 to 2.118.0 (#3589)
- deps-dev: bump cfn-lint from 0.83.6 to 0.83.7 (#3554)
- deps-dev: bump ruff from 0.1.9 to 0.1.10 (#3583)
- deps-dev: bump pytest from 7.4.3 to 7.4.4 (#3576)
- deps-dev: bump aws-cdk from 2.116.1 to 2.117.0 (#3565)
- deps-dev: bump ruff from 0.1.10 to 0.1.11 (#3588)
v2.30.2 - 2023-12-18¶
Bug Fixes¶
- event-handler: fix operation tags schema generation (#3528)
- event-handler: set default OpenAPI version to 3.0.0 (#3527)
- event-handler: upgrade Swagger UI to fix regressions (#3526)
Maintenance¶
- version bump
- deps-dev: bump cfn-lint from 0.83.5 to 0.83.6 (#3521)
v2.30.1 - 2023-12-15¶
Bug Fixes¶
- event_handler: allow responses and metadata when using Router (#3514)
Maintenance¶
- version bump
- deps-dev: bump aws-cdk from 2.114.1 to 2.115.0 (#3508)
- deps-dev: bump the boto-typing group with 11 updates (#3509)
- deps-dev: bump sentry-sdk from 1.39.0 to 1.39.1 (#3512)
v2.30.0 - 2023-12-14¶
Bug Fixes¶
- docs: make the Lambda Layer version consistent (#3498)
Documentation¶
- customer-reference: add Transformity as a customer reference (#3497)
Features¶
- general: add support for Python 3.12 (#3304)
Maintenance¶
- version bump
- deps: bump squidfunk/mkdocs-material from
876b39c
to9af3b7e
in /docs (#3486) - deps-dev: bump sentry-sdk from 1.38.0 to 1.39.0 (#3495)
- deps-dev: bump cfn-lint from 0.83.4 to 0.83.5 (#3487)
- deps-dev: bump ruff from 0.1.7 to 0.1.8 (#3501)
- deps-dev: bump the boto-typing group with 1 update (#3500)
- tests: temporarily disable E2E parallelism (#3484)
v2.29.1 - 2023-12-11¶
Bug Fixes¶
- logger: log non-ascii characters as is when JSON stringifying (#3475)
Maintenance¶
- version bump
- deps: bump squidfunk/mkdocs-material from
8c72011
to20241c6
in /docs (#3470) - deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 2 updates (#3476)
- deps: bump actions/setup-python from 4.8.0 to 5.0.0 (#3465)
- deps: bump squidfunk/mkdocs-material from
20241c6
to876b39c
in /docs (#3477) - deps: bump datadog-lambda from 5.84.0 to 5.85.0 (#3466)
- deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 2 updates (#3467)
- deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 3 updates (#3469)
- deps-dev: bump aws-cdk from 2.113.0 to 2.114.1 (#3464)
- deps-dev: bump the boto-typing group with 1 update (#3478)
v2.29.0 - 2023-12-06¶
Bug Fixes¶
- event_handler: serialize pydantic/dataclasses in exception handler (#3455)
- metrics: lambda_handler typing, and **kwargs preservation all middlewares (#3460)
Features¶
- event_sources: add get_context() to standardize API Gateway Lambda Authorizer context in v1 and v2 (#3454)
Maintenance¶
- version bump
- deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 3 updates (#3441)
- deps: bump zgosalvez/github-actions-ensure-sha-pinned-actions from 3.0.1 to 3.0.2 (#3449)
- deps: bump datadog-lambda from 5.83.0 to 5.84.0 (#3438)
- deps: bump cryptography from 41.0.4 to 41.0.6 (#3431)
- deps: bump squidfunk/mkdocs-material from
fc42bac
to8c72011
in /docs (#3416) - deps: bump actions/dependency-review-action from 3.1.3 to 3.1.4 (#3426)
- deps: bump actions/setup-python from 4.7.1 to 4.8.0 (#3456)
- deps: bump pypa/gh-action-pypi-publish from 1.8.10 to 1.8.11 (#3433)
- deps-dev: bump cfn-lint from 0.83.3 to 0.83.4 (#3450)
- deps-dev: bump ruff from 0.1.6 to 0.1.7 (#3458)
- deps-dev: bump sentry-sdk from 1.36.0 to 1.38.0 (#3435)
- deps-dev: bump aws-cdk-lib from 2.110.1 to 2.111.0 (#3428)
- deps-dev: bump aws-cdk from 2.112.0 to 2.113.0 (#3448)
- deps-dev: bump aws-cdk from 2.110.1 to 2.111.0 (#3418)
- deps-dev: bump the boto-typing group with 11 updates (#3427)
- deps-dev: bump the boto-typing group with 1 update (#3457)
- deps-dev: bump aws-cdk from 2.111.0 to 2.112.0 (#3440)
- layers: Update log retention to 10 years (#3424)
v2.28.1 - 2023-11-28¶
Bug Fixes¶
- event_handler: fix compress handling (#3420)
Maintenance¶
- version bump
v2.28.0 - 2023-11-23¶
Bug Fixes¶
- event_handler: hide error details by default (#3406)
- event_handler: fix format for OpenAPI path templating (#3399)
- event_handler: lazy load Pydantic to improve cold start (#3397)
- event_handler: allow fine grained Response with data validation (#3394)
- event_handler: apply serialization as the last operation for middlewares (#3392)
Documentation¶
- event_handlers: new data validation and OpenAPI feature (#3386)
Features¶
- event_handler: allow customers to catch request validation errors (#3396)
Maintenance¶
- version bump
- deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 3 updates (#3389)
- deps: bump datadog-lambda from 4.82.0 to 5.83.0 (#3401)
- deps-dev: bump aws-cdk-lib from 2.110.0 to 2.110.1 (#3402)
- deps-dev: bump pytest-xdist from 3.4.0 to 3.5.0 (#3387)
- deps-dev: bump the boto-typing group with 1 update (#3400)
- deps-dev: bump sentry-sdk from 1.35.0 to 1.36.0 (#3388)
- deps-dev: bump aws-cdk from 2.110.0 to 2.110.1 (#3403)
v2.27.1 - 2023-11-21¶
Bug Fixes¶
- logger: allow custom JMESPath functions to extract correlation ID (#3382)
Documentation¶
- event_handlers: note that CORS and / binary mime type don't work in API Gateway (#3383)
- logger: improve ALC messaging in the PT context (#3359)
- logger: Fix ALC link (#3352)
Features¶
- logger: implement addFilter/removeFilter to address static typing errors (#3380)
Maintenance¶
- version bump
- ci: lint and type checking removal in Pydantic v2 quality check (#3360)
- deps: bump actions/github-script from 7.0.0 to 7.0.1 (#3377)
- deps: bump squidfunk/mkdocs-material from
2c57e4d
tofc42bac
in /docs (#3375) - deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 2 updates (#3353)
- deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 1 update (#3374)
- deps: bump squidfunk/mkdocs-material from
f486dc9
to2c57e4d
in /docs (#3366) - deps-dev: bump cfn-lint from 0.83.2 to 0.83.3 (#3363)
- deps-dev: bump the boto-typing group with 11 updates (#3362)
- deps-dev: bump aws-cdk-lib from 2.108.1 to 2.110.0 (#3365)
- deps-dev: bump aws-cdk from 2.108.1 to 2.109.0 (#3354)
- deps-dev: bump aws-cdk from 2.109.0 to 2.110.0 (#3361)
- deps-dev: bump the boto-typing group with 2 updates (#3376)
- deps-dev: bump ruff from 0.1.5 to 0.1.6 (#3364)
v2.27.0 - 2023-11-16¶
Features¶
- logger: Adding support to new env variables (#3348)
Maintenance¶
- version bump
- deps: bump actions/github-script from 6.4.1 to 7.0.0 (#3330)
- deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 2 updates (#3340)
- deps: bump fastjsonschema from 2.18.1 to 2.19.0 (#3337)
- deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 3 updates (#3345)
- deps: bump actions/dependency-review-action from 3.1.2 to 3.1.3 (#3331)
- deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 1 update (#3329)
- deps: bump datadog-lambda from 4.81.0 to 4.82.0 (#3338)
- deps-dev: bump cfn-lint from 0.83.1 to 0.83.2 (#3335)
- deps-dev: bump aws-cdk from 2.108.0 to 2.108.1 (#3344)
- deps-dev: bump sentry-sdk from 1.34.0 to 1.35.0 (#3334)
- deps-dev: bump pytest-xdist from 3.3.1 to 3.4.0 (#3332)
- deps-dev: bump aws-cdk-lib from 2.107.0 to 2.108.1 (#3343)
- deps-dev: bump aws-cdk from 2.106.0 to 2.106.1 (#3328)
- deps-dev: bump aws-cdk-lib from 2.105.0 to 2.106.0 (#3319)
- deps-dev: bump aws-cdk from 2.105.0 to 2.106.0 (#3320)
- deps-dev: bump aws-cdk from 2.106.1 to 2.108.0 (#3341)
- deps-dev: bump aws-cdk-lib from 2.106.0 to 2.107.0 (#3333)
v2.26.1 - 2023-11-10¶
Bug Fixes¶
- event-handler: enable path parameters on Bedrock handler (#3312)
- event_handler: Router prefix mismatch regression after Middleware feat (#3302)
- event_source: kinesis subsequenceNumber str type to int (#3275)
- parameters: Respect POWERTOOLS_PARAMETERS_SSM_DECRYPT environment variable when getting multiple ssm parameters. (#3241)
Documentation¶
- customer-reference: add Vertex Pharmaceuticals as a customer reference (#3210)
- event-handler: fixed SchemaValidationMiddleware link (#3247)
Features¶
- data_classes: add support for Bedrock Agents event (#3262)
- event_handler: add Bedrock Agent event handler (#3285)
- event_handler: add ability to expose a Swagger UI (#3254)
- event_handler: generate OpenAPI specifications and validate input/output (#3109)
- parser: add BedrockEventModel parser and envelope (#3286)
Maintenance¶
- version bump
- deps: bump zgosalvez/github-actions-ensure-sha-pinned-actions from 2.1.5 to 3.0.0 (#3289)
- deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 1 update (#3287)
- deps: bump actions/checkout from 4.1.0 to 4.1.1 (#3220)
- deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 3 updates (#3282)
- deps: bump zgosalvez/github-actions-ensure-sha-pinned-actions from 2.1.4 to 2.1.5 (#3281)
- deps: bump release-drafter/release-drafter from 5.24.0 to 5.25.0 (#3219)
- deps: bump squidfunk/mkdocs-material from
cb38dc2
todf9409b
in /docs (#3216) - deps: bump urllib3 from 1.26.17 to 1.26.18 (#3222)
- deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 2 updates (#3298)
- deps: bump squidfunk/mkdocs-material from
772e14e
tof486dc9
in /docs (#3299) - deps: bump datadog-lambda from 4.80.0 to 4.81.0 (#3228)
- deps: bump actions/setup-node from 3.8.1 to 4.0.0 (#3244)
- deps: bump zgosalvez/github-actions-ensure-sha-pinned-actions from 3.0.0 to 3.0.1 (#3300)
- deps: bump actions/dependency-review-action from 3.1.0 to 3.1.1 (#3301)
- deps: bump squidfunk/mkdocs-material from
df9409b
to772e14e
in /docs (#3265) - deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 1 update (#3305)
- deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 2 updates (#3248)
- deps: bump actions/dependency-review-action from 3.1.1 to 3.1.2 (#3308)
- deps: bump ossf/scorecard-action from 2.3.0 to 2.3.1 (#3245)
- deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 1 update (#3310)
- deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 1 update (#3215)
- deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 3 updates (#3313)
- deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 3 updates (#3278)
- deps-dev: bump pytest from 7.4.2 to 7.4.3 (#3249)
- deps-dev: bump ruff from 0.1.1 to 0.1.2 (#3250)
- deps-dev: bump the boto-typing group with 2 updates (#3242)
- deps-dev: bump aws-cdk-lib from 2.102.0 to 2.103.0 (#3258)
- deps-dev: bump cfn-lint from 0.82.2 to 0.83.0 (#3243)
- deps-dev: bump ruff from 0.1.2 to 0.1.3 (#3257)
- deps-dev: bump aws-cdk from 2.102.0 to 2.103.0 (#3259)
- deps-dev: bump ruff from 0.1.0 to 0.1.1 (#3235)
- deps-dev: bump aws-cdk-lib from 2.103.0 to 2.103.1 (#3263)
- deps-dev: bump the boto-typing group with 1 update (#3231)
- deps-dev: bump aws-cdk from 2.101.1 to 2.102.0 (#3232)
- deps-dev: bump aws-cdk from 2.103.0 to 2.103.1 (#3264)
- deps-dev: bump cfn-lint from 0.82.0 to 0.82.2 (#3229)
- deps-dev: bump cfn-lint from 0.83.0 to 0.83.1 (#3274)
- deps-dev: bump the boto-typing group with 1 update (#3273)
- deps-dev: bump cfn-lint from 0.81.0 to 0.82.0 (#3224)
- deps-dev: bump aws-cdk from 2.101.0 to 2.101.1 (#3223)
- deps-dev: bump sentry-sdk from 1.32.0 to 1.33.1 (#3277)
- deps-dev: bump urllib3 from 1.26.17 to 1.26.18 in /layer (#3221)
- deps-dev: bump aws-cdk from 2.103.1 to 2.104.0 (#3288)
- deps-dev: bump sentry-sdk from 1.33.1 to 1.34.0 (#3290)
- deps-dev: bump aws-cdk-lib from 2.103.1 to 2.104.0 (#3291)
- deps-dev: bump aws-cdk-lib from 2.100.0 to 2.101.1 (#3217)
- deps-dev: bump aws-cdk from 2.100.0 to 2.101.0 (#3214)
- deps-dev: bump aws-cdk from 2.104.0 to 2.105.0 (#3307)
- deps-dev: bump ruff from 0.1.3 to 0.1.4 (#3297)
- deps-dev: bump aws-cdk-lib from 2.104.0 to 2.105.0 (#3309)
- deps-dev: bump the boto-typing group with 2 updates (#3211)
- deps-dev: bump the boto-typing group with 3 updates (#3314)
- deps-dev: bump ruff from 0.1.4 to 0.1.5 (#3315)
- deps-dev: bump ruff from 0.0.292 to 0.1.0 (#3213)
v2.26.0 - 2023-10-13¶
Bug Fixes¶
- logger: force Logger to use local timezone when UTC flag is not set (#3168)
- parameter: improve AppConfig cached configuration retrieval (#3195)
Code Refactoring¶
- data-masking: disable e2e tests. (#3204)
- data_masking: move Data Masking utility to a private folder (#3202)
Documentation¶
- contributing: initial structure for revamped contributing guide (#3133)
- event_handler: add information about case-insensitive header lookup function (#3183)
Features¶
- data_masking: add new sensitive data masking utility (#2197)
- event_handler: add support to VPC Lattice payload v2 (#3153)
- layers: add arm64 support in more regions (#3151)
- logger: new stack_trace field with rich exception details (#3147)
- parser: infer model from type hint (#3181)
Maintenance¶
- version bump
- deps: bump squidfunk/mkdocs-material from
cbfecae
toa4cfa88
in /docs (#3175) - deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 1 update (#3174)
- deps: bump squidfunk/mkdocs-material from
b41ba6d
to06673a1
in /docs (#3124) - deps: bump ossf/scorecard-action from 2.2.0 to 2.3.0 (#3178)
- deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 3 updates (#3198)
- deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 3 updates (#3177)
- deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 1 update (#3127)
- deps: bump urllib3 from 1.26.16 to 1.26.17 (#3162)
- deps: bump aws-xray-sdk from 2.12.0 to 2.12.1 (#3197)
- deps: bump fastjsonschema from 2.18.0 to 2.18.1 (#3159)
- deps: bump actions/setup-python from 4.7.0 to 4.7.1 (#3158)
- deps: bump actions/checkout from 4.0.0 to 4.1.0 (#3128)
- deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 1 update (#3156)
- deps: bump squidfunk/mkdocs-material from
e5f28aa
tocbfecae
in /docs (#3157) - deps: bump squidfunk/mkdocs-material from
06673a1
toe5f28aa
in /docs (#3134) - deps: bump squidfunk/mkdocs-material from
a4cfa88
tocb38dc2
in /docs (#3189) - deps: bump pydantic from 1.10.12 to 1.10.13 (#3144)
- deps: bump gitpython from 3.1.35 to 3.1.37 in /docs (#3188)
- deps-dev: bump types-requests from 2.31.0.5 to 2.31.0.6 (#3145)
- deps-dev: bump aws-cdk from 2.98.0 to 2.99.0 (#3148)
- deps-dev: bump the boto-typing group with 2 updates (#3143)
- deps-dev: bump aws-cdk from 2.99.1 to 2.100.0 (#3185)
- deps-dev: bump aws-cdk from 2.97.0 to 2.98.0 (#3139)
- deps-dev: bump aws-cdk from 2.96.2 to 2.97.0 (#3129)
- deps-dev: bump types-requests from 2.31.0.3 to 2.31.0.5 (#3136)
- deps-dev: bump the boto-typing group with 1 update (#3135)
- deps-dev: bump ruff from 0.0.291 to 0.0.292 (#3161)
- deps-dev: bump ruff from 0.0.290 to 0.0.291 (#3126)
- deps-dev: bump aws-cdk from 2.99.0 to 2.99.1 (#3155)
- deps-dev: bump sentry-sdk from 1.31.0 to 1.32.0 (#3192)
- deps-dev: bump urllib3 from 1.26.16 to 1.26.17 in /layer (#3163)
- deps-dev: bump cfn-lint from 0.80.3 to 0.80.4 (#3166)
- deps-dev: bump cfn-lint from 0.80.2 to 0.80.3 (#3125)
- deps-dev: bump cfn-lint from 0.80.4 to 0.81.0 (#3179)
- deps-dev: bump the boto-typing group with 1 update (#3196)
- deps-dev: bump the boto-typing group with 1 update (#3170)
v2.25.1 - 2023-09-22¶
Bug Fixes¶
- logger: add explicit None return type annotations (#3113)
- metrics: support additional arguments in functions wrapped with log_metrics decorator (#3120)
Maintenance¶
- version bump
- deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 1 update (#3108)
- deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 1 update (#3115)
- deps: bump squidfunk/mkdocs-material from
4ff781e
tob41ba6d
in /docs (#3117) - deps: bump squidfunk/mkdocs-material from
c4890ab
to4ff781e
in /docs (#3110) - deps-dev: bump ruff from 0.0.289 to 0.0.290 (#3105)
- deps-dev: bump aws-cdk from 2.96.1 to 2.96.2 (#3102)
- deps-dev: bump the boto-typing group with 3 updates (#3118)
- deps-dev: bump the boto-typing group with 1 update (#3101)
- deps-dev: bump cfn-lint from 0.79.11 to 0.80.2 (#3107)
- deps-dev: bump types-requests from 2.31.0.2 to 2.31.0.3 (#3114)
v2.25.0 - 2023-09-15¶
Code Refactoring¶
- parameters: BaseProvider._get to also support Dict (#3090)
Documentation¶
- event_handler: fix typing in micro function example (#3098)
- event_handler: add micro function examples (#3056)
- we-made-this: fix broken Twitch video embeds (#3096)
Features¶
- event_source: add Kinesis Firehose Data Transformation data class (#3029)
- event_sources: add Secrets Manager secret rotation event (#3061)
Maintenance¶
- version bump
- automation: remove previous labels when PR is updated (#3066)
- deps: bump actions/dependency-review-action from 3.0.8 to 3.1.0 (#3071)
- deps: bump docker/setup-qemu-action from 2.2.0 to 3.0.0 (#3081)
- deps: bump docker/setup-buildx-action from 2.10.0 to 3.0.0 (#3083)
- deps: bump squidfunk/mkdocs-material from
dd1770c
toc4890ab
in /docs (#3078) - deps-dev: bump cfn-lint from 0.79.9 to 0.79.10 (#3077)
- deps-dev: bump hvac from 1.2.0 to 1.2.1 (#3075)
- deps-dev: bump ruff from 0.0.288 to 0.0.289 (#3080)
- deps-dev: bump ruff from 0.0.287 to 0.0.288 (#3076)
- deps-dev: bump aws-cdk from 2.95.0 to 2.95.1 (#3074)
- deps-dev: bump the boto-typing group with 1 update (#3085)
- deps-dev: bump aws-cdk from 2.95.1 to 2.96.0 (#3087)
- deps-dev: bump sentry-sdk from 1.30.0 to 1.31.0 (#3086)
- deps-dev: bump aws-cdk from 2.94.0 to 2.95.0 (#3070)
- deps-dev: bump cfn-lint from 0.79.10 to 0.79.11 (#3088)
- deps-dev: bump aws-cdk from 2.96.0 to 2.96.1 (#3093)
- typing: move backwards compat types to shared types (#3092)
v2.24.0 - 2023-09-08¶
Bug Fixes¶
- event_handler: expanding safe URI characters to include +$& (#3026)
- parser: change ApproximateCreationDateTime field to datetime in DynamoDBStreamChangedRecordModel (#3049)
Code Refactoring¶
- batch: type response() method (#3023)
Documentation¶
- event_handler: demonstrate how to combine logger correlation ID and middleware (#3064)
- event_handler: use correct correlation_id for logger in middleware example (#3063)
- idempotency: use tab navigation, improves custom serializer example, and additional explanations (#3067)
Features¶
- event_handler: add Middleware support for REST Event Handler (#2917)
- idempotency: add support to custom serialization/deserialization on idempotency decorator (#2951)
Maintenance¶
- version bump
- deps: bump squidfunk/mkdocs-material from
b1f7f94
tof4764d1
in /docs (#3031) - deps: bump gitpython from 3.1.32 to 3.1.35 in /docs (#3059)
- deps: bump squidfunk/mkdocs-material from
f4764d1
todd1770c
in /docs (#3044) - deps: bump actions/checkout from 3.6.0 to 4.0.0 (#3041)
- deps: bump squidfunk/mkdocs-material from
97da15b
tob1f7f94
in /docs (#3021) - deps: bump docker/setup-buildx-action from 2.9.1 to 2.10.0 (#3022)
- deps: bump actions/upload-artifact from 3.1.2 to 3.1.3 (#3053)
- deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 1 update (#3052)
- deps-dev: bump mkdocs-material from 9.2.6 to 9.2.7 (#3043)
- deps-dev: bump cfn-lint from 0.79.7 to 0.79.8 (#3033)
- deps-dev: bump mkdocs-material from 9.2.5 to 9.2.6 (#3032)
- deps-dev: bump ruff from 0.0.286 to 0.0.287 (#3035)
- deps-dev: bump sentry-sdk from 1.29.2 to 1.30.0 (#3028)
- deps-dev: bump the boto-typing group with 11 updates (#3027)
- deps-dev: bump pytest from 7.4.1 to 7.4.2 (#3057)
- deps-dev: bump hvac from 1.1.1 to 1.2.0 (#3054)
- deps-dev: bump cfn-lint from 0.79.8 to 0.79.9 (#3046)
- deps-dev: bump the boto-typing group with 1 update (#3013)
- deps-dev: bump pytest from 7.4.0 to 7.4.1 (#3042)
- deps-dev: bump ruff from 0.0.285 to 0.0.286 (#3014)
- deps-dev: bump gitpython from 3.1.32 to 3.1.35 (#3060)
- deps-dev: bump aws-cdk from 2.93.0 to 2.94.0 (#3036)
v2.23.1 - 2023-08-25¶
Bug Fixes¶
- ci: revert aws credentials action (#3010)
- ci: change SAR assume role options (#3005)
- event_handler: make invalid chars a raw str to fix DeprecationWarning (#2982)
- metrics: preserve default_tags when metric-specific tag is set in Datadog provider (#2997)
Maintenance¶
- version bump
- deps: bump squidfunk/mkdocs-material from
cd3a522
to97da15b
in /docs (#2987) - deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 3 updates (#2978)
- deps: bump aws-actions/configure-aws-credentials from 2.2.0 to 3.0.0 (#3000)
- deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 3 updates (#2983)
- deps: bump slsa-framework/slsa-github-generator from 1.8.0 to 1.9.0 (#2992)
- deps: bump actions/checkout from 3.5.3 to 3.6.0 (#2999)
- deps-dev: bump ruff from 0.0.284 to 0.0.285 (#2977)
- deps-dev: bump aws-cdk from 2.92.0 to 2.93.0 (#2993)
- deps-dev: bump mkdocs-material from 9.1.21 to 9.2.0 (#2984)
- deps-dev: bump mkdocs-material from 9.2.0 to 9.2.3 (#2988)
v2.23.0 - 2023-08-18¶
Bug Fixes¶
- logger: strip xray_trace_id when explicitly disabled (#2852)
- metrics: proxy service and namespace attrs to provider (#2910)
- parser: API Gateway V2 request context scope field should be optional (#2961)
Code Refactoring¶
- e2e: support fail fast in get_lambda_response (#2912)
- metrics: move from protocol to ABC; split provider tests (#2934)
Documentation¶
- batch: new visuals and error handling section (#2857)
- batch: explain record type discrepancy in failure and success handler (#2868)
- metrics: update Datadog integration diagram (#2954)
- navigation: remove nofollow attribute for internal links (#2867)
- navigation: add nofollow attribute (#2842)
- roadmap: update roadmap themes (#2915)
- roadmap: add GovCloud and China region item (#2960)
- tutorial: add support for Python 3.11 (#2860)
Features¶
- event_handler: allow stripping route prefixes using regexes (#2521)
- layers: add new comercial region Israel(Tel Aviv) (#2907)
- metrics: add Datadog observability provider (#2906)
- metrics: support to bring your own metrics provider (#2194)
Maintenance¶
- version bump
- ci: enable protected branch auditing (#2913)
- ci: group dependabot updates (#2896)
- deps: bump github.com/aws/aws-sdk-go-v2 from 1.19.0 to 1.19.1 in /layer/scripts/layer-balancer (#2877)
- deps: bump pypa/gh-action-pypi-publish from 1.8.8 to 1.8.9 (#2943)
- deps: bump github.com/aws/aws-sdk-go-v2/service/lambda from 1.38.0 to 1.38.1 in /layer/scripts/layer-balancer (#2876)
- deps: bump actions/dependency-review-action from 3.0.6 to 3.0.7 (#2941)
- deps: bump github.com/aws/aws-sdk-go-v2/config from 1.18.29 to 1.18.30 in /layer/scripts/layer-balancer (#2875)
- deps: bump actions/dependency-review-action from 3.0.7 to 3.0.8 (#2963)
- deps: bump gitpython from 3.1.31 to 3.1.32 in /docs (#2948)
- deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 2 updates (#2904)
- deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 3 updates (#2933)
- deps: bump pypa/gh-action-pypi-publish from 1.8.9 to 1.8.10 (#2946)
- deps: bump actions/setup-node from 3.7.0 to 3.8.0 (#2957)
- deps: bump slsa-framework/slsa-github-generator from 1.7.0 to 1.8.0 (#2927)
- deps: bump github.com/aws/aws-sdk-go-v2/config from 1.18.28 to 1.18.29 in /layer/scripts/layer-balancer (#2844)
- deps: bump github.com/aws/aws-sdk-go-v2/service/lambda from 1.37.1 to 1.38.0 in /layer/scripts/layer-balancer (#2843)
- deps: bump pydantic from 1.10.11 to 1.10.12 (#2846)
- deps: bump the layer-balancer group in /layer/scripts/layer-balancer with 3 updates (#2971)
- deps: bump actions/setup-node from 3.8.0 to 3.8.1 (#2970)
- deps: bump github.com/aws/aws-sdk-go-v2/config from 1.18.30 to 1.18.31 in /layer/scripts/layer-balancer (#2889)
- deps: bump github.com/aws/aws-sdk-go-v2/service/lambda from 1.38.1 to 1.39.0 in /layer/scripts/layer-balancer (#2890)
- deps: bump squidfunk/mkdocs-material from
33e28bd
tocd3a522
in /docs (#2859) - deps-dev: bump ruff from 0.0.283 to 0.0.284 (#2940)
- deps-dev: bump cfn-lint from 0.79.5 to 0.79.6 (#2899)
- deps-dev: bump the boto-typing group with 11 updates (#2901)
- deps-dev: bump ruff from 0.0.281 to 0.0.282 (#2905)
- deps-dev: bump aws-cdk from 2.88.0 to 2.89.0 (#2887)
- deps-dev: bump aws-cdk from 2.89.0 to 2.90.0 (#2932)
- deps-dev: bump mkdocs-material from 9.1.19 to 9.1.21 (#2894)
- deps-dev: bump the boto-typing group with 3 updates (#2967)
- deps-dev: bump radon from 5.1.0 to 6.0.1 (#2964)
- deps-dev: bump the boto-typing group with 4 updates (#2928)
- deps-dev: bump mypy-boto3-logs from 1.28.1 to 1.28.15 (#2880)
- deps-dev: bump mypy-boto3-appconfigdata from 1.28.0 to 1.28.15 (#2879)
- deps-dev: bump mypy-boto3-lambda from 1.28.11 to 1.28.15 (#2878)
- deps-dev: bump mypy-boto3-xray from 1.28.0 to 1.28.15 (#2881)
- deps-dev: bump ruff from 0.0.282 to 0.0.283 (#2937)
- deps-dev: bump mypy-boto3-dynamodb from 1.28.0 to 1.28.11 (#2847)
- deps-dev: bump sentry-sdk from 1.28.1 to 1.29.0 (#2900)
- deps-dev: bump cfn-lint from 0.79.4 to 0.79.5 (#2870)
- deps-dev: bump the boto-typing group with 1 update (#2944)
- deps-dev: bump mypy-boto3-cloudformation from 1.28.10 to 1.28.12 (#2864)
- deps-dev: bump mypy-boto3-cloudwatch from 1.28.0 to 1.28.12 (#2865)
- deps-dev: bump cfn-lint from 0.79.3 to 0.79.4 (#2862)
- deps-dev: bump mypy-boto3-appconfig from 1.28.0 to 1.28.12 (#2861)
- deps-dev: bump mypy-boto3-ssm from 1.28.0 to 1.28.12 (#2863)
- deps-dev: bump aws-cdk from 2.90.0 to 2.91.0 (#2947)
- deps-dev: bump xenon from 0.9.0 to 0.9.1 (#2955)
- deps-dev: bump cfn-lint from 0.78.2 to 0.79.3 (#2854)
- deps-dev: bump mypy-boto3-lambda from 1.28.0 to 1.28.11 (#2845)
- deps-dev: bump cfn-lint from 0.79.6 to 0.79.7 (#2956)
- deps-dev: bump aws-cdk from 2.91.0 to 2.92.0 (#2965)
- deps-dev: bump ruff from 0.0.280 to 0.0.281 (#2891)
- docs: include the environment variables section in the utilities documentation (#2925)
- docs: disable line length rule using older syntax (#2920)
- maintenance: enables publishing docs and changelog, running e2e tests only in the main repository (#2924)
v2.22.0 - 2023-07-25¶
Bug Fixes¶
- parameters: distinct cache key for single vs path with same name (#2839)
Documentation¶
- community: new batch processing article (#2828)
- parameters: improve readability on error handling get_parameter… (#2833)
Features¶
- general: add support for Python 3.11 (#2820)
Maintenance¶
- version bump
- ci: add baking time for layer build (#2834)
- ci: build changelog on a schedule only (#2832)
- deps: bump actions/setup-python from 4.6.1 to 4.7.0 (#2821)
- deps-dev: bump ruff from 0.0.278 to 0.0.279 (#2822)
- deps-dev: bump cfn-lint from 0.78.1 to 0.78.2 (#2823)
- deps-dev: bump ruff from 0.0.279 to 0.0.280 (#2836)
- deps-dev: bump mypy-boto3-cloudformation from 1.28.0 to 1.28.10 (#2837)
v2.21.0 - 2023-07-21¶
Bug Fixes¶
- docs: remove redundant code (#2796)
Documentation¶
- customer-reference: add Jit Security as a customer reference (#2801)
Features¶
- parser: add support for Pydantic v2 (#2733)
Maintenance¶
- version bump
- deps: bump squidfunk/mkdocs-material from
a28ed81
to33e28bd
in /docs (#2797) - deps-dev: bump mypy-boto3-s3 from 1.28.3.post2 to 1.28.8 (#2808)
- deps-dev: bump types-python-dateutil from 2.8.19.13 to 2.8.19.14 (#2807)
- deps-dev: bump mypy-boto3-secretsmanager from 1.28.3.post1 to 1.28.3.post2 (#2794)
- deps-dev: bump types-requests from 2.31.0.1 to 2.31.0.2 (#2806)
- deps-dev: bump mypy-boto3-s3 from 1.28.3.post1 to 1.28.3.post2 (#2793)
- deps-dev: bump aws-cdk from 2.87.0 to 2.88.0 (#2812)
- deps-dev: bump mypy-boto3-secretsmanager from 1.28.3 to 1.28.3.post1 (#2785)
- deps-dev: bump mypy-boto3-s3 from 1.28.3 to 1.28.3.post1 (#2786)
- deps-dev: bump mkdocs-material from 9.1.18 to 9.1.19 (#2798)
- security: improve debugging for provenance script (#2784)
v2.20.0 - 2023-07-14¶
Bug Fixes¶
- docs: ensure alias is applied to versioned releases (#2644)
- docs: ensure version alias is in an array to prevent "you're not viewing the latest version" incorrect message (#2629)
- logger: ensure logs stream to stdout by default, not stderr (#2736)
Code Refactoring¶
- parser: convert functional tests to unit tests (#2656)
Documentation¶
- batch: fix custom batch processor example (#2714)
- contributing: add code integration journey graph (#2685)
- maintainers: add cicd pipeline diagram (#2692)
- process: explain our integration automated checks; revamp navigation (#2764)
Features¶
- metrics: support to set default dimension in EphemeralMetrics (#2748)
Maintenance¶
- version bump
- ci: enforce pip --require-hashes to maybe satistify scorecard (#2679)
- ci: prevent merging PRs that do not meet minimum requirements (#2639)
- ci: enforce top-level permission to minimum fail-safe permission as per openssf (#2638)
- ci: propagate checkout permission to nested workflows (#2642)
- ci: improves dependabot based on ossf scorecard recommendations (#2647)
- ci: use deps sha for docs and gitpod images based on ossf findings (#2662)
- ci: use sast on every commit on any supported language (#2646)
- ci: add gitleaks in pre-commit hooks as an extra safety measure (#2677)
- ci: address ossf scorecard findings on npm, pip, and top-level permission leftover (#2694)
- ci: prevent sast codeql to run in forks (#2711)
- ci: introduce provenance and attestation in release (#2746)
- deps: bump pypa/gh-action-pypi-publish from 1.8.7 to 1.8.8 (#2754)
- deps: bump github.com/aws/aws-sdk-go-v2/service/lambda from 1.37.0 to 1.37.1 in /layer/scripts/layer-balancer (#2769)
- deps: bump zgosalvez/github-actions-ensure-sha-pinned-actions from 2.1.3 to 2.1.4 (#2738)
- deps: bump github.com/aws/aws-sdk-go-v2/config from 1.18.27 to 1.18.28 in /layer/scripts/layer-balancer (#2770)
- deps: bump actions/setup-python from 4.6.1 to 4.7.0 (#2768)
- deps: bump github.com/aws/aws-sdk-go-v2 from 1.16.16 to 1.18.1 in /layer/scripts/layer-balancer (#2654)
- deps: bump golang.org/x/sync from 0.1.0 to 0.3.0 in /layer/scripts/layer-balancer (#2649)
- deps: bump github.com/aws/aws-sdk-go-v2/service/lambda from 1.24.6 to 1.37.0 in /layer/scripts/layer-balancer (#2653)
- deps: bump docker/setup-buildx-action from 2.8.0 to 2.9.0 (#2718)
- deps: bump github.com/aws/aws-sdk-go-v2/config from 1.17.8 to 1.18.27 in /layer/scripts/layer-balancer (#2651)
- deps: bump github.com/aws/aws-sdk-go-v2 from 1.18.1 to 1.19.0 in /layer/scripts/layer-balancer (#2771)
- deps: migrate from retry to retry2 to address CVE-2022-42969 (#2665)
- deps: bump pydantic from 1.10.9 to 1.10.10 (#2624)
- deps: bump squidfunk/mkdocs-material from
3837c0f
toa28ed81
in /docs (#2669) - deps: bump pydantic from 1.10.10 to 1.10.11 (#2671)
- deps: bump docker/setup-buildx-action from 2.9.0 to 2.9.1 (#2755)
- deps: bump actions/dependency-review-action from 2.5.1 to 3.0.6 (#2650)
- deps: bump actions/setup-node from 3.6.0 to 3.7.0 (#2689)
- deps-dev: bump mypy-boto3-lambda from 1.27.0 to 1.28.0 (#2698)
- deps-dev: bump sentry-sdk from 1.27.0 to 1.27.1 (#2701)
- deps-dev: bump mypy-boto3-cloudformation from 1.27.0 to 1.28.0 (#2700)
- deps-dev: bump mypy-boto3-appconfigdata from 1.27.0 to 1.28.0 (#2699)
- deps-dev: bump ruff from 0.0.276 to 0.0.277 (#2682)
- deps-dev: bump pytest-asyncio from 0.21.0 to 0.21.1 (#2756)
- deps-dev: bump cfn-lint from 0.77.10 to 0.78.1 (#2757)
- deps-dev: bump aws-cdk from 2.86.0 to 2.87.0 (#2696)
- deps-dev: bump typed-ast from 1.5.4 to 1.5.5 (#2670)
- deps-dev: bump mypy-boto3-cloudwatch from 1.27.0 to 1.28.0 (#2697)
- deps-dev: bump ruff from 0.0.275 to 0.0.276 (#2655)
- deps-dev: bump sentry-sdk from 1.26.0 to 1.27.0 (#2652)
- deps-dev: bump ruff from 0.0.277 to 0.0.278 (#2758)
- deps-dev: bump mypy-boto3-s3 from 1.28.0 to 1.28.3 (#2774)
- deps-dev: bump mypy-boto3-dynamodb from 1.26.158 to 1.26.164 (#2622)
- deps-dev: bump mypy-boto3-secretsmanager from 1.28.0 to 1.28.3 (#2773)
- deps-dev: bump sentry-sdk from 1.27.1 to 1.28.0 (#2741)
- deps-dev: bump mypy-boto3-s3 from 1.27.0 to 1.28.0 (#2721)
- deps-dev: bump mypy-boto3-appconfig from 1.27.0 to 1.28.0 (#2722)
- deps-dev: bump mypy-boto3-logs from 1.27.0 to 1.28.1 (#2723)
- deps-dev: bump mypy-boto3-ssm from 1.27.0 to 1.28.0 (#2724)
- deps-dev: bump mypy-boto3-xray from 1.27.0 to 1.28.0 (#2720)
- deps-dev: bump sentry-sdk from 1.28.0 to 1.28.1 (#2772)
- deps-dev: bump mypy-boto3-dynamodb from 1.27.0 to 1.28.0 (#2740)
- deps-dev: bump mypy-boto3-appconfigdata from 1.26.70 to 1.27.0 (#2636)
- deps-dev: bump mypy-boto3-secretsmanager from 1.27.0 to 1.28.0 (#2739)
- governance: update active maintainers list (#2715)
- streaming: replace deprecated Version classes from distutils (#2752)
- user-agent: support patching botocore session (#2614)
v2.19.0 - 2023-06-30¶
Bug Fixes¶
- e2e: fix idempotency tests (#2576)
Code Refactoring¶
- event_source: convert functional tests to unit tests (#2506)
Documentation¶
- i-made-this: added new article on idempotency (#2582)
- i-made-this: article on idempotency w/ CDK and Powertools (#2569)
- idempotency: split snippets, improve wording and lint examples (#2492)
Features¶
- event_handler: add VPCLatticeResolver (#2601)
- event_source: decode nested messages on SQS events (#2349)
- parser: add support to VpcLatticeModel (#2584)
Maintenance¶
- version bump
- analytics: update docs base origin url (#2560)
- ci: replace flake8 with Ruff as a linter (#2495)
- ci: enable Ruff rule E501 and fix errors (#2587)
- ci: enable Ruff rule COM812 and fix the errors (#2595)
- ci: enable Ruff rules PLW, PLR, PLC and PLE and fix the errors (#2593)
- ci: enable Ruff autofix rules (#2599)
- ci: enable Ruff rules ISC, I001, B018 and fix the errors (#2597)
- ci: enable Ruff rule ERA001 and fix errors (#2591)
- deps: bump pypa/gh-action-pypi-publish from 1.8.6 to 1.8.7 (#2573)
- deps: bump docker/setup-buildx-action from 2.7.0 to 2.8.0 (#2604)
- deps: bump ossf/scorecard-action from 2.1.3 to 2.2.0 (#2563)
- deps: bump release-drafter/release-drafter from 5.23.0 to 5.24.0 (#2603)
- deps-dev: bump mypy-boto3-s3 from 1.26.155 to 1.26.163 (#2608)
- deps-dev: bump mypy-boto3-lambda from 1.26.157 to 1.26.163 (#2607)
- deps-dev: bump mkdocs-material from 9.1.16 to 9.1.17 (#2564)
- deps-dev: bump ruff from 0.0.272 to 0.0.275 (#2586)
- deps-dev: bump mypy-boto3-ssm from 1.26.97 to 1.26.162 (#2606)
- deps-dev: bump pytest from 7.3.2 to 7.4.0 (#2557)
- deps-dev: bump aws-cdk from 2.85.0 to 2.86.0 (#2613)
- deps-dev: bump mypy from 1.4.0 to 1.4.1 (#2574)
v2.18.0 - 2023-06-23¶
Bug Fixes¶
- docs: ensure versions.json is updated (#2505)
- event_source: centralizing helper functions for query, header and base64 (#2496)
Documentation¶
- homepage: fix .NET repository link (#2549)
- homepage: add Open Source Security Foundation badge; update links to new url (#2545)
- navigation: make Key Feature the first section (#2517)
Features¶
- event_handler: support to enable or disable compression in custom responses (#2544)
- feature_flags: add modulo range condition for segmented experimentation support (#2331)
Maintenance¶
- version bump
- ci: fix changelog build permissions (#2519)
- ci: remove GH pages action (#2501)
- ci: updates runner names in workflows (#2510)
- ci: introduces OSSF Scorecard (#2512)
- ci: fix codeowners team name (#2516)
- deps: bump actions/upload-artifact from 3.1.0 to 3.1.2 (#2522)
- deps: bump actions/checkout from 3.1.0 to 3.5.3 (#2523)
- deps-dev: bump mypy-boto3-s3 from 1.26.153 to 1.26.155 (#2498)
- deps-dev: bump aws-cdk from 2.84.0 to 2.85.0 (#2524)
- deps-dev: bump mypy-boto3-lambda from 1.26.147 to 1.26.157 (#2507)
- deps-dev: bump cfn-lint from 0.77.9 to 0.77.10 (#2508)
- deps-dev: bump mypy-boto3-cloudformation from 1.26.149 to 1.26.156 (#2503)
- deps-dev: bump sentry-sdk from 1.25.1 to 1.26.0 (#2527)
- deps-dev: bump hvac from 1.1.0 to 1.1.1 (#2497)
- deps-dev: bump flake8-variables-names from 0.0.5 to 0.0.6 (#2525)
- deps-dev: bump ijson from 3.2.1 to 3.2.2 (#2526)
- deps-dev: bump pytest-mock from 3.10.0 to 3.11.1 (#2485)
- deps-dev: bump mypy-boto3-dynamodb from 1.26.152 to 1.26.158 (#2528)
- deps-dev: bump mypy from 1.3.0 to 1.4.0 (#2509)
- documentation: updating repository URL and name to the new location (#2499)
v2.17.0 - 2023-06-16¶
Bug Fixes¶
- event_handler: prioritize static over dynamic route to prevent order of route registration mismatch (#2458)
- idempotency: treat missing idempotency key as non-idempotent transaction (no-op) when raise_on_no_idempotency_key is False (#2477)
Documentation¶
- event_handler: improve compress example using Response class (#2426)
- event_sources: fix DynamoDB stream event docstring (#2468)
- idempotency: new sequence flow when idempotency key is optional (#2480)
- idempotency: add CDK example (#2434)
- maintainers: visual representation of release process (#2399)
- navigation: standardize link targets to enhance customer experience (#2420)
- we-made-this: new article about idempotency design (#2425)
Features¶
- event_sources: add AWS Config Rule event data class (#2175)
- event_sources: add support for VPC Lattice events (#2358)
- logger: type log record in LambdaPowertoolsFormatter with TypedDict (#2419)
- parser: support for CloudFormation Custom Resources (#2335)
Maintenance¶
- version bump
- ci: document all github action workflows and enforce least-privilege (#2395)
- ci: fix PR labeling permission scope (#2396)
- deps: bump aws-actions/configure-aws-credentials from 2.1.0 to 2.2.0 (#2469)
- deps: bump docker/setup-buildx-action from 2.5.0 to 2.6.0 (#2403)
- deps: bump docker/setup-qemu-action from 2.1.0 to 2.2.0 (#2404)
- deps: bump docker/setup-buildx-action from 2.6.0 to 2.7.0 (#2450)
- deps: bump pydantic from 1.10.8 to 1.10.9 (#2405)
- deps: bump actions/checkout from 3.5.2 to 3.5.3 (#2431)
- deps-dev: bump ijson from 3.2.0.post0 to 3.2.1 (#2441)
- deps-dev: bump mypy-boto3-dynamodb from 1.26.115 to 1.26.152 (#2444)
- deps-dev: bump filelock from 3.12.0 to 3.12.2 (#2446)
- deps-dev: bump aws-cdk from 2.83.0 to 2.83.1 (#2432)
- deps-dev: bump cfn-lint from 0.77.6 to 0.77.7 (#2414)
- deps-dev: bump pytest from 7.3.1 to 7.3.2 (#2443)
- deps-dev: bump sentry-sdk from 1.25.0 to 1.25.1 (#2408)
- deps-dev: bump mypy-boto3-cloudformation from 1.26.147 to 1.26.149 (#2410)
- deps-dev: bump aws-cdk from 2.82.0 to 2.83.0 (#2406)
- deps-dev: bump mypy-boto3-logs from 1.26.53 to 1.26.149 (#2409)
- deps-dev: bump cfn-lint from 0.77.7 to 0.77.8 (#2451)
- deps-dev: bump mypy-boto3-s3 from 1.26.127 to 1.26.153 (#2452)
- deps-dev: bump cfn-lint from 0.77.8 to 0.77.9 (#2472)
- deps-dev: bump flake8-comprehensions from 3.12.0 to 3.13.0 (#2471)
- deps-dev: bump mkdocs-material from 9.1.15 to 9.1.16 (#2470)
- deps-dev: bump aws-cdk from 2.83.1 to 2.84.0 (#2460)
v2.16.2 - 2023-06-06¶
Bug Fixes¶
- parameters: AppConfigProvider when retrieving multiple unique configuration names (#2378)
- shared: move to static version bumping to prevent issues with customers custom builds (#2386)
Maintenance¶
- version bump
- deps-dev: bump mypy-boto3-cloudformation from 1.26.108 to 1.26.147 (#2383)
- deps-dev: bump mypy-boto3-lambda from 1.26.122 to 1.26.147 (#2382)
- deps-dev: bump sentry-sdk from 1.24.0 to 1.25.0 (#2374)
- deps-dev: bump aws-cdk from 2.81.0 to 2.82.0 (#2373)
- typing: add setLevel and addHandler to Logger for mypy/pyright (#2388)
v2.16.1 - 2023-06-02¶
Bug Fixes¶
- shared: skip user agent on much older botocore versions (#2366)
Maintenance¶
- version bump
v2.16.0 - 2023-06-02¶
Bug Fixes¶
- docs: use concrete secrets from settings (#2322)
- event_source: change the import location of boto3 in CodePipelineJobEvent data class (#2353)
- logger: add setLevel function to set level programmatically (#2320)
Code Refactoring¶
- logger: remove subclassing and move unnecessary APIs (#2334)
Documentation¶
- batch: add encryption at rest for SQS (#2290)
- batch_processing: snippets split, improved, and lint (#2231)
- feature_flags: snippets split, improved, and lint (#2222)
- project: rename project to Powertools for AWS Lambda (Python) (#2313)
Features¶
- docs: Move docs to S3 (#2277)
- event_source: allow multiple CORS origins (#2279)
- parser: add support for parsing SQS events wrapped in Kinesis Firehose (#2294)
- user-agent: add custom header User-Agent to AWS SDK requests (#2267)
Maintenance¶
- version bump
- ci: remove auto-merge workflow (#2214)
- ci: schedule changelog to rebuild daily at 8am, and on release only (#2216)
- ci: create pull request on changelog update (#2224)
- ci: skip analytics on forks (#2225)
- ci: enforce zero trust for third party workflows (#2215)
- ci: convert create-pr steps into composite action (#2238)
- ci: bump package version after release via pull request (#2239)
- ci: update layer ARN docs and create PR during release (#2240)
- ci: fail create-pr when branch cannot be created or behind tip
- ci: filter out bot commits from CHANGELOG
- ci: add more permissions to analytics
- ci: source code tampering protection for release (#2301)
- deps: bump fastjsonschema from 2.16.3 to 2.17.1 (#2307)
- deps: bump aws-actions/configure-aws-credentials from 2.0.0 to 2.1.0 (#2350)
- deps: bump typing-extensions from 4.5.0 to 4.6.2 (#2345)
- deps: bump zgosalvez/github-actions-ensure-sha-pinned-actions from 2.1.2 to 2.1.3 (#2227)
- deps: bump actions/setup-python from 4.6.0 to 4.6.1 (#2325)
- deps: update mkdocs configuration to support pymdown-extensions 10.0 (#2271)
- deps: bump pymdown-extensions from 9.11 to 10.0 (#2262)
- deps: bump pydantic from 1.10.7 to 1.10.8 (#2316)
- deps: bump codecov/codecov-action from 3.1.3 to 3.1.4 (#2263)
- deps: bump requests from 2.28.2 to 2.31.0 (#2308)
- deps-dev: bump mypy-boto3-secretsmanager from 1.26.116 to 1.26.135 (#2282)
- deps-dev: bump pytest-xdist from 3.2.1 to 3.3.0 (#2251)
- deps-dev: bump aws-cdk from 2.79.0 to 2.79.1 (#2252)
- deps-dev: bump mkdocs-material from 9.1.11 to 9.1.12 (#2253)
- deps-dev: bump aws-cdk from 2.79.1 to 2.80.0 (#2305)
- deps-dev: bump mkdocs-material from 9.1.13 to 9.1.14 (#2304)
- deps-dev: bump mkdocs-material from 9.1.12 to 9.1.13 (#2280)
- deps-dev: bump aws-cdk from 2.80.0 to 2.81.0 (#2332)
- deps-dev: bump sentry-sdk from 1.22.2 to 1.23.0 (#2264)
- deps-dev: bump sentry-sdk from 1.23.1 to 1.24.0 (#2314)
- deps-dev: bump types-requests from 2.30.0.0 to 2.31.0.0 (#2315)
- deps-dev: bump httpx from 0.24.0 to 0.24.1 (#2298)
- deps-dev: bump aws-cdk from 2.78.0 to 2.79.0 (#2235)
- deps-dev: bump mypy from 1.2.0 to 1.3.0 (#2233)
- deps-dev: bump pytest-cov from 4.0.0 to 4.1.0 (#2327)
- deps-dev: bump types-python-dateutil from 2.8.19.12 to 2.8.19.13 (#2234)
- deps-dev: bump coverage from 7.2.5 to 7.2.6 (#2326)
- deps-dev: bump mkdocs-material from 9.1.14 to 9.1.15 (#2337)
- deps-dev: bump mkdocs-material from 9.1.9 to 9.1.11 (#2229)
- deps-dev: bump cfn-lint from 0.77.4 to 0.77.5 (#2228)
- deps-dev: bump cfn-lint from 0.77.5 to 0.77.6 (#2360)
- deps-dev: bump coverage from 7.2.6 to 7.2.7 (#2338)
- deps-dev: bump types-requests from 2.31.0.0 to 2.31.0.1 (#2339)
- deps-dev: bump mypy-boto3-cloudwatch from 1.26.99 to 1.26.127 (#2219)
- deps-dev: bump types-requests from 2.29.0.0 to 2.30.0.0 (#2220)
- deps-dev: bump mypy-boto3-s3 from 1.26.116 to 1.26.127 (#2218)
- deps-dev: bump pytest-xdist from 3.3.0 to 3.3.1 (#2297)
- deps-dev: bump sentry-sdk from 1.23.0 to 1.23.1 (#2283)
- deps-dev: bump aws-cdk from 2.77.0 to 2.78.0 (#2202)
- governance: Fix python version in issue templates (#2275)
v2.15.0 - 2023-05-04¶
Bug Fixes¶
- typo
- ci: pypi publishing was targetting test endpoint
Documentation¶
- batch: fixed typo in DynamoDB Streams section (#2189)
- examples: standardize lambda handler function name (#2192)
- homepage: add customer references section (#2159)
- jmespath: fix MD037/no-space-in-emphasis
- tutorial: use newer sam cli template; update to py3.10 (#2167)
- we-made-this: add serverless transactional message app (#2182)
Features¶
- ci: dispatch GitHub analytics action (#2161)
- event_source: support custom json_deserializer; add json_body in SQSEvent (#2200)
- event_source: add support for dynamic partitions in the Api Gateway Authorizer event (#2176)
- event_sources: Add str to Data Classes base DictWrapper (#2129)
- jmespath: new built-in envelopes to unwrap S3 events (#2169)
- logger: add DatadogLogFormatter and observability provider (#2183)
- metrics: add flush_metrics() method to allow manual flushing of metrics (#2171)
- parser: add support for SQS-wrapped S3 event notifications (#2108)
Maintenance¶
- update v2 layer ARN on documentation
- add dummy reusable dispatch analytics job
- ci: remove build step from release env; no more secrets need
- ci: use new pypi trusted publisher for increase security (#2198)
- deps: bump pypa/gh-action-pypi-publish from 1.8.5 to 1.8.6 (#2201)
- deps-dev: bump cfn-lint from 0.77.3 to 0.77.4 (#2178)
- deps-dev: bump types-requests from 2.28.11.17 to 2.29.0.0 (#2187)
- deps-dev: bump coverage from 7.2.4 to 7.2.5 (#2186)
- deps-dev: bump mkdocs-material from 9.1.8 to 9.1.9 (#2190)
- deps-dev: bump importlib-metadata from 6.5.0 to 6.6.0 (#2163)
- deps-dev: bump mypy-boto3-xray from 1.26.11.post1 to 1.26.122 (#2173)
- deps-dev: bump aws-cdk from 2.76.0 to 2.77.0 (#2174)
- deps-dev: bump mypy-boto3-lambda from 1.26.115 to 1.26.122 (#2172)
- deps-dev: bump cfn-lint from 0.77.2 to 0.77.3 (#2165)
- deps-dev: bump mkdocs-material from 9.1.6 to 9.1.8 (#2162)
- deps-dev: bump coverage from 7.2.3 to 7.2.4 (#2179)
- governance: add Lambda Powertools for .NET in issue templates (#2196)
v2.14.1 - 2023-04-21¶
Bug Fixes¶
Documentation¶
- readme: update python version badge to 3.10
Features¶
- event_sources: add queue_url field in SQS EventSource DataClass (#2146)
Maintenance¶
- update v2 layer ARN on documentation
- add Python 3.10 PyPi language classifier (#2144)
- update v2 layer ARN on documentation
- batch: safeguard custom use of BatchProcessingError exception (#2155)
- deps: bump codecov/codecov-action from 3.1.2 to 3.1.3 (#2153)
- deps: bump dependabot/fetch-metadata from 1.3.6 to 1.4.0 (#2140)
- deps-dev: bump aws-cdk from 2.75.0 to 2.75.1 (#2150)
- deps-dev: bump aws-cdk from 2.75.1 to 2.76.0 (#2154)
- deps-dev: bump mypy-boto3-secretsmanager from 1.26.89 to 1.26.116 (#2147)
- deps-dev: bump importlib-metadata from 6.4.1 to 6.5.0 (#2141)
- deps-dev: bump mypy-boto3-s3 from 1.26.104 to 1.26.116 (#2149)
- deps-dev: bump filelock from 3.11.0 to 3.12.0 (#2142)
- deps-dev: bump cfn-lint from 0.77.1 to 0.77.2 (#2148)
v2.14.0 - 2023-04-18¶
Bug Fixes¶
- enable python 3.10 on SAR template
- ci: fix layer version in tracer, logger and metrics
- ci: typo
- docs: add Layer ARN for new 5 regions
- layers: add debug to update layer arn script
Features¶
- runtime: add support for python 3.10 (#2137)
Maintenance¶
- update v2 layer ARN on documentation
- update v2 layer ARN on documentation
- update v2 layer ARN on documentation
- ci: add support for x86-64 regions only (#2122)
- deps-dev: bump importlib-metadata from 6.3.0 to 6.4.1 (#2134)
- deps-dev: bump cfn-lint from 0.77.0 to 0.77.1 (#2133)
- deps-dev: bump pytest from 7.3.0 to 7.3.1 (#2127)
- deps-dev: bump mypy-boto3-lambda from 1.26.109 to 1.26.114 (#2126)
- deps-dev: bump mypy-boto3-lambda from 1.26.114 to 1.26.115 (#2135)
- deps-dev: bump mypy-boto3-dynamodb from 1.26.97.post1 to 1.26.115 (#2132)
- github: new tech debt issue form (#2131)
- layer: change layer-balance script to support new regions
Reverts¶
- chore: update v2 layer ARN on documentation
v2.13.0 - 2023-04-14¶
Bug Fixes¶
- ci: replace the correct files for Layer ARN
- ci: fix working directory
- ci: add debug log to NPM install
- ci: use project's CDK version when building layers
- ci: add the rest of the changed docs
- ci: update layer version on logger, tracer and metrics docs (#2120)
- event_sources: Update CodePipeline event source to include optional encryption_key field and make user_parameters field optional (#2113)
Features¶
- parameters: Configure max_age and decrypt parameters via environment variables (#2088)
Maintenance¶
- update v2 layer ARN on documentation
- ci: bump the cdk-aws-lambda-powertools-layer version (#2121)
- deps: bump codecov/codecov-action from 3.1.1 to 3.1.2 (#2110)
- deps-dev: bump httpx from 0.23.3 to 0.24.0 (#2111)
- deps-dev: bump aws-cdk-lib from 2.73.0 to 2.74.0 (#2123)
- deps-dev: bump mkdocs-material from 9.1.5 to 9.1.6 (#2104)
- deps-dev: bump aws-cdk from 2.73.0 to 2.74.0 (#2125)
- deps-dev: bump flake8-comprehensions from 3.11.1 to 3.12.0 (#2124)
- deps-dev: bump mypy from 1.1.1 to 1.2.0 (#2096)
- deps-dev: bump cfn-lint from 0.76.2 to 0.77.0 (#2107)
- deps-dev: bump pytest from 7.2.2 to 7.3.0 (#2106)
- deps-dev: bump importlib-metadata from 6.1.0 to 6.3.0 (#2105)
- deps-dev: bump mypy-boto3-lambda from 1.26.80 to 1.26.109 (#2103)
- maintenance: validate acknowledgement section is present (#2112)
v2.12.0 - 2023-04-07¶
Bug Fixes¶
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¶
- update v2 layer ARN on documentation
- deps: bump peaceiris/actions-gh-pages from 3.9.2 to 3.9.3 (#2069)
- deps: bump aws-xray-sdk from 2.11.0 to 2.12.0 (#2080)
- deps-dev: bump coverage from 7.2.2 to 7.2.3 (#2092)
- 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 filelock from 3.10.7 to 3.11.0 (#2094)
- 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 aws-cdk-lib from 2.72.1 to 2.73.0 (#2097)
- 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)
v2.11.0 - 2023-03-29¶
Bug Fixes¶
- feature_flags: make test conditions deterministic (#2059)
- feature_flags: handle expected falsy values in conditions (#2052)
Documentation¶
- logger: warn append_keys on not being thread-safe (#2046)
Features¶
- event_sources: support for S3 Event Notifications through EventBridge (#2024)
Maintenance¶
- update v2 layer ARN on documentation
- deps: bump pydantic from 1.10.6 to 1.10.7 (#2034)
- deps-dev: bump mypy-boto3-s3 from 1.26.97 to 1.26.97.post2 (#2043)
- deps-dev: bump cfn-lint from 0.75.1 to 0.76.1 (#2056)
- deps-dev: bump types-python-dateutil from 2.8.19.10 to 2.8.19.11 (#2057)
- deps-dev: bump mypy-boto3-s3 from 1.26.97.post2 to 1.26.99 (#2054)
- deps-dev: bump mkdocs-material from 9.1.3 to 9.1.4 (#2050)
- deps-dev: bump filelock from 3.10.2 to 3.10.4 (#2048)
- deps-dev: bump mypy-boto3-cloudwatch from 1.26.52 to 1.26.99 (#2049)
- deps-dev: bump filelock from 3.10.1 to 3.10.2 (#2045)
- deps-dev: bump types-requests from 2.28.11.15 to 2.28.11.16 (#2044)
- deps-dev: bump filelock from 3.10.4 to 3.10.7 (#2055)
- deps-dev: bump mypy-boto3-dynamodb from 1.26.97 to 1.26.97.post1 (#2042)
- deps-dev: bump filelock from 3.10.0 to 3.10.1 (#2036)
- deps-dev: bump aws-cdk from 2.69.0 to 2.70.0 (#2039)
- deps-dev: bump mypy-boto3-dynamodb from 1.26.87 to 1.26.97 (#2035)
- deps-dev: bump mypy-boto3-s3 from 1.26.62 to 1.26.97 (#2037)
- deps-dev: bump aws-cdk-lib from 2.69.0 to 2.70.0 (#2038)
- deps-dev: bump types-requests from 2.28.11.16 to 2.28.11.17 (#2061)
- deps-dev: bump mypy-boto3-ssm from 1.26.77 to 1.26.97 (#2033)
- deps-dev: bump flake8-comprehensions from 3.11.0 to 3.11.1 (#2029)
- deps-dev: bump cfn-lint from 0.75.0 to 0.75.1 (#2027)
- deps-dev: bump pytest-asyncio from 0.20.3 to 0.21.0 (#2026)
v2.10.0 - 2023-03-17¶
Bug Fixes¶
- only allow one e2e test at a time
- build: auto-generate setup.py for legacy build tools (#2013)
- ci: bump CDK version
- typing: swap NoReturn with None for methods with no return value (#2004)
Documentation¶
- homepage: revamp install UX & share how we build Lambda Layer (#1978)
- metrics: fix high-resolution metrics announcement link (#2017)
Features¶
- event_sources: support for custom properties in ActiveMQEvent (#1999)
- parser: support for S3 Event Notifications via EventBridge (#1982)
Maintenance¶
- update v2 layer ARN on documentation
- ci: allow dependabot to upgrade CDK for JS
- deps: bump docker/setup-buildx-action from 2.4.1 to 2.5.0 (#1995)
- deps: bump zgosalvez/github-actions-ensure-sha-pinned-actions from 2.1.1 to 2.1.2 (#1979)
- deps: bump aws-actions/configure-aws-credentials from 1 to 2 (#1987)
- deps: bump pydantic from 1.10.5 to 1.10.6 (#1991)
- deps-dev: bump mypy-boto3-secretsmanager from 1.26.49 to 1.26.89 (#1996)
- deps-dev: bump cfn-lint from 0.74.2 to 0.74.3 (#2008)
- deps-dev: bump filelock from 3.9.0 to 3.9.1 (#2006)
- deps-dev: bump aws-cdk-lib from 2.68.0 to 2.69.0 (#2007)
- deps-dev: bump cfn-lint from 0.74.1 to 0.74.2 (#2005)
- deps-dev: bump mypy from 0.982 to 1.1.1 (#1985)
- deps-dev: bump pytest-xdist from 3.2.0 to 3.2.1 (#2000)
- deps-dev: bump flake8-bugbear from 23.2.13 to 23.3.12 (#2001)
- deps-dev: bump bandit from 1.7.4 to 1.7.5 (#1997)
- deps-dev: bump mkdocs-material from 9.1.2 to 9.1.3 (#2009)
- deps-dev: bump aws-cdk from 2.67.0 to 2.69.0 (#2010)
- deps-dev: bump mkdocs-material from 9.1.1 to 9.1.2 (#1994)
- deps-dev: bump mypy-boto3-dynamodb from 1.26.84 to 1.26.87 (#1993)
- deps-dev: bump filelock from 3.9.1 to 3.10.0 (#2019)
- deps-dev: bump aws-cdk-lib from 2.67.0 to 2.68.0 (#1992)
- deps-dev: bump cfn-lint from 0.74.0 to 0.74.1 (#1988)
- deps-dev: bump coverage from 7.2.1 to 7.2.2 (#2021)
- deps-dev: bump pytest from 7.2.1 to 7.2.2 (#1980)
- deps-dev: bump cfn-lint from 0.74.3 to 0.75.0 (#2020)
- deps-dev: bump types-python-dateutil from 2.8.19.9 to 2.8.19.10 (#1973)
- deps-dev: bump hvac from 1.0.2 to 1.1.0 (#1983)
- deps-dev: bump mkdocs-material from 9.1.0 to 9.1.1 (#1984)
- deps-dev: bump mypy-boto3-dynamodb from 1.26.24 to 1.26.84 (#1981)
- deps-dev: bump mkdocs-material from 9.0.15 to 9.1.0 (#1976)
- deps-dev: bump cfn-lint from 0.67.0 to 0.74.0 (#1974)
- deps-dev: bump aws-cdk-lib from 2.66.1 to 2.67.0 (#1977)
v2.9.1 - 2023-03-01¶
Bug Fixes¶
- idempotency: revert dict mutation that impacted static_pk_value feature (#1970)
Documentation¶
- appsync: add mutation example and infrastructure fix (#1964)
- parameters: fix typos and inconsistencies (#1966)
Maintenance¶
- update project description
- update v2 layer ARN on documentation
- ci: disable pypi test due to maintenance mode
- ci: replace deprecated set-output commands (#1957)
- deps: bump fastjsonschema from 2.16.2 to 2.16.3 (#1961)
- deps: bump release-drafter/release-drafter from 5.22.0 to 5.23.0 (#1947)
- deps: bump zgosalvez/github-actions-ensure-sha-pinned-actions from 2.1.0 to 2.1.1 (#1958)
- deps-dev: bump coverage from 7.2.0 to 7.2.1 (#1963)
- deps-dev: bump types-python-dateutil from 2.8.19.8 to 2.8.19.9 (#1960)
- deps-dev: bump mkdocs-material from 9.0.14 to 9.0.15 (#1959)
- deps-dev: bump mypy-boto3-lambda from 1.26.55 to 1.26.80 (#1967)
- deps-dev: bump types-requests from 2.28.11.14 to 2.28.11.15 (#1962)
- deps-dev: bump aws-cdk-lib from 2.66.0 to 2.66.1 (#1954)
- deps-dev: bump coverage from 7.1.0 to 7.2.0 (#1951)
- deps-dev: bump mkdocs-material from 9.0.13 to 9.0.14 (#1952)
- deps-dev: bump mypy-boto3-ssm from 1.26.43 to 1.26.77 (#1949)
- deps-dev: bump types-requests from 2.28.11.13 to 2.28.11.14 (#1946)
- deps-dev: bump aws-cdk-lib from 2.65.0 to 2.66.0 (#1948)
- deps-dev: bump types-python-dateutil from 2.8.19.7 to 2.8.19.8 (#1945)
- parser: add workaround to make API GW test button work (#1971)
v2.9.0 - 2023-02-21¶
Bug Fixes¶
- ci: upgraded cdk to match the version used on e2e tests
- feature-flags: revert RuleAction Enum inheritance on str (#1910)
- logger: support exception and exception_name fields at any log level (#1930)
- metrics: clarify no-metrics user warning (#1935)
Documentation¶
- event_handlers: Fix REST API - HTTP Methods documentation (#1936)
- home: update powertools definition
- we-made-this: add CI/CD using Feature Flags video (#1940)
- we-made-this: add Feature Flags post (#1939)
Features¶
- batch: add support to SQS FIFO queues (SqsFifoPartialProcessor) (#1934)
Maintenance¶
- update v2 layer ARN on documentation
- deps: bump zgosalvez/github-actions-ensure-sha-pinned-actions from 2.0.5 to 2.1.0 (#1943)
- deps: bump pydantic from 1.10.4 to 1.10.5 (#1931)
- deps-dev: bump mkdocs-material from 9.0.12 to 9.0.13 (#1944)
- deps-dev: bump aws-cdk-lib from 2.64.0 to 2.65.0 (#1938)
- deps-dev: bump types-python-dateutil from 2.8.19.6 to 2.8.19.7 (#1932)
- deps-dev: bump types-requests from 2.28.11.12 to 2.28.11.13 (#1933)
- deps-dev: bump mypy-boto3-appconfig from 1.26.63 to 1.26.71 (#1928)
- deps-dev: bump flake8-bugbear from 23.1.20 to 23.2.13 (#1924)
- deps-dev: bump mypy-boto3-appconfigdata from 1.26.0.post1 to 1.26.70 (#1925)
v2.8.0 - 2023-02-10¶
Bug Fixes¶
- idempotency: make idempotent_function decorator thread safe (#1899)
Documentation¶
- engine: re-enable clipboard button for code snippets
- homepage: Replace poetry command to add group parameter (#1917)
- homepage: set url for end-of-support in announce block (#1893)
- idempotency: add IAM permissions section (#1902)
- metrics: remove reduntant wording before release
- metrics: fix syntax highlighting for new default_dimensions
Features¶
- batch: add async_batch_processor for concurrent processing (#1724)
- metrics: add default_dimensions to single_metric (#1880)
Maintenance¶
- update v2 layer ARN on documentation
- deps: bump docker/setup-buildx-action from 2.4.0 to 2.4.1 (#1903)
- deps-dev: bump aws-cdk-lib from 2.63.0 to 2.63.2 (#1904)
- deps-dev: bump black from 22.12.0 to 23.1.0 (#1886)
- deps-dev: bump types-requests from 2.28.11.8 to 2.28.11.12 (#1906)
- deps-dev: bump pytest-xdist from 3.1.0 to 3.2.0 (#1905)
- deps-dev: bump aws-cdk-lib from 2.63.2 to 2.64.0 (#1918)
- deps-dev: bump mkdocs-material from 9.0.11 to 9.0.12 (#1919)
- deps-dev: bump mkdocs-material from 9.0.10 to 9.0.11 (#1896)
- deps-dev: bump mypy-boto3-appconfig from 1.26.0.post1 to 1.26.63 (#1895)
- deps-dev: bump mypy-boto3-s3 from 1.26.58 to 1.26.62 (#1889)
- deps-dev: bump mkdocs-material from 9.0.9 to 9.0.10 (#1888)
- deps-dev: bump aws-cdk-lib from 2.62.2 to 2.63.0 (#1887)
- maintainers: fix release workflow rename
- pypi: add new links to Pypi package homepage (#1912)
v2.7.1 - 2023-02-01¶
Bug Fixes¶
- parallel_run should fail when e2e tests fail
- bump aws-cdk version
- ci: scope e2e tests by python version
- ci: add auth to API HTTP Gateway and Lambda Function Url (#1882)
- license: correction to MIT + MIT-0 (no proprietary anymore) (#1883)
- license: add MIT-0 license header (#1871)
- tests: make logs fetching more robust (#1878)
- tests: remove custom workers
- tests: make sure multiple e2e tests run concurrently (#1861)
Documentation¶
- event-source: fix incorrect method in example CloudWatch Logs (#1857)
- homepage: add banner for end-of-support v1 (#1879)
- parameters: snippets split, improved, and lint (#1564)
Maintenance¶
- update v2 layer ARN on documentation
- deps: bump docker/setup-buildx-action from 2.0.0 to 2.4.0 (#1873)
- deps: bump dependabot/fetch-metadata from 1.3.5 to 1.3.6 (#1855)
- deps-dev: bump mypy-boto3-s3 from 1.26.0.post1 to 1.26.58 (#1868)
- deps-dev: bump isort from 5.11.4 to 5.11.5 (#1875)
- deps-dev: bump aws-cdk-lib from 2.62.1 to 2.62.2 (#1869)
- deps-dev: bump mkdocs-material from 9.0.6 to 9.0.8 (#1874)
- deps-dev: bump aws-cdk-lib from 2.62.0 to 2.62.1 (#1866)
- deps-dev: bump mypy-boto3-cloudformation from 1.26.35.post1 to 1.26.57 (#1865)
- deps-dev: bump coverage from 7.0.5 to 7.1.0 (#1862)
- deps-dev: bump aws-cdk-lib from 2.61.1 to 2.62.0 (#1863)
- deps-dev: bump flake8-bugbear from 22.12.6 to 23.1.20 (#1854)
- deps-dev: bump mypy-boto3-lambda from 1.26.49 to 1.26.55 (#1856)
Reverts¶
- fix(tests): remove custom workers
v2.7.0 - 2023-01-24¶
Bug Fixes¶
- git-chlg docker image is broken
Features¶
- feature_flags: Add Time based feature flags actions (#1846)
Maintenance¶
- update v2 layer ARN on documentation
- deps: bump peaceiris/actions-gh-pages from 3.9.1 to 3.9.2 (#1841)
- deps: bump future from 0.18.2 to 0.18.3 (#1836)
- deps: bump zgosalvez/github-actions-ensure-sha-pinned-actions from 2.0.4 to 2.0.5 (#1837)
- deps-dev: bump mkdocs-material from 9.0.4 to 9.0.5 (#1840)
- deps-dev: bump types-requests from 2.28.11.7 to 2.28.11.8 (#1843)
- deps-dev: bump mypy-boto3-cloudwatch from 1.26.30 to 1.26.52 (#1847)
- deps-dev: bump pytest from 7.2.0 to 7.2.1 (#1838)
- deps-dev: bump aws-cdk-lib from 2.60.0 to 2.61.1 (#1849)
- deps-dev: bump mypy-boto3-logs from 1.26.49 to 1.26.53 (#1850)
- deps-dev: bump mkdocs-material from 9.0.5 to 9.0.6 (#1851)
- deps-dev: bump mkdocs-material from 9.0.3 to 9.0.4 (#1833)
- deps-dev: bump mypy-boto3-logs from 1.26.43 to 1.26.49 (#1834)
- deps-dev: bump mypy-boto3-secretsmanager from 1.26.40 to 1.26.49 (#1835)
- deps-dev: bump mypy-boto3-lambda from 1.26.18 to 1.26.49 (#1832)
- deps-dev: bump aws-cdk-lib from 2.59.0 to 2.60.0 (#1831)
v2.6.0 - 2023-01-12¶
Bug Fixes¶
- api_gateway: fixed custom metrics issue when using debug mode (#1827)
Documentation¶
- logger: fix incorrect field names in example structured logs (#1830)
- logger: Add warning of uncaught exceptions (#1826)
Maintenance¶
- update v2 layer ARN on documentation
- deps: bump pydantic from 1.10.2 to 1.10.4 (#1817)
- deps: bump zgosalvez/github-actions-ensure-sha-pinned-actions from 2.0.1 to 2.0.3 (#1801)
- deps: bump release-drafter/release-drafter from 5.21.1 to 5.22.0 (#1802)
- deps: bump gitpython from 3.1.29 to 3.1.30 (#1812)
- deps: bump zgosalvez/github-actions-ensure-sha-pinned-actions from 2.0.3 to 2.0.4 (#1821)
- deps: bump peaceiris/actions-gh-pages from 3.9.0 to 3.9.1 (#1814)
- deps-dev: bump mkdocs-material from 8.5.11 to 9.0.2 (#1808)
- deps-dev: bump mypy-boto3-ssm from 1.26.11.post1 to 1.26.43 (#1819)
- deps-dev: bump mypy-boto3-logs from 1.26.27 to 1.26.43 (#1820)
- deps-dev: bump filelock from 3.8.2 to 3.9.0 (#1816)
- deps-dev: bump mypy-boto3-cloudformation from 1.26.11.post1 to 1.26.35.post1 (#1818)
- deps-dev: bump ijson from 3.1.4 to 3.2.0.post0 (#1815)
- deps-dev: bump coverage from 6.5.0 to 7.0.3 (#1806)
- deps-dev: bump flake8-builtins from 2.0.1 to 2.1.0 (#1799)
- deps-dev: bump coverage from 7.0.3 to 7.0.4 (#1822)
- deps-dev: bump mypy-boto3-secretsmanager from 1.26.12 to 1.26.40 (#1811)
- deps-dev: bump isort from 5.11.3 to 5.11.4 (#1809)
- deps-dev: bump aws-cdk-lib from 2.55.1 to 2.59.0 (#1810)
- deps-dev: bump importlib-metadata from 5.1.0 to 6.0.0 (#1804)
- deps-dev: bump mkdocs-material from 9.0.2 to 9.0.3 (#1823)
- deps-dev: bump black from 22.10.0 to 22.12.0 (#1770)
- deps-dev: bump flake8-black from 0.3.5 to 0.3.6 (#1792)
- deps-dev: bump coverage from 7.0.4 to 7.0.5 (#1829)
- deps-dev: bump types-requests from 2.28.11.5 to 2.28.11.7 (#1795)
v2.5.0 - 2022-12-21¶
Bug Fixes¶
- event_handlers: omit explicit None HTTP header values (#1793)
Documentation¶
- idempotency: fix, improve, and increase visibility for batch integration (#1776)
- validation: fix broken link; enrich built-in jmespath links (#1777)
Features¶
- logger: unwrap event from common models if asked to log (#1778)
Maintenance¶
- update v2 layer ARN on documentation
- common: reusable function to extract event from models
- deps: bump certifi from 2022.9.24 to 2022.12.7 (#1768)
- deps: bump zgosalvez/github-actions-ensure-sha-pinned-actions from 1.4.0 to 2.0.1 (#1752)
- deps: bump zgosalvez/github-actions-ensure-sha-pinned-actions from 1.3.0 to 1.4.0 (#1749)
- deps-dev: bump pytest-asyncio from 0.20.2 to 0.20.3 (#1767)
- deps-dev: bump mypy-boto3-cloudwatch from 1.26.0.post1 to 1.26.17 (#1753)
- deps-dev: bump isort from 5.10.1 to 5.11.2 (#1782)
- deps-dev: bump mypy-boto3-cloudwatch from 1.26.17 to 1.26.30 (#1785)
- deps-dev: bump mypy-boto3-dynamodb from 1.26.13.post16 to 1.26.24 (#1765)
- deps-dev: bump aws-cdk-lib from 2.54.0 to 2.55.1 (#1787)
- deps-dev: bump aws-cdk-lib from 2.53.0 to 2.54.0 (#1764)
- deps-dev: bump flake8-bugbear from 22.10.27 to 22.12.6 (#1760)
- deps-dev: bump filelock from 3.8.0 to 3.8.2 (#1759)
- deps-dev: bump pytest-xdist from 3.0.2 to 3.1.0 (#1758)
- deps-dev: bump mkdocs-material from 8.5.10 to 8.5.11 (#1756)
- deps-dev: bump importlib-metadata from 4.13.0 to 5.1.0 (#1750)
- deps-dev: bump isort from 5.11.2 to 5.11.3 (#1788)
- deps-dev: bump flake8-black from 0.3.3 to 0.3.5 (#1738)
- deps-dev: bump mypy-boto3-logs from 1.26.17 to 1.26.27 (#1775)
- tests: move shared_functions to unit tests
v2.4.0 - 2022-11-24¶
Bug Fixes¶
- ci: use gh-pages env as official docs are wrong
- ci: api docs path
Documentation¶
- idempotency: fix register_lambda_context order (#1747)
- streaming: fix leftover newline
Features¶
- streaming: add new s3 streaming utility (#1719)
Maintenance¶
- update v2 layer ARN on documentation
- ci: re-create versioned API docs for new pages deployment
- ci: re-create versioned API docs for new pages deployment
- ci: increase permission in parent job for docs publishing
- ci: attempt gh-pages deployment via beta route
- deps: bump aws-xray-sdk from 2.10.0 to 2.11.0 (#1730)
- deps-dev: bump mypy-boto3-lambda from 1.26.0.post1 to 1.26.12 (#1742)
- deps-dev: bump mypy-boto3-cloudformation from 1.26.0.post1 to 1.26.11.post1 (#1746)
- deps-dev: bump aws-cdk-lib from 2.50.0 to 2.51.1 (#1741)
- deps-dev: bump mypy-boto3-dynamodb from 1.26.0.post1 to 1.26.13.post16 (#1743)
- deps-dev: bump mypy-boto3-secretsmanager from 1.26.0.post1 to 1.26.12 (#1744)
- deps-dev: bump mypy-boto3-ssm from 1.26.4 to 1.26.11.post1 (#1740)
- deps-dev: bump types-requests from 2.28.11.4 to 2.28.11.5 (#1729)
- deps-dev: bump mkdocs-material from 8.5.9 to 8.5.10 (#1731)
- governance: remove markdown rendering from docs issue template
Regression¶
- ci: new gh-pages beta doesn't work either; reverting as gh-pages is disrupted
v2.3.1 - 2022-11-21¶
Bug Fixes¶
- apigateway: support dynamic routes with equal sign (RFC3986) (#1737)
Maintenance¶
- update v2 layer ARN on documentation
- test build layer hardware to 8 core
- deps-dev: bump mypy-boto3-xray from 1.26.9 to 1.26.11.post1 (#1734)
v2.3.0 - 2022-11-17¶
Bug Fixes¶
- apigateway: support nested router decorators (#1709)
- ci: increase permission to allow version sync back to repo
- ci: disable pre-commit hook download from version bump
- ci: setup git client earlier to prevent dirty stash error
- parameters: get_secret correctly return SecretBinary value (#1717)
Documentation¶
- project name consistency
- apigateway: add all resolvers in testing your code section for accuracy (#1688)
- examples: linting unnecessary whitespace
- homepage: update default value for
POWERTOOLS_DEV
(#1695) - idempotency: add missing Lambda Context; note on thread-safe (#1732)
- logger: update uncaught exception message value
Features¶
- apigateway: multiple exceptions in exception_handler (#1707)
- event_sources: extract CloudWatch Logs in Kinesis streams (#1710)
- logger: log uncaught exceptions via system's exception hook (#1727)
- parser: export Pydantic.errors through escape hatch (#1728)
- parser: extract CloudWatch Logs in Kinesis streams (#1726)
Maintenance¶
- apigw test event wrongly set with base64
- update v2 layer ARN on documentation
- ci: revert custom hw for E2E due to lack of hw
- ci: try bigger hardware for e2e test
- ci: uncomment test pypi, fix version bump sync
- ci: limit to src only to prevent dependabot failures
- ci: use new custom hw for E2E
- ci: prevent dependabot updates to trigger E2E
- ci: bump hardware for build steps
- deps: bump dependabot/fetch-metadata from 1.3.4 to 1.3.5 (#1689)
- deps-dev: bump types-requests from 2.28.11.3 to 2.28.11.4 (#1701)
- deps-dev: bump mypy-boto3-s3 from 1.25.0 to 1.26.0.post1 (#1716)
- deps-dev: bump mypy-boto3-appconfigdata from 1.25.0 to 1.26.0.post1 (#1704)
- deps-dev: bump mypy-boto3-xray from 1.25.0 to 1.26.0.post1 (#1703)
- deps-dev: bump mypy-boto3-cloudwatch from 1.25.0 to 1.26.0.post1 (#1714)
- deps-dev: bump flake8-bugbear from 22.10.25 to 22.10.27 (#1665)
- deps-dev: bump mypy-boto3-lambda from 1.25.0 to 1.26.0.post1 (#1705)
- deps-dev: bump mypy-boto3-xray from 1.26.0.post1 to 1.26.9 (#1720)
- deps-dev: bump mypy-boto3-logs from 1.25.0 to 1.26.3 (#1702)
- deps-dev: bump mypy-boto3-ssm from 1.26.0.post1 to 1.26.4 (#1721)
- deps-dev: bump mypy-boto3-appconfig from 1.25.0 to 1.26.0.post1 (#1722)
- deps-dev: bump pytest-asyncio from 0.20.1 to 0.20.2 (#1723)
- deps-dev: bump flake8-builtins from 2.0.0 to 2.0.1 (#1715)
- deps-dev: bump pytest-xdist from 2.5.0 to 3.0.2 (#1655)
- deps-dev: bump mkdocs-material from 8.5.7 to 8.5.9 (#1697)
- deps-dev: bump flake8-comprehensions from 3.10.0 to 3.10.1 (#1699)
- deps-dev: bump types-requests from 2.28.11.2 to 2.28.11.3 (#1698)
- deps-dev: bump pytest-benchmark from 3.4.1 to 4.0.0 (#1659)
- deps-dev: bump mypy-boto3-secretsmanager from 1.25.0 to 1.26.0.post1 (#1691)
- deps-dev: bump mypy-boto3-ssm from 1.25.0 to 1.26.0.post1 (#1690)
- logger: uncaught exception to use exception value as message
- logger: overload inject_lambda_context with generics (#1583)
v2.2.0 - 2022-11-07¶
Documentation¶
- homepage: remove v1 layer limitation on pydantic not being included
- tracer: add note on why X-Ray SDK over ADOT closes #1675
Features¶
- metrics: add EphemeralMetrics as a non-singleton option (#1676)
- parameters: add get_parameters_by_name for SSM params in distinct paths (#1678)
Maintenance¶
- update v2 layer ARN on documentation
- deps: bump package to 2.2.0
- deps-dev: bump aws-cdk-lib from 2.49.0 to 2.50.0 (#1683)
- deps-dev: bump mypy-boto3-dynamodb from 1.25.0 to 1.26.0.post1 (#1682)
- deps-dev: bump mypy-boto3-cloudformation from 1.25.0 to 1.26.0.post1 (#1679)
- package: correct pyproject version manually
v2.1.0 - 2022-10-31¶
Bug Fixes¶
- ci: linting issues after flake8-blackbear,mypy upgrades
- deps: update build system to poetry-core (#1651)
- idempotency: idempotent_function should support standalone falsy values (#1669)
- logger: fix unknown attributes being ignored by mypy (#1670)
Documentation¶
- community: fix social handlers for Ran (#1654)
- community: fix twitch parent domain for embedded video
- homepage: remove 3.6 and add hero image
- homepage: add Pulumi code example (#1652)
- index: fold support us banner
- index: add quotes to pip for zsh customers
- install: address early v2 feedback on installation and project support
- we-made-this: new community content section (#1650)
Features¶
- layers: add layer balancer script (#1643)
- logger: add use_rfc3339 and auto-complete formatter opts in Logger (#1662)
- logger: accept arbitrary keyword=value for ephemeral metadata (#1658)
Maintenance¶
- update v2 layer ARN on documentation
- ci: fix typo on version description
- deps: bump peaceiris/actions-gh-pages from 3.8.0 to 3.9.0 (#1649)
- deps: bump docker/setup-qemu-action from 2.0.0 to 2.1.0 (#1627)
- deps-dev: bump aws-cdk-lib from 2.47.0 to 2.48.0 (#1664)
- deps-dev: bump flake8-variables-names from 0.0.4 to 0.0.5 (#1628)
- deps-dev: bump pytest-asyncio from 0.16.0 to 0.20.1 (#1635)
- deps-dev: bump aws-cdk-lib from 2.48.0 to 2.49.0 (#1671)
- docs: remove v2 banner on top of the docs
- governance: remove 'area/' from PR labels
v2.0.0 - 2022-10-24¶
Bug Fixes¶
- lock dependencies
- mypy errors
- lint files
- ci: temporarly remove pypi test deployment
- ci: use docker driver on buildx
- ci: new artifact path, sed gnu/linux syntax, and pypi test
- ci: secret and OIDC inheritance in nested children workflow
- ci: build without buildkit
- ci: fix arm64 layer builds
- ci: remove v2 suffix from SAR apps (#1633)
- ci: workflow should use npx for CDK CLI
- parser: S3Model Object Deleted omits size and eTag attr (#1638)
Code Refactoring¶
- apigateway: remove POWERTOOLS_EVENT_HANDLER_DEBUG env var (#1620)
- batch: remove legacy sqs_batch_processor (#1492)
- e2e: make table name dynamic
- e2e: fix idempotency typing
Documentation¶
- batch: remove legacy reference to sqs processor
- homepage: note about v2 version
- homepage: auto-update Layer ARN on every release (#1610)
- roadmap: refresh roadmap post-v2 launch
- roadmap: include observability provider and lambda layer themes before v2
- upgrade_guide: add latest changes and quick summary (#1623)
- v2: document optional dependencies and local dev (#1574)
Features¶
- apigateway: ignore trailing slashes in routes (APIGatewayRestResolver) (#1609)
- ci: release docs as alpha when doing a pre-release (#1624)
- data-classes: replace AttributeValue in DynamoDBStreamEvent with deserialized Python values (#1619)
- data_classes: add KinesisFirehoseEvent (#1540)
- event_handler: improved support for headers and cookies in v2 (#1455)
- event_handler: add cookies as 1st class citizen in v2 (#1487)
- idempotency: support methods with the same name (ABCs) by including fully qualified name in v2 (#1535)
- layer: publish SAR v2 via Github actions (#1585)
- layers: add support for publishing v2 layer (#1558)
- parameters: migrate AppConfig to new APIs due to API deprecation (#1553)
- tracer: support methods with the same name (ABCs) by including fully qualified name in v2 (#1486)
Maintenance¶
- update v2 layer ARN on documentation
- update v2 layer ARN on documentation
- update v2 layer ARN on documentation
- update v2 layer ARN on documentation
- merge v2 branch
- bump pyproject version to 2.0
- ci: make release process manual
- ci: migrate E2E tests to CDK CLI and off Docker (#1501)
- ci: remove v1 workflows (#1617)
- core: expose modules in the Top-level package (#1517)
- dep: add cfn-lint as a dev dependency; pre-commit (#1612)
- deps: remove email-validator; use Str over EmailStr in SES model (#1608)
- deps: bump release-drafter/release-drafter from 5.21.0 to 5.21.1 (#1611)
- deps: lock importlib to 4.x
- deps-dev: bump mypy-boto3-s3 from 1.24.76 to 1.24.94 (#1622)
- deps-dev: bump aws-cdk-lib from 2.46.0 to 2.47.0 (#1629)
- layer: bump to 1.31.1 (v39)
v1.31.1 - 2022-10-14¶
Bug Fixes¶
- parser: loose validation on SNS fields to support FIFO (#1606)
Documentation¶
- governance: allow community to suggest feature content (#1593)
- governance: new form to allow customers self-nominate as public reference (#1589)
- homepage: include .NET powertools
- idempotency: "persisntence" typo (#1596)
- logger: fix typo. (#1587)
Maintenance¶
- add dummy v2 sar deploy job
- bump layer version to 38
- deps-dev: bump mypy-boto3-ssm from 1.24.81 to 1.24.90 (#1594)
- deps-dev: bump flake8-builtins from 1.5.3 to 2.0.0 (#1582)
v1.31.0 - 2022-10-10¶
Bug Fixes¶
- metrics: ensure dimension_set is reused across instances (pointer) (#1581)
Documentation¶
- readme: add lambda layer latest version badge
Features¶
- parser: add KinesisFirehoseModel (#1556)
Maintenance¶
- deps-dev: bump types-requests from 2.28.11.1 to 2.28.11.2 (#1576)
- deps-dev: bump typing-extensions from 4.3.0 to 4.4.0 (#1575)
- layer: remove unsused GetFunction permission for the canary
- layer: bump to latest version 37
v1.30.0 - 2022-10-05¶
Bug Fixes¶
- apigateway: update Response class to require status_code only (#1560)
- ci: integrate isort 5.0 with black to resolve conflicts
- event_sources: implement Mapping protocol on DictWrapper for better interop with existing middlewares (#1516)
- typing: fix mypy error
- typing: level arg in copy_config_to_registered_loggers (#1534)
Documentation¶
- batch: document the new lambda context feature
- homepage: introduce POWERTOOLS_DEV env var (#1569)
- multiple: fix highlighting after new isort/black integration
- parser: add JSON string field extension example (#1526)
Features¶
- batch: inject lambda_context if record handler signature accepts it (#1561)
- event-handler: context support to share data between routers (#1567)
- logger: introduce POWERTOOLS_DEBUG for internal debugging (#1572)
- logger: include logger name attribute when copy_config_to_registered_logger is used (#1568)
- logger: pretty-print JSON when POWERTOOLS_DEV is set (#1548)
Maintenance¶
- dep: bump pyproject to pypi sync
- deps: bump fastjsonschema from 2.16.1 to 2.16.2 (#1530)
- deps: bump actions/setup-python from 3 to 4 (#1528)
- deps: bump codecov/codecov-action from 3.1.0 to 3.1.1 (#1529)
- deps: bump dependabot/fetch-metadata from 1.3.3 to 1.3.4 (#1565)
- deps: bump email-validator from 1.2.1 to 1.3.0 (#1533)
- deps-dev: bump mypy-boto3-secretsmanager from 1.24.54 to 1.24.83 (#1557)
- deps-dev: bump mkdocs-material from 8.5.3 to 8.5.4 (#1563)
- deps-dev: bump pytest-cov from 3.0.0 to 4.0.0 (#1551)
- deps-dev: bump flake8-bugbear from 22.9.11 to 22.9.23 (#1541)
- deps-dev: bump types-requests from 2.28.11 to 2.28.11.1 (#1571)
- deps-dev: bump mypy-boto3-ssm from 1.24.69 to 1.24.80 (#1542)
- deps-dev: bump mako from 1.2.2 to 1.2.3 (#1537)
- deps-dev: bump types-requests from 2.28.10 to 2.28.11 (#1538)
- deps-dev: bump mkdocs-material from 8.5.1 to 8.5.3 (#1532)
- deps-dev: bump mypy-boto3-ssm from 1.24.80 to 1.24.81 (#1544)
- deps-dev: bump mypy-boto3-s3 from 1.24.36.post1 to 1.24.76 (#1531)
- docs: bump layer version to 36 (1.29.2)
- layers: add dummy v2 layer automation
- lint: use new isort black integration
- multiple: localize powertools_dev env logic and warning (#1570)
v1.29.2 - 2022-09-19¶
Bug Fixes¶
- deps: bump dev dep mako version to address CVE-2022-40023 (#1524)
Maintenance¶
- deps: bump release-drafter/release-drafter from 5.20.1 to 5.21.0 (#1520)
- deps-dev: bump mkdocs-material from 8.5.0 to 8.5.1 (#1521)
- deps-dev: bump mypy-boto3-dynamodb from 1.24.60 to 1.24.74 (#1522)
v1.29.1 - 2022-09-13¶
v1.29.0 - 2022-09-13¶
Bug Fixes¶
- ci: ignore v2 action for now
- ci: only run e2e tests on py 3.7
- ci: pass core fns to large pr workflow script
- ci: on_label permissioning model & workflow execution
- ci: ensure PR_AUTHOR is present for large_pr_split workflow
- ci: gracefully and successful exit changelog upon no changes
- ci: event resolution for on_label_added workflow
- core: fixes leftovers from rebase
Documentation¶
- layer: upgrade to 1.28.0 (v33)
Features¶
- ci: add actionlint in pre-commit hook
- data-classes: add KafkaEvent and KafkaEventRecord (#1485)
- event_sources: add CloudWatch dashboard custom widget event (#1474)
- parser: add KafkaMskEventModel and KafkaSelfManagedEventModel (#1499)
Maintenance¶
- ci: add workflow to suggest splitting large PRs (#1480)
- ci: remove unused and undeclared OS matrix env
- ci: disable v2 docs
- ci: limit E2E workflow run for source code change
- ci: add missing description fields
- ci: sync package version with pypi
- ci: fix invalid dependency leftover
- ci: create adhoc docs workflow for v2
- ci: create adhoc docs workflow for v2
- ci: remove dangling debug step
- ci: create docs workflow for v2
- ci: create reusable docs publishing workflow (#1482)
- ci: format comment on comment_large_pr script
- ci: add note for state persistence on comment_large_pr
- ci: destructure assignment on comment_large_pr
- ci: record pr details upon labeling
- ci: add linter for GitHub Actions as pre-commit hook (#1479)
- ci: enable ci checks for v2
- deps-dev: bump black from 21.12b0 to 22.8.0 (#1515)
- deps-dev: bump mypy-boto3-dynamodb from 1.24.55.post1 to 1.24.60 (#1481)
- deps-dev: bump mypy-boto3-dynamodb from 1.24.55.post1 to 1.24.60 (#306)
- deps-dev: bump mkdocs-material from 8.4.1 to 8.4.2 (#1483)
- deps-dev: revert to v1.28.0 dependencies
- deps-dev: bump mkdocs-material from 8.4.4 to 8.5.0 (#1514)
- maintainers: update release workflow link
- maintenance: add discord link to first PR and first issue (#1493)
v1.28.0 - 2022-08-25¶
Bug Fixes¶
- ci: calculate parallel jobs based on infrastructure needs (#1475)
- ci: del flake8 direct dep over py3.6 conflicts and docs failure
- ci: move from pip-tools to poetry on layers reusable workflow
- ci: move from pip-tools to poetry on layers to fix conflicts
- ci: typo and bust gh actions cache
- ci: use poetry to resolve layer deps; pip for CDK
- ci: disable poetry venv for layer workflow as cdk ignores venv
- ci: add cdk v2 dep for layers workflow
- ci: move from pip-tools to poetry on layers
- ci: temporarily disable changelog upon release
- ci: add explicit origin to fix release detached head
- jmespath_util: snappy as dev dep and typing example (#1446)
Documentation¶
- apigateway: removes duplicate admonition (#1426)
- home: fix discord syntax and add Discord badge
- home: add discord invitation link (#1471)
- jmespath_util: snippets split, improved, and lint (#1419)
- layer: upgrade to 1.27.0
- layer: upgrade to 1.27.0
- middleware-factory: snippets split, improved, and lint (#1451)
- parser: minor grammar fix (#1427)
- typing: snippets split, improved, and lint (#1465)
- validation: snippets split, improved, and lint (#1449)
Features¶
- parser: add support for Lambda Function URL (#1442)
Maintenance¶
- batch: deprecate sqs_batch_processor (#1463)
- ci: prevent concurrent git update in critical workflows (#1478)
- ci: disable e2e py version matrix due to concurrent locking
- ci: revert e2e py version matrix
- ci: temp disable e2e matrix
- ci: update changelog with latest changes
- ci: update changelog with latest changes
- ci: reduce payload and only send prod notification
- ci: remove area/utilities conflicting label
- ci: include py version in stack and cache lock
- ci: remove conventional changelog commit to reduce noise
- ci: update changelog with latest changes
- deps: bump release-drafter/release-drafter from 5.20.0 to 5.20.1 (#1458)
- deps: bump pydantic from 1.9.1 to 1.9.2 (#1448)
- deps-dev: bump flake8-bugbear from 22.8.22 to 22.8.23 (#1473)
- deps-dev: bump types-requests from 2.28.7 to 2.28.8 (#1423)
- maintainer: add Leandro as maintainer (#1468)
- tests: build and deploy Lambda Layer stack once (#1466)
- tests: refactor E2E test mechanics to ease maintenance, writing tests and parallelization (#1444)
- tests: enable end-to-end test workflow (#1470)
- tests: refactor E2E logger to ease maintenance, writing tests and parallelization (#1460)
- tests: refactor E2E tracer to ease maintenance, writing tests and parallelization (#1457)
Reverts¶
- fix(ci): add explicit origin to fix release detached head
v1.27.0 - 2022-08-05¶
Bug Fixes¶
- ci: changelog workflow must receive git tags too
- ci: add additional input to accurately describe intent on skip
- ci: job permissions
- event_sources: add test for Function URL AuthZ (#1421)
Documentation¶
- layer: upgrade to 1.26.7
Features¶
- ci: create reusable changelog generation (#1418)
- ci: include changelog generation on docs build
- ci: create reusable changelog generation
- event_handlers: Add support for Lambda Function URLs (#1408)
- metrics: update max user-defined dimensions from 9 to 29 (#1417)
Maintenance¶
- ci: sync area labels to prevent dedup
- ci: update changelog with latest changes
- ci: update changelog with latest changes
- ci: add manual trigger for docs
- ci: update changelog with latest changes
- ci: temporarily disable changelog push on release
- ci: update changelog with latest changes
- ci: move changelog generation to rebuild_latest_doc workflow
- ci: update project with version
- ci: update release automated activities
- ci: readd changelog step on release
- ci: move changelog generation to rebuild_latest_doc workflow
- ci: drop 3.6 from workflows
- deps: bump constructs from 10.1.1 to 10.1.60 (#1399)
- deps: bump constructs from 10.1.1 to 10.1.66 (#1414)
- deps: bump jsii from 1.57.0 to 1.63.2 (#1400)
- deps: bump constructs from 10.1.1 to 10.1.64 (#1405)
- deps: bump attrs from 21.4.0 to 22.1.0 (#1397)
- deps: bump constructs from 10.1.1 to 10.1.63 (#1402)
- deps: bump constructs from 10.1.1 to 10.1.65 (#1407)
- deps-dev: bump types-requests from 2.28.5 to 2.28.6 (#1401)
- deps-dev: bump types-requests from 2.28.6 to 2.28.7 (#1406)
- docs: remove pause sentence from roadmap (#1409)
- docs: update site name to test ci changelog
- docs: update CHANGELOG for v1.26.7
- docs: update description to trigger changelog generation
- governance: remove devcontainer in favour of gitpod.io (#1411)
- governance: add pre-configured dev environment with GitPod.io to ease contributions (#1403)
- layers: upgrade cdk dep hashes to prevent ci fail
v1.26.7 - 2022-07-29¶
Bug Fixes¶
- ci: add missing oidc token generation permission
- event_handlers: ImportError when importing Response from top-level event_handler (#1388)
Documentation¶
- examples: enforce and fix all mypy errors (#1393)
Features¶
- idempotency: handle lambda timeout scenarios for INPROGRESS records (#1387)
Maintenance¶
- ci: increase skip_pypi logic to cover tests/changelog on re-run failures
- ci: update project with version 1.26.6
- ci: drop 3.6 from workflows (#1395)
- ci: add conditional to skip pypi release (#1366)
- ci: remove leftover logic from on_merged_pr workflow
- ci: update project with version 1.26.6
- ci: update project with version 1.26.6
- deps: bump jsii from 1.57.0 to 1.63.1 (#1390)
- deps: bump constructs from 10.1.1 to 10.1.59 (#1396)
- deps-dev: bump flake8-isort from 4.1.1 to 4.1.2.post0 (#1384)
- layers: bump to 1.26.6 using layer v26
- maintainers: add Ruben as a maintainer (#1392)
v1.26.6 - 2022-07-25¶
Bug Fixes¶
- ci: remove unsupported env in workflow_call
- ci: allow inherit secrets for reusable workflow
- ci: remove unused secret
- ci: label_related_issue unresolved var from history mixup
- ci: cond doesnt support two expr w/ env
- ci: only event is resolved in cond
- ci: unexpected symbol due to double quotes...
- event_handlers: handle lack of headers when using auto-compression feature (#1325)
Maintenance¶
- dummy for PR test
- print full event depth
- print full workflow event depth
- debug full event
- remove leftover from fork one more time
- ci: test env expr
- ci: test upstream job skip
- ci: lockdown workflow_run by origin (#1350)
- ci: test default env
- ci: experiment hardening origin
- ci: experiment hardening origin
- ci: introduce codeowners (#1352)
- ci: use OIDC and encrypt release secrets (#1355)
- ci: remove core group from codeowners (#1358)
- ci: confirm workflow_run event
- ci: use gh environment for beta and prod layer deploy (#1356)
- ci: update project with version 1.26.5
- deps: bump constructs from 10.1.1 to 10.1.52 (#1343)
- deps-dev: bump mypy-boto3-cloudwatch from 1.24.0 to 1.24.35 (#1342)
- governance: update wording tech debt to summary in maintenance template
- governance: add new maintenance issue template for tech debt (#1326)
- layers: layer canary stack should not hardcode resource name
- layers: replace layers account secret (#1329)
- layers: expand to all aws commercial regions (#1324)
- layers: bump to 1.26.5
Pull Requests¶
- Merge pull request #285 from heitorlessa/chore/skip-dep-workflow
- Merge pull request #284 from heitorlessa/chore/dummy
v1.26.5 - 2022-07-20¶
Bug Fixes¶
- mathc the name of the cdk synth from the build phase
- typo in input for layer workflow
- no need to cache npm since we only install cdk cli and don't have .lock files
- add entire ARN role instead of account and role name
- path to artefact
- unzip the right artifact name
- download artefact into the layer dir
- sight, yes a whitespace character breaks the build
- ci: checkout project before validating related issue workflow
- ci: install poetry before calling setup/python with cache (#1315)
- ci: remove additional quotes in PR action (#1317)
- ci: lambda layer workflow release version and conditionals (#1316)
- ci: fetch all git info so we can check tags
- ci: lambda layer workflow release version and conditionals (#1316)
- ci: keep layer version permission (#1318)
- ci: regex to catch combination of related issues workflow
- deps: correct mypy types as dev dependency (#1322)
- logger: preserve std keys when using custom formatters (#1264)
Documentation¶
- event-handler: snippets split, improved, and lint (#1279)
- governance: typos on PR template fixes #1314
- governance: add security doc to the root
Maintenance¶
- ci: limits concurrency for docs workflow
- ci: adds caching when installing python dependencies (#1311)
- ci: update project with version 1.26.4
- ci: fix reference error in related_issue
- deps: bump constructs from 10.1.1 to 10.1.51 (#1323)
- deps-dev: bump mypy from 0.961 to 0.971 (#1320)
- governance: fix typo on semantic commit link introduced in #1aef4
- layers: add release pipeline in GitHub Actions (#1278)
- layers: bump to 22 for 1.26.3
v1.26.4 - 2022-07-18¶
Bug Fixes¶
- ci: checkout project before validating related issue workflow
- ci: fixes typos and small issues on github scripts (#1302)
- ci: address conditional type on_merge
- ci: address pr title semantic not found logic
- ci: address gh-actions additional quotes; remove debug
- ci: regex group name for on_merge workflow
- ci: escape outputs as certain PRs can break GH Actions expressions
- ci: move conditionals from yaml to code; leftover
- ci: move conditionals from yaml to code
- ci: accept core arg in label related issue workflow
- ci: match the name of the cdk synth from the build phase
- ci: regex to catch combination of related issues workflow
- logger: preserve std keys when using custom formatters (#1264)
- parser: raise ValidationError when SNS->SQS keys are intentionally missing (#1299)
Documentation¶
- event-handler: snippets split, improved, and lint (#1279)
- graphql: snippets split, improved, and lint (#1287)
- homepage: emphasize additional powertools languages (#1292)
- metrics: snippets split, improved, and lint
Maintenance¶
- ci: increase release automation and limit to one manual step (#1297)
- ci: make export PR reusable
- ci: auto-merge cdk lib and lambda layer construct
- ci: convert inline gh-script to file
- ci: lockdown 3rd party workflows to pin sha (#1301)
- ci: automatically add area label based on title (#1300)
- ci: disable output debugging as pr body isnt accepted
- ci: experiment with conditional on outputs
- ci: improve error handling for non-issue numbers
- ci: add end to end testing mechanism (#1247)
- ci: limits concurrency for docs workflow
- ci: fix reference error in related_issue
- ci: move error prone env to code as constants
- ci: move all scripts under .github/scripts
- deps: bump cdk-lambda-powertools-python-layer (#1284)
- deps: bump jsii from 1.61.0 to 1.62.0 (#1294)
- deps: bump constructs from 10.1.1 to 10.1.46 (#1306)
- deps: bump actions/setup-node from 2 to 3 (#1281)
- deps: bump fastjsonschema from 2.15.3 to 2.16.1 (#1309)
- deps: bump constructs from 10.1.1 to 10.1.49 (#1308)
- deps: bump attrs from 21.2.0 to 21.4.0 (#1282)
- deps: bump aws-cdk-lib from 2.29.0 to 2.31.1 (#1290)
- deps-dev: bump mypy-boto3-dynamodb from 1.24.12 to 1.24.27 (#1293)
- deps-dev: bump mypy-boto3-appconfig from 1.24.0 to 1.24.29 (#1295)
- governance: remove any step relying on master branch
- governance: update emeritus affiliation
- layers: add release pipeline in GitHub Actions (#1278)
- layers: bump to 22 for 1.26.3
v1.26.3 - 2022-07-04¶
Bug Fixes¶
- ci: remove utf-8 body in octokit body req
- ci: improve msg visibility on closed issues
- ci: disable merged_pr workflow
- ci: merged_pr add issues write access
- ci: quote prBody GH expr on_opened_pr
- ci: reusable workflow secrets param
- logger: support additional args for handlers when injecting lambda context (#1276)
- logger: preserve std keys when using custom formatters (#1264)
Documentation¶
- lint: add markdownlint rules and automation (#1256)
- logger: document enriching logs with logrecord attributes (#1271)
- logger: snippets split, improved, and lint (#1262)
- metrics: snippets split, improved, and lint (#1272)
- tracer: snippets split, improved, and lint (#1261)
- tracer: split and lint code snippets (#1260)
Maintenance¶
- move to approach B for multiple IaC
- add sam build gitignore
- bump to version 1.26.3
- ci: reactivate on_merged_pr workflow
- ci: improve wording on closed issues action
- ci: deactivate on_merged_pr workflow
- deps: bump aws-xray-sdk from 2.9.0 to 2.10.0 (#1270)
- deps: bump dependabot/fetch-metadata from 1.1.1 to 1.3.2 (#1269)
- deps: bump dependabot/fetch-metadata from 1.3.2 to 1.3.3 (#1273)
- deps-dev: bump flake8-bugbear from 22.6.22 to 22.7.1 (#1274)
- deps-dev: bump flake8-bugbear from 22.4.25 to 22.6.22 (#1258)
- deps-dev: bump mypy-boto3-dynamodb from 1.24.0 to 1.24.12 (#1255)
- deps-dev: bump mypy-boto3-secretsmanager (#1252)
- governance: fix on_merged_pr workflow syntax
- governance: warn message on closed issues
- layers: bump to 21 for 1.26.2
- test-perf: use pytest-benchmark to improve reliability (#1250)
v1.26.2 - 2022-06-16¶
Bug Fixes¶
- event-handler: body to empty string in CORS preflight (ALB non-compliant) (#1249)
Code Refactoring¶
- rename to clear_state
- rename to remove_custom_keys
Documentation¶
- fix anchor
Features¶
- logger: add option to clear state per invocation
Maintenance¶
- bump to 1.26.2
- deps: bump actions/setup-python from 3 to 4 (#1244)
- deps-dev: bump mypy from 0.960 to 0.961 (#1241)
- deps-dev: bump mypy-boto3-ssm from 1.23.0.post1 to 1.24.0 (#1231)
- deps-dev: bump mypy-boto3-secretsmanager from 1.23.8 to 1.24.0 (#1232)
- deps-dev: bump mypy-boto3-dynamodb from 1.23.0.post1 to 1.24.0 (#1234)
- deps-dev: bump mypy-boto3-appconfig from 1.23.0.post1 to 1.24.0 (#1233)
- governance: auto-merge on all PR events
- governance: add release label on pr merge
- governance: enforce safe scope on pr merge labelling
- governance: limit build workflow to code changes only
- governance: auto-merge workflow_dispatch off
- governance: auto-merge to use squash
- governance: check for related issue in new PRs
- governance: auto-merge mypy-stub dependabot
- governance: address gh reusable workflow limitation
- governance: fix workflow action requirements & syntax
- governance: warn message on closed issues
- metrics: revert dimensions test before splitting (#1243)
v1.26.1 - 2022-06-07¶
Bug Fixes¶
- metrics: raise SchemaValidationError for >8 metric dimensions (#1240)
Documentation¶
- governance: link roadmap and maintainers doc
- maintainers: initial maintainers playbook (#1222)
- roadmap: use pinned pause issue instead
Maintenance¶
- bump version 1.26.1
- deps-dev: bump mypy from 0.950 to 0.960 (#1224)
- deps-dev: bump mypy-boto3-secretsmanager from 1.23.0.post1 to 1.23.8 (#1225)
v1.26.0 - 2022-05-20¶
Bug Fixes¶
- batch: missing space in BatchProcessingError message (#1201)
- batch: docstring fix for success_handler() record parameter (#1202)
- docs: remove Slack link (#1210)
Documentation¶
- layer: upgrade to 1.25.10
- roadmap: add new roadmap section (#1204)
Features¶
- parameters: accept boto3_client to support private endpoints and ease testing (#1096)
Maintenance¶
- bump to 1.26.0
- deps: bump pydantic from 1.9.0 to 1.9.1 (#1221)
- deps: bump email-validator from 1.1.3 to 1.2.1 (#1199)
- deps-dev: bump mypy-boto3-secretsmanager from 1.21.34 to 1.23.0.post1 (#1218)
- deps-dev: bump mypy-boto3-appconfig from 1.21.34 to 1.23.0.post1 (#1219)
- deps-dev: bump mypy-boto3-ssm from 1.21.34 to 1.23.0.post1 (#1220)
v1.25.10 - 2022-04-29¶
Bug Fixes¶
- data-classes: Add missing SES fields and (#1045)
- deps: Ignore boto3 changes until needed (#1151)
- deps-dev: remove jmespath due to dev deps conflict (#1148)
- event_handler: exception_handler to handle ServiceError exceptions (#1160)
- event_handler: Allow for event_source support (#1159)
- parser: Add missing fields for SESEvent (#1027)
Documentation¶
- layer: upgrade to 1.25.9
Features¶
- parameters: add clear_cache method for providers (#1194)
Maintenance¶
- include regression in changelog
- bump to 1.25.10
- ci: changelog pre-generation to fetch tags from origin
- ci: disable mergify configuration after breaking changes (#1188)
- ci: post release on tagged issues too
- deps: bump codecov/codecov-action from 3.0.0 to 3.1.0 (#1143)
- deps: bump github/codeql-action from 1 to 2 (#1154)
- deps-dev: bump flake8-eradicate from 1.2.0 to 1.2.1 (#1158)
- deps-dev: bump mypy from 0.942 to 0.950 (#1162)
- deps-dev: bump mkdocs-git-revision-date-plugin (#1146)
- deps-dev: bump flake8-bugbear from 22.1.11 to 22.4.25 (#1156)
- deps-dev: bump xenon from 0.8.0 to 0.9.0 (#1145)
- deps-dev: bump mypy from 0.931 to 0.942 (#1133)
Regression¶
v1.25.9 - 2022-04-21¶
Bug Fixes¶
- deps: correct py36 marker for jmespath
Maintenance¶
- bump to 1.25.9
v1.25.8 - 2022-04-21¶
Bug Fixes¶
- removed ambiguous quotes from labels.
- deps: update jmespath marker to support 1.0 and py3.6 (#1139)
- governance: update label in names in issues
Documentation¶
- install: instructions to reduce pydantic package size (#1077)
- layer: remove link from clipboard button (#1135)
- layer: update to 1.25.7
Maintenance¶
- bump to 1.25.8
- deps: bump codecov/codecov-action from 2.1.0 to 3.0.0 (#1102)
- deps: bump actions/upload-artifact from 2 to 3 (#1103)
- deps-dev: bump mkdocs-material from 8.2.4 to 8.2.7 (#1131)
- deps-dev: bump pytest from 6.2.5 to 7.0.1 (#1063)
v1.25.7 - 2022-04-08¶
Bug Fixes¶
- api_gateway: allow whitespace in routes' path parameter (#1099)
- api_gateway: allow whitespace in routes' path parameter (#1099)
- idempotency: pass by value on idem key to guard inadvert mutations (#1090)
- logger: clear_state should keep custom key formats (#1095)
- middleware_factory: ret type annotation for handler dec (#1066)
Documentation¶
- layer: update to 1.25.6; cosmetic changes
Maintenance¶
- bump to 1.25.7
- governance: refresh pull request template sections
- governance: update external non-triage effort disclaimer
- governance: update static typing to a form
- governance: update rfc to a form
- governance: update feat request to a form
- governance: bug report form typo
- governance: update docs report to a form
- governance: update bug report to a form
- governance: new ask a question
- governance: new static typing report
v1.25.6 - 2022-04-01¶
Bug Fixes¶
- logger: clear_state regression on absent standard keys (#1088)
Documentation¶
- layer: bump to 1.25.5
Maintenance¶
- bump to 1.25.6
v1.25.5 - 2022-03-18¶
Bug Fixes¶
- logger-utils: regression on exclude set leading to no formatter (#1080)
Maintenance¶
- bump to 1.25.5
v1.25.4 - 2022-03-17¶
Bug Fixes¶
- package_logger as const over logger instance
- repurpose test to cover parent loggers case
- use addHandler over monkeypatch
Documentation¶
- appsync: fix typo
- contributing: operational excellence pause
- layer: update to 1.25.3
Maintenance¶
- bump to 1.25.4
- remove duplicate test
- comment reason for change
- remove unnecessary test
- lint unused import
Regression¶
- service_name fixture
Pull Requests¶
- Merge pull request #1075 from mploski/fix/existing-loggers-duplicated-logs
v1.25.3 - 2022-03-09¶
Bug Fixes¶
- logger: ensure state is cleared for custom formatters (#1072)
Documentation¶
- plugin: add mermaid to create diagram as code (#1070)
Maintenance¶
- bump to 1.25.3
v1.25.2 - 2022-03-07¶
Bug Fixes¶
- event_handler: docs snippets, high-level import CorsConfig (#1019)
- lambda-authorizer: allow proxy resources path in arn (#1051)
- metrics: flush upon a single metric 100th data point (#1046)
Documentation¶
- layer: update to 1.25.1
- parser: APIGatewayProxyEvent to APIGatewayProxyEventModel (#1061)
Maintenance¶
- bump to 1.25.2
- deps: bump actions/setup-python from 2.3.1 to 3 (#1048)
- deps: bump actions/checkout from 2 to 3 (#1052)
- deps: bump actions/github-script from 5 to 6 (#1023)
- deps: bump fastjsonschema from 2.15.2 to 2.15.3 (#949)
- deps-dev: bump mkdocs-material from 8.1.9 to 8.2.4 (#1054)
v1.25.1 - 2022-02-14¶
Bug Fixes¶
- batch: bugfix to clear exceptions between executions (#1022)
Maintenance¶
- bump to 1.25.1
- layers: bump to 10 for 1.25.0
v1.25.0 - 2022-02-09¶
Bug Fixes¶
- apigateway: remove indentation in debug_mode (#987)
- batch: delete >10 messages in legacy sqs processor (#818)
- ci: pr label regex for special chars in title
- logger: exclude source_logger in copy_config_to_registered_loggers (#1001)
- logger: test generates logfile
Documentation¶
- fix syntax errors and line highlights (#1004)
- add better BDD coments
- event-handler: improve testing section for graphql (#996)
- layer: update to 1.24.2
- parameters: add testing your code section (#1017)
- theme: upgrade mkdocs-material to 8.x (#1002)
- tutorial: fix broken internal links (#1000)
Features¶
- event-handler: new resolvers to fix current_event typing (#978)
- logger: log_event support event data classes (e.g. S3Event) (#984)
- mypy: complete mypy support for the entire codebase (#943)
Maintenance¶
- bump to 1.25.0
- correct docs
- correct docs
- use isinstance over type
- deps-dev: bump flake8-bugbear from 21.11.29 to 22.1.11 (#955)
- metrics: fix tests when warnings are disabled (#994)
Pull Requests¶
- Merge pull request #971 from gyft/fix-logger-util-tests
v1.24.2 - 2022-01-21¶
Bug Fixes¶
- data-classes: underscore support in api gateway authorizer resource name (#969)
Documentation¶
- layer: update to 1.24.1
Maintenance¶
- bump to 1.24.2
v1.24.1 - 2022-01-20¶
Bug Fixes¶
- remove unused json import
- remove apigw contract when using event-handler, apigw tracing
- use decorators, split cold start to ease reading
- incorrect log keys, indentation, snippet consistency
- remove f-strings that doesn't evaluate expr
- batch: report multiple failures (#967)
- data-classes: docstring typos and clean up (#937)
- parameters: appconfig internal _get docstrings (#934)
Documentation¶
- rename quickstart to tutorial in readme
- rename to tutorial given the size
- add final consideration section
- batch: snippet typo on batch processed messages iteration (#951)
- batch: fix typo in context manager keyword (#938)
- homepage: link to typescript version (#950)
- install: new lambda layer for 1.24.0 release
- metrics: keep it consistent with other sections, update metric names
- nav: make REST and GraphQL event handlers more explicit (#959)
- quickstart: expand on intro line
- quickstart: tidy requirements up
- quickstart: make section agnostic to json lib
- quickstart: same process for Logger
- quickstart: add sub-sections, fix highlight & code
- quickstart: sentence fragmentation, tidy up
- tenets: make core, non-core more explicit
- tracer: warning to note on local traces
- tracer: add initial image, requirements
- tracer: add annotation, metadata, and image
- tracer: update ServiceLens image w/ API GW, copywriting
- tutorial: fix path to images (#963)
Features¶
- ci: auto-notify & close issues on release
- logger: clone powertools logger config to any Python logger (#927)
Maintenance¶
- bump to 1.24.1
- bump to 1.24.1
- ci: run codeql analysis on push only
- ci: fix mergify dependabot queue
- ci: add queue name in mergify
- ci: remove mergify legacy key
- ci: update mergify bot breaking change
- ci: safely label PR based on title
- deps: bump pydantic from 1.8.2 to 1.9.0 (#933)
- deps-dev: bump mypy from 0.930 to 0.931 (#941)
Regression¶
- order to APP logger/service name due to screenshots
Pull Requests¶
- Merge pull request #769 from mploski/docs/quick-start
v1.24.0 - 2021-12-31¶
Bug Fixes¶
- apigateway: support @app.not_found() syntax & housekeeping (#926)
- event-sources: handle dynamodb null type as none, not bool (#929)
- warning: future distutils deprecation (#921)
Documentation¶
- consistency around admonitions and snippets (#919)
- Added GraphQL Sample API to Examples section of README.md (#930)
- batch: remove leftover from legacy
- layer: bump Lambda Layer to version 6
- tracer: new ignore_endpoint feature (#931)
Features¶
- event-sources: cache parsed json in data class (#909)
- feature_flags: support beyond boolean values (JSON values) (#804)
- idempotency: support dataclasses & pydantic models payloads (#908)
- logger: support use_datetime_directive for timestamps (#920)
- tracer: ignore tracing for certain hostname(s) or url(s) (#910)
Maintenance¶
- bump to 1.24.0
- deps-dev: bump mypy from 0.920 to 0.930 (#925)
v1.23.0 - 2021-12-20¶
Bug Fixes¶
- apigateway: allow list of HTTP methods in route method (#838)
- event-sources: Pass authorizer data to APIGatewayEventAuthorizer (#897)
- event-sources: handle claimsOverrideDetails set to null (#878)
- idempotency: include decorated fn name in hash (#869)
- metrics: explicit type to single_metric ctx manager (#865)
- parameters: appconfig transform and return types (#877)
- parser: overload parse when using envelope (#885)
- parser: kinesis sequence number is str, not int (#907)
- parser: mypy support for payload type override as models (#883)
- tracer: add warm start annotation (ColdStart=False) (#851)
Documentation¶
- external reference to cloudformation custom resource helper (#914)
- add new public Slack invite
- disable search blur in non-prod env
- update Lambda Layers version
- apigateway: add new not_found feature (#915)
- apigateway: fix sample layout provided (#864)
- appsync: fix users.py typo to locations #830
- lambda_layer: fix CDK layer syntax
Features¶
- apigateway: add exception_handler support (#898)
- apigateway: access parent api resolver from router (#842)
- batch: new BatchProcessor for SQS, DynamoDB, Kinesis (#886)
- logger: allow handler with custom kwargs signature (#913)
- tracer: add service annotation when service is set (#861)
Maintenance¶
- correct pr label order
- minor housekeeping before release (#912)
- bump to 1.23.0
- ci: split latest docs workflow
- deps: bump fastjsonschema from 2.15.1 to 2.15.2 (#891)
- deps: bump actions/setup-python from 2.2.2 to 2.3.0 (#831)
- deps: bump aws-xray-sdk from 2.8.0 to 2.9.0 (#876)
- deps: support arm64 when developing locally (#862)
- deps: bump actions/setup-python from 2.3.0 to 2.3.1 (#852)
- deps-dev: bump flake8 from 3.9.2 to 4.0.1 (#789)
- deps-dev: bump black from 21.10b0 to 21.11b1 (#839)
- deps-dev: bump black from 21.11b1 to 21.12b0 (#872)
- deps-dev: bump mypy from 0.910 to 0.920 (#903)
v1.22.0 - 2021-11-17¶
Bug Fixes¶
- change supported python version from 3.6.1 to 3.6.2, bump black (#807)
- ci: comment custom publish version checker
- ci: skip sync master on docs hotfix
- parser: body/QS can be null or omitted in apigw v1/v2 (#820)
Code Refactoring¶
- apigateway: Add BaseRouter and duplicate route check (#757)
Documentation¶
- updated Lambda Layers definition & limitations. (#775)
- Idiomatic tenet updated to Progressive
- use higher contrast font (#822)
- use higher contrast font
- fix indentation of SAM snippets in install section (#778)
- improve public lambda layer wording, clipboard buttons (#762)
- add amplify-cli instructions for public layer (#754)
- api-gateway: add support for new router feature (#767)
- apigateway: re-add sample layout, add considerations (#826)
- appsync: add new router feature (#821)
- idempotency: add support for DynamoDB composite keys (#808)
- tenets: update Idiomatic tenet to Progressive (#823)
Features¶
- apigateway: add Router to allow large routing composition (#645)
- appsync: add Router to allow large resolver composition (#776)
- data-classes: ActiveMQ and RabbitMQ support (#770)
- logger: add ALB correlation ID support (#816)
Maintenance¶
- fix var expr
- remove Lambda Layer version tag
- bump to 1.22.0
- conditional to publish docs only attempt 3
- conditional to publish docs only attempt 2
- conditional to publish docs only
- deps: bump boto3 from 1.18.58 to 1.18.59 (#760)
- deps: bump boto3 from 1.18.56 to 1.18.58 (#755)
- deps: bump urllib3 from 1.26.4 to 1.26.5 (#787)
- deps: bump boto3 from 1.19.6 to 1.20.3 (#809)
- deps: bump boto3 from 1.18.61 to 1.19.6 (#783)
- deps: bump boto3 from 1.20.3 to 1.20.5 (#817)
- deps: bump boto3 from 1.18.59 to 1.18.61 (#766)
- deps-dev: bump coverage from 6.0.1 to 6.0.2 (#764)
- deps-dev: bump pytest-asyncio from 0.15.1 to 0.16.0 (#782)
- deps-dev: bump flake8-eradicate from 1.1.0 to 1.2.0 (#784)
- deps-dev: bump flake8-isort from 4.0.0 to 4.1.1 (#785)
- deps-dev: bump mkdocs-material from 7.3.2 to 7.3.3 (#758)
- deps-dev: bump flake8-comprehensions from 3.6.1 to 3.7.0 (#759)
- deps-dev: bump mkdocs-material from 7.3.3 to 7.3.5 (#781)
- deps-dev: bump coverage from 6.0 to 6.0.1 (#751)
- deps-dev: bump mkdocs-material from 7.3.5 to 7.3.6 (#791)
- deps-dev: bump coverage from 6.0.2 to 6.1.2 (#810)
- deps-dev: bump isort from 5.9.3 to 5.10.1 (#811)
v1.21.1 - 2021-10-07¶
Documentation¶
- add new public layer ARNs (#746)
Maintenance¶
- include public layers changelog
- bump to 1.21.1
- include regression in changelog
- ignore constants in test cov (#745)
- ignore constants in tests cov
- add support for publishing fallback
- deps: bump boto3 from 1.18.54 to 1.18.56 (#742)
- deps-dev: bump mkdocs-material from 7.3.1 to 7.3.2 (#741)
Regression¶
- metrics: typing regression on log_metrics callable (#744)
v1.21.0 - 2021-10-05¶
Bug Fixes¶
- data-classes: use correct asdict funciton (#666)
- feature-flags: rules should evaluate with an AND op (#724)
- idempotency: sorting keys before hashing (#722)
- idempotency: sorting keys before hashing
- logger: push extra keys to the end (#722)
- mypy: a few return types, type signatures, and untyped areas (#718)
Code Refactoring¶
- data-classes: clean up internal logic for APIGatewayAuthorizerResponse (#643)
Documentation¶
- Terraform reference for SAR Lambda Layer (#716)
- add team behind it and email
- event-handler: document catch-all routes (#705)
- idempotency: fix misleading idempotent examples (#661)
- jmespath: clarify envelope terminology
- parser: fix incorrect import in root_validator example (#735)
Features¶
- expose jmespath powertools functions (#736)
- add get_raw_configuration property in store; expose store
- boto3 sessions in batch, parameters & idempotency (#717)
- feature-flags: Bring your own logger for debug (#709)
- feature-flags: improve "IN/NOT_IN"; new rule actions (#710)
- feature-flags: get_raw_configuration property in Store (#720)
- feature_flags: Added inequality conditions (#721)
- idempotency: makes customers unit testing easier (#719)
- validator: include missing data elements from a validation error (#686)
Maintenance¶
- add python 3.9 support
- bump to 1.21.0
- deps: bump boto3 from 1.18.41 to 1.18.49 (#703)
- deps: bump boto3 from 1.18.32 to 1.18.38 (#671)
- deps: bump boto3 from 1.18.38 to 1.18.41 (#677)
- deps: bump boto3 from 1.18.51 to 1.18.54 (#733)
- deps: bump boto3 from 1.18.49 to 1.18.51 (#713)
- deps: bump codecov/codecov-action from 2.0.2 to 2.1.0 (#675)
- deps-dev: bump flake8-bugbear from 21.9.1 to 21.9.2 (#712)
- deps-dev: bump mkdocs-material from 7.3.0 to 7.3.1 (#731)
- deps-dev: bump mkdocs-material from 7.2.8 to 7.3.0 (#695)
- deps-dev: bump mkdocs-material from 7.2.6 to 7.2.8 (#682)
- deps-dev: bump flake8-bugbear from 21.4.3 to 21.9.1 (#676)
- deps-dev: bump coverage from 5.5 to 6.0 (#732)
- deps-dev: bump radon from 4.5.2 to 5.1.0 (#673)
- deps-dev: bump pytest-cov from 2.12.1 to 3.0.0 (#730)
- deps-dev: bump xenon from 0.7.3 to 0.8.0 (#669)
v1.20.2 - 2021-09-02¶
Bug Fixes¶
- Fix issue with strip_prefixes (#647)
Maintenance¶
- bump to 1.20.2
- deps: bump boto3 from 1.18.26 to 1.18.32 (#663)
- deps-dev: bump mkdocs-material from 7.2.4 to 7.2.6 (#665)
- deps-dev: bump pytest from 6.2.4 to 6.2.5 (#662)
- license: Add THIRD-PARTY-LICENSES (#641)
v1.20.1 - 2021-08-22¶
Bug Fixes¶
- idempotency: sorting keys before hashing (#639)
Maintenance¶
- bump to 1.20.1
- markdown linter fixes (#636)
- setup codespaces (#637)
- license: add third party license (#635)
v1.20.0 - 2021-08-21¶
Bug Fixes¶
- api-gateway: HTTP API strip stage name from request path (#622)
- docs: correct feature_flags link and json exmaples (#605)
Code Refactoring¶
- event_handler: match to match_results; 3.10 new keyword (#616)
Documentation¶
- api-gateway: add new API mapping support
- data-class: fix invalid syntax in new AppSync Authorizer
- data-classes: make authorizer concise; use enum (#630)
Features¶
- data-classes: authorizer for http api and rest api (#620)
- data-classes: data_as_bytes prop KinesisStreamRecordPayload (#628)
- data-classes: AppSync Lambda authorizer event (#610)
- event-handler: prefixes to strip for custom mappings (#579)
- general: support for Python 3.9 (#626)
- idempotency: support for any synchronous function (#625)
Maintenance¶
- update changelog to reflect out-of-band commits
- bump to 1.20.0
- update new changelog version tag
- actions: include new labels
- api-docs: enable allow_reuse to fix the docs (#612)
- deps: bump boto3 from 1.18.25 to 1.18.26 (#627)
- deps: bump boto3 from 1.18.24 to 1.18.25 (#623)
- deps: bump boto3 from 1.18.22 to 1.18.24 (#619)
- deps: bump boto3 from 1.18.21 to 1.18.22 (#614)
- deps: bump boto3 from 1.18.17 to 1.18.21 (#608)
- deps-dev: bump flake8-comprehensions from 3.6.0 to 3.6.1 (#615)
- deps-dev: bump flake8-comprehensions from 3.5.0 to 3.6.0 (#609)
- deps-dev: bump mkdocs-material from 7.2.3 to 7.2.4 (#607)
- docs: correct markdown based on markdown lint (#603)
- shared: fix cyclic import & refactor data extraction fn (#613)
v1.19.0 - 2021-08-11¶
Bug Fixes¶
- deps: bump poetry to latest (#592)
- feature-flags: bug handling multiple conditions (#599)
- feature-toggles: correct cdk example (#601)
- parser: apigw wss validation check_message_id; housekeeping (#553)
Code Refactoring¶
- feature-flags: add debug for all features evaluation" (#590)
- feature_flags: optimize UX and maintenance (#563)
Documentation¶
- event-handler: new custom serializer option
- feature-flags: add guidance when to use vs env vars vs parameters
- feature-flags: fix sample feature name in evaluate
- feature-flags: create concrete documentation (#594)
- feature-toggles: correct docs and typing (#588)
- feature_flags: fix SAM infra, convert CDK to Python
- parameters: auto-transforming values based on suffix (#573)
- readme: add code coverage badge (#577)
- tracer: update wording that it auto-disables on non-Lambda env
Features¶
- api-gateway: add support for custom serializer (#568)
- data-classes: decode json_body if based64 encoded (#560)
- feature flags: Add not_in action and rename contains to in (#589)
- params: expose high level max_age, raise_on_transform_error (#567)
- tracer: disable tracer when for non-Lambda envs (#598)
Maintenance¶
- only build docs on docs path
- update pypi description, keywords
- bump to 1.19.0
- enable autolabel based on PR title
- include feature-flags docs hotfix
- deps: bump boto3 from 1.18.15 to 1.18.17 (#597)
- deps: bump boto3 from 1.18.1 to 1.18.15 (#591)
- deps: bump codecov/codecov-action from 2.0.1 to 2.0.2 (#558)
- deps-dev: bump mkdocs-material from 7.2.1 to 7.2.2 (#582)
- deps-dev: bump mkdocs-material from 7.2.2 to 7.2.3 (#596)
- deps-dev: bump pdoc3 from 0.9.2 to 0.10.0 (#584)
- deps-dev: bump isort from 5.9.2 to 5.9.3 (#574)
- deps-dev: bump mkdocs-material from 7.2.0 to 7.2.1 (#566)
- deps-dev: bump mkdocs-material from 7.1.11 to 7.2.0 (#551)
- deps-dev: bump flake8-black from 0.2.1 to 0.2.3 (#541)
v1.18.1 - 2021-07-23¶
Bug Fixes¶
- api-gateway: route regression non-word and unsafe URI chars (#556)
Maintenance¶
- bump 1.18.1
v1.18.0 - 2021-07-20¶
Bug Fixes¶
- api-gateway: non-greedy route pattern regex (#533)
- api-gateway: incorrect plain text mimetype #506
- data-classes: include milliseconds in scalar types (#504)
- mypy: fixes to resolve no implicit optional errors (#521)
- parser: Make ApiGateway version, authorizer fields optional (#532)
- tracer: mypy generic to preserve decorated method signature (#529)
Code Refactoring¶
- feature-toggles: Code coverage and housekeeping (#530)
Documentation¶
- api-gateway: document new HTTP service error exceptions (#546)
- logger: document new get_correlation_id method (#545)
Features¶
- api-gateway: add debug mode (#507)
- api-gateway: add common service errors (#506)
- event-handler: Support AppSyncResolverEvent subclassing (#526)
- feat-toggle: New simple feature toggles rule engine (WIP) (#494)
- logger: add get_correlation_id method (#516)
- mypy: add mypy support to makefile (#508)
Maintenance¶
- bump 1.18.0 (#547)
- deps: bump codecov/codecov-action from 1 to 2.0.1 (#539)
- deps: bump boto3 from 1.18.0 to 1.18.1 (#528)
- deps: bump boto3 from 1.17.110 to 1.18.0 (#527)
- deps: bump boto3 from 1.17.102 to 1.17.110 (#523)
- deps-dev: bump mkdocs-material from 7.1.10 to 7.1.11 (#542)
- deps-dev: bump mkdocs-material from 7.1.9 to 7.1.10 (#522)
- deps-dev: bump isort from 5.9.1 to 5.9.2 (#514)
- event-handler: adjusts exception docstrings to not confuse AppSync customers
v1.17.1 - 2021-07-02¶
Bug Fixes¶
- validator: handle built-in custom formats correctly (#498)
Documentation¶
- add Layers example for Serverless framework & CDK (#500)
- enable dark mode switch (#471)
- logger: add FAQ for cross-account searches (#501)
- tracer: additional scenario when to disable auto-capture (#499)
Maintenance¶
- bump 1.17.1 (#502)
- deps: bump boto3 from 1.17.101 to 1.17.102 (#493)
- deps: bump boto3 from 1.17.91 to 1.17.101 (#490)
- deps: bump email-validator from 1.1.2 to 1.1.3 (#478)
- deps: bump boto3 from 1.17.89 to 1.17.91 (#473)
- deps-dev: bump flake8-eradicate from 1.0.0 to 1.1.0 (#492)
- deps-dev: bump isort from 5.8.0 to 5.9.1 (#487)
- deps-dev: bump mkdocs-material from 7.1.7 to 7.1.9 (#491)
v1.17.0 - 2021-06-08¶
Documentation¶
- include new public roadmap (#452)
- data_classes: fix missing dynamodb stream get_type/value
- idempotency: remove old todo
Features¶
- data-classes: add AttributeValueType to DynamoDBStreamEvent (#462)
- data-classes: decorator to instantiate data_classes and docs updates (#442)
- logger: add option to clear state per invocation (#467)
- parser: add support for API Gateway HTTP API #434 (#441)
Maintenance¶
- bump xenon from 0.7.1 to 0.7.3 (#446)
- fix changelog file redirection
- include dependencies label under maintenance
- ignore codecov upload
- reintroduce codecov token
- fix path for PR auto-labelling
- assited changelog pre-generation, auto-label PR (#443)
- enable dependabot for dep upgrades (#444)
- enable mergify (#450)
- dependabot/mergify guardrail for major versions
- fix dependabot commit messages prefix
- fix dependabot unique set config
- bump mkdocs-material from 7.1.5 to 7.1.6 (#451)
- bump boto3 from 1.17.78 to 1.17.84 (#449)
- update mergify to require approval on dependabot (#456)
- bump actions/setup-python from 1 to 2.2.2 (#445)
- trial boring cyborg automation
- deps: bump boto3 from 1.17.87 to 1.17.88 (#463)
- deps: bump boto3 from 1.17.88 to 1.17.89 (#466)
- deps: bump boto3 from 1.17.84 to 1.17.85 (#455)
- deps: bump boto3 from 1.17.85 to 1.17.86 (#458)
- deps: bump boto3 from 1.17.86 to 1.17.87 (#459)
- deps-dev: bump mkdocs-material from 7.1.6 to 7.1.7 (#464)
- deps-dev: bump pytest-cov from 2.12.0 to 2.12.1 (#454)
- mergify: use job name to match GH Actions
- mergify: disable check for matrix jobs
v1.16.1 - 2021-05-23¶
Features¶
Maintenance¶
- bump to 1.16.1
v1.16.0 - 2021-05-17¶
Features¶
- data-classes: decode base64 encoded body (#425)
- data-classes: support for code pipeline job event (#416)
Maintenance¶
- bump to 1.16.0
v1.15.1 - 2021-05-13¶
Bug Fixes¶
- docs: Use updated names for ProxyEventType (#424)
Documentation¶
- update list of features
- event_handler: add missing note on trimmed responses
Maintenance¶
- bump to 1.15.1
v1.15.0 - 2021-05-06¶
Bug Fixes¶
- deps: Bump aws-xray-sdk from 2.6.0 to 2.8.0 (#413)
- docs: workflow to include api ref in latest alias (#408)
- parser: Improve types for parser.py (#419)
- validator: event type annotation as any in validate fn (#405)
Code Refactoring¶
- simplify custom formatter for minor changes (#417)
- event-handler: api gateway handler review changes (#420)
- event-handler: Add ResponseBuilder and more docs (#412)
- logger: BYOFormatter and Handler, UTC support, and more (#404)
Documentation¶
- api_gateway: new event handler for API Gateway and ALB (#418)
- event_handler: fix closing brackets in CORS sample
- event_handler: remove beta flag from new HTTP utility
- idempotency: remove beta flag
- logger: improvements extensibility & new features (#415)
- parser: fix table and heading syntax
- tracer: Fix line highlighting (#395)
Features¶
- add support to persist default dimensions (#410)
- event-handle: allow for cors=None setting (#421)
- event-handler: add http ProxyEvent handler (#369)
- parser: Support for API GW v1 proxy schema & envelope (#403)
Maintenance¶
- bump to 1.15.0 (#422)
v1.14.0 - 2021-04-09¶
Bug Fixes¶
- perf tests for Logger and fail str msgs
- downgrade poetry to 1.1.4 (#385)
- lock X-Ray SDK to 2.6.0 (#384)
- data-classes: Add missing operationName (#373)
- idempotent: Correctly raise IdempotencyKeyError (#378)
- metrics: AttributeError raised by MediaManager and Typing and docs (#357)
- parser: S3Model support empty keys (#375)
- tracer: Correct type hint for MyPy (#365)
- workflow: github actions depends on for release
Documentation¶
- Fix doc links and line highlights (#380)
- fix extra key for versioning
- update mkdocs-material to 7.1.0
- Correct link targets and line highlights (#390)
- introduce event handlers utility section (#388)
- enable versioning feature (#374)
- idempotency: add default configuration for those not using CFN (#391)
- index: fix link to event handler
- logger: add example on how to set UTC timestamp (#392)
- validator: include more complete examples & intro to JSON Schema (#389)
Features¶
- event-handler: Add AppSync handler decorator (#363)
- parameter: add dynamodb_endpoint_url for local_testing (#376)
- parser: Add S3 Object Lambda Event (#362)
Maintenance¶
- bump to 1.14.0
- add approved by field in RFC template
- make RFC proposal more explicit
- update automated steps in release process
v1.13.0 - 2021-03-23¶
Bug Fixes¶
- deps: Bump dependencies and fix some of the dev tooling (#354)
- lint: Move
tests/THIRD-PARTY-LICENSES
to root (#352)
Features¶
- data-classes: Add S3 Object Lambda Event (#353)
Maintenance¶
- include internals in release template
- bump to 1.13.0
- correct 3rd party license
v1.12.0 - 2021-03-17¶
Bug Fixes¶
- idempotency: TypeError when calling is_missing_idempotency_key with an int (#315)
- idempotency: Correctly handle save_inprogress errors (#313)
Code Refactoring¶
- parameters: Consistently reference env (#319)
Documentation¶
- surface new 1.12.0 features and enhancements (#344)
- Correct code examples (#317)
- data-classes: Add more cognito code examples (#340)
- idempotency: Correct examples and line highlights (#312)
- metrics: Corrections to the code examples (#314)
- metrics: remove minimum dimensions
- metrics: Correct code examples in markdown (#316)
- tracer: Fix Tracer typing hinting for Pycharm (#345)
Features¶
- data-classes: Add appsync scalar_types_utils (#339)
- data-classes: AppSync Resolver Event (#323)
- idempotent: Include function name in the idempotent key (#326)
- logging: Add correlation_id support (#321)
- logging: Include exception_name (#320)
- parameters: Add force_fetch option (#341)
Maintenance¶
- bump to 1.12.0
- remove auto-label as restrictions prevent it from working
- increase perf SLA due to slow GitHub Actions machine
- add PR size labelling action # 2
- add PR size labelling action
- add PR auto-label action
- remove gatsby mention as migrated completed
v1.11.0 - 2021-03-05¶
Bug Fixes¶
- import time latency by lazily loading high level modules (#301)
- correct behaviour to avoid caching "INPROGRESS" records (#295)
- idempotency: PR feedback on config and kwargs
Code Refactoring¶
- idempotent: Change UX to use a config class for non-persistence related features (#306)
- metrics: optimize validation and serialization (#307)
Documentation¶
- batch: add example on how to integrate with sentry.io (#308)
- data-classes: Correct import for DynamoDBRecordEventName (#299)
- dataclasses: new Connect Contact Flow (#310)
- idempotency: tidy up doc before release (#309)
- idempotent: Fix typos and code formatting (#305)
Features¶
- Idempotency helper utility (#245)
- data-classes: Add connect contact flow event (#304)
- idempotency: Add raise_on_no_idempotency_key flag (#297)
- idempotency: Fix KeyError when local_cache is True and an error is raised in the lambda handler (#300)
- idempotent: Add support for jmespath_options (#302)
Maintenance¶
- update changelog (#311)
- adjusts Metrics SLA for slow py36 interpreters
- remove unsuccessful labeler bot
- update labeler bot to sync upon PR changes
- attempt 1 to fix PR labeler
v1.10.5 - 2021-02-17¶
Maintenance¶
- version bump to 1.10.5 (#292)
v1.10.4 - 2021-02-17¶
Bug Fixes¶
- sync features in main page
- meta tags, and ext link to open in new tab
Documentation¶
- data-classes: Fix anchor tags to be lower case (#288)
Maintenance¶
- version bump to 1.10.4 (#291)
- add default runtime key
- Correct the docs location (#289)
- enable PR labeler workflow
- add auto-label for known files
Regression¶
- search input size
v1.10.3 - 2021-02-12¶
Bug Fixes¶
Documentation¶
- migrate documentation from Gatsby to MkDocs material (#279)
Maintenance¶
- bump to 1.10.3 (#287)
v1.10.2 - 2021-02-04¶
Bug Fixes¶
Documentation¶
- appconfig: Use correct import for docstring (#271)
Maintenance¶
v1.10.1 - 2021-01-19¶
Features¶
- add support for SNS->SQS protocol (#272)
Maintenance¶
- bump to 1.10.1 (#273)
v1.10.0 - 2021-01-18¶
Documentation¶
- fix import (#267)
- add info about extras layer (#260)
- fix note whitespace
- add missing parser models (#254)
Features¶
- toggle to disable log deduplication locally for pytest live log #262 (#268)
- Add AppConfig parameter provider (#236)
- support extra parameter in Logger messages (#257)
- support custom formats in JSON Schema validation (#247)
Maintenance¶
- bump to 1.10.0 (#270)
- move env names to constant file (#264)
- update stale bot
- general simplifications and cleanup (#255)
- hardcode axios transitive resolution (#256)
v1.9.1 - 2020-12-21¶
Bug Fixes¶
- ensures all Loggers have unique service names
Code Refactoring¶
- convert dict into a literal dict object and re-use it
Documentation¶
- add clarification to Tracer docs for how
capture_method
decorator can cause function responses to be read and serialized.
Features¶
- pep-561: Create py.typed file and include into pyproject.
Maintenance¶
- bump to 1.9.1 (#252)
- add changelog
- implement phony targets correctly
- deps: bump ini from 1.3.5 to 1.3.8 in /docs
Pull Requests¶
- Merge pull request #250 from heitorlessa/fix/#249
- Merge pull request #235 from Nr18/phony
- Merge pull request #244 from awslabs/docs/capture_method_clarification
- Merge pull request #241 from awslabs/dependabot/npm_and_yarn/docs/ini-1.3.8
- Merge pull request #237 from gmcrocetti/pep-561
- Merge pull request #234 from Nr18/test-equal
- Merge pull request #233 from GroovyDan/improv/add_equality_check_to_dict_wrapper
- Merge pull request #232 from gyft/add-missing-tests
v1.9.0 - 2020-12-04¶
Bug Fixes¶
- s3 model import
- cloudwatch logs envelope typo
Documentation¶
- add Kinesis Streams as a supported model & envelope
- add S3 as a supported model
- add CW Logs as a supported envelope
- add CW Logs as a supported model
- add Alb as a supported model
- shadow sidebar to remain expanded
- add source code link in nav bar
- fix broken link for github
Features¶
- Add Kinesis lambda event support to Parser utility
- Add cloudwatch lambda event support to Parser utility
- Add alb lambda event support to Parser utility #228
- Add Kinesis lambda event support to Parser utility
- Add S3 lambda event support to Parser utility #224
- Add Ses lambda event support to Parser utility #213
Maintenance¶
Pull Requests¶
- Merge pull request #227 from risenberg-cyberark/kinesis
- Merge pull request #225 from risenberg-cyberark/s3
- Merge pull request #231 from risenberg-cyberark/cloudwatch
- Merge pull request #229 from risenberg-cyberark/alb
- Merge pull request #223 from heitorlessa/docs/add-source-code-link
- Merge pull request #222 from awslabs/docs-fix-broken-link
- Merge pull request #219 from igorlg/docs/logger-supress-clarify
- Merge pull request #214 from risenberg-cyberark/ses
v1.8.0 - 2020-11-20¶
Bug Fixes¶
- replace now deprecated set-env with new GitHub Env file
- remove dummy heading to prevent htmlAst bug
Documentation¶
- correct example usage of SES data class
- add faq section
- add minimal permission set for using layer
Features¶
- include new replay-name field in parser and data_classes
- data_classes: API Gateway V2 IAM and Lambda
Maintenance¶
- bump to 1.8.0
- bump dependencies
- docs: Add some of the missing docstrings
Pull Requests¶
- Merge pull request #212 from heitorlessa/chore/bump-1.8.0
- Merge pull request #211 from heitorlessa/feat/eventbridge-replay-support
- Merge pull request #209 from awslabs/docs/correct_ses_dataclass_example
- Merge pull request #207 from risenberg-cyberark/sns
- Merge pull request #205 from heitorlessa/chore/update-docs-dep
- Merge pull request #202 from Nr18/logger-faq
- Merge pull request #204 from am29d/docs/add-iam-permissions-for-layer
- Merge pull request #201 from gyft/feat-data-classes-event-updates
v1.7.0 - 2020-10-26¶
Bug Fixes¶
- _parse return type
- high and security peer dependency vulnerabilities
- change to Yarn to support manual resolutions
- generic type to match ABC bound class
- debug logging in envelopes before each parsing
- remove malformed 3.1. sentence
- ensures parser can take json strings as input
- parse high level import
- code inspect issues
- unnecessary return; better error handling
- snake_case
- comment out validators #118
- CR fixes Merge branch 'develop' of https://github.com/awslabs/aws-lambda-powertools-python into pydantic
- reduce complexity of dynamo envelope
- poetry update + pydantic, typing_extensions as optional
- add only pydantic (+1 squashed commit) Squashed commits: [804f251] fix poetry.lock, revert changes
- Correct typo
- remove only dev extras
- remove jmespath extras in Make
Code Refactoring¶
- pydantic as optional dependancy, remove lambdaContext
- change to advanced parser
Documentation¶
- reorder parser's payload sample position
- add more info on conditional keys #195
- add a note that decorator will replace the event
- address Ran's feedback
- reorder data validation; improve envelopes section
- reorder extending models as parse fn wasn't introduced
- use yarn's resolution to fix incompatible dependency
- add cold start data
- add a FAQ section
- ensure examples can be copied/pasted as-is
- add extending built-in models
- add envelope section
- add data model validation section
- use non-hello world model to better exemplify parsing
- add 101 parsing events content
- initial structure for parser docs
- initial sketch of parser docs
- update examples in README
Features¶
- experiment with codeQL over LGTM
- add standalone parse function
- Advanced parser utility (pydantic)
- RFC: Validate incoming and outgoing events utility #95
- data_classes: case insensitive header lookup
- data_classes: Cognito custom auth triggers
Maintenance¶
- fix repository URL
- spacing
- typo in list
- typo on code generation tool
- remove flake8 polyfill as explicit dep
- explicit DynamoDB Stream schema naming
- lint
- kwarg over arg to ease refactoring
- remove test for commented code
- fix make build syntax for internal build whl
- upgrade docs dep
- remove dev deps from example project
- remove kitchen sink example
- upgrade gatsby
- upgrade amplify, antd, and gatsby plugins
- upgrade apollo-docs theme
- remove dev deps from example project
- remove kitchen sink example
Reverts¶
- fix: remove jmespath extras in Make
- fix: remove jmespath extras in Make
Pull Requests¶
- Merge pull request #200 from heitorlessa/chore/bump-1.7.0
- Merge pull request #199 from heitorlessa/docs/clarify-dynamic-log-keys
- Merge pull request #198 from awslabs/improv/suppress-logger-propagation
- Merge pull request #192 from heitorlessa/docs/parser
- Merge pull request #196 from awslabs/dependabot/npm_and_yarn/docs/object-path-0.11.5
- Merge pull request #189 from heitorlessa/improv/parser#118
- Merge pull request #186 from gyft/feat-case-insensitive-dict
- Merge pull request #188 from gyft/tests-pydantic
- Merge pull request #178 from gyft/cognito-custom-auth
- Merge pull request #118 from risenberg-cyberark/pydantic
- Merge pull request #181 from awslabs/fix/docs-sec-vuln
- Merge pull request #180 from heitorlessa/chore/remove-example
v1.6.1 - 2020-09-23¶
Maintenance¶
- bump to 1.6.1 (#177)
v1.6.0 - 2020-09-22¶
Bug Fixes¶
- apply Tom's suggestion
- branding
- Correct description for data classes util
- duplicate features content
- navigation, branding
- remove DeleteMessageBatch call to SQS api if there are no messages to delete (#170)
- correct type hint Dict instead of dict
Code Refactoring¶
- correct type hint
Documentation¶
- fixed more typos, correct index reference to new util
- fix typo in DynamoDB example
- add docs for data classes utility
- improve wording on jmespath fns
- document validator utility
Features¶
- add custom jmespath functions support
- emf multiple metric values (#167)
- add initial validator tests
- add cloudwatch_logs based on Bryan's feedback
- add powertools_base64 custom fn
- add built-in envelopes
- add jmespath as optional dependency
- add initial draft simple validator
- trigger: data class and helper functions for lambda trigger events (#159)
Maintenance¶
- typo
- bump to 1.6.0
- better type hinting
- update changelog
- fix docstring; import order
Pull Requests¶
- Merge pull request #175 from heitorlessa/chore/bump-1.6.0
- Merge pull request #171 from awslabs/docs/data_classes
- Merge pull request #174 from heitorlessa/improv/docs-logger-metrics-testing
- Merge pull request #168 from gyft/tests-missing
- Merge pull request #153 from heitorlessa/feat/validator-utility
v1.5.0 - 2020-09-04¶
Bug Fixes¶
- throw exception by default if messages processing fails
- add sqs_batch_processor as its own method
- ensure debug log event has latest ctx
- update image with correct sample
- ensures xray_trace_id is refreshed
- typo in example
- include proposed suggestions
- base-partial: append record instead of entry
- logging: Don't include
json_default
in logs (#132)
Code Refactoring¶
- changes partial_sqs middleware in favor of a generic interface always expecting a BatchProcessor
- replace LambdaEvent with Dict[str, Any]
- remove initial reference
- fix import issues and provide context in docblocks
- split properties and add docblocks
- split the objects into seperate files
- make requested changes
- use None instead of
- batch middleware
- remove references to BaseProcessor. Left BasePartialProcessor
- change return for failure/success handlers
- sqs: add module middlewares
- sqs: change methods to protected
- tests: update tests to new batch processor middleware
- tests: processor using default config
Documentation¶
- address readability feedbacks
- add detail to batch processing
- simplify documentation more SQS specific focus Update for sqs_batch_processor interface
- rephrase the wording to make it more clear
- refactor example; improve docs about creating your own processor
- add newly created Slack Channel
- describe the typing utility
- add troubleshooting section
- add xray_trace_id key
- fix suggestions made by @heitorlessa
- add description where to find the layer arn (#145)
- new section "Migrating from other Loggers" (#148)
- minor edit to letter case part 2
- user specific documentation
- Fix doc for log sampling (#135)
- partial-processor: add simple docstrings to success/failure handlers
- sqs: docstrings for PartialSQS
- sqs-base: docstring for base class
Features¶
- add xray_trace_id key when tracing is active #137
- initial implementation as the proposed gist is
- add sqs failure processors
- include base processors
- add batch module
- add package level import for batch utility
- logger: readable log_dict seq
- logging: suppress some log keys
- logging: allow for custom json order
- parameters: transform = "auto" (#133)
- sqs: add optional config parameter
- sqs: improve validation for queue_url
Maintenance¶
- tiny changes for readability
- add debug logging for sqs batch processing
- remove middlewares module, moving decorator functionality to base and sqs
- add test for sqs_batch_processor interface
- add sqs_batch_processor decorator to simplify interface
- fix typos, docstrings and type hints (#154)
- doc typo
- batch: Housekeeping for recent changes (#157)
Pull Requests¶
- Merge pull request #149 from Nr18/static-types
- Merge pull request #155 from awslabs/docs/batch_processing_util
- Merge pull request #100 from gmcrocetti/partial-sqs-batch
- Merge pull request #151 from Nr18/troubleshooting
- Merge pull request #150 from heitorlessa/feat/logger-add-xray-trace-id
- Merge pull request #140 from gyft/fix-log-key-order
- Merge pull request #142 from gyft/fix-letter-case
v1.4.0 - 2020-08-25¶
Bug Fixes¶
- upgrade dot-prop, serialize-javascript
- remove actual response from debug logs
- naming and staticmethod consistency
- correct in_subsegment assertion
- update cold_start doc to reflect #125
- split ColdStart metric to its own EMF blob #125
- ssm: Make decrypt an explicit option and refactoring (#123)
Documentation¶
- add Lambda Layer SAR App url and ARN
- move tenets; remove extra space
- use table for clarity
- add blog post, and quick example
- subtle rewording for better clarity
- fix typos, log_event & sampling wording
- make sensitive info more explicit with an example
- create Patching modules section; cleanup response wording
- move concurrent asynchronous under escape hatch
- grammar
- bring new feature upfront when returning sensitive info
Features¶
- capture_response as metadata option #127
Maintenance¶
- bump to 1.4.0
- update internal docstrings for consistency
- update changelog to reflect new feature
- clarify changelog bugfix vs breaking change
- remove/correct unnecessary debug logs
- fix debug log adding unused obj
- grammar
- add metrics fix description
- correct typos
Pull Requests¶
- Merge pull request #129 from am29d/feat/lambda-layers
- Merge pull request #130 from heitorlessa/docs/readability-improvements
- Merge pull request #128 from heitorlessa/feat/tracer-disallow-response-metadata
- Merge pull request #126 from heitorlessa/fix/metrics-cold-start-split
v1.3.1 - 2020-08-22¶
Bug Fixes¶
- capture_method: should yield inside with (#124)
Maintenance¶
- version bump to 1.3.1
- deps: bump prismjs from 1.20.0 to 1.21.0 in /docs
- deps: bump elliptic from 6.5.2 to 6.5.3 in /docs
Pull Requests¶
- Merge pull request #120 from awslabs/dependabot/npm_and_yarn/docs/elliptic-6.5.3
- Merge pull request #121 from awslabs/dependabot/npm_and_yarn/docs/prismjs-1.21.0
v1.3.0 - 2020-08-21¶
Features¶
- add parameter utility (#96)
Maintenance¶
v1.2.0 - 2020-08-20¶
Features¶
- add support for tracing of generators using capture_method decorator (#113)
Maintenance¶
v1.1.3 - 2020-08-18¶
Bug Fixes¶
- remove root logger handler set by Lambda #115
Maintenance¶
- bump to 1.1.3
Pull Requests¶
- Merge pull request #117 from heitorlessa/chore/bump-1.1.3
- Merge pull request #116 from heitorlessa/fix/remove-root-logger-handler
v1.1.2 - 2020-08-16¶
Bug Fixes¶
- return subclass #107
Documentation¶
- clarify auto_patch as per #108
Maintenance¶
- suppress LGTM alert
- add autocomplete as unreleased
- remove unused stdout fixture
- update Tracer docs as per #108
Pull Requests¶
- Merge pull request #111 from heitorlessa/chore/bump-1.1.2
- Merge pull request #110 from heitorlessa/improv/logger-auto-complete
- Merge pull request #109 from heitorlessa/docs/tracer-reuse
v1.1.1 - 2020-08-14¶
Bug Fixes¶
- regression 104 (#105)
- return log level int immediately
- add test covering logging constant
Maintenance¶
- bump patch version
- fix unused fixture
- fix docstring on level [str,int] consistency
- fix test level typo
- trigger docs on new release (#102) (#103)
- trigger docs on new release (#102)
- trigger docs on new release
Regression¶
- log level docstring as str
Pull Requests¶
- Merge pull request #106 from heitorlessa/fix/regression-104
v1.1.0 - 2020-08-14¶
Bug Fixes¶
- auto-assigner filename as per docs
Features¶
- add support for logger inheritance (#99)
- enable issue auto-assigner to core team
Maintenance¶
v1.0.2 - 2020-07-16¶
Maintenance¶
v1.0.1 - 2020-07-05¶
Bug Fixes¶
- append structured logs when injecting lambda context (#86)
Documentation¶
- add blog post in the readme
v1.0.0 - 2020-06-18¶
Documentation¶
- customize contributing guide (#77)
Features¶
Maintenance¶
- bump to 1.0.0 GA (#83)
- add missing ':' and identation in examples
- cleanup tests (#79)
- remove deprecated code before GA (#78)
- move blockquotes as hidden comments
v0.11.0 - 2020-06-10¶
Bug Fixes¶
- default dimension creation now happens when metrics are serialized instead of on metrics constructor (#74)
Maintenance¶
- update CHANGELOG
v0.10.1 - 2020-06-10¶
Bug Fixes¶
- default dimension creation now happens when metrics are serialized instead of on metrics constructor (#74)
Documentation¶
- fix contrast on highlighted code text (#73)
Features¶
Maintenance¶
- version bump 0.10.1
- deps: bump graphql-playground-html from 1.6.19 to 1.6.25 in /docs
Pull Requests¶
- Merge pull request #72 from awslabs/dependabot/npm_and_yarn/docs/graphql-playground-html-1.6.25
v0.10.0 - 2020-06-08¶
Bug Fixes¶
- correct env var name for publish to pypi test (#69)
- release-drafter action syntax
- release-drafter label for new feature/major non-breaking changes
- cast dimension value to str to avoid issue where EMF silently fails (#52)
- ignore path that might seem a broken link #49
- open api ref in a new tab #48
- metrics not being flushed on every invocation (#45)
- #35 duplicate changelog to project root
- #24 correct example test and docs
- CI attempt 4
- CI attempt 3
- CI attempt 3
- CI attempt 2
- add missing single_metric example; test var name
- fix import of aws_lambda_logging to relative import
- Makefile: format before linting
- make: add twine as a dev dep
- setup: correct invalid license classifier
- setup: correct license to MIT-0 in meta
Documentation¶
- build on master only
- clarify logger debug sampling message
- clean up readme in favour of docs website
- add install in main docs website
- add pypi badge
Features¶
- add capture_cold_start_metric for log_metrics (#67)
- automate publishing to pypi (#58)
- add pre-commit hooks (#64)
- update Metrics interface to resemble tracer & logger: use "service" as its namespace.
- add codecov service (#59)
- add security and complexity baseline #33 (#57)
- add pull request template #33
- add RFC template for proposals
- create issue templates
- readd release drafter action #33
- add release drafter (#56)
- add stale issues config #33 (#55)
- enforce semantic PR titles (#54)
- add algolia search for docs and api ref (#39)
- add documentation website (#37)
- add docs to CI
- Add Python3.8 support
- logger: add log sampling
- pypi: add bumpversion, public release pypi
- pyproject.toml: move to poetry
Maintenance¶
- version bump (#68)
- public beta version
- rename Makefile target docs-dev to docs-local (#65)
- correct docstring for log_metrics
- fix typo in metrics doc
- Correct test comment
- remove unused import
- formatting
- plat wheels are not needed
- reformat changelog to follow KeepAChangelog standard (#50)
- bump to release candidate
- renamed history to changelog dependabot
- grammar issues
- bump example to use 0.8.0 features
- clean up CI workflows
- fix github badge typo
- pypi monthly download badge
- lint
- bump 0.3.1 with logging patch
- bump history
- lint
- add Python 3.8 in badge as it's supported
- CI badge
- public beta version
- deps: bump bleach from 3.1.0 to 3.1.1 in /python
- deps: bump websocket-extensions from 0.1.3 to 0.1.4 in /docs (#66)