v1.22.0 #829
Closed
heitorlessa
started this conversation in
Show and tell
v1.22.0
#829
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
This release adds two major changes: 1/ New Router feature in Event Handler utility including GraphQL Resolvers composition in AppSync, and 2/ Idiomatic tenet has been updated to Progressive.
Additionally, we now support ActiveMQ and RabbitMQ in the Event Source Data Classes, and primary composite key for Idempotency when using DynamoDB Storage. There's been lots of improvements to documentation around Lambda Layers install, and a bug fix for Parser (Pydantic) to address API Gateway v1/v2 supporting a null body.
This release note will primarily cover the new Router feature in Event Handler given how significant this is. Also, we created a new section named Considerations in the docs to share an opinionated set of trade-offs when going with a monolithic vs micro function approach, when using API Gateway, ALB, or AppSync.
Router feature in Event Handler
You can now use separate files to compose routes and GraphQL resolvers. Before this feature, you'd need all your routes or GraphQL resolvers in the same file where your Lambda handler is.
API Gateway and ALB
This is how it would look like before this feature in either API Gateway, ALB, and AppSync:
With Router, you can now split the
/users
routes in a separate file and changeApiGatewayResolver
withRouter
, for example:Note that the user experience is exactly the same on accessing request details and defining routes, except we use
Router
instead ofApiGatewayResolver
.Next, within your Lambda entry point, you have to use the new
include_router
method to inject routes from/users
at runtime:GraphQL Resolvers
Similarly to API Gateway and ALB, you can now use Router to split GraphQL resolvers allowing for further composition:
Tenet update
We've updated Idiomatic tenet to Progressive to reflect the new Router feature in Event Handler, and more importantly the new wave of customers coming from SRE, Data Analysis, and Data Science background.
Changes
🌟New features and non-breaking changes
🌟 Minor Changes
📜 Documentation updates
🐛 Bug and hot fixes
🔧 Maintenance
This release was made possible by the following contributors:
@AlessandroVol23, @BVMiko, @Tankanow, @arthurf1969, @cakepietoast, @dependabot, @dependabot[bot], @eldritchideen, @heitorlessa, @jonemo and @michaelbrewer
This discussion was created from the release v1.22.0.
Beta Was this translation helpful? Give feedback.
All reactions