17
0
Files
python-pynamodb/python-pynamodb.spec
Robert Schweikert 9884711f79 - Update to 6.1.0
* Add a wait argument to Model.delete_table (#1270)
  * Add the ability to set or unset the boto retry configuration (#1271)
- from version 6.0.2
  * Fix a warning about datetime.utcfromtimestamp deprecation (#1261)
- from version 6.0.1
  * For failed transaction, return the underlying item in
    cancellation_reasons[...].raw_item (#1226). This only
    applies when passing return_values=ALL_OLD.
  * Fixing (#1242) regression to the extra_headers feature. These
    headers are intended for proxies that strip them, so they should
    be excluded from the AWS signature.
- from version 6.0.0
  * BinaryAttribute and BinarySetAttribute have undergone breaking changes:
    * The attributes’ internal encoding has changed. To prevent this change
      going unnoticed, a new required legacy_encoding parameter was added:
      see Upgrading Binary(Set)Attribute for details. If your codebase uses
      BinaryAttribute or BinarySetAttribute, go over the attribute declarations
      and mark them accordingly.
    * When using binary attributes, the return value of serialize() will no
      longer be JSON-serializable since it will contain bytes objects. Use
      to_dynamodb_dict() and to_simple_dict() for JSON-serializable mappings.
      for a safe JSON-serializable representation.
  * Python 3.6 is no longer supported.
  * PynamoDB no longer has a default AWS region (used to be us-east-1) (#1003).
    If needed, update your models’ Meta or set the AWS_DEFAULT_REGION environment
    variable.
  * Model’s JSON serialization helpers were changed:
    * to_json was renamed to to_simple_dict() (#1126). Additionally, to_dynamodb_dict()
      and from_dynamodb_dict() were added for round-trip JSON serialization.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-pynamodb?expand=0&rev=14
2025-06-30 12:04:37 +00:00

2.1 KiB