From f5555e665e32cc48d8a6a942ac1643e57891d873 Mon Sep 17 00:00:00 2001 From: Garrett Date: Fri, 7 Jul 2017 13:15:46 -0700 Subject: [PATCH] 3.1.0 (#314) --- docs/release_notes.rst | 32 +++++++++++++++++++++++++++++++- pynamodb/__init__.py | 2 +- 2 files changed, 32 insertions(+), 2 deletions(-) diff --git a/docs/release_notes.rst b/docs/release_notes.rst index b5b3e27fe..b6c03296b 100644 --- a/docs/release_notes.rst +++ b/docs/release_notes.rst @@ -1,8 +1,38 @@ Release Notes ============= +v3.1.0 +------ + +:date: 2017-07-07 + +This is a backwards compatible, minor release. + +Note that we now require ``botocore>=1.2.0``; this is required to support the +``consistent_read`` parameter when scanning. + +Calling ``Model.count()`` without a ``hash_key`` and *with* ``filters`` will +raise a ``ValueError``, as it was previously returning incorrect results. + +New features in this release: + +* Add support for signals via blinker (#278) + +Fixes in this release: + +* Pass batch parameters down to boto/dynamo (#308) +* Raise a ValueError if count() is invoked with no hash key AND filters (#313) +* Add consistent_read parameter to Model.scan (#311) + +Contributors to this release: + +* @jmphilli +* @Lordnibbler +* @lita + + v3.0.1 ------ +------ :date: 2017-06-09 diff --git a/pynamodb/__init__.py b/pynamodb/__init__.py index a01e41af3..4cb218041 100644 --- a/pynamodb/__init__.py +++ b/pynamodb/__init__.py @@ -7,4 +7,4 @@ """ __author__ = 'Jharrod LaFon' __license__ = 'MIT' -__version__ = '3.0.1' +__version__ = '3.1.0'