Releases: syngenta/acai-python
Releases · syngenta/acai-python
2.2.3 (2024-08-19)
What's Changed
- fix(deps): bump boto3 from 1.34.137 to 1.34.152 by @dependabot in #267
- fix(deps): bump jsonschema from 4.22.0 to 4.23.0 by @dependabot in #268
- fix(deps): bump pydantic from 2.8.0 to 2.8.2 by @dependabot in #269
Full Changelog: 2.2.2...2.2.3
2.2.2 (2024-07-10)
What's Changed
- fix(deps): bump boto3 from 1.34.96 to 1.34.137 by @dependabot in #263
- fix(deps): bump pydantic from 2.7.1 to 2.8.0 by @dependabot in #264
- fix(deps): bump jsonpickle from 3.0.4 to 3.2.2 by @dependabot in #265
- fix(deps): bump the pip group with 2 updates by @dependabot in #266
- fix(deps): bump urllib3 from 1.26.18 to 1.26.19 in the pip group by @dependabot in #262
Full Changelog: 2.2.1...2.2.2
2.2.1 (2024-05-30)
Just a small change to the request body parser to be more accurate.
Full Changelog: 2.2.0...2.2.1
2.2.0 (2024-05-22)
What's Changed
- Generate OpenAPI files base on Project by @paulcruse3 in #258
- chore(deps-dev): bump requests from 2.31.0 to 2.32.0 in the pip group by @dependabot in #257
- more doc support for openapi generation by @paulcruse3 in #259
Full Changelog: 2.1.0...2.2.0
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
2.0.1 (2023-10-25)
What's Changed
- changed
open_cors
to justcors
(open_cors
is still available for use a property and falls under the same underlying property ascors
)
Full Changelog: 2.0.0...2.0.1
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
@requirements
decorator) - 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
1.0 (rerelease of legacy functionality)
What's Changed
- Not much!!! Same as the great functionality as the original ACL https://github.com/syngenta-digital/package-python-alc
Full Changelog: https://github.com/syngenta/acai-python/commits/1.0.0