middy
                                
                                
                                
                                    middy copied to clipboard
                            
                            
                            
                        Version 7 [Draft]
aka The OTel Update (Hopefully)
Release: Nov (after nodejs active LTS starts)
Timeline based on AWS nodejs24.x release cycle
Release Notes: https://github.com/middyjs/middy/blob/release/7.0.0/website/docs/upgrade/6-7.md
Planned
- 
[ ] Drop Node v20, Add support fro Node v24
- [ ] Update 
enginesto"node": ">=22" - [ ] Update github workflows 
node-version 
 - [ ] Update 
 - 
[ ] docs
- [ ] migration
 - [ ] release cycle
 
 - 
[ ] LLRT Support
 - 
[ ] Move to Otel for Logs, Metrics, Traces? (if possible) https://github.com/aws/aws-xray-sdk-node/issues/515
- Update Logs, Metrics, Traces to use OTel if ready (https://github.com/willfarrell/aws-wishlist#lambda)
 - Use Otel: https://aws-otel.github.io/docs/getting-started/javascript-sdk
 - Use powertools: https://awslabs.github.io/aws-lambda-powertools-typescript/latest/core/tracer/#patching-aws-sdk-clients
 - discussion: https://github.com/awslabs/aws-lambda-powertools-typescript/discussions/665
 - [ ] 
error-loggerupdate to print otel by default - [ ] 
input-output-loggerupdate to print in otel format 
 - 
[ ] Deprecate
Report-To, default toReporting-Endpoints - 
[ ] Simplify coding standard (prettier vs standard)
 
Maybe
- [ ] improve response streaming support (new middlewares?)
 - [ ] plugins as packages?
 - [ ] Move to JSDoc notation? https://www.youtube.com/watch?v=zPOHY-cZ1wE
 - [ ] Update abort signals if Lambda adds support
 
Version 8
- Use new RegExp.escape function in routers (https://nodejs.org/en/blog/release/v24.0.0)
 - Use new URLPattern function in routers (https://nodejs.org/en/blog/release/v24.0.0)
 - Drop references to callback in 
core(https://github.com/aws/aws-lambda-nodejs-runtime-interface-client/issues/137)