Fork me on GitHub
#holy-lambda
<
2022-11-11
>
Karol Wójcik09:11:28

The next HL release will introduce some breaking changes (meaning you will have to tweak your code to run Lambdas on new runtime) and two toggles. • normalize-headers? (default: true) - headers of input event for http api & AWS api gateway will be in shape of [string, lowercased string] instead of [keyword, string]. To stay with the current behavior you will have to set it to false. • normalize-body? (default: true) - HL already automatically normalizes the body but it puts the result in :body-parsed instead of body. Starting from the next release the normalization will be optional and the result will be injected into the body instead of :body-parsed. Why? I see more people interested in trying out hl-ring-adapter and those changes will make the ring<->hl integration smoother and more performant. Sorry for the inconvenience. This time I’ve traded full backwards compatibility for the performance 😇

👍 2