Skip to content

Releases: youtype/mypy_boto3_builder

8.7.1

28 Dec 11:20
Compare
Choose a tag to compare

Fixed

  • [aioboto3] All extras use aiobotocore version requirements, not aioboto3 (reported by @dacevedo12 in #338)
  • [aiobotocore] All boto3 imports fallback to object (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

19 Dec 23:06
Compare
Choose a tag to compare

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 for Generic base classes usage (used in updated Paginator 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] Replaced Optional[...] with ... | None
  • [services] Replaced inline Union with a new X | Y syntax (named Unions preserve old style for python<3.10 compatibility)
  • [services] Replaced typing.Dict/List/type with builtins equivalients
  • [services] Replaced typing.Set with builtins.set (currently unused in botocore)
  • [aiobotocore-services] Importing <service>.service_resourse is no longer safe when boto3 and aioboto3 are not installed (⚠breaking change)
  • [all] All annotations synced from static stubs
  • [chat] Fully migrated to prompt_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] Unnamed Union returns correct required imports for rendering
  • [services] BotocoreClientError is no longer generated, using botocore.exceptions.ClientError instead
  • [services] Client.close method is no longer generated, inherited from static stubs instead
  • [services] Client.exceptions is inherited from BaseClientExceptions
  • [services] Paginator is inherited from botocore.paginate.Paginator
  • [services] Conditional imports marked with # type: ignore[assignment] for better mypy support
  • [aiobotocore-services] Fixed Paginator.paginate method return type
  • [aioboto3] [aiobotocore] boto3/botocore imports are now replaced with aioboto3/aiobotocore imports in Session as well
  • [builder] Unnamed Union returns correct required imports for rendering
  • [sms-voice] Service class name changed from duplicated PinpointSMSVoice to SMSVoice

8.6.4

17 Dec 11:30
Compare
Choose a tag to compare

Fixed

  • [s3] ContentMD5 argument for Object.put restored (reported by @rpmrmartin in #332)

Updated packages

  • mypy-boto3-s3 1.35.81
  • types-aiobotocore-s3 2.15.2.post3
  • types-boto3-s3 1.35.81

8.6.3

10 Dec 22:59
Compare
Choose a tag to compare

Fixed

  • [s3] ContentMD5 argument is no longer globally removed, only for specific methods (reported by @kveretennicov in #332)

Updated packages

  • mypy-boto3-s3 1.35.76.post1
  • types-boto3-s3 1.35.76.post1

8.6.2

08 Dec 23:48
Compare
Choose a tag to compare

Fixed

  • [all] Fixed inconsistencies in setup.py for all packages
  • [aiobotocore] Resources were not loaded correctly if boto3 was missing (reported by @ThisGuyCodes in #328)
  • [aioboto3] Synced generated session.pyi with static stubs
  • [chat] Changed incorrect wording in some places

8.6.1

06 Dec 00:40
Compare
Choose a tag to compare

Fixed

  • [docs] Updated uvx usage examples

Updated packages

  • types-aiobotocore-full 2.15.2.post1

8.6.0 - Chat Assistant

06 Dec 00:05
Compare
Choose a tag to compare

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 and CopySourceSSECustomerKey arguments accept str | bytes (reported by @ThisGuyCodes in #328)
  • [s3] SSECustomerKeyMD5 and CopySourceSSECustomerKeyMD5 arguments are removed because boto3 calculates them internally
  • [types-aioboto3] Synced Session type annotations with static stubs
  • [types-aioboto3] Added missing ClientCreatorContext wrapper for Session.client return type annotations (reported by @kpark-hrp in #325)
  • [types-aioboto3-lite] Incorrect types-botocore version was required
  • [builder] Added a missing shortcut for uvx 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

30 Nov 17:37
Compare
Choose a tag to compare

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 for boto3
  • [cli] New product: boto3-stubs-custom - All-in-one type annotations for boto3
  • [cli] New product: aiobotocore-custom - All-in-one type annotations for aiobotocore
  • [cli] New product: aioboto3-custom - All-in-one type annotations for aioboto3

Fixed

  • [builder] Added botocore dependency
  • [builder] Fixed run in isolated enviroment, e.g. uvx

8.4.2

29 Nov 10:50
Compare
Choose a tag to compare

Fixed

  • [types-aiobotocore] Removed botocore requirement from aiobotocore target (reported by @lg-kialo in #327)
  • [types-aioboto3] Removed botocore requirement from aioboto3 target
  • [types-aiobotocore-full] Removed botocore requirement from aiobotocore target
  • [types-boto3] Package name was incorrect
  • [builder] Added missing counter to skipped packages info log

8.4.1

27 Nov 22:09
Compare
Choose a tag to compare

Fixed

  • [builder] CLI arguments parsing was broken on Python 3.12