Releases: youtype/mypy_boto3_builder
Releases · youtype/mypy_boto3_builder
8.12.0 - Pyproject Manager
Changed
[all]Migrated to PEP 561 packages[all]Removed support for Python 3.8 for all packages
Fixed
[aioboto3]FixedSession.get_credentialsreturn type (reported by @dacevedo12
in #360)[bedrock-runtime]Added hardcode forToolUseTypeTypeliteral (reported by @knulpi in #374)[tools]Improved output type checking[tools]Added support forty[all]Updated static stubs
8.11.0 - No SMS Voice
Changed
[sms-voice]Service is no longer supported and excluded from build, usepinpoint-sms-voiceinstead (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 forTypedDicts were not fully replaced[all]Updated static stubs
8.10.1
Fixed
[services]PaginationTokenOutputTypeDef attribute marked asNotRequired(reported by @fcaro-morrisopazo in #356)[boto34]Updated generation for newServiceFactorystructure[aioboto3]Updated static files[aiobotocore]Updated static files[boto3]Addedaws_account_idargument toSession.clientmethod[boto3]Addedaws_account_idargument toclientfunctions and methods[aioboto3]Addedaws_account_idargument toSession.clientmethod
8.10.0 - Yet Another AWS SDK
Added
[builder]boto34-boto3,boto34-aiobotocore, andboto34-aioboto3products[builder]Formatting support for usage examples in docstrings
Fixed
[sms-voice]Class name was conflicting withPinpointSMSVoiceservice, 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 incorrectaioboto3usage 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/AioAWSResponsetypes 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=*-customprovided 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 TypeDefExtrapostfix moved to the end:CreateDistributionExtraRequestTypeDef->CreateDistributionRequestExtraTypeDef(⚠️ breaking change)[builder]Legacymypy-boto3moved 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 | outputunions is significantly faster[builder]Refactored generation to respect allruffformatting rules[builder]Added a check that all generated classes are usable in runtime[builder]Exceptions are no longer silent in--debugmode[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_requiressection is calculated based on dependencies in use, sotyping-extensionsversion is set properly[all]Replacedtypingimports withcollections.abcwith a fallback totypingfor 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 useaiobotocoreversion requirements, notaioboto3(reported by @dacevedo12 in #338)[aiobotocore]Allboto3imports fallback toobject(reported by @dmkulazhenko in #337)[builder]install_requiresis automatically generated for all packages[builder]Removed unused templates
Updated packages
types-aioboto3-lite 13.3.0.post1types-aioboto3 13.3.0.post1types-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: ignorecomments always have a specific type[builder]Added support forGenericbase classes usage (used in updatedPaginatorclass)
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 inlineUnionwith a newX | Ysyntax (named Unions preserve old style forpython<3.10compatibility)[services]Replacedtyping.Dict/List/typewithbuiltinsequivalients[services]Replacedtyping.Setwithbuiltins.set(currently unused inbotocore)[aiobotocore-services]Importing<service>.service_resourseis no longer safe whenboto3andaioboto3are not installed (⚠breaking change)[all]All annotations synced from static stubs[chat]Fully migrated toprompt_toolkitstyles[chat]Added new select and multiselect UI[builder]Optimized type replacement (e.g.quicksightparsing is now 10 times faster)
Fixed
[services]Docstring headers for generated files were not formatted properly[builder]UnnamedUnionreturns correct required imports for rendering[services]BotocoreClientErroris no longer generated, usingbotocore.exceptions.ClientErrorinstead[services]Client.closemethod is no longer generated, inherited from static stubs instead[services]Client.exceptionsis inherited fromBaseClientExceptions[services]Paginatoris inherited frombotocore.paginate.Paginator[services]Conditional imports marked with# type: ignore[assignment]for bettermypysupport[aiobotocore-services]FixedPaginator.paginatemethod return type[aioboto3][aiobotocore]boto3/botocoreimports are now replaced withaioboto3/aiobotocoreimports inSessionas well[builder]UnnamedUnionreturns correct required imports for rendering[sms-voice]Service class name changed from duplicatedPinpointSMSVoicetoSMSVoice