Skip to content

Commit

Permalink
add note about default region
Browse files Browse the repository at this point in the history
  • Loading branch information
ikonst authored Jan 21, 2024
1 parent c0c585f commit 980d931
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/release_notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ Breaking changes:
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) (:pr:`1003`).
If needed, update your models' `Meta` or set the `AWS_DEFAULT_REGION` environment variable.
* :py:class:`~pynamodb.models.Model`'s JSON serialization helpers were changed:

* :code:`to_json` was renamed to :meth:`~pynamodb.models.Model.to_simple_json` (:pr:`1126`). Additionally, :meth:`~pynamodb.models.Model.to_dynamodb_dict`
Expand Down

0 comments on commit 980d931

Please sign in to comment.