middyjs / middy

🛵 The stylish Node.js middleware engine for AWS Lambda 🛵

Home Page:https://middy.js.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

2020 Year Review

willfarrell opened this issue · comments

It's been a growing year for Middy with lots of adoptions (see below). Thank you for all of your help over the past year in making middy better than ever. We have some great news to start the year off with; I've started working on middy v2. We're addressing some of your most requested features and performance bottlenecks. To accomplish this we will have to make some breaking changes. My goal is to have something together over the coming month so the community can comment. I'm hopeful AWS will support Node.js v14 around Apr/May and plan to have an alpha release ready for then.

@lmammino also wrote a 2020 review of middy: https://loige.co/2020-a-year-in-review/#middy



Total Downloads (middy + @middy/core): 1,342,333 (2019) -> 2,971,392 (2020)

Middlewares Downloads

@middy/cache: 8331

@middy/db-manager: 7788

@middy/do-not-wait-for-empty-event-loop: 376307

@middy/error-logger: 15349

@middy/function-shield: 6286

@middy/http-content-negotiation: 25216

@middy/http-cors: 466633

@middy/http-error-handler: 280492

@middy/http-event-normalizer: 379594

@middy/http-json-body-parser: 514593

@middy/http-multipart-body-parser: 26115

@middy/http-partial-response: 9277

@middy/http-security-headers: 85573

@middy/http-urlencode-body-parser: 33540

@middy/http-urlencode-path-parser: 110236

@middy/input-output-logger: 73478

@middy/s3-key-normalizer: 29774

@middy/secrets-manager: 234852

@middy/sqs-json-body-parser: 27584

@middy/sqs-partial-batch-failure: 37626

@middy/ssm: 185840

@middy/validator: 284625

@middy/warmup: 110696


The amount of downloads for warmup is surprisingly high and has been consistent all year. AWS released provisioned concurrency for lambda over a year ago removing the need for the warmup hack. To those still using it, I'd love to better understand why, maybe I'm missing something. Also interesting to see how steady middy v0.x is, will interesting to see if that drops off in 2021.

Trends

Middyjs trends