- Update of the
CognitoAccessToken
class to parse authentication token either from the request headers or from the request context.
- Add decorator
remove_header
removing desired headers from API Gateway integration lambda event.
- Improve
ValueValidator
by addingnot_contains_whitespace
method. - Make
ValueValidatorPresets
more flexible.
- Make
MalformedPermissionErorr
inherit straight fromHttpException
.
- Typehint fixes.
- Add more custom
BException
exceptions. - 420 hehe...
- Add ability to specify custom exception when performing value validation.
- Deprecate lambda layer functionality. Now this is a simple python lib with common AWS-related functionality. Use https://github.com/Biomapas/B.CfnLambdaLayer to create lambda layers.
- Remove
DynamoDb
&PynamoDb
functionality from this code. It has been moved and improved. Find everything here: https://github.com/Biomapas/B.DynamoDbCommon.
- Allow access of the value within validators.
- Add epic validation!
- Add
ValueValidator
for basic validation. - Add
ValueValidatorPreset
for convenient validation.
- Extract api key from lambda event.
- Extract body from lambda event.
- Extend boto3 step-functions call timeout to maximum lambda execution time (15 minutes).
- Use the newest base layer
B.CfnLambdaLayer
which uses new asset bundling mechanism (Dockerfile).
- Add Boto3 client validation under SfnCall function.
- Add functionality to pass Boto3 client to SfnCall function for multithreding support.
- Fix api empty dict serialization.
- Improve parsing of JWT claims from API Gateway authorizer output.
- If you want to use
cryptography
module, you must use Python 3.8. - Add explanations for Python 3.8 versions.
- Fix supported layer python versions.
- Add Fernet encryption PynamoDB attribute.
- Fix KmsAttribute by introducing base64 encode/decode.
- Add field validator in util directory. Simple string validation.
- Add KMS attribute for PynamoDB.
- Add a list bytes batching utility.
- Handle errors when raising ValueError in SfnCall class.
- Simple return JSON of an output if SfnCall raised ValueError.
- Include .txt files.
- Complete refactor.
- Fix ugly if/else imports.
- Run unit tests inside lambda functions.
- Use b_cfn_lambda_layer dependency.
- Write more unit and integration tests.
- Add README documentation.
- Add validation when bundling with Docker.
- General testing improvements.
- Add Layer V2 integration tests.
- Add V2 Layer class to enable installation of dependencies.
- Add response method to return any type.
- Add
text/html
andtext/plain
headers. - Add missing
fields
parameter support toNeighbourEndpoint
class.
- Improve function return value handling for
InMemoryDataCache
class.
- Add in-memory data caching functionality.
- Add
fields
parameter support toHttpEndpoint
class.
- Update DoNotUpdate class to be usable as a type.
- Add WebSocket Api Gateway message class to form consistent messages.
- Allow for changing HttpEndpoint behavior.
- Add ability to specify if to fail to errors.
- Try to read from env event bus name.
- Add factory to emit EventBridge events.
- Make the code a little more robust and less error prone.
- Assets input may contain garbage files too, hence, apply cleanup commands directly on asset outputs folder.
- Add builds badge.
- Remove leftover code.
- Update requirements.
- Delete unnecessary files which result in different asset hash.
- Calculate hash when bundling.
- Add CSV headers.
- Ensure everything works with a robust integration test.
- Improve Boto3Version class.
- Fix bug when boto3 version is specified project files are not copied.
- Change asset bundling to asset docker bundling if additional dependencies are specified.
- Add ability to install boto3 library.
- Add more unit tests.
- Add integration tests to deploy and test the Layer in AWS.
- Simplify SSM parameters functionality.
- Add robust SSM parameter tests.
- Do not serialize returned ssm parameters.
- Add more logging for better visibility.
- SSM should_refresh function should be public.
- Add logging on ssm error decorator.
- Force using error_class to error_classes.
- Add functionality to fetch and cache SSM parameters.
- Add OS type parameters.
- Add media Response and wav/mpeg headers.
- Add DoNotUpdate class, useful when checking what parameters to update and what not.
- Implement retrying logic to HttpCall.
- Make sure test coverage is at least 80%.
- Add CI/CD pipeline.
- Add more encodings to decode responses.
- Add urllib3 dependency.
- Add DynamoDBEncoder that subclasses DecimalEncoder and additionally encodes sets as lists.
- Modify call_to_json function by checking whether the response contains body.
- Add exception logging for failed imports.
- Expose http_endpoint on NeigbourEndpoint class.
- Release version with major braking changes.
- Consistent naming for imports.
- Unit tests to cover all functions and classes.
- Add neighbour endpoint.
- General code improvements and cleanup.
- Fix logging imports.
- Add logging of exception tracebacks to exception_middleware.
- Add logging about HTTP requests.
- Set request scheme for parent API Gateway urls depending on current protocol.
- Add a CognitoAccessToken for parsing access token information provided by the API Gateway using Cognito authorizer.
- Add a LoggingManager for setting up logging configuration
- Add custom JSON encoder with support for decimal.Decimal encoding
- Implement API Gateway body parsing.
- Fix imports.
- Implement exceptions.
- Fix api gateway url.
- Add xml to dict converter utility. No dependencies.
- Fix imports.
- Add ability to check whether singleton was initialized.
- Remove description.
- Do not create an extra stack.
- Add safe initialization.
- Add Layer class and Singleton.
- Initial build.