0.6.5 (March 25, 2022)#

Added#

User interface#

Changed#

  • Creating and configuring a session is done by passing the corresponding parameters to atoti.Session.__init__().

    -  session = tt.create_session(
    -   config={
    -      "authentication": {"basic": {"realm": "Example"}},
    -      "port": 9090,
    -    }
    -  )
    +  session = tt.Session(
    +    authentication=tt.BasicAuthenticationConfig(realm="Example"),
    +    port=9090,
    +  )
    
  • Passing a UserContentStorageConfig pointing to a local H2 database will automatically migrate the database to H2 v2 format during session startup.

User interface#

Deprecated#

  • atoti.create_session(). Instantiate atoti.Session directly instead.

  • atoti_aws.create_aws_key_pair() and atoti_aws.create_aws_kms_config(). Instantiate atoti_aws.AwsKeyPair and atoti_aws.AwsKmsConfig directly instead.

  • atoti_azure.create_azure_key_pair(). Instantiate atoti_azure.AzureKeyPair directly instead.

  • atoti.level.Level.comparator.

    • instead of atoti.comparator.ASCENDING and atoti.comparator.DESCENDING, use NaturalOrder.

    • instead of atoti.comparator.first_members(), use CustomOrder.

  • atoti_kafka.create_deserializer(). Use the default ~atoti_kafka.deserializer.JSON_DESERIALIZER instead.

  • Passing timeouts as instances of int. Use datetime.timedelta instead.

Removed#

  • Support for Python 3.7.

Fixed#