Skip to content

Releases: youtype/mypy_boto3_builder

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

8.4.0 - Wheels Included

27 Nov 20:21
Compare
Choose a tag to compare

Highlighs

  • New product types-boto3 support - successor to boto3-stubs. It will become a recommended package in the next release.
  • Builder can now build wheel and sdist packages
  • No boto3 dependency for better aio* 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 and types-aiobotocore

Added

  • [cli] New --product-type CLI argument that accepts package, wheel, source or installed package generation type
  • [cli] --installed flag is deprecated, use --product-type=installed instead
  • [cli] New product: --product=types-boto3 to generate types-boto3 package
  • [cli] New product: --product=types-boto3-lite to generate types-boto3-lite package
  • [cli] New product: --product=types-boto3-services to generate types-boto3-<service> packages
  • [cli] New product: --product=types-boto3-full to generate types-boto3-full package
  • [cli] New product: --product=types-boto3-docs to generate types-boto3-docs package
  • [cli] New product: --product=boto3-lite to generate boto3-stubs-lite package (removed from boto3 product)
  • [cli] New product: --product=aiobotocore-lite to generate types-aiobotocore-lite package (removed from aiobotocore product)
  • [cli] New product: --product=aioboto3-lite to generate types-aioboto3-lite package (removed from aioboto3 product)
  • [builder] Support for *.whl and *.tar.gz packages as an output
  • [s3] Annotated missing injected methods

Changed

  • [builder] Removed boto3 dependency
  • [builder] Backported boto3.model.ResourceModel
  • [builder] Package builds are now 3 times faster due removed boto3 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] Fixed Session.resource return type (reported by @kpark-hrp in #325)
  • [aiobotocore] Fixed Session.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] Replaced NO-BREAK SPACE with a regular space in docstrings

8.3.1

20 Nov 10:21
Compare
Choose a tag to compare

Fixed

  • [all] Packages no longer rendered with missing version
  • [*-full] Installation instructions in README.md were incorrect
  • [*-full] full packages allow using *-lite packages with them

8.3.0 - Beautiful Docstrings

18 Nov 15:33
Compare
Choose a tag to compare

Changed

  • [all] xform_name functionality moved to the project to avoid bugs in botocore
  • [docs] Use the same links to boto3 documentation as the rest of the project
  • [services] Added missing docstrings to subresource Collections
  • [docs] Added a warning about PyCharm high CPU usage (PY-40997)

Fixed

  • [services] textwrap logic for docstings no longer adds a linebreak before the last word
  • [services] Fixed links to boto3 documentation for all classes and methods
  • [services] Fixed Collection.all method docstring
  • [services] Fixed Client.exceptions method docstring

8.2.1

07 Nov 22:53
d69bec3
Compare
Choose a tag to compare

Fixed

  • [*-full] TypedDicts with reserved words are no longer rendered as classes

8.2.0 - Classy TypedDicts

02 Nov 10:11
7fc1971
Compare
Choose a tag to compare

Added

  • [all] Python 3.14 support
  • [builder] Faster lookup for stubbed types, thanks to new LookupDict class
  • [builder] NotRequired output TypedDict keys can be mapped per-service
  • [builder] Total ordering support for Waiter and Paginator structures

Changed

  • [builder] TypedDicts are rendered as a class if possible with a fallback to old function-style rendering
  • [builder] Ensure that empty ImportString is never generated
  • [docker] Rebased to python: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 __string literals
  • [builder] Hash calculation is optimized for all structures
  • [stepfunctions] DescribeExecutionOutputTypeDef keys are marked as NotRequired according to docs (reported by @taesungh in #321)
  • [dynamodb] LastEvaluatedKey is 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.54
  • mypy-boto3-stepfunctions 1.35.54
  • types-aiobotocore 2.15.2.post1
  • types-aiobotocore-lite 2.15.2.post1
  • types-aioboto3 13.2.0.post1
  • types-aioboto3-lite 13.2.0.post1

8.1.4

25 Oct 12:46
530901d
Compare
Choose a tag to compare

Fixed

  • [builder] Removed code with typing_extensions library, 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

23 Oct 14:35
d736061
Compare
Choose a tag to compare

Fixed

  • [types-aioboto3-docs] Fixed incorrect usage for PyCharm (submitted by @ymuraki-csc in #316)
  • [stepfunctions] nextToken output shape key is marked as NotRequired (reported by @taesungh in #318)
  • [builder] Fixed TypeDefSortable potential clashing of sort keys
  • [builder] JinjaManager context does not have access to builtin function anymore to avoid errors during template rendering

Updated packages

  • mypy-boto3-stepfunctions 1.35.46