Skip to content

v2.40.0

Compare
Choose a tag to compare
@github-actions github-actions released this 27 Jun 15:20
· 535 commits to refs/heads/develop since this release

Summary

We're excited to announce Batch resolvers in GraphQL Event Handler to tackle the infamous N+1 problem in GraphQL 💪, making it easier to work with batching in AWS AppSync.

Thanks to @danieljnchen, the validation utility now supports referencing internal schemas within your JSON files. 🌟

🌟 ⭐ A big thank you to our new contributors: @scampbell5, @matteofigus, and @danieljnchen.

Batch resolvers in Event Handler GraphQL

Docs

You can now use a batch resolver to handle batch requests coming from AWS AppSync. This is useful when AWS AppSync has batching enabled for Lambda Resolvers as it allows the aggregation of as many requests as possible before invoking your AWS Lambda function, effectively solving the N+1 problem in GraphQL.

batch_resolver

Validation feature now supports custom handlers

Docs

You can now control JSON schema references with custom handlers. This is useful when you might want to optimize caching, reducing HTTP calls, or fetching them from non-HTTP endpoints.

validation

Last but not least, @scampbell5 helps us fix the types for partition and offset in the KafkaEventRecord Event Source Data Class.

Changes

🌟New features and non-breaking changes

  • feat(event-handler): add appsync batch resolvers (#1998) by @mploski
  • feat(validation): support JSON Schema referencing in validation utils (#4508) by @danieljnchen

📜 Documentation updates

🐛 Bug and hot fixes

  • fix(event_sources): change partition and offset field types in KafkaEventRecord (#4515) by @scampbell5

🔧 Maintenance

This release was made possible by the following contributors:

@danieljnchen, @dependabot, @dependabot[bot], @github-actions, @github-actions[bot], @heitorlessa, @leandrodamascena, @matteofigus, @mploski, @ran-isenberg and @scampbell5