Michael Brewer Profile picture
Fiserv VP Architect Fellow Platform Engineering | Founding engineer of Gyft | Former AWS community builder | 🇿🇦

Jan 2, 2022, 26 tweets

2021: A year in review for AWS Lambda Powertools Python 🧵 #Python #Serverless

v1.10.0: Logger, Tracer, Validator, and Parameters

Highlights
- Parameter: AppConfig support @IsenbergRan
- Logger: Support for extra parameter @heitor_lessa

github.com/awslabs/aws-la…

v1.10.1 / v1.10.2 / v1.10.3 / v1.10.4 - Bug fixes, code coverage, typing and documentation

Highlights
- Internal benchmarks @NMoutschen
- Migrate documentation from Gatsby to MkDocs material @am29d

v1.11.0: Performance improvements and new idempotency utility

Highlights
- 75% faster when not using Tracer utility + 40% faster using Metrics @heitor_lessa
- Idempotency utility for safely retrying operations that have side-effects @Tom_McC

github.com/awslabs/aws-la…

v1.12.0: Logger, Parameters, Data Classes, Idempotency

Highlights
- inject correlation IDs coming from any Event Source using JMESPath expressions @mikepb78
- AppSync Lambda Resolvers data classe

github.com/awslabs/aws-la…

v1.13.0 - S3 Object Lambda event

Highlight
- Add S3 Object Lambda Event @mikepb78

github.com/awslabs/aws-la…

v1.14.0 - Event Handlers and MyPy support

Highlights
- Docs versioning @heitor_lessa
- AppSync handler decorator @mikepb78
- S3 Object Lambda Event parser @IsenbergRan

github.com/awslabs/aws-la…

v1.15.0 - Idempotency GA, API GW hander and Logger updates

Highlights
- API gateway handler (CORS, Compression etc..) @mikepb78
- Logger BYOFormatter and Handler, UTC support @heitor_lessa

github.com/awslabs/aws-la…

v1.15.1: Hotfix for Logger and Docs

Highlight
- Support .info("foo %s", "bar") formatting @huon_w

github.com/awslabs/aws-la…

v1.16.0: CodePipeline Job event support

Highlights
- Dynamically base64 decode body @donkersgood @mikepb78
- support for code pipeline job event @mikepb78

github.com/awslabs/aws-la…

v1.16.1: Emergency release to patch Pydantic against CVE-2021-29510 @IsenbergRan

github.com/awslabs/aws-la…

v1.17.0: Event source and logger updates

Highlights:
- DynamoDBStreamEvent
- Decorator to instantiate data_classes @mikepb78
- Parser support for API Gateway HTTP API @IsenbergRan

github.com/awslabs/aws-la…

v1.17.1: Bugs fixes and Dark Mode support for Docs :)

github.com/awslabs/aws-la…

v1.18.0: Preview of Feature Toggles, MyPy fixes, Debug mode for API GW

Highlights
- Simple feature toggles rule engine (WIP) @IsenbergRan
- API GW Handler updates @mikepb78
- AppSyncResolverEvent subclassing @whardier
- Parser fix @walmsles

github.com/awslabs/aws-la…

v1.19.0: Feature flag beta release

Highlights
- auto-disable tracer when for non-Lambda envs @mikepb78
- Feature flags @IsenbergRan @heitor_lessa
- API GW custom serializer support @mikepb78

github.com/awslabs/aws-la…

v1.20.0: Lambda authorizer and function level idempotency

- API Gateway and AppSync Lambda Authorizers
- API Gateway Custom Domain Mappings @mikepb78
- Make any Python synchronous function idempotent @heitor_lessa

github.com/awslabs/aws-la…

v1.20.1: Bug fixes found by @walmsles and markdown clean up

github.com/awslabs/aws-la…

v1.20.2 : Fix issue with strip_prefixes BVMiko

github.com/awslabs/aws-la…

v1.21.0: Feature Flags and making testing easier

- Lots of feature flag improvements - Gerald Leter
- Making unit testing easier @Tom_McC

github.com/awslabs/aws-la…

v1.21.1: Public Lambda Layers ARNs @am29d

github.com/awslabs/aws-la…

v1.22.0: Route splitting and docs

- New Router feature in Event Handler utility including GraphQL Resolvers composition in AppSync @mikepb78
- ActiveMQ and RabbitMQ support @mikepb78
- Idiomatic tenet has been updated to Progressive @heitor_lessa

github.com/awslabs/aws-la…

v1.23.0: XMAS papercut release

Batch supports SQS, DynamoDB, and Kinesis using the native partial response (decreased cost), and Event Handler API Gateway now supports exception handling and overriding HTTP 404 errors.

@Tom_McC @heitor_lessa @whardier

github.com/awslabs/aws-la…

v1.24.0: New Years Eve and 90% non-aws contributors release.

Idempotency, Tracer, Feature Flags and Documentation updates

github.com/awslabs/aws-la…

wow, what a year 2021 was for #Python and #Serverless contributors! And this was just a summary!

would be interesting to see what should be done next in general for lambda powertools. Java is already GA and Rust, Typescript, .NET on being looked at too.

github.com/awslabs/aws-la…

Share this Scrolly Tale with your friends.

A Scrolly Tale is a new way to read Twitter threads with a more visually immersive experience.
Discover more beautiful Scrolly Tales like this.

Keep scrolling