Skip to content

Commit 0c9ed8f

Browse files
jmphillidanielhochman
authored andcommitted
3.0.0 (#298)
1 parent 538f0c5 commit 0c9ed8f

File tree

2 files changed

+35
-1
lines changed

2 files changed

+35
-1
lines changed

docs/release_notes.rst

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,40 @@
11
Release Notes
22
=============
33

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.
26+
* Raise ``TableDoesNotExist`` error instead of letting json decoding ``ValueErrors`` raise (#296)
27+
28+
Contributors to this release:
29+
30+
* @jcbertin
31+
* @johnliu
32+
* @scode
33+
* @rowilla
34+
* @lita
35+
* @garretheel
36+
* @jmphilli
37+
438
v2.1.6
539
------
640

pynamodb/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
"""
88
__author__ = 'Jharrod LaFon'
99
__license__ = 'MIT'
10-
__version__ = '2.1.6'
10+
__version__ = '3.0.0'

0 commit comments

Comments
 (0)