You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/release_notes.rst
+34Lines changed: 34 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,40 @@
1
1
Release Notes
2
2
=============
3
3
4
+
v3.0.0
5
+
-----
6
+
7
+
:date: 2017-06-09
8
+
9
+
This is a major release with breaking changes.
10
+
11
+
``MapAttribute`` now allows pythonic access when recursively defined.
12
+
If you were not using the ``attr_name=`` kwarg then you should have no problems upgrading.
13
+
Previously defined non subclassed ``MapAttributes`` (raw ``MapAttributes``) that were members of a subclassed ``MapAttribute`` (typed ``MapAttributes``) would have to be accessed like a dictionary.
14
+
Now object access is possible and recommended. See [here](https://github.com/pynamodb/PynamoDB/blob/master/pynamodb/tests/test_attributes.py#L671) for a test example.
15
+
Access via the ``attr_name``, also known as the DynamoDB name, will now throw an ``AttributeError``.
16
+
17
+
``UnicodeSetAttributes`` do not json serialize or deserialize anymore.
18
+
We deprecated the functionality of json serializing as of ``1.6.0`` but left the deserialization functionality in there so people could migrate away from the old functionality.
19
+
If you have any ``UnicodeSetAttributes`` that have not been persisted since version ``1.6.0`` you will need to migrate your data or manage the json encoding and decoding with a custom attribute in application.
20
+
21
+
* Performance enhancements for the ``UTCDateTimeAttribute`` deserialize method. (#277)
22
+
* Fix to ignore null checks for batch delete (#283)
23
+
* Fix for ``ListAttribute`` and ``MapAttribute`` serialize (#286)
24
+
* Fix for ``MapAttribute`` pythonic access (#292) This is a breaking change.
25
+
* Deprecated the json decode in ``UnicodeSetAttribute`` (#294) This is a breaking change.
0 commit comments