Mypy-boto3-builder

Latest version: v8.7.1

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

Scan your dependencies

Page 4 of 36

8.1.1

Fixed
- `[aiobotocore]` Some `boto3` imports were not wrapped in `try-except` to be available without `boto3` installed
- `[builder]` `ResponseTypeDef` name clash resolution was potentially incorrect

Updated packages

- `types-aiobotocore-dynamodb 2.15.0.post1`

8.1.0

Notes

This release add support for `full` packages for `boto3-stubs`, `types-aiobotocore`, and `types-aioboto3`.

- `boto3-stubs-full` - Type annotations for all `botocore` services, install with `pip install 'boto3-stubs[full]'`
- `types-aiobotocore-full` - Type annotations for all `aiobotocore` services, install with `pip install 'types-aiobotocore[full]'` or `pip install 'types-aioboto3[full]'`

Added
- `[boto3-stubs]` `full` extra that installs `boto3-stubs-full`
- `[types-aiobotocore]` `full` extra that installs `types-aiobotocore-full`
- `[types-aioboto3]` `full` extra that installs `types-aiobotocore-full`
- `[docs]` Instructions how to install full packages

Changed
- `[builder]` Installed `aioboto3`/`aiobotocore` package is no longer required, latest version from PyPI is used if it is missing
- `[builder]` Refactored import strings sorting logic, imports with fallback and Python min version required are grouped

8.0.1

Fixed
- `[builder]` Allow to use `mypy_boto3_builder` as a module

8.0.0

Notes

- Starting from this release builder requires Python 3.12+. However, generated packages still support Python 3.8+
- Packages generation is 2 times faster due to new template rendering and code formatting approach
- New `**kwargs: Unpack[RequestTypeDef]` syntax for all kw-only methods and functions
- Output code formatting uses `ruff` instead of `isort` and `black`

Added
- `[builder]` New documentation and usage instructions
- `[builder]` New CLI argument `--download-static-stubs` that allows to fetch the latest static stubs from GitHub instead of built-in
- `[services]` New `**kwargs: Unpack[RequestTypeDef]` syntax for all kw-only methods and functions

Changed
- `[builder]` Twice as fast packages generation due to optimizations in processing and formatting
- `[builder]` Import sorting in output files is now performed by `ruff` instead of `isort` (20x faster!)
- `[builder]` Code formatting in output files is now performed by `ruff` instead of `black` (40x faster!)
- `[services]` Generated package size reduced by 20%

Fixed
- `[services]` Output `TypedDict` clashing was not resolved correctly in some cases, shadowing output `TypeDef`
- `[builder]` Formatting did not use minimal support Python version correctly
- `[builder]` Required imports with fallback with minimal `sys.version` required are sorted correctly
- `[builder]` Multiple performance optimizations
- `[builder]` `*-full` package data was incorrect
- `[builder]` `*-full` package name was incorrect

7.26.1

Fixed
- `[builder]` Switched from `newversion.Version` to `packaging.Version`
- `[types-aiobotocore]` `StreamingBody.iter_chunks` returns `AsyncIterator[bytes]` (reported by vikigenius in 309)
- `[types-aiobotocore]` `StreamingBody.iter_lines` returns `AsyncIterator[bytes]`

Updated packages

- types-aiobotocore 2.13.1.post1
- types-aiobotocore-lite 2.13.1.post1
- types-aiobotocore 2.13.2.post1
- types-aiobotocore-lite 2.13.2.post1

7.26.0

Notes

Hello!

So, it looks like `boto3` does not properly support identifiers in `botocore` shapes. For example: https://github.com/boto/boto3/issues/3501.

All attributes and arguments generated for identifiers now have `str` type in `boto3`. However, some identifiers have `type` key, so related attributes and arguments should use this type instead.

This release adds support for typed identifiers, as well as a proper override in case type cannot be correctly determined from shapes.

Changed
- `[builder]` New logic for `resource.identifiers`: support for typed identifiers and manual override

Fixed
- `[builder]` Overriden method type map is checked before universal type map
- `[s3]` `MultipartUploadPart.part_number` has `int` type (reported by daveisfera in 307)
- `[s3]` `MultipartUpload.Part method` `part_number` argument has `int` type (manual override) (reported by daveisfera in 307)
- `[s3]` `ServiceResource.MultipartUploadPart` method `part_number` argument has `int` type (reported by daveisfera in 307)

Page 4 of 36

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.