Mypy-boto3

Latest version: v1.35.68

Safety actively analyzes 682457 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 22 of 34

6.0.0

Notes

Starting from this release, `mypy-boto3-builder` requires Python 3.10+. However, `boto3-stubs` is still compatible with `py36+`.

Changes
Changed
- `[builder]` requires `py310+`
- `[boto3-stubs]` `typing-extensions` are now required for `py38`
- `[services]` using `typing_extensions.TypedDict` instead of `typing.TypedDict` for `py38`
- `[services]` using `typing_extensions.Literal` instead of `typing.Literal` for `py38`
- `[docker]` rebased to `python:3.10.0-alpine3.14`
- `[docker]` updated `regex` to `2021.10.8`

Fixed
- `[services]` output `blob` shapes always use `StreamingBody`
- `[botocore-stubs]` `typing-extensions` no longer required for `py39+`
- `[botocore-stubs]` `botocore.compat.MutableMapping` was not typed properly for `py310`

5.5.0

Notes

*BREAKING!* New version no longer allows passing `None` as an optional method argument value. In most cases passing `None` will lead to `botocore.exceptions.ParamValidationError`, so this behavior is intended. Both `mypy` and `pyright` support new logic, so please update your code. Instead of passing `None`, just omit the argument.

Changes
Changed
- `[services]` No longer allow `None` as optional argument value
- `[botocore-stubs]` Removed obsolete `zip` module stubs
- `[docker]` Rebased to `Python 3.9.7`
- `[docker]` Rebased to `Alpine 3.14`
- `[docker]` Updated `regex` to `2021.9.24`

5.4.0

Added
- `[services]` `WaiterName` literal with all module waiter names
- `[services]` `PaginatorName` literal with all module paginator names

5.3.1

Fixed
- `[botocore-stubs]` use `AWSRequest` in type annotations for `botocore.auth.BaseSigner` and subclasses

5.3.0

Added
- `[services]` new `ServiceName` literal as `from <module>.literals import ServiceName`

Changed
- `[boto3-stubs]` always generated for all available service names
- `[builder]` updated `black` to `20.9b0`
- `[services]` `Dict` in input shapes replaced with `Mapping`
- `[services]` `List` in input shapes replaced with `Sequence`

Fixed
- `[pinpoint]` `__EndpointTypesElementType` literal renamed to `EndpointTypesElementType` to allow importing

5.2.0

Added
- `[botocore-stubs]` cross-checked and added all missing stubs

Changed
- `[docker]` Updated `regex`
- `[builder]` Added compatibility with latest `pyright`

Fixed
- `[services]` injected `boto3` methods do not require keyword arguments
- `[services]` `PageIterator`/`paginate` methods are annotated properly
- `[builder]` `check_output` shows `pyright` errors properly

Page 22 of 34

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.