Releases: youtype/mypy_boto3_builder
Releases · youtype/mypy_boto3_builder
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
8.4.1
8.4.0 - Wheels Included
Highlighs
- New product
types-boto3
support - successor toboto3-stubs
. It will become a recommended package in the next release. - Builder can now build
wheel
andsdist
packages - No
boto3
dependency for betteraio*
products and 3x build speed boost --installed
CLI flag is replaced with a new--output-type=package|installed|wheel|sdist
CLI argument- Better support for
types-aioboto3
andtypes-aiobotocore
Added
[cli]
New--product-type
CLI argument that acceptspackage
,wheel
,source
orinstalled
package generation type[cli]
--installed
flag is deprecated, use--product-type=installed
instead[cli]
New product:--product=types-boto3
to generatetypes-boto3
package[cli]
New product:--product=types-boto3-lite
to generatetypes-boto3-lite
package[cli]
New product:--product=types-boto3-services
to generatetypes-boto3-<service>
packages[cli]
New product:--product=types-boto3-full
to generatetypes-boto3-full
package[cli]
New product:--product=types-boto3-docs
to generatetypes-boto3-docs
package[cli]
New product:--product=boto3-lite
to generateboto3-stubs-lite
package (removed fromboto3
product)[cli]
New product:--product=aiobotocore-lite
to generatetypes-aiobotocore-lite
package (removed fromaiobotocore
product)[cli]
New product:--product=aioboto3-lite
to generatetypes-aioboto3-lite
package (removed fromaioboto3
product)[builder]
Support for*.whl
and*.tar.gz
packages as an output[s3]
Annotated missing injected methods
Changed
[builder]
Removedboto3
dependency[builder]
Backportedboto3.model.ResourceModel
[builder]
Package builds are now 3 times faster due removedboto3
instances creation[builder]
Faster output file comparison[builder]
All*-lite
packages were moved to new products and no longer generated with full stubs
Fixed
[aioboto3]
FixedSession.resource
return type (reported by @kpark-hrp in #325)[aiobotocore]
FixedSession.client
return type (reported by @kpark-hrp in #325)[builder]
Static files that will be overwritten by templates are no longer created[builder]
Error on invalid version received from PyPI[services]
Added a warning on attribute name conflict[services]
ReplacedNO-BREAK SPACE
with a regular space in docstrings