0.22.0 (2023-09-08)
⚠ BREAKING CHANGES
-
pipeline: Removed RequestArrayParameters from input and type signature of
handlers/interceptors. number/bool/date request parameters will be coerced to their type defined in
the model. useIntegerType: true is specified by default for smithy to openapi conversion as this is
recommended and more intuitive behaviour than the default (where integers are still represented as
doubles). -
pipeline: Removed RequestArrayParameters from handler inputs and folded them into
RequestParameters. Renamed CorsInterceptor to ResponseHeadersInterceptor. Validated to ensure only
primitives (or arrays of primitives) are used in request paramters (query/path/headers).
RequestParameters coerce string values into their appropriate types for the handler wrappers to
consume, and will respond with a 400 if request parameters are of the wrong type. -
feat(type-safe-api): coerce python request parameters into declared types
Removes request_array_parameters and folds all request parameters into input.request_parameters.
cors_interceptor.py is now response_headers.py for the cors interceptor.
- pipeline: Removes request_array_parameters and folds all request parameters into
input.request_parameters. cors_interceptor.py is now response_headers.py for the cors interceptor.
Features
- pipeline: enable setting CodeBuild properties on FeatureBranch projects (#544) (37d3150), closes #546 #536 #550 #551 #552 #554 #555 #556 #557