Releases: youtype/mypy_boto3_builder
Releases · youtype/mypy_boto3_builder
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
8.6.4
8.6.3
8.6.2
Fixed
[all]
Fixed inconsistencies insetup.py
for all packages[aiobotocore]
Resources were not loaded correctly ifboto3
was missing (reported by @ThisGuyCodes in #328)[aioboto3]
Synced generatedsession.pyi
with static stubs[chat]
Changed incorrect wording in some places
8.6.1
8.6.0 - Chat Assistant
Highlights
uvx mypy-boto3-builder
command makes building custom packages easier
Added
[builder]
Running with no CLI arguments starts an interactive interface
Changed
[docs]
Updated installation instructions
Fixed
[s3]
SSECustomerKey
andCopySourceSSECustomerKey
arguments acceptstr | bytes
(reported by @ThisGuyCodes in #328)[s3]
SSECustomerKeyMD5
andCopySourceSSECustomerKeyMD5
arguments are removed becauseboto3
calculates them internally[types-aioboto3]
SyncedSession
type annotations with static stubs[types-aioboto3]
Added missingClientCreatorContext
wrapper forSession.client
return type annotations (reported by @kpark-hrp in #325)[types-aioboto3-lite]
Incorrecttypes-botocore
version was required[builder]
Added a missing shortcut foruvx
runs
Updated packages
mypy-boto3-s3 1.35.76
types-boto3-s3 1.35.76
types-aiobotocore-s3 2.15.2.post1
types-aioboto3 13.2.0.post3
types-aioboto3-lite 13.2.0.post3
8.5.0 - Custom Packages
Highlights
- New products:
types-boto3-custom
,boto3-custom
,aiobotocore-custom
,aioboto3-custom
to build a custom package specifically for your project - Builder can be run with
uvx mypy_boto3_bulder
Added
[cli]
New product:types-boto3-custom
- All-in-one type annotations forboto3
[cli]
New product:boto3-stubs-custom
- All-in-one type annotations forboto3
[cli]
New product:aiobotocore-custom
- All-in-one type annotations foraiobotocore
[cli]
New product:aioboto3-custom
- All-in-one type annotations foraioboto3
Fixed
[builder]
Addedbotocore
dependency[builder]
Fixed run in isolated enviroment, e.g. uvx
8.4.2
Fixed
[types-aiobotocore]
Removedbotocore
requirement fromaiobotocore
target (reported by @lg-kialo in #327)[types-aioboto3]
Removedbotocore
requirement fromaioboto3
target[types-aiobotocore-full]
Removedbotocore
requirement fromaiobotocore
target[types-boto3]
Package name was incorrect[builder]
Added missing counter to skipped packages info log