Skip to content

Commit 61274ad

Browse files
2.1.4 💖 (#232)
1 parent 507f6e7 commit 61274ad

File tree

2 files changed

+36
-1
lines changed

2 files changed

+36
-1
lines changed

docs/release_notes.rst

+35
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,41 @@
11
Release Notes
22
=============
33

4+
v2.1.4
5+
------
6+
7+
:date: 2017-02-14
8+
9+
This is a minor release, with some changes to `MapAttribute` handling. Previously,
10+
when accessing a `MapAttribute` via `item.attr`, the type of the object used during
11+
instantiation would determine the return value. `Model(attr={...})` would return
12+
a `dict` on access. `Model(attr=MapAttribute(...))` would return an instance of
13+
`MapAttribute`. After #223, a `MapAttribute` will always be returned during
14+
item access regardless of the type of the object used during instantiation. For
15+
convenience, a `dict` version can be accessed using `.as_dict()` on the `MapAttribute`.
16+
17+
New features in this release:
18+
19+
* Support multiple attribute update (#194)
20+
* Rate-limited scan (#205)
21+
* Always create map attributes when setting a dict (#223)
22+
23+
Fixes in this release:
24+
25+
* Remove AttributeDict and require explicit attr names (#220)
26+
* Add distinct DoesNotExist classes per model (#206)
27+
* Ensure defaults are respected for MapAttribute (#221)
28+
* Add docs for GSI throughput changes (#224)
29+
30+
Contributors to this release:
31+
32+
* @anandswaminathan
33+
* @garrettheel
34+
* @ikonst
35+
* @jasonfriedland
36+
* @yedpodtrzitko
37+
38+
439
v2.0.3
540
------
641

pynamodb/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
"""
88
__author__ = 'Jharrod LaFon'
99
__license__ = 'MIT'
10-
__version__ = '2.0.3'
10+
__version__ = '2.1.4'

0 commit comments

Comments
 (0)