2.1.0 (2024-05-01)
What's Changed
PYDANTIC SUPPORT
You can now use pydantic models as request_body
validations. See example below:
from typing import List
from acai_aws.apigateway.requirements import requirements
from pydantic import BaseModel, PositiveInt
class UserRequest(BaseModel):
id: PositiveInt
email: str
active: bool
favorites: List[str]
notification_config: dict[str, bool]
@requirements(required_body=UserRequest)
def post(_, response):
response.body = {'pydantic_pass': True}
return response
Other Changes
- fix(deps): bump jsonschema from 4.19.1 to 4.19.2 by @dependabot in #128
- fix(deps): bump boto3 from 1.28.71 to 1.28.74 by @dependabot in #127
- fix(deps): bump boto3 from 1.28.74 to 1.28.78 by @dependabot in #132
- fix(deps): bump boto3 from 1.28.78 to 1.28.80 by @dependabot in #134
- fix(deps): bump boto3 from 1.28.80 to 1.28.81 by @dependabot in #135
- fix(deps): bump boto3 from 1.28.81 to 1.28.84 by @dependabot in #137
- fix(deps): bump boto3 from 1.28.84 to 1.28.85 by @dependabot in #138
- fix(deps): bump boto3 from 1.28.85 to 1.33.6 by @dependabot in #150
- fix(deps): bump boto3 from 1.33.6 to 1.33.12 by @dependabot in #156
- fix(deps): bump boto3 from 1.33.12 to 1.33.13 by @dependabot in #157
- fix(deps): bump boto3 from 1.33.13 to 1.34.14 by @dependabot in #172
- fix(deps): bump jsonschema from 4.19.2 to 4.20.0 by @dependabot in #142
- fix(deps): bump jsonschema from 4.20.0 to 4.21.1 by @dependabot in #183
- fix(deps): bump boto3 from 1.34.14 to 1.34.26 by @dependabot in #185
- fix(deps): bump boto3 from 1.34.26 to 1.34.27 by @dependabot in #186
- fix(deps): bump boto3 from 1.34.27 to 1.34.29 by @dependabot in #188
- fix(deps): bump boto3 from 1.34.29 to 1.34.30 by @dependabot in #189
- fix(deps): bump boto3 from 1.34.30 to 1.34.31 by @dependabot in #190
- fix(deps): bump boto3 from 1.34.31 to 1.34.34 by @dependabot in #193
- fix(deps): bump boto3 from 1.34.34 to 1.34.38 by @dependabot in #197
- Bump the pip group across 1 directories with 1 update by @dependabot in #198
- fix(deps): bump jsonpickle from 3.0.2 to 3.0.3 by @dependabot in #208
- fix(deps): bump boto3 from 1.34.38 to 1.34.46 by @dependabot in #207
- Bump the pip group across 1 directories with 1 update by @dependabot in #205
- Bump the pip group across 1 directories with 1 update by @dependabot in #210
- fix(deps): bump boto3 from 1.34.46 to 1.34.51 by @dependabot in #215
- fix(deps): bump boto3 from 1.34.51 to 1.34.54 by @dependabot in #218
- fix(deps): bump boto3 from 1.34.54 to 1.34.55 by @dependabot in #219
- fix(deps): bump boto3 from 1.34.55 to 1.34.58 by @dependabot in #222
- fix(deps): bump boto3 from 1.34.58 to 1.34.80 by @dependabot in #244
- fix(deps): bump boto3 from 1.34.80 to 1.34.81 by @dependabot in #245
- fix(deps): bump boto3 from 1.34.81 to 1.34.82 by @dependabot in #246
- fix(deps): bump boto3 from 1.34.82 to 1.34.83 by @dependabot in #247
- fix(deps): bump jsonpickle from 3.0.3 to 3.0.4 by @dependabot in #248
- Bump idna from 3.4 to 3.7 by @dependabot in #249
- fix(deps): bump boto3 from 1.34.83 to 1.34.84 by @dependabot in #250
- fix(deps): bump boto3 from 1.34.84 to 1.34.85 by @dependabot in #251
- fix(deps): bump boto3 from 1.34.85 to 1.34.86 by @dependabot in #252
- Pydantic Support by @paulcruse3 in #256
- fix(deps): bump jsonschema from 4.21.1 to 4.22.0 by @dependabot in #255
- fix(deps): bump boto3 from 1.34.86 to 1.34.96 by @dependabot in #254
Full Changelog: 2.0.1...2.1.0