Skip to content

Releases: youtype/mypy_boto3_builder

7.26.1

21 Aug 18:18
fa03c48

Choose a tag to compare

Fixed

  • [builder] Switched from newversion.Version to packaging.Version
  • [types-aiobotocore] StreamingBody.iter_chunks returns AsyncIterator[bytes] (reported by @vikigenius in #309)
  • [types-aiobotocore] StreamingBody.iter_lines returns AsyncIterator[bytes]

Updated packages

  • types-aiobotocore 2.13.1.post1
  • types-aiobotocore-lite 2.13.1.post1
  • types-aiobotocore 2.13.2.post1
  • types-aiobotocore-lite 2.13.2.post1

7.26.0 - Typed Identifiers

14 Aug 14:48
6b07057

Choose a tag to compare

Notes

Hello!

So, it looks like boto3 does not properly support identifiers in botocore shapes. For example: boto/boto3#3501.

All attributes and arguments generated for identifiers now have str type in boto3. However, some identifiers have type key, so related attributes and arguments should use this type instead.

This release adds support for typed identifiers, as well as a proper override in case type cannot be correctly determined from shapes.

Changed

  • [builder] New logic for resource.identifiers: support for typed identifiers and manual override

Fixed

  • [builder] Overriden method type map is checked before universal type map
  • [s3] MultipartUploadPart.part_number has int type (reported by @daveisfera in #307)
  • [s3] MultipartUpload.Part method part_number argument has int type (manual override) (reported by @daveisfera in #307)
  • [s3] ServiceResource.MultipartUploadPart method part_number argument has int type (reported by @daveisfera in #307)

7.25.3

10 Aug 10:32
8ea2150

Choose a tag to compare

Fixed

  • [s3] Accept str as well in CopySource argument override for Object.copy_from and ObjectSummary.copy_from

7.25.2

10 Aug 10:26
5b8af72

Choose a tag to compare

Fixed

  • [s3] Added CopySource argument override for Object.copy_from and ObjectSummary.copy_from (reported by @Kache in #308)

7.25.1

10 Aug 03:52
5314aa4

Choose a tag to compare

Fixed

  • [types-aioboto3] Static stubs updated to the latest version
  • [types-aiobotocore] Static stubs updated to the latest version
  • [builder] Formatting tools bumped to the latest version

7.25.0 - Full Stubs

29 Jun 21:17
c83474f

Choose a tag to compare

Added

  • [builder] boto3-stubs-full package generation support
  • [builder] types-aiobotocore-full package generation support

Fixed

  • [services] ResponseMetadata is never added to attribute types
  • [types-aiobotocore] Updated stubs for aiobotocore.credentials
  • [types-aiobotocore] Updated stubs for aiobotocore.config
  • [types-aioboto3] Updated stubs for s3.inject

7.24.0 - Output Not Required

24 Apr 23:41
b989766

Choose a tag to compare

Changed

  • [builder] Output TypeDef keys can be marked as optional
  • [builder] Bumped black and isort to the latest versions
  • [ci] Using ruff instead of flake8, isort and black

Fixed

  • [builder] Union TypeDef definitions no longer have clashing names
  • [builder] Output TypeDef map lookup did not work as expected
  • [services] Literal names are capitalized even if the underlying shape name is not
  • [services] Client/ServiceResource class names are capitalized even if the service name is not
  • [services] All potentially optional keys in output shapes marked as NotRequired
  • [cognito-idp] NextToken output key marked as NotRequired (reported by @filol in #238)
  • [dynamodb] Item output key marked as NotRequired (reported by @pavlobielousov in #241)
  • [s3] Contents output key marked as NotRequired (reported by @raymondbutcher in #242)
  • [s3] CommonPrefixes output key marked as NotRequired (reported by @guilhem-dvr in #248)

7.23.2

27 Feb 13:46
3d4f8bb

Choose a tag to compare

Fixed

  • [ec2] PlatformValuesType is stubbed until boto/botocore#3128 is fixed (reported by @andrew-womeldorf
    in #245)
  • [services] Fixed TypedDict naming resolution when conflicting shape is present only in resources (reported by @andrew-womeldorf in #244)
  • [aiobotocore] resource.meta is no longer marked as Awaitable
  • [aiobotocore] Static stubs updated to the latest version

7.23.1

08 Jan 11:46
d3bd547

Choose a tag to compare

Fixed

  • [services] All resources inherit service-specific meta (reported by @alexmv in #239)

7.23.0 - Late Goodbye

20 Dec 14:22
09a060c

Choose a tag to compare

Added

  • [builder] All packages now have a list of supported Python versions

Changed

  • [all] Minimum Python version bumped to 3.8, Python 3.7 is no longer officially supported
  • [builder] black uses Python versions supported by the package for formatting

Fixed

  • [services] Replaced Typing :: Typed classifier with Typing :: Stubs Only