Releases: youtype/mypy_boto3_builder
Releases · youtype/mypy_boto3_builder
8.11.0 - No SMS Voice
Changed
[sms-voice]
Service is no longer supported and excluded from build, usepinpoint-sms-voice
instead (reported by @harshita-gupta
in #357)
Fixed
[aiobotocore]
Endless cycle on external imports replacement[aiobotocore]
Dynamic stubs synchronized with static forAioSession
[aioboto3]
Added missing methods to generatedSession
[qconnect]
Self-references forTypedDict
s were not fully replaced[all]
Updated static stubs
8.10.1
Fixed
[services]
PaginationToken
OutputTypeDef attribute marked asNotRequired
(reported by @fcaro-morrisopazo in #356)[boto34]
Updated generation for newServiceFactory
structure[aioboto3]
Updated static files[aiobotocore]
Updated static files[boto3]
Addedaws_account_id
argument toSession.client
method[boto3]
Addedaws_account_id
argument toclient
functions and methods[aioboto3]
Addedaws_account_id
argument toSession.client
method
8.10.0 - Yet Another AWS SDK
Added
[builder]
boto34-boto3
,boto34-aiobotocore
, andboto34-aioboto3
products[builder]
Formatting support for usage examples in docstrings
Fixed
[sms-voice]
Class name was conflicting withPinpointSMSVoice
service, changed toSMSVoice
[aiobotocore]
Updated to the latest static stubs (submitted by @huonw in types-aiobotocore#2)[aioboto3]
Updated to the latest static stubs (reported by @jmehnle in #354)[docs]
Fixed a lot of incorrectaioboto3
usage examples[docs]
Fixed incorrect example method choice forServiceResource
[docs]
Unions use new syntax:Union[X, Y]
->X | Y
[docs]
External imports now have full path in documentation:TransferConfig
->boto3.s3.transfer.TransferConfig
8.9.2
Fixed
[aiobotocore]
UpdatedAWSPreparedRequest
/AioAWSResponse
types usage inendpoint.pyi
(submitted by @huonw in types-aiobotocore#2)[docs]
Added usage examples to all type defs (reported by @colemickens in #351)[docs]
Updated chat builder commands (reported by @kishaningithub in #352)[chat]
Library is auto-selected if--product=*-custom
provided in CLI
8.9.1
8.9.0 - Conflict Resolution
Changed
[services]
TypeDefs for packed method arguments use shorter names if possibleCreateDistributionRequestRequestTypeDef
->CreateDistributionRequestTypeDef
(⚠️ breaking change)[services]
Conflicting TypeDefExtra
postfix moved to the end:CreateDistributionExtraRequestTypeDef
->CreateDistributionRequestExtraTypeDef
(⚠️ breaking change)[builder]
Legacymypy-boto3
moved to a separate product and is no longer generated along withboto3-stubs
[builder]
Improved logging, thanks tologuru
Fixed
[services]
All method arguments accept output types as input (reported by @chaos95 in #348)[builder]
Input types replacement withinput | output
unions is significantly faster[builder]
Refactored generation to respect allruff
formatting rules[builder]
Added a check that all generated classes are usable in runtime[builder]
Exceptions are no longer silent in--debug
mode[builder]
Stubbed methods no longer produce clashing TypedDict names[builder]
Async methods were leaking to non-async libraries products if built on the same run
8.8.0 - Python 3.8 runtime is back
Changed
[services]
install_requires
section is calculated based on dependencies in use, sotyping-extensions
version is set properly[all]
Replacedtyping
imports withcollections.abc
with a fallback totyping
for Python <3.9[all]
Added aliases forbuiltins.list
,builtins.set
,builtins.dict
, andbuiltins.type
, so Python 3.8 runtime should work as expected again (reported by @YHallouard in #340 and @Omri-Ben-Yair in #336)[all]
Unions use the same type annotations as the rest of the structures due to proper fallbacks
Fixed
[services]
Universal input/output shapes were not replaced properly in service subresources[docs]
Simplified doc links rendering for services[services]
Cleaned up unnecessary imports inclient.pyi
[builder]
Import records with fallback are always rendered
8.7.1
Fixed
[aioboto3]
All extras useaiobotocore
version requirements, notaioboto3
(reported by @dacevedo12 in #338)[aiobotocore]
Allboto3
imports fallback toobject
(reported by @dmkulazhenko in #337)[builder]
install_requires
is automatically generated for all packages[builder]
Removed unused templates
Updated packages
types-aioboto3-lite 13.3.0.post1
types-aioboto3 13.3.0.post1
types-aiobotocore-s3 2.16.1.post1
8.7.0 - Build It Yourself
Highlights
- All packages can be build within 3 minutes
- New ChatBot interface:
uvx mypy_boto3_builder
- All packages use new syntax for type annotations
Added
[services]
All generated modules use__future__.annotations
[services]
Support future type annotations in all generated files[services]
type: ignore
comments always have a specific type[builder]
Added support forGeneric
base classes usage (used in updatedPaginator
class)
Changed
[services]
Paginator.paginate
**kwargs: Unpack[<name>]
naming changed to a shorter variant (⚠breaking change)[services]
Paginator.wait
**kwargs: Unpack[<name>]
naming changed to a shorter variant (⚠breaking change)[services]
Subscripts are no longer stringified[services]
Subresources are sorted alphabetically, removed pseudo-topological sorting[services]
ReplacedOptional[...]
with... | None
[services]
Replaced inlineUnion
with a newX | Y
syntax (named Unions preserve old style forpython<3.10
compatibility)[services]
Replacedtyping.Dict
/List
/type
withbuiltins
equivalients[services]
Replacedtyping.Set
withbuiltins.set
(currently unused inbotocore
)[aiobotocore-services]
Importing<service>.service_resourse
is no longer safe whenboto3
andaioboto3
are not installed (⚠breaking change)[all]
All annotations synced from static stubs[chat]
Fully migrated toprompt_toolkit
styles[chat]
Added new select and multiselect UI[builder]
Optimized type replacement (e.g.quicksight
parsing is now 10 times faster)
Fixed
[services]
Docstring headers for generated files were not formatted properly[builder]
UnnamedUnion
returns correct required imports for rendering[services]
BotocoreClientError
is no longer generated, usingbotocore.exceptions.ClientError
instead[services]
Client.close
method is no longer generated, inherited from static stubs instead[services]
Client.exceptions
is inherited fromBaseClientExceptions
[services]
Paginator
is inherited frombotocore.paginate.Paginator
[services]
Conditional imports marked with# type: ignore[assignment]
for bettermypy
support[aiobotocore-services]
FixedPaginator.paginate
method return type[aioboto3]
[aiobotocore]
boto3
/botocore
imports are now replaced withaioboto3
/aiobotocore
imports inSession
as well[builder]
UnnamedUnion
returns correct required imports for rendering[sms-voice]
Service class name changed from duplicatedPinpointSMSVoice
toSMSVoice