2.0.0 (2023-10-24)
2.0 RELEASE IS READY!!!
Its been a long time coming but out 2.0 release is now ready! There is a lot of changes in this release so if you want all the fully details please review our new documentation website here: https://syngenta.github.io/acai-python-docs/
Notable Features
- Apigateway
- New routing options for APIGateway
- Use openapi schema as baseline validation logic (without needing
@requirementsdecorator) - Ability to validate responses as defined by openapi schema
- Apply Verbose logging
- Able to establish timeout outside of lambda configurations
- Control of whether to output detail internal server error as API response
- Cache routing options for faster routing (configurable)
- Able to run custom functions before every request
- Able to run custom functions after every request
- Able to define in place, authentication logic and then able to programmatically determine which endpoints require it
- Able to run custom functions after internal server error
- Able to run custom functions after timeout error
- DocumentDB event supported
- Firehouse event supported
- Kinesis event supported
- MQ event supported
- MSK event supported
- S3
- Able to run custom function before handler
- Able to run custom function after handler
- Able to pull S3 object down before handler runs
- Able to serialize S3 object to JSON or CSV dict/list
- Able to validate S3 object against openapi
- SNS event supported
- Able to run custom function before handler
- Able to run custom function after handler
- Able to validate event object against openapi
- SQS event supported
- Able to run custom function before handler
- Able to run custom function after handler
- Able to validate event object against openapi
- Logger
- Better error trace in logs
- Able to control log with min log settings
- Able to switch between json logs and inline logs for different environments
Full Changelog: https://github.com/syngenta/acai-python/commits/2.0.0