Skip to content

Releases: pynamodb/PynamoDB

4.3.0

23 Jan 19:12
6660ff2
Compare
Choose a tag to compare

This is a backwards compatible, minor release.

Please read the release notes for a full list of changes.

4.2.0

30 Oct 13:22
9ff14d4
Compare
Choose a tag to compare

This is a backwards compatible, minor release.

Please read the release notes for a full list of changes.

4.1.0

17 Oct 21:45
74eca52
Compare
Choose a tag to compare

This is a backwards compatible, minor release.

  • In the Model's Meta, you may now provide an AWS session token, which is mostly useful for assumed roles (#700):
    sts_client = boto3.client("sts")
    role_object = sts_client.assume_role(RoleArn=role_arn, RoleSessionName="role_name", DurationSeconds=BOTO3_CLIENT_DURATION)
    role_credentials = role_object["Credentials"]
    
    class MyModel(Model):
      class Meta:
        table_name = "table_name"
        aws_access_key_id = role_credentials["AccessKeyId"]
        aws_secret_access_key = role_credentials["SecretAccessKey"]
        aws_session_token = role_credentials["SessionToken"]
    
      hash = UnicodeAttribute(hash_key=True)
      range = UnicodeAttribute(range_key=True)
  • Fix warning about inspect.getargspec (#701)
  • Fix provisioning GSIs when using pay-per-request billing (#690)
  • Suppress Python 3 exception chaining when "re-raising" botocore errors as PynamoDB model exceptions (#705)

4.0.0

13 Aug 13:22
Compare
Choose a tag to compare

This is a major release with breaking changes.

Please read the release notes carefully for a full list of changes.

4.0.0b3

09 Jul 13:56
aed968d
Compare
Choose a tag to compare
4.0.0b3 Pre-release
Pre-release

This is a beta release for a major release with breaking changes. Please read the release notes carefully and report any bugs encountered.

4.0.0b2

03 Jul 18:19
ae9dc08
Compare
Choose a tag to compare
4.0.0b2 Pre-release
Pre-release

This is a beta release for a major release with breaking changes. Please read the release notes carefully and report any bugs encountered.

3.4.1

28 Jun 01:10
569552b
Compare
Choose a tag to compare
Update type stubs for TTL feature (#657)

3.4.0

14 Jun 18:39
77f1cb8
Compare
Choose a tag to compare

This is a backwards compatible minor release introducing TTL support.

Check out the release notes for a full list of changes.

4.0.0b1

22 Apr 12:49
ed64e33
Compare
Choose a tag to compare
4.0.0b1 Pre-release
Pre-release

This is a beta release for a major release with breaking changes. Please read the release notes carefully and report any bugs encountered.

4.0.0a1

16 Apr 22:00
71c33e8
Compare
Choose a tag to compare
4.0.0a1 Pre-release
Pre-release

This is an alpha release for a major release with breaking changes. Please read the release notes carefully and report any bugs encountered.