Skip to content

Releases: vemel/mypy_boto3

0.5.0-1

05 Dec 14:43
Compare
Choose a tag to compare

GitHub actions were not working, so this is the same as 0.5.0

0.5.0 - Atomic Services

05 Dec 00:07
Compare
Choose a tag to compare

Highlights

  • Added new botocore services
  • Packages are ~70% smaller due to new approach to docstrings
  • Made packages are atomic, no direct dependencies between them
  • Type annotations are imported from typing if possible
  • Removed implicit type annotations support (there were issues in PyCharm and they are slow overall)
  • Waiters and paginators can be imported directly from service package

mypy-boto3-builder changes

  • Added accessanalyzer service support.
  • Added appconfig service support.
  • Added codeguru-reviewer service support.
  • Added codeguruprofiler service support.
  • Added compute-optimizer service support.
  • Added connectparticipant service support.
  • Added dataexchange service support.
  • Added elastic-inference service support.
  • Added frauddetector service support.
  • Added imagebuilder service support.
  • Added iotsecuretunneling service support.
  • Added kendra service support.
  • Added marketplace-catalog service support.
  • Added migrationhub-config service support.
  • Added networkmanager service support.
  • Added outposts service support.
  • Added sagemaker-a2i-runtime service support.
  • Added schemas service support.
  • Added sesv2 service support.
  • Added sso service support.
  • Added sso-oidc service support.
  • Added wafv2 service support.
  • Added unsupported service message
  • Fix import strings sorting
  • Literal and TypedDict are imported from typing/typing_extensions instead of mypy-boto3
  • overload is imported from typing instead of mypy-boto3
  • Removed mypy_boto3.type_defs to avoid circular dependencies
  • Original docstrings replaced with links to boto3 documentation

mypy-boto3 changes

  • Added type_annotations requirement to boto3-stubs for py<38
  • Added type_annotations requirement to service packages for py<38
  • Removed mypy-boto3 dependency from boto3-stubs
  • Added master extra requirement that installs mypy-boto3 to boto3-stubs
  • Added master extra requirement that installs mypy-boto3 to all service packages
  • Removed implicit type annotations support
  • Added waiters and paginators imports to top level of each service package

0.4.0 - Literally New Parser

02 Dec 23:41
Compare
Choose a tag to compare

This version is very close to what I have planned initially, so it is no longer an Alpha. From now on, builds are automated, so a new version of boto3-stubs should be released within 2-3 hours after boto3 release. Thanks everyone for testing and feedback!

You can help this project by submitting PRs to botocore as there are some errors in their documentation:

  • Missing :rtype: statement for functions that return bool is s3 documentation
  • Invalid unindent in ce, cloudfront, cognito-idp, elasticache and elastictranscoder documentation
  • Float values in syntax documentation replaced with ... for some reason.
  • dynamodb does not have simplified annotation for ExpressionAttributeValues even though it is supported.

Stay tuned, we are getting closer to the first stable release!

Highlights

  • typing_extensions are no longer required for py38+
  • Added Literal and Union types support

mypy-boto3-builder changes

  • Changed PyPi status to Beta
  • Added pyparsing requirement
  • typing_extensions are no longer required for py38+
  • Added type_defs module for compatibility between typing and typing_extensions
  • Added DocstringParser class that extracts info from request/response botocore syntax and Sphinx argument definitions. Syntax is the source of truth for arguments and return types now
  • Added ArgSpecParser class that extracts function arguments from inspect.argspec
  • Added fix for incorrect indentation in botocore docs
  • Removed --skip-stubs CLI argument, use --skip-master instead
  • Added --panic CLI argument to fail on warning (usually it is unsuccessful parsing)

mypy-boto3 and subpackages changes

  • Changed PyPi status to Beta
  • typing_extensions are no longer required for py38+
  • Added type_defs module for compatibility between typing and typing_extensions
  • Added Literal and Union annotations extracted from request/response syntax
  • Cleaned up generated type_defs documentation
  • Union of the same type is unwrapped for readability

mypy-boto3 bugfixes

  • Removed extra empty line in TypedDict definition with no docstring
  • Fixed some functions having return type None instead of bool due to incorrect documentation
  • Fixed silencing of undocumented methods

Auto builds changes

  • mypy-boto3-builder is now published to PyPI on release
  • mypy_boto3 is built by latest mypy-boto3-builder release instead of master

0.3.0 - Automated Releases

27 Nov 15:50
Compare
Choose a tag to compare

Changes

  • mypy-boto3 and boto3-stubs packages now use boto3 version that they are built for.
  • Added automated releases on boto3 release, so from now on mypy-boto3 is not dependent on builder releases
  • Added integration tests for s3 and ec2

Bugfixes

  • Fixed missing type_defs.py in builder distribution

0.2.9 - Last Manual Release

26 Nov 23:12
Compare
Choose a tag to compare

Starting from next version, boto3-stubs and mypy-boto3 packages use corresponding boto3 version, so they are no longer dependent on builder releases. So no more daily releases for builder, but boto3-stubs will always get latest updates.

Changes

  • Improved descriptions for all generated packages
  • Updated boto3 to 1.10.28

0.2.8 - Bye-bye Partial

26 Nov 02:08
Compare
Choose a tag to compare

Changes

  • boto3-stubs are no longer partial, all modules are covered
  • Added boto3.compat stubs
  • Added boto3.resources stubs
  • Added boto3.dynamodb stubs
  • Updated to boto3==1.10.27

Bugfixes

  • Fixed inconsistent max line length in generated code, it is now always 100
  • Fixed code lines splitting

Builder changes

  • Docker image got a new environment variable BOTOCORE_VERSION to install a specific version of botocore before parsing
  • Docstrings are parsed on render, so building with --no-docs is faster
  • New code for docstring parsing, now with built-in textwrap module

0.2.8-2

26 Nov 02:15
Compare
Choose a tag to compare
0.2.8-2 Pre-release
Pre-release
Fix Identifier stubs

0.2.7 - Any color you like

22 Nov 23:41
Compare
Choose a tag to compare

Changes

  • Fix invalid imports in boto3-stubs sessionmodule
  • Fix duplicate last lines in docstrings
  • Update boto3 to 1.10.26

Builder changes

  • black is optional and can be installed with pip install .[black]
  • Fix potential infinite loop in AWS docstring formatting
  • Added --no-docs flag to generate stubs with no docstrings (~4 times smaller output)

0.2.6 Docker Friendly

22 Nov 09:00
Compare
Choose a tag to compare

Changes

  • Require typing_extensions instead of mypy
  • Build for boto3==1.10.25

0.2.5-5

20 Nov 16:32
Compare
Choose a tag to compare
Add git config