Releases: youtype/mypy_boto3_builder
Releases · youtype/mypy_boto3_builder
8.3.0 - Beautiful Docstrings
Changed
[all]xform_namefunctionality moved to the project to avoid bugs inbotocore[docs]Use the same links toboto3documentation as the rest of the project[services]Added missing docstrings to subresourceCollections[docs]Added a warning about PyCharm high CPU usage (PY-40997)
Fixed
[services]textwraplogic for docstings no longer adds a linebreak before the last word[services]Fixed links toboto3documentation for all classes and methods[services]FixedCollection.allmethod docstring[services]FixedClient.exceptionsmethod docstring
8.2.1
8.2.0 - Classy TypedDicts
Added
[all]Python 3.14 support[builder]Faster lookup for stubbed types, thanks to newLookupDictclass[builder]NotRequiredoutputTypedDictkeys can be mapped per-service[builder]Total ordering support forWaiterandPaginatorstructures
Changed
[builder]TypedDictsare rendered as a class if possible with a fallback to old function-style rendering[builder]Ensure that emptyImportStringis never generated[docker]Rebased topython:3.13.0-alpine3.20[services]Names are sorted alphabetically in__all__statements
Fixed
[docs]Collection links are now correct in all places[builder]Potential name generation error for__stringliterals[builder]Hash calculation is optimized for all structures[stepfunctions]DescribeExecutionOutputTypeDefkeys are marked asNotRequiredaccording to docs (reported by @taesungh in #321)[dynamodb]LastEvaluatedKeyis now optional in all output shapes (reported by @Ricool06 in #324)[types-aiobotocore]Incorrect__aexit__signature in async context managers (submitted by @hxyannay in #323)
Updated packages
mypy-boto3-dynamodb 1.35.54mypy-boto3-stepfunctions 1.35.54types-aiobotocore 2.15.2.post1types-aiobotocore-lite 2.15.2.post1types-aioboto3 13.2.0.post1types-aioboto3-lite 13.2.0.post1
8.1.4
Fixed
[builder]Removed code withtyping_extensionslibrary, that was not listed as a project dependency (submitted by @maresb in #319)[types-aiobotocore-docs]Error on method docs generation if an argument has no type annotation (reported by @BwL1289 in #320)[types-aiobotocore-docs]Code examples were invalid due to missing#comment characters
8.1.3
Fixed
[types-aioboto3-docs]Fixed incorrect usage for PyCharm (submitted by @ymuraki-csc in #316)[stepfunctions]nextTokenoutput shape key is marked asNotRequired(reported by @taesungh in #318)[builder]FixedTypeDefSortablepotential clashing of sort keys[builder]JinjaManagercontext does not have access to builtin function anymore to avoid errors during template rendering
Updated packages
mypy-boto3-stepfunctions 1.35.46
8.1.2
8.1.1
8.1.0 - All-in-one Packages
Notes
This release add support for full packages for boto3-stubs, types-aiobotocore, and types-aioboto3.
boto3-stubs-full- Type annotations for allbotocoreservices, install withpip install 'boto3-stubs[full]'types-aiobotocore-full- Type annotations for allaiobotocoreservices, install withpip install 'types-aiobotocore[full]'orpip install 'types-aioboto3[full]'
Added
[boto3-stubs]fullextra that installsboto3-stubs-full[types-aiobotocore]fullextra that installstypes-aiobotocore-full[types-aioboto3]fullextra that installstypes-aiobotocore-full[docs]Instructions how to install full packages
Changed
[builder]Installedaioboto3/aiobotocorepackage is no longer required, latest version from PyPI is used if it is missing[builder]Refactored import strings sorting logic, imports with fallback and Python min version required are grouped
8.0.1
8.0.0 - Unpack Syntax
Notes
- Starting from this release builder requires Python 3.12+. However, generated packages still support Python 3.8+
- Packages generation is 2 times faster due to new template rendering and code formatting approach
- New
**kwargs: Unpack[RequestTypeDef]syntax for all kw-only methods and functions - Output code formatting uses
ruffinstead ofisortandblack
Added
[builder]New documentation and usage instructions[builder]New CLI argument--download-static-stubsthat allows to fetch the latest static stubs from GitHub instead of built-in[services]New**kwargs: Unpack[RequestTypeDef]syntax for all kw-only methods and functions
Changed
[builder]Twice as fast packages generation due to optimizations in processing and formatting[builder]Import sorting in output files is now performed byruffinstead ofisort(20x faster!)[builder]Code formatting in output files is now performed byruffinstead ofblack(40x faster!)[services]Generated package size reduced by 20%
Fixed
[services]OutputTypedDictclashing was not resolved correctly in some cases, shadowing outputTypeDef[builder]Formatting did not use minimal support Python version correctly[builder]Required imports with fallback with minimalsys.versionrequired are sorted correctly[builder]Multiple performance optimizations[builder]*-fullpackage data was incorrect[builder]*-fullpackage name was incorrect