Skip to content

Commit

Permalink
2.1.4 💖 (#232)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhochman authored Feb 14, 2017
1 parent 507f6e7 commit 61274ad
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 1 deletion.
35 changes: 35 additions & 0 deletions docs/release_notes.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,41 @@
Release Notes
=============

v2.1.4
------

:date: 2017-02-14

This is a minor release, with some changes to `MapAttribute` handling. Previously,
when accessing a `MapAttribute` via `item.attr`, the type of the object used during
instantiation would determine the return value. `Model(attr={...})` would return
a `dict` on access. `Model(attr=MapAttribute(...))` would return an instance of
`MapAttribute`. After #223, a `MapAttribute` will always be returned during
item access regardless of the type of the object used during instantiation. For
convenience, a `dict` version can be accessed using `.as_dict()` on the `MapAttribute`.

New features in this release:

* Support multiple attribute update (#194)
* Rate-limited scan (#205)
* Always create map attributes when setting a dict (#223)

Fixes in this release:

* Remove AttributeDict and require explicit attr names (#220)
* Add distinct DoesNotExist classes per model (#206)
* Ensure defaults are respected for MapAttribute (#221)
* Add docs for GSI throughput changes (#224)

Contributors to this release:

* @anandswaminathan
* @garrettheel
* @ikonst
* @jasonfriedland
* @yedpodtrzitko


v2.0.3
------

Expand Down
2 changes: 1 addition & 1 deletion pynamodb/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
"""
__author__ = 'Jharrod LaFon'
__license__ = 'MIT'
__version__ = '2.0.3'
__version__ = '2.1.4'

1 comment on commit 61274ad

@jl-DaDar
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

awesome job guys!!!

Please sign in to comment.