Mypy-boto3

Latest version: v1.34.108

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

Scan your dependencies

Page 20 of 31

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

5.1.0

Notes

Thank you for your contributions! More and more people start using `boto3-stubs`. Your bug reports, feature requests, and pull requests help to improve code quality in about **one million projects**!

Keep on keeping on!

Changed
- `[docker]` Rebased to Python 3.9.6
- `[services]` `resource.meta` has a custom `<name>ResourceMeta` for each service

Fixed
- `[services]` `resource.meta.client` uses correct service client class instead of `BaseClient`
- `[botocore-stubs]` Added missing annotations, cross-checked with `mypy.stubtest`
- `[botocore-stubs]` `ResourceMeta` preserves proper class on `copy`
- `[docs]` Fixed typo `buider` -> `builder`
- `[docs]` Fixed invalid imports in `boto3-stubs`
- `[docs]` Fixed cleanup for `boto3-stubs` module, it was breaking docs build

5.0.0

Notes

- Supported services are no longer hardcoded, so new boto3 services are supported as soon as they are released
- Compatibility with `conda-forge` builds
- New daily sanity check for all generated packages to ensure stability

Added
- `[builder]` Supported services are no longer hardcoded
- `[builder]` `--list-services` CLI flag to output a list of supported services
- `[ci]` `Sanity check` workflow to check generated packages daily

Changed
- `[boto3-stubs]` Doc links now point to latest `boto3` docs
- `[botocore-stubs]` Doc links now point to latest `boto3` docs
- `[ci]` `check_output` runs tests with `mypy` as well
- `[boto3-stubs]` Requires non-strict versions of subpackages, five micro releases below the current (should fix `conda-forge` builds)
- `[docker]` Uses strict `regex==2021.7.6` package version
- `[builder]` Updated `black` and `isort`

Fixed
- `[boto3-stubs]` Removed Generics from `boto3.resouces.collection`
- `[builder]` Potential infinite recursion while working with paths
- `[builder]` Removed aggressive cleanup of unused generated files

4.22.1

Notes

This is an urgent bugfix, please update `boto3-stubs` from `1.17.103` to `1.17.103.post1`

Fixed
- `[services]` Collections are loosely typed again, they were broken in `4.22.0`
- `[builder]` Added `Python 3.10` classifier to all generated packages

4.22.0

Added
- `[boto3-stubs]` Fully annotated `boto3.s3.transfer`

Changed
- `[services]` `Client` is subclassed from `botocore.client.BaseClient` for compatibility with `botocore-stubs`
- `[services]` `Client.exceptions` is typed as a property as it should be

Fixed
- `[services]` Collections bases used to be loosely typed, now they are compatible with `botocore-stubs`
- `[botocore-stubs]` `BaseClient.get_waiter` annotation was not compatible with `boto3-stubs`
- `[botocore-stubs]` `BaseClient.get_paginator` annotation was not compatible with `boto3-stubs`
- `[botocore-stubs]` Removed `BaseClient.__getattr__` annotation because it hides `hash no attribute` type checking error
- `[botocore-stubs]` `ResourceCollection.__iter__` annotation was incorrect, now returns `Iterator[Resource]`
- `[builder]` Uses stricter output packages type checking with `pyright`
- `[builder]` Incorrect URLs to README images on PyPI page

4.21.0

Notes

TypeDefs changes introduced in `4.19.0` were too dramatic. In order to keep the package as backward-compatible as possible, TypeDefs changes are reverted.

Unfortunately, there is no way to keep things as they were because older versions used to add `ResponseMetadata` to TypeDefs that do not include it. So, this version adds `ResponseMetadataTypeDef` postfix to Response TypeDef only if there is a conflict. So, it should still be way closer to pre-`4.19.0` releases.

New packages `boto3-stubs 1.17.101.post2` and `boto3-stubs 1.17.102.post1` will be released shortly after.

Changed
- `[services]` Reverted `ResponseTypeDef` postfix for all Response Shapes from `4.19.0`
- `[services]` If both Shape and Response Shape are required, Response TypeDef gets `ResponseMetadataTypeDef` postfix

Page 20 of 31

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.