Releases: vemel/mypy_boto3
Releases · vemel/mypy_boto3
0.5.0-1
GitHub actions were not working, so this is the same as 0.5.0
0.5.0 - Atomic Services
Highlights
- Added new
botocore
services - Packages are ~70% smaller due to new approach to docstrings
- Made packages are atomic, no direct dependencies between them
- Type annotations are imported from
typing
if possible - Removed implicit type annotations support (there were issues in PyCharm and they are slow overall)
- Waiters and paginators can be imported directly from service package
mypy-boto3-builder changes
- Added
accessanalyzer
service support. - Added
appconfig
service support. - Added
codeguru-reviewer
service support. - Added
codeguruprofiler
service support. - Added
compute-optimizer
service support. - Added
connectparticipant
service support. - Added
dataexchange
service support. - Added
elastic-inference
service support. - Added
frauddetector
service support. - Added
imagebuilder
service support. - Added
iotsecuretunneling
service support. - Added
kendra
service support. - Added
marketplace-catalog
service support. - Added
migrationhub-config
service support. - Added
networkmanager
service support. - Added
outposts
service support. - Added
sagemaker-a2i-runtime
service support. - Added
schemas
service support. - Added
sesv2
service support. - Added
sso
service support. - Added
sso-oidc
service support. - Added
wafv2
service support. - Added unsupported service message
- Fix import strings sorting
Literal
andTypedDict
are imported fromtyping
/typing_extensions
instead ofmypy-boto3
overload
is imported fromtyping
instead ofmypy-boto3
- Removed
mypy_boto3.type_defs
to avoid circular dependencies - Original docstrings replaced with links to boto3 documentation
mypy-boto3 changes
- Added
type_annotations
requirement toboto3-stubs
forpy<38
- Added
type_annotations
requirement to service packages forpy<38
- Removed
mypy-boto3
dependency fromboto3-stubs
- Added
master
extra requirement that installsmypy-boto3
toboto3-stubs
- Added
master
extra requirement that installsmypy-boto3
to all service packages - Removed implicit type annotations support
- Added waiters and paginators imports to top level of each service package
0.4.0 - Literally New Parser
This version is very close to what I have planned initially, so it is no longer an Alpha
. From now on, builds are automated, so a new version of boto3-stubs
should be released within 2-3 hours after boto3
release. Thanks everyone for testing and feedback!
You can help this project by submitting PRs to botocore
as there are some errors in their documentation:
- Missing
:rtype:
statement for functions that returnbool
iss3
documentation - Invalid unindent in
ce
,cloudfront
,cognito-idp
,elasticache
andelastictranscoder
documentation - Float values in syntax documentation replaced with
...
for some reason. dynamodb
does not have simplified annotation forExpressionAttributeValues
even though it is supported.
Stay tuned, we are getting closer to the first stable release!
Highlights
typing_extensions
are no longer required forpy38+
- Added
Literal
andUnion
types support
mypy-boto3-builder changes
- Changed PyPi status to
Beta
- Added
pyparsing
requirement typing_extensions
are no longer required forpy38+
- Added
type_defs
module for compatibility betweentyping
andtyping_extensions
- Added
DocstringParser
class that extracts info from request/responsebotocore
syntax andSphinx
argument definitions. Syntax is the source of truth for arguments and return types now - Added
ArgSpecParser
class that extracts function arguments frominspect.argspec
- Added fix for incorrect indentation in
botocore
docs - Removed
--skip-stubs
CLI argument, use--skip-master
instead - Added
--panic
CLI argument to fail on warning (usually it is unsuccessful parsing)
mypy-boto3 and subpackages changes
- Changed PyPi status to
Beta
typing_extensions
are no longer required forpy38+
- Added
type_defs
module for compatibility betweentyping
andtyping_extensions
- Added
Literal
andUnion
annotations extracted from request/response syntax - Cleaned up generated
type_defs
documentation Union
of the same type is unwrapped for readability
mypy-boto3 bugfixes
- Removed extra empty line in
TypedDict
definition with no docstring - Fixed some functions having return type
None
instead ofbool
due to incorrect documentation - Fixed silencing of undocumented methods
Auto builds changes
mypy-boto3-builder
is now published toPyPI
on releasemypy_boto3
is built by latestmypy-boto3-builder
release instead ofmaster
0.3.0 - Automated Releases
Changes
mypy-boto3
andboto3-stubs
packages now useboto3
version that they are built for.- Added automated releases on
boto3
release, so from now onmypy-boto3
is not dependent onbuilder
releases - Added integration tests for
s3
andec2
Bugfixes
- Fixed missing
type_defs.py
in builder distribution
0.2.9 - Last Manual Release
Starting from next version, boto3-stubs
and mypy-boto3
packages use corresponding boto3
version, so they are no longer dependent on builder releases. So no more daily releases for builder, but boto3-stubs
will always get latest updates.
Changes
- Improved descriptions for all generated packages
- Updated
boto3
to 1.10.28
0.2.8 - Bye-bye Partial
Changes
boto3-stubs
are no longerpartial
, all modules are covered- Added
boto3.compat
stubs - Added
boto3.resources
stubs - Added
boto3.dynamodb
stubs - Updated to
boto3==1.10.27
Bugfixes
- Fixed inconsistent max line length in generated code, it is now always
100
- Fixed code lines splitting
Builder changes
- Docker image got a new environment variable
BOTOCORE_VERSION
to install a specific version ofbotocore
before parsing - Docstrings are parsed on render, so building with
--no-docs
is faster - New code for docstring parsing, now with built-in
textwrap
module
0.2.8-2
0.2.7 - Any color you like
Changes
- Fix invalid imports in
boto3-stubs
session
module - Fix duplicate last lines in docstrings
- Update
boto3
to1.10.26
Builder changes
black
is optional and can be installed withpip install .[black]
- Fix potential infinite loop in AWS docstring formatting
- Added
--no-docs
flag to generate stubs with no docstrings (~4 times smaller output)
0.2.6 Docker Friendly
Changes
- Require
typing_extensions
instead ofmypy
- Build for
boto3==1.10.25